The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPM, reference 0.6.0 (f5ea39), with Swift 6.3 for Wasm on 21 Apr 2026 16:37:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-package-manager.git
Reference: 0.6.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/swiftlang/swift-package-manager
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at f5ea397 [Package.swift] Require swift-llbuild and swift-tools-support-core using semver dependencies
Cloned https://github.com/swiftlang/swift-package-manager.git
Revision (git rev-parse @):
f5ea3972d7d6c574e8bb16a19b2a7bca98ea131b
SUCCESS checkout https://github.com/swiftlang/swift-package-manager.git at 0.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/swiftlang/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-llbuild.git
[1/7194] Fetching swift-tools-support-core
[7195/36690] Fetching swift-tools-support-core, swift-llbuild
Fetched https://github.com/apple/swift-tools-support-core.git from cache (2.42s)
Fetched https://github.com/apple/swift-llbuild.git from cache (2.48s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.1.0 (3.44s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.3.0 (0.74s)
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 0.1.0
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at 0.3.0
warning: 'swift-llbuild': ignoring broken symlink /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm
Building for debugging...
[0/142] Write sources
[6/142] Compiling llvmSupport Valgrind.cpp
[7/142] Compiling llvmSupport UnicodeCaseFold.cpp
[8/142] Write swift-version-24593BA9C3E375BF.txt
[9/142] Compiling llvmSupport circular_raw_ostream.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Memory.cpp:21:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Memory.inc:14:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Unix.h:33:10: fatal error: 'sys/wait.h' file not found
   33 | #include <sys/wait.h>
      |          ^~~~~~~~~~~~
1 error generated.
[10/142] Compiling llvmSupport Memory.cpp
[10/142] Compiling llvmSupport Unicode.cpp
[10/142] Compiling llvmSupport Twine.cpp
[10/142] Compiling llvmSupport YAMLParser.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())
      |                      ~~~~~^
[10/142] Compiling llvmSupport Threading.cpp
[10/142] Compiling llvmSupport Triple.cpp
[10/142] Compiling llvmSupport raw_ostream.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/144] Emitting module swiftpm_xctest_helper
/host/spi-builder-workspace/Sources/swiftpm-xctest-helper/main.swift:137:13: error: no such module 'Glibc'
135 | #else
136 |
137 | import func Glibc.exit
    |             `- error: no such module 'Glibc'
138 | print("Only macOS supported.")
139 | exit(1)
[12/144] Compiling swiftpm_xctest_helper main.swift
/host/spi-builder-workspace/Sources/swiftpm-xctest-helper/main.swift:137:13: error: no such module 'Glibc'
135 | #else
136 |
137 | import func Glibc.exit
    |             `- error: no such module 'Glibc'
138 | print("Only macOS supported.")
139 | exit(1)
BUILD FAILURE 6.3 wasm