Build Information
Failed to build SourceKitLSP, reference main (766f2c
), with Swift 6.1 for Wasm on 13 Sep 2025 11:51:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-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.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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/5330] Fetching indexstore-db
Fetched https://github.com/swiftlang/indexstore-db.git from cache (0.52s)
Fetching https://github.com/swiftlang/swift-docc.git
[1/71272] Fetching swift-docc
Fetched https://github.com/swiftlang/swift-docc.git from cache (3.98s)
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 (0.36s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/6883] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.42s)
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.42s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/71915] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.58s)
Fetching https://github.com/swiftlang/swift-format.git
[1/12492] Fetching swift-format
Fetched https://github.com/swiftlang/swift-format.git from cache (0.57s)
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 (12.80s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10281] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (0.72s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18197] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.88s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29218] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.18s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35578] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (2.27s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-argument-parser.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/apple/swift-crypto.git
[1/181] Fetching swift-toolchain-sqlite
[18/16139] Fetching swift-toolchain-sqlite, swift-argument-parser
[659/22722] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates
[725/27666] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-system
[7237/45126] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-system, swift-collections
[9397/62036] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-system, swift-collections, swift-crypto
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (5.76s)
Fetched https://github.com/apple/swift-collections.git from cache (5.76s)
Fetched https://github.com/apple/swift-crypto.git from cache (5.76s)
Fetched https://github.com/apple/swift-system.git from cache (5.76s)
Fetched https://github.com/apple/swift-certificates.git from cache (5.77s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.77s)
Fetching https://github.com/apple/swift-nio.git
[1/78080] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.14s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (12.05s)
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.52s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (11.13s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.27s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.61s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (0.75s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.77s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.74s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.24s)
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/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/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/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-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-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.7
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/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-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at main (f0f3a83)
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-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-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (6673b05)
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-docc.git
Working copy of https://github.com/swiftlang/swift-docc.git resolved at main (5ba1436)
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-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (e02dcab)
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/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/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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
[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
[61/817] Compiling CSKTestSupport CSKTestSupport.c
[61/817] Compiling CCompletionScoring CCompletionScoring.c
[63/817] Compiling CAtomics CAtomics.c
[64/817] Compiling CAtomic CAtomic.c
[65/817] Compiling chacha-armv4-ios.ios.arm.S
[66/817] Compiling a_bitstr.c
[67/817] Compiling llvmSupport Valgrind.cpp
[68/817] Compiling llvmSupport UnicodeCaseFold.cpp
[69/817] Compiling Csourcekitd sourcekitd.c
[69/817] Write swift-version-24593BA9C3E375BF.txt
[71/817] Compiling llvmSupport circular_raw_ostream.cpp
[72/817] Compiling llvmSupport Unicode.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())
| ~~~~~^
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.
[73/817] Compiling llvmSupport Threading.cpp
[73/817] Compiling llvmSupport raw_ostream.cpp
[73/817] Compiling llvmSupport TargetParser.cpp
[73/817] Compiling llvmSupport YAMLParser.cpp
[73/817] Compiling llvmSupport Triple.cpp
[73/817] Compiling llvmSupport Twine.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[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/749] Write sources
[5/749] Write swift-version-24593BA9C3E375BF.txt
[6/749] Compiling llvmSupport 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())
| ~~~~~^
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.
[7/749] Compiling llvmSupport Threading.cpp
[7/749] Compiling llvmSupport StringSaver.cpp
[7/749] Compiling llvmSupport YAMLParser.cpp
[7/749] Compiling llvmSupport Twine.cpp
[7/749] Compiling llvmSupport Triple.cpp
[7/749] Compiling llvmSupport StringRef.cpp
[7/749] Compiling llvmSupport TargetParser.cpp
BUILD FAILURE 6.1 wasm