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 LanguageClient, reference main (4f28cc), with Swift 6.1 for Wasm on 4 Jun 2025 17:58:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/LanguageClient.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/ChimeHQ/LanguageClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4f28cc3 Ensure that server actually forwards events it does not directly handle
Cloned https://github.com/ChimeHQ/LanguageClient.git
Revision (git rev-parse @):
4f28cc3cad7512470275f65ca2048359553a86f5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/LanguageClient.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChimeHQ/LanguageClient.git
https://github.com/ChimeHQ/LanguageClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "languageserverprotocol",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/LanguageServerProtocol"
    },
    {
      "identity" : "fseventswrapper",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/FSEventsWrapper"
    },
    {
      "identity" : "swift-glob",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/davbeck/swift-glob"
    },
    {
      "identity" : "jsonrpc",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/JSONRPC"
    },
    {
      "identity" : "processenv",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/ProcessEnv"
    },
    {
      "identity" : "semaphore",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.8",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/groue/Semaphore"
    },
    {
      "identity" : "queue",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattmassicotte/Queue"
    }
  ],
  "manifest_display_name" : "LanguageClient",
  "name" : "LanguageClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "LanguageClient",
      "targets" : [
        "LanguageClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LanguageClientTests",
      "module_type" : "SwiftTarget",
      "name" : "LanguageClientTests",
      "path" : "Tests/LanguageClientTests",
      "sources" : [
        "FileEventAsyncSequenceTests.swift",
        "ServerTests.swift"
      ],
      "target_dependencies" : [
        "LanguageClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LanguageClient",
      "module_type" : "SwiftTarget",
      "name" : "LanguageClient",
      "path" : "Sources/LanguageClient",
      "product_dependencies" : [
        "FSEventsWrapper",
        "Glob",
        "JSONRPC",
        "LanguageServerProtocol",
        "ProcessEnv",
        "Queue",
        "Semaphore"
      ],
      "product_memberships" : [
        "LanguageClient"
      ],
      "sources" : [
        "AsyncStreamTap.swift",
        "DataChannel+LocalProcess.swift",
        "DataChannel+UserScript.swift",
        "FileEventAsyncSequence.swift",
        "FileHandle+DataStream.swift",
        "InitializingServer.swift",
        "RestartingServer.swift",
        "Server+Shutdown.swift",
        "StatefulServer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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/groue/Semaphore
Fetching https://github.com/ChimeHQ/JSONRPC
Fetching https://github.com/ChimeHQ/ProcessEnv
Fetching https://github.com/davbeck/swift-glob
Fetching https://github.com/Frizlab/FSEventsWrapper
Fetching https://github.com/mattmassicotte/Queue
[1/260] Fetching fseventswrapper
[254/904] Fetching fseventswrapper, swift-glob
[255/1212] Fetching fseventswrapper, swift-glob, queue
[313/1846] Fetching fseventswrapper, swift-glob, queue, jsonrpc
[1230/2139] Fetching fseventswrapper, swift-glob, queue, jsonrpc, semaphore
[1861/2353] Fetching fseventswrapper, swift-glob, queue, jsonrpc, semaphore, processenv
Fetched https://github.com/Frizlab/FSEventsWrapper from cache (0.36s)
Fetched https://github.com/mattmassicotte/Queue from cache (0.37s)
Fetched https://github.com/davbeck/swift-glob from cache (0.37s)
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
Fetched https://github.com/ChimeHQ/ProcessEnv from cache (0.38s)
Fetched https://github.com/groue/Semaphore from cache (0.38s)
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.38s)
[1/1821] Fetching languageserverprotocol
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (0.51s)
Computing version for https://github.com/Frizlab/FSEventsWrapper
Computed https://github.com/Frizlab/FSEventsWrapper at 2.1.0 (4.10s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (1.04s)
Computing version for https://github.com/ChimeHQ/ProcessEnv
Computed https://github.com/ChimeHQ/ProcessEnv at 1.0.1 (0.97s)
Computing version for https://github.com/davbeck/swift-glob
Computed https://github.com/davbeck/swift-glob at 0.1.0 (0.99s)
Computing version for https://github.com/mattmassicotte/Queue
Computed https://github.com/mattmassicotte/Queue at 0.2.1 (1.10s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.92s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.99s)
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/ChimeHQ/LanguageServerProtocol
Working copy of https://github.com/ChimeHQ/LanguageServerProtocol resolved at 0.14.0
Creating working copy for https://github.com/davbeck/swift-glob
Working copy of https://github.com/davbeck/swift-glob resolved at 0.1.0
Creating working copy for https://github.com/mattmassicotte/Queue
Working copy of https://github.com/mattmassicotte/Queue resolved at 0.2.1
Creating working copy for https://github.com/ChimeHQ/ProcessEnv
Working copy of https://github.com/ChimeHQ/ProcessEnv resolved at 1.0.1
Creating working copy for https://github.com/groue/Semaphore
Working copy of https://github.com/groue/Semaphore resolved at 0.1.0
Creating working copy for https://github.com/Frizlab/FSEventsWrapper
Working copy of https://github.com/Frizlab/FSEventsWrapper resolved at 2.1.0
Building for debugging...
[0/8] Write sources
[6/8] Compiling FNMDefinitions FNM.c
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/33] Emitting module Semaphore
[10/33] Emitting module Queue
[11/33] Emitting module Glob
[12/33] Compiling Queue AsyncSerialQueue.swift
[13/33] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[14/33] 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 |
[15/34] Compiling Queue AsyncQueue.swift
[16/35] Compiling Glob Pattern+Options.swift
[17/35] Compiling Glob Pattern+Parser.swift
[18/35] Compiling Glob Pattern.swift
[19/35] Compiling Glob GlobSearch.swift
[20/35] 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 |
[21/35] Compiling Glob InvalidPattern.swift
[22/35] 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 |
[23/35] 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 |
[24/35] 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 |
[25/35] 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 |
[26/35] Compiling Semaphore AsyncSemaphore.swift
[27/36] 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 |
[28/36] 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 |
[29/36] 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 |
[30/36] Compiling Glob Pattern+Match.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/36] 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 |
[32/36] 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 |
[33/36] 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 |
[37/37] 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-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: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/26] Compiling Queue AsyncSerialQueue.swift
[3/26] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[4/26] Emitting module Glob
[5/26] Compiling Semaphore AsyncSemaphore.swift
[6/26] Emitting module Semaphore
[7/27] 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)
[9/28] 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 |
[10/28] 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/28] 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 |
[12/28] 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 |
[13/28] 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 |
[14/28] 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 |
[15/28] 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 |
[16/28] 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 |
[17/28] Compiling Glob Pattern+Parser.swift
[18/28] Emitting module Queue
[19/28] Compiling Queue AsyncQueue.swift
[20/28] 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 |
[21/28] 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 |
[22/28] 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 |
[23/29] Compiling Glob Pattern.swift
[24/29] Compiling Glob GlobSearch.swift
[25/29] Compiling Glob Pattern+Options.swift
[27/29] 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 |
[28/29] Compiling Glob Pattern+Match.swift
[29/29] Compiling Glob InvalidPattern.swift
BUILD FAILURE 6.1 wasm