Build Information
Failed to build SourceKitLSP, reference main (896888
), with Swift 6.1 for Wasm on 26 Jun 2025 08:59:33 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.1-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.1
Building package at path: $PWD
https://github.com/swiftlang/sourcekit-lsp.git
https://github.com/swiftlang/sourcekit-lsp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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.56s)
Fetching https://github.com/swiftlang/swift-docc.git
[1/69834] Fetching swift-docc
Fetched https://github.com/swiftlang/swift-docc.git from cache (3.83s)
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 (0.39s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/6797] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.55s)
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 (0.48s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70951] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.10s)
Fetching https://github.com/swiftlang/swift-format.git
[1/12243] Fetching swift-format
Fetched https://github.com/swiftlang/swift-format.git from cache (0.53s)
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 (11.86s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10221] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (0.86s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18115] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.88s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29042] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (1.82s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35018] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (1.64s)
Fetching https://github.com/swiftlang/swift-build.git
[1/12173] Fetching swift-build
Fetched https://github.com/swiftlang/swift-build.git from cache (1.44s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-crypto.git
[1/6199] Fetching swift-certificates
[63/6335] Fetching swift-certificates, swift-toolchain-sqlite
[1197/10771] Fetching swift-certificates, swift-toolchain-sqlite, swift-system
[5754/27486] Fetching swift-certificates, swift-toolchain-sqlite, swift-system, swift-collections
[7735/42934] Fetching swift-certificates, swift-toolchain-sqlite, swift-system, swift-collections, swift-crypto
[16492/58314] Fetching swift-certificates, swift-toolchain-sqlite, swift-system, swift-collections, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (1.22s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.22s)
Fetching https://github.com/apple/swift-nio.git
[42891/47679] Fetching swift-toolchain-sqlite, swift-collections, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.30s)
[29544/32299] Fetching swift-toolchain-sqlite, swift-collections, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (1.33s)
[12958/15584] Fetching swift-toolchain-sqlite, swift-crypto
[15585/91923] Fetching swift-toolchain-sqlite, swift-crypto, swift-nio
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.91s)
[19265/91787] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (1.94s)
[4581/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.11s)
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.78s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.46s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.51s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.5 (0.45s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.54s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.25s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.70s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.32s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.76s)
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-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/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-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/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/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (1ad9a2d)
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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)
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-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-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-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-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.5
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-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (c281baa)
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-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-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/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-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (03f4816)
warning: 'swift-format': 'swift-format' dependency on 'https://github.com/apple/swift-markdown.git' conflicts with dependency on 'https://github.com/swiftlang/swift-markdown.git' which has the same identity 'swift-markdown'. 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
[50/1030] Compiling CAtomics CAtomics.c
[50/1030] Compiling CCompletionScoring CCompletionScoring.c
[50/1030] Compiling CSKTestSupport CSKTestSupport.c
[50/1030] Compiling Csourcekitd sourcekitd.c
[50/1030] Write swift-version-24593BA9C3E375BF.txt
[50/1030] Compiling llvmSupport Valgrind.cpp
[50/1030] Compiling llvmSupport UnicodeCaseFold.cpp
[57/1030] Compiling llvmSupport circular_raw_ostream.cpp
/host/spi-builder-workspace/.build/checkouts/indexstore-db/Sources/IndexStoreDB_Index/IndexDatastore.cpp:42:10: fatal error: 'dispatch/dispatch.h' file not found
42 | #include <dispatch/dispatch.h>
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[58/1030] Compiling IndexStoreDB_Index IndexDatastore.cpp
[58/1030] Compiling IndexStoreDB_LLVMSupport SourceMgr.cpp
[58/1030] Compiling llvmSupport YAMLParser.cpp
[58/1030] Compiling llvmSupport Unicode.cpp
[58/1030] Compiling llvmSupport raw_ostream.cpp
[58/1030] Compiling IndexStoreDB_LLVMSupport ManagedStatic.cpp
[58/1030] Compiling llvmSupport Twine.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'swift-format': 'swift-format' dependency on 'https://github.com/apple/swift-markdown.git' conflicts with dependency on 'https://github.com/swiftlang/swift-markdown.git' which has the same identity 'swift-markdown'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/975] Copying Windows.xcspec
[3/975] Copying WindowsLd.xcspec
[3/975] Copying WindowsCompile.xcspec
[3/975] Copying Info.plist
[3/975] Copying WindowsLibtool.xcspec
[3/975] Copying WasmCompile.xcspec
[3/975] Copying WasmLibtool.xcspec
[3/975] Copying WasmLd.xcspec
[3/975] Copying com.apple.build-tools.modules-verifier.strings
[3/975] Write sources
[3/975] Copying swift-stdlib-tool.xcspec
[3/975] Write sources
[3/975] Copying WebAssembly.xcspec
/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())
| ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:90:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Threading.inc:22:10: fatal error: 'pthread.h' file not found
22 | #include <pthread.h>
| ^~~~~~~~~~~
3 errors generated.
[18/976] Compiling llvmSupport Threading.cpp
[18/976] Compiling llvmSupport Twine.cpp
[18/976] Compiling llvmSupport Unicode.cpp
[18/976] Compiling llvmSupport StringSaver.cpp
[18/976] Compiling llvmSupport Triple.cpp
[18/976] Compiling llvmSupport raw_ostream.cpp
[18/976] Compiling llvmSupport YAMLParser.cpp
[18/976] Compiling llvmSupport TargetParser.cpp
BUILD FAILURE 6.1 wasm