The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLSPClient, reference 0.9.1 (c5ea06), with Swift 6.1 for Wasm on 28 May 2025 03:19:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/ChimeHQ/SwiftLSPClient.git
Reference: 0.9.1
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/SwiftLSPClient
 * tag               0.9.1      -> FETCH_HEAD
HEAD is now at c5ea061 Corrected version bump
Cloned https://github.com/ChimeHQ/SwiftLSPClient.git
Revision (git rev-parse @):
c5ea0613ee55bf642aca78b2de376d9f798930cb
SUCCESS checkout https://github.com/ChimeHQ/SwiftLSPClient.git at 0.9.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChimeHQ/SwiftLSPClient.git
https://github.com/ChimeHQ/SwiftLSPClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "jsonrpc",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/JSONRPC"
    }
  ],
  "manifest_display_name" : "SwiftLSPClient",
  "name" : "SwiftLSPClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLSPClient",
      "targets" : [
        "SwiftLSPClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLSPClientTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLSPClientTests",
      "path" : "SwiftLSPClientTests",
      "sources" : [
        "JSONRPCLanguageServerTests.swift",
        "MockDataTransport.swift",
        "TypeTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLSPClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLSPClient",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLSPClient",
      "path" : "SwiftLSPClient",
      "product_dependencies" : [
        "JSONRPC"
      ],
      "product_memberships" : [
        "SwiftLSPClient"
      ],
      "sources" : [
        "JSONRPCLanguageServer.swift",
        "LanguageServer.swift",
        "LanguageServerProcessHost.swift",
        "StdioDataTransport.swift",
        "Types/Basic.swift",
        "Types/Client.swift",
        "Types/Client/RegisterCapability.swift",
        "Types/Client/TextDocumentClientCapabilitiesGenericGoTo.swift",
        "Types/ClientCapabilities.swift",
        "Types/Diagnostics.swift",
        "Types/DocumentSymbol.swift",
        "Types/Features/CodeAction.swift",
        "Types/Features/Declaration.swift",
        "Types/Features/Definition.swift",
        "Types/Features/FoldingRange.swift",
        "Types/Features/Hover.swift",
        "Types/Features/Implementation.swift",
        "Types/Features/Reference.swift",
        "Types/Features/Rename.swift",
        "Types/Features/SemanticTokens.swift",
        "Types/Features/SignatureHelp.swift",
        "Types/Features/TypeDefinition.swift",
        "Types/Formatting.swift",
        "Types/General/Initialized.swift",
        "Types/Initialization.swift",
        "Types/LSPRange.swift",
        "Types/LanguageFeatures.swift",
        "Types/Location.swift",
        "Types/LocationLink.swift",
        "Types/Position.swift",
        "Types/ProtocolMethod.swift",
        "Types/ServerCapabilities.swift",
        "Types/SymbolKind.swift",
        "Types/TextDocumentIndentifier.swift",
        "Types/TextSynchronization.swift",
        "Types/WillSaveTextDocument.swift",
        "Types/Window/LogMessageParams.swift",
        "Types/Window/MessageActionItem.swift",
        "Types/Window/MessageType.swift",
        "Types/Window/ShowMessageParams.swift",
        "Types/Window/ShowMessageRequest.swift",
        "Types/Workspace/Configuration.swift",
        "Types/Workspace/WorkspaceEdit.swift",
        "Types/WorkspaceFolder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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.24s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.70s)
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
[4/15] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/16] 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 |
[6/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 |
[7/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 |
[8/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 |
[9/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 |
[10/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 |
[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 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 |
[14/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 |
[15/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 |
[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-4609320-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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] 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 |
[3/13] 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 |
[4/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 |
[5/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 |
[6/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 |
[7/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 |
[8/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 |
[9/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 |
[10/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 |
[11/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 |
[12/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/14] 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 |
[14/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 |
BUILD FAILURE 6.1 wasm