Build Information
Failed to build package-swift-lsp, reference main (c1f896
), with Swift 6.1 for Wasm on 3 Jun 2025 08:22:32 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kattouf/package-swift-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/kattouf/package-swift-lsp
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c1f896d chore(release): Bump version to 1.3.0
Cloned https://github.com/kattouf/package-swift-lsp.git
Revision (git rev-parse @):
c1f896dadc090f17369d7a69a24e3e3d9fc95860
SUCCESS checkout https://github.com/kattouf/package-swift-lsp.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kattouf/package-swift-lsp.git
https://github.com/kattouf/package-swift-lsp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "languageserverprotocol",
"requirement" : {
"range" : [
{
"lower_bound" : "0.14.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChimeHQ/LanguageServerProtocol"
},
{
"identity" : "languageserver",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChimeHQ/LanguageServer"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "510.0.1",
"upper_bound" : "511.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "swift-package-manager",
"requirement" : {
"revision" : [
"1fc90e29029bfeafe3550ccf08f74a86a11baa23"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-package-manager"
},
{
"identity" : "swift-subprocess",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-subprocess.git"
},
{
"identity" : "swift-concurrency-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-concurrency-extras.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "package-swift-lsp",
"name" : "package-swift-lsp",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "package-swift-lsp",
"targets" : [
"PackageSwiftLSPCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "PackageSwiftLSPLibraryTests",
"module_type" : "SwiftTarget",
"name" : "PackageSwiftLSPLibraryTests",
"path" : "Tests/PackageSwiftLSPLibraryTests",
"sources" : [
"Common/BarrierTests.swift",
"Common/DebouncerTests.swift",
"Common/DetermenisticHashableTests.swift",
"Common/FuzzySearchTests.swift",
"Common/SemverTests.swift",
"DataProviders/GitRefsLabelsExtractorTests.swift",
"DataProviders/GithubPackageTests.swift",
"DataProviders/PackageSwiftDependenciesProviderTests.swift",
"DataProviders/PackagesRegistryDiskCacheTests.swift",
"DataProviders/PackagesRegistryTests.swift",
"DataProviders/PackagesSwiftResolverTests.swift",
"PackageSwift/PackageSwiftItem+Equatable.swift",
"PackageSwift/PackageSwiftItemCollectorTests.swift",
"PackageSwift/PackageSwiftItemLocatorTests.swift",
"PackageSwift/TextDocumentItemPackageSwiftTests.swift",
"TestData/TestPackageSwift600.swift",
"TestData/TestWorkspaceGenerator.swift"
],
"target_dependencies" : [
"PackageSwiftLSPLibrary"
],
"type" : "test"
},
{
"c99name" : "PackageSwiftLSPLibrary",
"module_type" : "SwiftTarget",
"name" : "PackageSwiftLSPLibrary",
"path" : "Sources/PackageSwiftLSPLibrary",
"product_dependencies" : [
"LanguageServerProtocol",
"LanguageServer",
"SwiftSyntax",
"SwiftParser",
"SwiftPMDataModel-auto",
"Subprocess",
"ConcurrencyExtras",
"Logging"
],
"product_memberships" : [
"package-swift-lsp"
],
"sources" : [
"Common/Barrier.swift",
"Common/Debouncer.swift",
"Common/DeterministicHashable.swift",
"Common/FuzzySearch.swift",
"Common/Logger.swift",
"Common/OneBasedPosition+LSPPosition.swift",
"Common/OneBasedPosition+SourceLocation.swift",
"Common/OneBasedPosition.swift",
"Common/OneBasedRange+LSPRange.swift",
"Common/OneBasedRange.swift",
"Common/Semver.swift",
"DataProviders/GitRefsProvider.swift",
"DataProviders/PackageSwiftDependenciesProvider.swift",
"DataProviders/PackageSwiftDependenciesResolver.swift",
"DataProviders/PackagesRegistry.swift",
"LSPFeatureServices/CompletionService.swift",
"LSPFeatureServices/HoverService.swift",
"LSPFeatureServices/ProgressTracker.swift",
"PackageSwift/PackageSwiftDocument.swift",
"PackageSwift/PackageSwiftItem.swift",
"PackageSwift/PackageSwiftItemCollector.swift",
"PackageSwift/PackageSwiftItemLocator.swift",
"PackageSwift/PackageSwiftItemParser.swift",
"PackageSwift/PackageSwiftParser.swift",
"PackageSwift/TextDocumentItem+PackageSwift.swift",
"Server/BaseEventHandler.swift",
"Server/DocumentEventHandler.swift",
"Server/Server.swift"
],
"type" : "library"
},
{
"c99name" : "PackageSwiftLSPCLI",
"module_type" : "SwiftTarget",
"name" : "PackageSwiftLSPCLI",
"path" : "Sources/PackageSwiftLSPCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"package-swift-lsp"
],
"sources" : [
"CLI.swift",
"Version.swift"
],
"target_dependencies" : [
"PackageSwiftLSPLibrary"
],
"type" : "executable"
}
],
"tools_version" : "6.0"
}
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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ChimeHQ/LanguageServer
[1/68] Fetching languageserver
Fetched https://github.com/ChimeHQ/LanguageServer from cache (0.23s)
Fetching https://github.com/swiftlang/swift-package-manager
[1/154975] Fetching swift-package-manager
Fetched https://github.com/swiftlang/swift-package-manager from cache (11.39s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/737] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.42s)
Fetching https://github.com/apple/swift-llbuild.git
[1/29012] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.15s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6785] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.04s)
Fetching https://github.com/apple/swift-driver.git
[1/34696] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (1.60s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70721] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.22s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-system
[1/128] Fetching swift-toolchain-sqlite
[19/6283] Fetching swift-toolchain-sqlite, swift-certificates
[6051/22874] Fetching swift-toolchain-sqlite, swift-certificates, swift-collections
[6114/33605] Fetching swift-toolchain-sqlite, swift-certificates, swift-collections, yams
[6839/37996] Fetching swift-toolchain-sqlite, swift-certificates, swift-collections, yams, swift-system
[16321/53376] Fetching swift-toolchain-sqlite, swift-certificates, swift-collections, yams, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.48s)
[12971/48985] Fetching swift-toolchain-sqlite, swift-certificates, swift-collections, yams, swift-argument-parser
Fetching https://github.com/apple/swift-crypto.git
[38204/62921] Fetching swift-toolchain-sqlite, swift-certificates, swift-collections, yams, swift-argument-parser, swift-crypto
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.48s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.49s)
[48138/56638] Fetching swift-collections, yams, swift-argument-parser, swift-crypto
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.50s)
[33176/41258] Fetching swift-collections, yams, swift-crypto
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
Fetched https://github.com/jpsim/Yams.git from cache (1.56s)
Fetched https://github.com/apple/swift-collections.git from cache (1.58s)
[6690/13936] Fetching swift-crypto
[13246/15757] Fetching swift-crypto, languageserverprotocol
[15758/16609] Fetching swift-crypto, languageserverprotocol, swift-concurrency-extras
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (0.49s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.53s)
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-crypto.git from cache (2.19s)
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (3.57s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.83s)
Fetching https://github.com/ChimeHQ/JSONRPC
[1/634] Fetching jsonrpc
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.25s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.3.1 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.77s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.81s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.80s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (0.77s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.94s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.36s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.82s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.10s)
Creating working copy for https://github.com/swiftlang/swift-package-manager
Working copy of https://github.com/swiftlang/swift-package-manager resolved at 1fc90e29029bfeafe3550ccf08f74a86a11baa23
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/6.1 (4fc005b)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at release/6.1 (cbd0366)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/pointfreeco/swift-concurrency-extras.git
Working copy of https://github.com/pointfreeco/swift-concurrency-extras.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/6.1 (20cd624)
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (48d9d57)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/6.1 (5cd61a7)
Creating working copy for https://github.com/ChimeHQ/LanguageServer
Working copy of https://github.com/ChimeHQ/LanguageServer resolved at main (ea769da)
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-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.4
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/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.9.2
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
Creating working copy for https://github.com/ChimeHQ/LanguageServerProtocol
Working copy of https://github.com/ChimeHQ/LanguageServerProtocol resolved at 0.14.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/523] Write sources
[51/523] Compiling _SwiftSyntaxCShims dummy.c
[52/523] Compiling TSCclibc process.c
[53/523] Compiling TSCclibc libc.c
[54/523] Compiling CSystem shims.c
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:27:10: fatal error: 'grp.h' file not found
27 | #include <grp.h>
| ^~~~~~~
1 error generated.
[55/523] Compiling _SubprocessCShims process_shims.c
[55/523] Compiling fiat_curve25519_adx_square.S
[55/523] Compiling fiat_curve25519_adx_mul.S
[55/523] Compiling v3_utl.c
[55/523] Compiling a_bitstr.c
[55/523] Compiling CCryptoBoringSSLShims shims.c
[55/523] Compiling a_bool.c
[55/523] Write swift-version-24593BA9C3E375BF.txt
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 GenerateManual
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:27:10: fatal error: 'grp.h' file not found
27 | #include <grp.h>
| ^~~~~~~
1 error generated.
[1/469] Compiling _SubprocessCShims process_shims.c
[1/469] Compiling v3_purp.c
[1/469] Compiling fiat_curve25519_adx_square.S
[1/469] Compiling fiat_curve25519_adx_mul.S
[1/469] Compiling v3_prn.c
[1/469] Compiling CCryptoBoringSSLShims shims.c
[1/469] Compiling v3_skey.c
[1/469] Compiling v3_utl.c
BUILD FAILURE 6.1 wasm