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.3.0 (c1f896), with Swift 6.1 for Wasm on 3 Jun 2025 08:22:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 1.3.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.3.0      -> FETCH_HEAD
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 1.3.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"
    }
  ],
  "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-4606859-3":/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.27s)
Fetching https://github.com/swiftlang/swift-package-manager
[1/154975] Fetching swift-package-manager
Fetched https://github.com/swiftlang/swift-package-manager from cache (15.16s)
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.67s)
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 (0.50s)
Fetching https://github.com/apple/swift-driver.git
[1/34696] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (2.44s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70721] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.99s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/4391] Fetching swift-system
[397/4519] Fetching swift-system, swift-toolchain-sqlite
[1995/15250] Fetching swift-system, swift-toolchain-sqlite, yams
[5054/30630] Fetching swift-system, swift-toolchain-sqlite, yams, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (2.07s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.09s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.10s)
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
[1/1821] Fetching languageserverprotocol
[1822/15757] Fetching languageserverprotocol, swift-crypto
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (0.57s)
[279/13936] Fetching swift-crypto
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/jpsim/Yams.git from cache (3.09s)
[2649/14788] Fetching swift-crypto, swift-concurrency-extras
[3377/18624] Fetching swift-crypto, swift-concurrency-extras, swift-log
[5545/24779] Fetching swift-crypto, swift-concurrency-extras, swift-log, swift-certificates
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.78s)
[5392/23927] Fetching swift-crypto, swift-log, swift-certificates
[6353/40518] Fetching swift-crypto, swift-log, swift-certificates, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (1.19s)
[12294/36682] Fetching swift-crypto, swift-certificates, swift-collections
Fetched https://github.com/apple/swift-certificates.git from cache (3.09s)
Fetched https://github.com/apple/swift-collections.git from cache (3.11s)
Fetched https://github.com/apple/swift-crypto.git from cache (5.30s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (7.98s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.49s)
Fetching https://github.com/ChimeHQ/JSONRPC
[1/634] Fetching jsonrpc
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.73s)
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.47s)
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.44s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.42s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.46s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (0.48s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.61s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.26s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.85s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.89s)
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/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/ChimeHQ/LanguageServerProtocol
Working copy of https://github.com/ChimeHQ/LanguageServerProtocol resolved at 0.14.0
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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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/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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/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-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-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-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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.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)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/523] Write sources
[20/523] Compiling rsaz_exp.c
[21/523] Compiling montgomery_inv.c
[22/523] Compiling random.c
[22/523] Write sources
[27/523] Compiling sqrt.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.
[28/523] Compiling _SubprocessCShims process_shims.c
[28/523] Compiling TSCclibc libc.c
[28/523] Compiling _SwiftSyntaxCShims dummy.c
[28/523] Compiling shift.c
[28/523] Compiling TSCclibc process.c
[28/523] Compiling prime.c
[28/523] Compiling mul.c
[28/523] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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...
[1/496] Write sources
[27/496] Compiling TSCclibc process.c
[27/496] Compiling CSystem shims.c
[29/496] Compiling TSCclibc libc.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.
[30/496] Compiling _SubprocessCShims process_shims.c
[30/496] Compiling v3_skey.c
[30/496] Compiling fiat_curve25519_adx_mul.S
[30/496] Compiling fiat_curve25519_adx_square.S
[30/496] Compiling CCryptoBoringSSLShims shims.c
[30/496] Compiling _SwiftSyntaxCShims dummy.c
[30/496] Compiling v3_utl.c
[30/496] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm