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 package-swift-lsp, reference 1.5.0 (370583), with Swift 6.1 for Wasm on 7 Aug 2025 18:41:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kattouf/package-swift-lsp.git
Reference: 1.5.0
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
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at 3705832 chore(release): Bump version to 1.5.0
Cloned https://github.com/kattouf/package-swift-lsp.git
Revision (git rev-parse @):
37058325ee09857e2d1f76def0b3361eab64ad14
SUCCESS checkout https://github.com/kattouf/package-swift-lsp.git at 1.5.0
========================================
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"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.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",
        "Crypto"
      ],
      "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-1":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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.21s)
Fetching https://github.com/swiftlang/swift-package-manager
[1/159479] Fetching swift-package-manager
Fetched https://github.com/swiftlang/swift-package-manager from cache (20.01s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/1472] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.44s)
Fetching https://github.com/apple/swift-llbuild.git
[1/29145] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.20s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6917] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.48s)
Fetching https://github.com/apple/swift-driver.git
[1/35379] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (2.21s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/71491] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.60s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/165] Fetching swift-toolchain-sqlite
[20/5004] Fetching swift-toolchain-sqlite, swift-system
[456/11464] Fetching swift-toolchain-sqlite, swift-system, swift-certificates
[7896/22461] Fetching swift-toolchain-sqlite, swift-system, swift-certificates, yams
[12664/38091] Fetching swift-toolchain-sqlite, swift-system, swift-certificates, yams, swift-argument-parser
Fetched https://github.com/apple/swift-certificates.git from cache (0.67s)
[8206/31631] Fetching swift-toolchain-sqlite, swift-system, yams, swift-argument-parser
Fetching https://github.com/apple/swift-crypto.git
[27124/47637] Fetching swift-toolchain-sqlite, swift-system, yams, swift-argument-parser, swift-crypto
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-system from cache (1.67s)
[26634/42798] Fetching swift-toolchain-sqlite, yams, swift-argument-parser, swift-crypto
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.72s)
[26689/42633] Fetching yams, swift-argument-parser, swift-crypto
Fetching https://github.com/apple/swift-log.git
[28389/44454] Fetching yams, swift-argument-parser, swift-crypto, languageserverprotocol
[28553/48334] Fetching yams, swift-argument-parser, swift-crypto, languageserverprotocol, swift-log
[32742/65274] Fetching yams, swift-argument-parser, swift-crypto, languageserverprotocol, swift-log, swift-collections
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (0.43s)
[31856/63453] Fetching yams, swift-argument-parser, swift-crypto, swift-log, swift-collections
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.42s)
[24074/47823] Fetching yams, swift-crypto, swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (0.72s)
[20514/43943] Fetching yams, swift-crypto, swift-collections
[20676/44821] Fetching yams, swift-crypto, swift-collections, swift-concurrency-extras
Fetched https://github.com/jpsim/Yams.git from cache (2.51s)
[10810/33824] Fetching swift-crypto, swift-collections, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.48s)
[17538/32946] Fetching swift-crypto, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.76s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.88s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (4.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.60s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.53s)
Fetching https://github.com/ChimeHQ/JSONRPC
[1/634] Fetching jsonrpc
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.22s)
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.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.46s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.47s)
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 (0.57s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.28s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (6.89s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (1.89s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.6 (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (0.72s)
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.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/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-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (7fb7ee8)
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/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/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-package-manager
Working copy of https://github.com/swiftlang/swift-package-manager resolved at 1fc90e29029bfeafe3550ccf08f74a86a11baa23
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/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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.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
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/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-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/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.9.2
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/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.6
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/524] Write sources
[22/524] Write swift-version-24593BA9C3E375BF.txt
[23/524] Compiling dh_asn1.c
[24/524] Compiling _SwiftSyntaxCShims dummy.c
[25/524] Compiling curve25519_64_adx.c
[26/524] Compiling params.c
[27/524] Compiling spake25519.c
[27/524] Write sources
[32/524] Compiling digest_extra.c
[33/524] Compiling TSCclibc process.c
[33/524] Compiling dsa.c
[33/524] Write sources
[59/524] Compiling TSCclibc libc.c
[60/524] 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.
[61/524] Compiling _SubprocessCShims process_shims.c
[61/524] Compiling des.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/465] Write sources
/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.
[4/466] Compiling _SubprocessCShims process_shims.c
[4/466] Compiling v3_purp.c
[4/466] Compiling fiat_curve25519_adx_square.S
[4/466] Compiling v3_utl.c
[4/466] Compiling CCryptoBoringSSLShims shims.c
[4/466] Compiling fiat_curve25519_adx_mul.S
[4/466] Compiling v3_skey.c
[4/466] Compiling v3_prn.c
BUILD FAILURE 6.1 wasm