The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SourceKitLSP, reference main (896888), with Swift 6.2 (beta) for Wasm on 26 Jun 2025 09:00:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/swiftlang/sourcekit-lsp.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/swiftlang/sourcekit-lsp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8968885 Merge pull request #2191 from hamishknight/tic-tac-toe-two
Cloned https://github.com/swiftlang/sourcekit-lsp.git
Revision (git rev-parse @):
8968885de7f4c3d2a9c06dbe8425553489caecd9
SUCCESS checkout https://github.com/swiftlang/sourcekit-lsp.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/sourcekit-lsp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/swiftlang/indexstore-db.git
[1/5266] Fetching indexstore-db
Fetched https://github.com/swiftlang/indexstore-db.git from cache (0.70s)
Fetching https://github.com/swiftlang/swift-docc.git
[1/69834] Fetching swift-docc
Fetched https://github.com/swiftlang/swift-docc.git from cache (5.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit.git
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit.git from cache (1.00s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/6797] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.79s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6858] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (1.58s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70951] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.06s)
Fetching https://github.com/swiftlang/swift-format.git
[1/12243] Fetching swift-format
Fetched https://github.com/swiftlang/swift-format.git from cache (0.78s)
Fetching https://github.com/swiftlang/swift-package-manager.git
[1/157293] Fetching swift-package-manager
Fetched https://github.com/swiftlang/swift-package-manager.git from cache (16.23s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10221] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (1.45s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18115] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.41s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29042] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (5.15s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35018] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (2.21s)
Fetching https://github.com/swiftlang/swift-build.git
[1/12173] Fetching swift-build
Fetched https://github.com/swiftlang/swift-build.git from cache (2.03s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-certificates.git
[1/15448] Fetching swift-crypto
[2/15584] Fetching swift-crypto, swift-toolchain-sqlite
[173/21783] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates
[885/38498] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates, swift-collections
[1957/42934] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates, swift-collections, swift-system
[10215/58314] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates, swift-collections, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (1.24s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.24s)
[31621/47679] Fetching swift-crypto, swift-toolchain-sqlite, swift-collections, swift-argument-parser
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.56s)
[25348/32299] Fetching swift-crypto, swift-toolchain-sqlite, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.73s)
[10641/15584] Fetching swift-crypto, swift-toolchain-sqlite
[10797/91923] Fetching swift-crypto, swift-toolchain-sqlite, swift-nio
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.69s)
[60489/91787] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (2.72s)
[45804/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (7.72s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.64s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.89s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.5 (0.84s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (1.33s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.57s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.06s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.48s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.72s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.55s)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (b97d094)
Creating working copy for https://github.com/swiftlang/swift-build.git
Working copy of https://github.com/swiftlang/swift-build.git resolved at main (96b61d0)
Creating working copy for https://github.com/swiftlang/indexstore-db.git
Working copy of https://github.com/swiftlang/indexstore-db.git resolved at main (9be9752)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (c281baa)
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/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (03f4816)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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.5.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (c40a978)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit.git
Working copy of https://github.com/swiftlang/swift-docc-symbolkit.git resolved at main (ebe89c7)
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at main (f9b4010)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (f3b9649)
Creating working copy for https://github.com/swiftlang/swift-package-manager.git
Working copy of https://github.com/swiftlang/swift-package-manager.git resolved at main (55e284e)
Creating working copy for https://github.com/swiftlang/swift-docc.git
Working copy of https://github.com/swiftlang/swift-docc.git resolved at main (c7660bb)
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (1ad9a2d)
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at main (2868901)
warning: 'swift-format': Conflicting identity for swift-markdown: dependency 'github.com/apple/swift-markdown' and dependency 'github.com/swiftlang/swift-markdown' both point to the same package identity 'swift-markdown'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/swiftlang/swift-format->github.com/apple/swift-markdown (B) /host/spi-builder-workspace->github.com/swiftlang/swift-markdown. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/1030] Write sources
[6/1030] Compiling CCompletionScoring CCompletionScoring.c
[7/1030] Compiling CAtomics CAtomics.c
[8/1030] Compiling CSKTestSupport CSKTestSupport.c
[9/1030] Compiling llvmSupport Valgrind.cpp
[10/1030] Compiling llvmSupport UnicodeCaseFold.cpp
[11/1030] Compiling Csourcekitd sourcekitd.c
[12/1030] Write swift-version-24593BA9C3E375BF.txt
[13/1030] Compiling llvmSupport circular_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.
[14/1030] Compiling llvmSupport Threading.cpp
[14/1030] Compiling llvmSupport StringSaver.cpp
[14/1030] Compiling llvmSupport Triple.cpp
[14/1030] Compiling llvmSupport TargetParser.cpp
[14/1030] Compiling llvmSupport Twine.cpp
[14/1030] Compiling llvmSupport raw_ostream.cpp
[14/1030] Compiling llvmSupport Unicode.cpp
[14/1030] Compiling llvmSupport YAMLParser.cpp
BUILD FAILURE 6.2 wasm