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 main (d87142), with Swift 6.1 for Wasm on 10 Aug 2025 21:26:15 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: 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 d871427 doc: add link to nvim plugin repo
Cloned https://github.com/kattouf/package-swift-lsp.git
Revision (git rev-parse @):
d87142705a203457a209e36c8463e1d16232fc33
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"
    },
    {
      "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.28s)
Fetching https://github.com/swiftlang/swift-package-manager
[1/159516] Fetching swift-package-manager
Fetched https://github.com/swiftlang/swift-package-manager from cache (15.78s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/1499] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.76s)
Fetching https://github.com/apple/swift-llbuild.git
[1/29161] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (1.78s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6921] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.43s)
Fetching https://github.com/apple/swift-driver.git
[1/35384] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (1.53s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/71681] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.37s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-certificates.git
[1/165] Fetching swift-toolchain-sqlite
[20/6625] Fetching swift-toolchain-sqlite, swift-certificates
[1377/11472] Fetching swift-toolchain-sqlite, swift-certificates, swift-system
[9134/22585] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, yams
[11796/39532] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, yams, swift-collections
[19844/55162] Fetching swift-toolchain-sqlite, swift-certificates, swift-system, yams, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-certificates.git from cache (0.48s)
[14057/48702] Fetching swift-toolchain-sqlite, swift-system, yams, swift-collections, swift-argument-parser
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.87s)
[24020/49142] Fetching swift-toolchain-sqlite, swift-system, yams, swift-collections, swift-crypto
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
[34359/50963] Fetching swift-toolchain-sqlite, swift-system, yams, swift-collections, swift-crypto, languageserverprotocol
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (0.29s)
Fetching https://github.com/apple/swift-log.git
[34840/49142] Fetching swift-toolchain-sqlite, swift-system, yams, swift-collections, swift-crypto
[35163/53028] Fetching swift-toolchain-sqlite, swift-system, yams, swift-collections, swift-crypto, swift-log
Fetched https://github.com/apple/swift-system from cache (1.54s)
[38218/48181] Fetching swift-toolchain-sqlite, yams, swift-collections, swift-crypto, swift-log
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.55s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
[38214/48016] Fetching yams, swift-collections, swift-crypto, swift-log
[21910/31069] Fetching yams, swift-crypto, swift-log
Fetched https://github.com/apple/swift-collections.git from cache (1.57s)
Fetched https://github.com/apple/swift-log.git from cache (0.41s)
[18666/27183] Fetching yams, swift-crypto
Fetched https://github.com/jpsim/Yams.git from cache (1.59s)
[8196/16070] Fetching swift-crypto
[12375/16948] Fetching swift-crypto, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.23s)
[15910/16070] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.62s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (2.53s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.57s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.43s)
Fetching https://github.com/ChimeHQ/JSONRPC
[1/634] Fetching jsonrpc
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.23s)
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.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.42s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.41s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (2.37s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.56s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.04s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.59s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.6 (0.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (0.69s)
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/ChimeHQ/LanguageServerProtocol
Working copy of https://github.com/ChimeHQ/LanguageServerProtocol resolved at 0.14.0
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/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.9.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-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/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-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-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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
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
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/524] Write sources
[50/524] Compiling TSCclibc process.c
[51/524] Compiling TSCclibc libc.c
[52/524] Compiling _SwiftSyntaxCShims dummy.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.
[53/524] Compiling _SubprocessCShims process_shims.c
[53/524] Compiling CSystem shims.c
[53/524] Compiling v3_skey.c
[53/524] Compiling v3_utl.c
[53/524] Compiling CCryptoBoringSSLShims shims.c
[53/524] Compiling fiat_curve25519_adx_square.S
[53/524] Compiling fiat_curve25519_adx_mul.S
[53/524] Write swift-version-24593BA9C3E375BF.txt
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/473] 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.
[3/473] Compiling _SubprocessCShims process_shims.c
[3/473] Compiling fiat_curve25519_adx_mul.S
[3/473] Compiling fiat_curve25519_adx_square.S
[3/473] Compiling v3_skey.c
[3/473] Compiling v3_utl.c
[3/473] Compiling CCryptoBoringSSLShims shims.c
[3/473] Compiling CSystem shims.c
[3/473] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm