The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPM, reference 1.0.8 (7df932), with Swift 6.2 for Wasm on 21 Jun 2025 17:13:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/art-divin/swift-package-manager.git
Reference: 1.0.8
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/art-divin/swift-package-manager
 * tag               1.0.8      -> FETCH_HEAD
HEAD is now at 7df9321 Possible fix for Docker
Cloned https://github.com/art-divin/swift-package-manager.git
Revision (git rev-parse @):
7df9321541e544d711dd93f5b97dd4e8bf7e100e
SUCCESS checkout https://github.com/art-divin/swift-package-manager.git at 1.0.8
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/art-divin/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-crypto.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/art-divin/swift-driver.git
[1/4436] Fetching swift-system
[90/27468] Fetching swift-system, swift-driver
[801/33652] Fetching swift-system, swift-driver, swift-certificates
[6153/50292] Fetching swift-system, swift-driver, swift-certificates, swift-collections
[7014/65711] Fetching swift-system, swift-driver, swift-certificates, swift-collections, swift-crypto
Fetched https://github.com/apple/swift-certificates.git from cache (1.16s)
[14481/59527] Fetching swift-system, swift-driver, swift-collections, swift-crypto
Fetching https://github.com/art-divin/swift-tools-support-core.git
[25276/63018] Fetching swift-system, swift-driver, swift-collections, swift-crypto, swift-tools-support-core
Fetched https://github.com/art-divin/swift-tools-support-core.git from cache (0.85s)
Fetching https://github.com/art-divin/swift-llbuild.git
[39582/59527] Fetching swift-system, swift-driver, swift-collections, swift-crypto
[41662/76964] Fetching swift-system, swift-driver, swift-collections, swift-crypto, swift-llbuild
Fetched https://github.com/apple/swift-system.git from cache (4.14s)
Fetching https://github.com/apple/swift-argument-parser.git
[61209/72528] Fetching swift-driver, swift-collections, swift-crypto, swift-llbuild
Fetched https://github.com/apple/swift-collections.git from cache (4.24s)
[45770/55888] Fetching swift-driver, swift-crypto, swift-llbuild
Fetched https://github.com/art-divin/swift-driver.git from cache (4.27s)
[23958/32856] Fetching swift-crypto, swift-llbuild
[32857/48236] Fetching swift-crypto, swift-llbuild, swift-argument-parser
Fetched https://github.com/art-divin/swift-llbuild.git from cache (3.79s)
[28492/30799] Fetching swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-crypto.git from cache (6.13s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.26s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.0.1 (7.48s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (1.39s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.93s)
Computing version for https://github.com/art-divin/swift-driver.git
Computed https://github.com/art-divin/swift-driver.git at 1.0.1 (1.09s)
Fetching https://github.com/jpsim/Yams.git
[1/10874] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.98s)
Computing version for https://github.com/art-divin/swift-tools-support-core.git
Computed https://github.com/art-divin/swift-tools-support-core.git at 1.0.0 (3.06s)
Computing version for https://github.com/art-divin/swift-llbuild.git
Computed https://github.com/art-divin/swift-llbuild.git at 1.0.0 (1.03s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.90s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.94s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.11s)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.0.1
Creating working copy for https://github.com/art-divin/swift-llbuild.git
Working copy of https://github.com/art-divin/swift-llbuild.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
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.2.3
Creating working copy for https://github.com/art-divin/swift-driver.git
Working copy of https://github.com/art-divin/swift-driver.git resolved at 1.0.1
Creating working copy for https://github.com/art-divin/swift-tools-support-core.git
Working copy of https://github.com/art-divin/swift-tools-support-core.git resolved at 1.0.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/PackageModel/InstalledLibrariesSupport/provided-libraries.json
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/664] Write sources
[49/664] Write swift-version-24593BA9C3E375BF.txt
[50/664] Compiling tsan_utils tsan_utils.c
[51/664] Compiling p_ed25519_asn1.c
[52/664] Compiling p_hkdf.c
[53/664] Compiling p_rsa.c
[54/664] Compiling p_ed25519.c
[55/669] Compiling llvmSupport Valgrind.cpp
[56/677] Compiling x509.c
[57/695] Compiling llvmSupport UnicodeCaseFold.cpp
[58/695] Compiling llvmSupport circular_raw_ostream.cpp
[59/695] Compiling llvmSupport Unicode.cpp
[60/695] Compiling llvmSupport raw_ostream.cpp
[61/695] 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())
      |                      ~~~~~^
2 errors generated.
[62/695] Compiling llvmSupport Threading.cpp
[62/695] Compiling llvmSupport StringSaver.cpp
[62/695] Compiling llvmSupport TargetParser.cpp
[62/695] Compiling llvmSupport YAMLParser.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/695] Emitting module PackagePlugin
/host/spi-builder-workspace/Sources/PackagePlugin/Command.swift:13:8: error: no such module 'Foundation'
 11 | //===----------------------------------------------------------------------===//
 12 |
 13 | import Foundation
    |        `- error: no such module 'Foundation'
 14 |
 15 | /// A command to run during the build, including executable, command lines,
[63/695] Compiling llvmSupport Triple.cpp
BUILD FAILURE 6.2 wasm