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 LanguageServerProtocol, reference 0.14.0 (f7879c), with Swift 6.1 for Wasm on 31 May 2025 11:43:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/ChimeHQ/LanguageServerProtocol.git
Reference: 0.14.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/ChimeHQ/LanguageServerProtocol
 * tag               0.14.0     -> FETCH_HEAD
HEAD is now at f7879c7 Make WorkspaceClientCapabilities.resourceOperations optional (#28)
Cloned https://github.com/ChimeHQ/LanguageServerProtocol.git
Revision (git rev-parse @):
f7879c782c0845af9c576de7b8baedd946237286
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/LanguageServerProtocol.git at 0.14.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChimeHQ/LanguageServerProtocol.git
https://github.com/ChimeHQ/LanguageServerProtocol.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "jsonrpc",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/JSONRPC"
    }
  ],
  "manifest_display_name" : "LanguageServerProtocol",
  "name" : "LanguageServerProtocol",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "LanguageServerProtocol",
      "targets" : [
        "LanguageServerProtocol"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LanguageServerProtocolTests",
      "module_type" : "SwiftTarget",
      "name" : "LanguageServerProtocolTests",
      "path" : "Tests/LanguageServerProtocolTests",
      "sources" : [
        "AsyncMessageFramingSequenceTests.swift",
        "ServerTests.swift",
        "SnippetTests.swift",
        "TextEditTests.swift",
        "TokenRepresentationTests.swift",
        "TwoTypeOptionTests.swift"
      ],
      "target_dependencies" : [
        "LanguageServerProtocol"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LanguageServerProtocol",
      "module_type" : "SwiftTarget",
      "name" : "LanguageServerProtocol",
      "path" : "Sources/LanguageServerProtocol",
      "product_dependencies" : [
        "JSONRPC"
      ],
      "product_memberships" : [
        "LanguageServerProtocol"
      ],
      "sources" : [
        "Additions/AsyncStreamPolyfill.swift",
        "Additions/NSRegularExpression+Matching.swift",
        "Additions/Protocol+Mutating.swift",
        "Additions/ServerCapabilities+Extensions.swift",
        "Additions/Snippet.swift",
        "Additions/TokenRepresentation.swift",
        "BaseProtocol.swift",
        "BasicStructures.swift",
        "Client.swift",
        "Client/JSONRPCServerConnection.swift",
        "Client/MockServer.swift",
        "Client/ServerConnection.swift",
        "ClientCapabilities.swift",
        "ErrorCodes.swift",
        "Framing/AsyncByteSequence.swift",
        "Framing/AsyncMessageFramingSequence.swift",
        "Framing/DataChannel+MessageFraming.swift",
        "Framing/MessageFraming.swift",
        "General.swift",
        "LanguageFeatures/CallHeirarchy.swift",
        "LanguageFeatures/CodeAction.swift",
        "LanguageFeatures/CodeLens.swift",
        "LanguageFeatures/ColorPresentation.swift",
        "LanguageFeatures/Completion.swift",
        "LanguageFeatures/Declaration.swift",
        "LanguageFeatures/Definition.swift",
        "LanguageFeatures/Diagnostics.swift",
        "LanguageFeatures/DocumentColor.swift",
        "LanguageFeatures/DocumentHighlight.swift",
        "LanguageFeatures/DocumentLink.swift",
        "LanguageFeatures/DocumentSymbol.swift",
        "LanguageFeatures/FoldingRange.swift",
        "LanguageFeatures/Formatting.swift",
        "LanguageFeatures/Hover.swift",
        "LanguageFeatures/Implementation.swift",
        "LanguageFeatures/InlayHint.swift",
        "LanguageFeatures/LinkedEditingRange.swift",
        "LanguageFeatures/Moniker.swift",
        "LanguageFeatures/OnTypeFormatting.swift",
        "LanguageFeatures/References.swift",
        "LanguageFeatures/Rename.swift",
        "LanguageFeatures/SelectionRange.swift",
        "LanguageFeatures/SemanticTokens.swift",
        "LanguageFeatures/SignatureHelp.swift",
        "LanguageFeatures/TypeDefinition.swift",
        "LanguageFeatures/TypeHeirarchy.swift",
        "LanguageServerProtocol.swift",
        "ServerCapabilities.swift",
        "TextSynchronization.swift",
        "ThreeTypeOption.swift",
        "TwoTypeOption.swift",
        "Utility.swift",
        "Window.swift",
        "Window/ShowMessageRequest.swift",
        "Workspace.swift",
        "Workspace/ApplyEdit.swift",
        "Workspace/Configuration.swift",
        "Workspace/ExecuteCommand.swift",
        "Workspace/Folders.swift",
        "Workspace/Symbol.swift",
        "Workspace/WillCreateFiles.swift",
        "Workspace/WillDeleteFiles.swift",
        "Workspace/WillRenameFiles.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.78s)
Creating working copy for https://github.com/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.9.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/15] Emitting module JSONRPC
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[5/16] Compiling JSONRPC DataChannel+PredefinedMessages.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[6/16] Compiling JSONRPC DataChannel+Stdio.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[7/16] Compiling JSONRPC AsyncStreamPolyfill.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[8/16] Compiling JSONRPC DataChannel+Actor.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[9/16] Compiling JSONRPC JSONValue.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[10/16] Compiling JSONRPC JSONRPCSession.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[11/16] Compiling JSONRPC JSONId.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[12/16] Compiling JSONRPC JSONRPCError.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[13/16] Compiling JSONRPC DataChannel+WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[14/16] Compiling JSONRPC DataChannel.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[15/16] Compiling JSONRPC JSONValueDecoder.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[16/16] Compiling JSONRPC Protocol.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/13] Emitting module JSONRPC
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[3/14] Compiling JSONRPC JSONRPCSession.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[4/14] Compiling JSONRPC DataChannel+PredefinedMessages.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[5/14] Compiling JSONRPC DataChannel+Stdio.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[6/14] Compiling JSONRPC AsyncStreamPolyfill.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[7/14] Compiling JSONRPC DataChannel+Actor.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[8/14] Compiling JSONRPC DataChannel+WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[9/14] Compiling JSONRPC DataChannel.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[10/14] Compiling JSONRPC JSONValue.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[11/14] Compiling JSONRPC JSONId.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[12/14] Compiling JSONRPC JSONRPCError.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[13/14] Compiling JSONRPC Protocol.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
[14/14] Compiling JSONRPC JSONValueDecoder.swift
/host/spi-builder-workspace/.build/checkouts/JSONRPC/Sources/JSONRPC/DataChannel+Stdio.swift:5:8: error: no such module 'Darwin.C'
 3 | import Glibc
 4 | #else
 5 | import Darwin.C
   |        `- error: no such module 'Darwin.C'
 6 | #endif
 7 |
BUILD FAILURE 6.1 wasm