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 (766f2c), with Swift 6.2 (beta) for Wasm on 13 Sep 2025 11:52:30 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 766f2c8 Merge pull request #2291 from natecook1000/formatting-tests-take2
Cloned https://github.com/swiftlang/sourcekit-lsp.git
Revision (git rev-parse @):
766f2c87a750bc3afbf1a5b08cc804e044b6c6ad
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-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
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/5330] Fetching indexstore-db
Fetched https://github.com/swiftlang/indexstore-db.git from cache (0.72s)
Fetching https://github.com/swiftlang/swift-docc.git
[1/71272] Fetching swift-docc
Fetched https://github.com/swiftlang/swift-docc.git from cache (4.21s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit.git
[1/3510] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit.git from cache (3.03s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/6883] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.47s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6952] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.51s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/71915] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.38s)
Fetching https://github.com/swiftlang/swift-format.git
[1/12492] Fetching swift-format
Fetched https://github.com/swiftlang/swift-format.git from cache (0.58s)
Fetching https://github.com/swiftlang/swift-package-manager.git
[1/161193] Fetching swift-package-manager
Fetched https://github.com/swiftlang/swift-package-manager.git from cache (11.63s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10281] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (2.12s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18197] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.50s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29218] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (3.53s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35578] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (3.23s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-system.git
[1/181] Fetching swift-toolchain-sqlite
[20/16139] Fetching swift-toolchain-sqlite, swift-argument-parser
[659/22722] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates
[1279/27666] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-system
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.44s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-system.git from cache (1.60s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.60s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.62s)
[1/17460] Fetching swift-collections
[2795/34370] Fetching swift-collections, swift-crypto
[4700/112450] Fetching swift-collections, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (3.42s)
[74690/94990] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (3.68s)
[62464/78080] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.91s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (11.11s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.74s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (2.02s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.21s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (1.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.94s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.20s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.62s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.36s)
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.4.0
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.6.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
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-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (6673b05)
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.6
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (bff22ba)
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/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at main (f0f3a83)
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 (a00f2e3)
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-package-manager.git
Working copy of https://github.com/swiftlang/swift-package-manager.git resolved at main (ec2a626)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (9cd0607)
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 (3fc0c68)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (e02dcab)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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.7
Creating working copy for https://github.com/swiftlang/swift-docc.git
Working copy of https://github.com/swiftlang/swift-docc.git resolved at main (5ba1436)
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/817] Write sources
[17/817] Compiling CAtomics CAtomics.c
[18/817] Compiling CSKTestSupport CSKTestSupport.c
[19/817] Compiling Csourcekitd sourcekitd.c
[20/817] Compiling CCompletionScoring CCompletionScoring.c
[21/817] Write swift-version-24593BA9C3E375BF.txt
[22/817] Compiling llvmSupport Valgrind.cpp
[23/817] Compiling llvmSupport UnicodeCaseFold.cpp
[24/817] Compiling cmark-gfm houdini_html_u.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/867] Emitting module SymbolKit
/host/spi-builder-workspace/.build/checkouts/swift-docc-symbolkit/Sources/SymbolKit/Mixin/Mixin+Equals.swift:11:8: error: no such module 'Foundation'
 9 | */
10 |
11 | import Foundation
   |        `- error: no such module 'Foundation'
12 |
13 | // `Mixin` does not conform to `Equatable` right now primarily because
[26/873] Compiling llvmSupport Twine.cpp
[27/873] Compiling llvmSupport circular_raw_ostream.cpp
[28/873] Compiling llvmSupport Unicode.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildDB.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildDB.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
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:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/resource.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildDB.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildDB.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
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:46:9: error: unknown type name 'rlim_t'
   46 | typedef rlim_t llbuild_rlim_t;
      |         ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildDB.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildDB.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:78:12: error: no type named 'condition_variable' in namespace 'std'
   78 |       std::condition_variable processesCondition;
      |       ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:12: error: no type named 'mutex' in namespace 'std'
   85 |       std::mutex mutex;
      |       ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:90:37: error: no member named 'mutex' in namespace 'std'
   90 |       void add(std::lock_guard<std::mutex>&& lock, llbuild_pid_t pid,
      |                                ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:97:32: error: no member named 'mutex' in namespace 'std'
   97 |           std::lock_guard<std::mutex> lock(mutex);
      |                           ~~~~~^
6 errors generated.
[29/873] Compiling llbuildCore BuildDB.cpp
[29/873] Compiling llvmSupport Triple.cpp
[29/873] Compiling llvmSupport Threading.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildEngine.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
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:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/resource.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildEngine.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
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:46:9: error: unknown type name 'rlim_t'
   46 | typedef rlim_t llbuild_rlim_t;
      |         ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildEngine.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:78:12: error: no type named 'condition_variable' in namespace 'std'
   78 |       std::condition_variable processesCondition;
      |       ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:12: error: no type named 'mutex' in namespace 'std'
   85 |       std::mutex mutex;
      |       ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:90:37: error: no member named 'mutex' in namespace 'std'
   90 |       void add(std::lock_guard<std::mutex>&& lock, llbuild_pid_t pid,
      |                                ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:97:32: error: no member named 'mutex' in namespace 'std'
   97 |           std::lock_guard<std::mutex> lock(mutex);
      |                           ~~~~~^
[29/873] Compiling llbuildCore BuildEngine.cpp
[29/873] Compiling llvmSupport TargetParser.cpp
[29/873] Compiling llvmSupport YAMLParser.cpp
[29/873] Compiling llvmSupport raw_ostream.cpp
BUILD FAILURE 6.2 wasm