Build Information
Failed to build swift-create-xcframework, reference v2.3.0 (0be3a6
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 16:20:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 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.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-4609320-3":/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 (10.46s)
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.44s)
Fetching https://github.com/apple/swift-llbuild.git
[1/29039] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (1.82s)
Fetching https://github.com/apple/swift-driver.git
[1/34988] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (1.73s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[4437/21076] Fetching swift-system, swift-collections
[5103/31935] Fetching swift-system, swift-collections, yams
[5212/47241] Fetching swift-system, swift-collections, yams, swift-crypto
Fetched https://github.com/apple/swift-system.git from cache (0.41s)
[6636/42805] Fetching swift-collections, yams, swift-crypto
[11951/58185] Fetching swift-collections, yams, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-collections.git from cache (1.28s)
[38943/41545] Fetching yams, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.82s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.84s)
Fetched https://github.com/jpsim/Yams.git from cache (1.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 (2.26s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.39s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.37s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.35s)
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
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-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-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-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-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-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at release/5.7 (c6e40ad)
Building for debugging...
[0/571] Write sources
[13/571] Write swift-version-24593BA9C3E375BF.txt
[13/571] Compiling x509cset.c
[15/571] Compiling x509_att.c
[16/571] Compiling v3_cpols.c
[17/571] Compiling llvmSupport Valgrind.cpp
[18/571] Compiling llvmSupport UnicodeCaseFold.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildDescription.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:26:10: fatal error: 'sys/cdefs.h' file not found
26 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[19/574] Compiling llbuildBuildSystem BuildDescription.cpp
[19/574] Compiling llvmSupport Unicode.cpp
[19/574] Compiling llvmSupport circular_raw_ostream.cpp
[19/574] Compiling llbuildBasic SerialQueue.cpp
[19/574] Compiling llvmSupport raw_ostream.cpp
[19/574] Compiling llvmSupport YAMLParser.cpp
[19/574] Compiling llvmSupport Twine.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/574] 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