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

Successful build of LanguageClient, reference 0.8.2 (4f28cc), with Swift 6.0 for Linux on 4 Jun 2025 17:59:25 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/LanguageClient.git
Reference: 0.8.2
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
 * tag               0.8.2      -> FETCH_HEAD
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 0.8.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ChimeHQ/LanguageClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:eaa733228b13fb63f7b48fc0ae9a4552a427b7215d37e5caded5aa10021734d9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ChimeHQ/ProcessEnv
Fetching https://github.com/groue/Semaphore
Fetching https://github.com/ChimeHQ/JSONRPC
Fetching https://github.com/Frizlab/FSEventsWrapper
Fetching https://github.com/davbeck/swift-glob
Fetching https://github.com/mattmassicotte/Queue
[1/644] Fetching swift-glob
[478/952] Fetching swift-glob, queue
[953/1166] Fetching swift-glob, queue, processenv
[1167/1800] Fetching swift-glob, queue, processenv, jsonrpc
[1801/2060] Fetching swift-glob, queue, processenv, jsonrpc, fseventswrapper
[2061/2353] Fetching swift-glob, queue, processenv, jsonrpc, fseventswrapper, semaphore
Fetched https://github.com/Frizlab/FSEventsWrapper from cache (0.45s)
Fetched https://github.com/mattmassicotte/Queue from cache (0.46s)
Fetched https://github.com/ChimeHQ/ProcessEnv from cache (0.46s)
Fetched https://github.com/groue/Semaphore from cache (0.46s)
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.46s)
Fetched https://github.com/davbeck/swift-glob from cache (0.46s)
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
[1/1821] Fetching languageserverprotocol
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (0.41s)
Computing version for https://github.com/Frizlab/FSEventsWrapper
Computed https://github.com/Frizlab/FSEventsWrapper at 2.1.0 (2.51s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (0.62s)
Computing version for https://github.com/ChimeHQ/ProcessEnv
Computed https://github.com/ChimeHQ/ProcessEnv at 1.0.1 (0.79s)
Computing version for https://github.com/davbeck/swift-glob
Computed https://github.com/davbeck/swift-glob at 0.1.0 (0.57s)
Computing version for https://github.com/mattmassicotte/Queue
Computed https://github.com/mattmassicotte/Queue at 0.2.1 (0.53s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.50s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.53s)
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/ChimeHQ/LanguageServerProtocol
Working copy of https://github.com/ChimeHQ/LanguageServerProtocol resolved at 0.14.0
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/mattmassicotte/Queue
Working copy of https://github.com/mattmassicotte/Queue resolved at 0.2.1
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/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] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[10/33] Compiling Queue AsyncSerialQueue.swift
[11/33] Compiling JSONRPC DataChannel+PredefinedMessages.swift
[12/33] Compiling JSONRPC DataChannel+Stdio.swift
[13/33] Compiling JSONRPC DataChannel+WebSocket.swift
[14/33] Compiling JSONRPC DataChannel.swift
[15/33] Compiling JSONRPC JSONId.swift
[16/33] Compiling JSONRPC JSONRPCError.swift
[17/34] Emitting module JSONRPC
[18/34] Compiling JSONRPC AsyncStreamPolyfill.swift
[19/34] Compiling JSONRPC DataChannel+Actor.swift
[20/34] Compiling Glob Pattern+Match.swift
[21/34] Compiling Glob Pattern.swift
[22/34] Compiling Glob Pattern+Parser.swift
[23/34] Emitting module Semaphore
[24/34] Compiling Semaphore AsyncSemaphore.swift
[25/35] Compiling Glob Pattern+Options.swift
[26/35] Compiling Glob InvalidPattern.swift
[27/35] Emitting module Queue
[28/35] Compiling Queue AsyncQueue.swift
[29/36] Compiling Glob GlobSearch.swift
[30/36] Emitting module Glob
[32/37] Compiling JSONRPC JSONValue.swift
[33/37] Compiling JSONRPC JSONValueDecoder.swift
[34/37] Compiling JSONRPC JSONRPCSession.swift
[37/37] Compiling JSONRPC Protocol.swift
[39/95] Compiling LanguageServerProtocol Formatting.swift
[40/95] Compiling LanguageServerProtocol Hover.swift
[41/95] Compiling LanguageServerProtocol Implementation.swift
[42/95] Compiling LanguageServerProtocol InlayHint.swift
[43/95] Compiling LanguageServerProtocol LinkedEditingRange.swift
[44/95] Compiling LanguageServerProtocol Moniker.swift
[45/95] Compiling LanguageServerProtocol OnTypeFormatting.swift
[46/95] Compiling LanguageServerProtocol References.swift
[47/102] Compiling LanguageServerProtocol AsyncStreamPolyfill.swift
[48/102] Compiling LanguageServerProtocol NSRegularExpression+Matching.swift
[49/102] Compiling LanguageServerProtocol Protocol+Mutating.swift
[50/102] Compiling LanguageServerProtocol ServerCapabilities+Extensions.swift
[51/102] Compiling LanguageServerProtocol Snippet.swift
[52/102] Compiling LanguageServerProtocol TokenRepresentation.swift
[53/102] Compiling LanguageServerProtocol BaseProtocol.swift
[54/102] Compiling LanguageServerProtocol BasicStructures.swift
[55/102] Emitting module LanguageServerProtocol
[56/102] Compiling LanguageServerProtocol TextSynchronization.swift
[57/102] Compiling LanguageServerProtocol ThreeTypeOption.swift
[58/102] Compiling LanguageServerProtocol TwoTypeOption.swift
[59/102] Compiling LanguageServerProtocol Utility.swift
[60/102] Compiling LanguageServerProtocol Window.swift
[61/102] Compiling LanguageServerProtocol ShowMessageRequest.swift
[62/102] Compiling LanguageServerProtocol Workspace.swift
[63/102] Compiling LanguageServerProtocol ApplyEdit.swift
[64/102] Compiling LanguageServerProtocol Configuration.swift
[65/102] Compiling LanguageServerProtocol ExecuteCommand.swift
[66/102] Compiling LanguageServerProtocol Folders.swift
[67/102] Compiling LanguageServerProtocol Symbol.swift
[68/102] Compiling LanguageServerProtocol WillCreateFiles.swift
[69/102] Compiling LanguageServerProtocol WillDeleteFiles.swift
[70/102] Compiling LanguageServerProtocol WillRenameFiles.swift
[71/102] Compiling LanguageServerProtocol DataChannel+MessageFraming.swift
[72/102] Compiling LanguageServerProtocol MessageFraming.swift
[73/102] Compiling LanguageServerProtocol General.swift
[74/102] Compiling LanguageServerProtocol CallHeirarchy.swift
[75/102] Compiling LanguageServerProtocol CodeAction.swift
[76/102] Compiling LanguageServerProtocol CodeLens.swift
[77/102] Compiling LanguageServerProtocol ColorPresentation.swift
[78/102] Compiling LanguageServerProtocol Completion.swift
[79/102] Compiling LanguageServerProtocol Rename.swift
[80/102] Compiling LanguageServerProtocol SelectionRange.swift
[81/102] Compiling LanguageServerProtocol SemanticTokens.swift
[82/102] Compiling LanguageServerProtocol SignatureHelp.swift
[83/102] Compiling LanguageServerProtocol TypeDefinition.swift
[84/102] Compiling LanguageServerProtocol TypeHeirarchy.swift
[85/102] Compiling LanguageServerProtocol LanguageServerProtocol.swift
[86/102] Compiling LanguageServerProtocol ServerCapabilities.swift
[87/102] Compiling LanguageServerProtocol Declaration.swift
[88/102] Compiling LanguageServerProtocol Definition.swift
[89/102] Compiling LanguageServerProtocol Diagnostics.swift
[90/102] Compiling LanguageServerProtocol DocumentColor.swift
[91/102] Compiling LanguageServerProtocol DocumentHighlight.swift
[92/102] Compiling LanguageServerProtocol DocumentLink.swift
[93/102] Compiling LanguageServerProtocol DocumentSymbol.swift
[94/102] Compiling LanguageServerProtocol FoldingRange.swift
[95/102] Compiling LanguageServerProtocol Client.swift
[96/102] Compiling LanguageServerProtocol JSONRPCServerConnection.swift
[97/102] Compiling LanguageServerProtocol MockServer.swift
[98/102] Compiling LanguageServerProtocol ServerConnection.swift
[99/102] Compiling LanguageServerProtocol ClientCapabilities.swift
[100/102] Compiling LanguageServerProtocol ErrorCodes.swift
[101/102] Compiling LanguageServerProtocol AsyncByteSequence.swift
[102/102] Compiling LanguageServerProtocol AsyncMessageFramingSequence.swift
[104/112] Compiling LanguageClient Server+Shutdown.swift
[105/113] Compiling LanguageClient FileEventAsyncSequence.swift
[106/113] Compiling LanguageClient DataChannel+UserScript.swift
[107/113] Emitting module LanguageClient
[108/113] Compiling LanguageClient AsyncStreamTap.swift
[109/113] Compiling LanguageClient DataChannel+LocalProcess.swift
[110/113] Compiling LanguageClient StatefulServer.swift
[111/113] Compiling LanguageClient RestartingServer.swift
[112/113] Compiling LanguageClient FileHandle+DataStream.swift
[113/113] Compiling LanguageClient InitializingServer.swift
/host/spi-builder-workspace/Sources/LanguageClient/InitializingServer.swift:139:21: warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
137 | 		guard case .initialized = state else { return }
138 |
139 | 		try await channel.shutdown()
    |                     |- warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending 'self'-isolated 'self.channel' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
140 |
141 | 		// re-check our state
/host/spi-builder-workspace/Sources/LanguageClient/InitializingServer.swift:146:21: warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
144 | 		self.state = .shutdown
145 |
146 | 		try await channel.exit()
    |                     |- warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending 'self'-isolated 'self.channel' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
147 |
148 | 		// unconditionally set our state after an exit, even though we can assume that connectionInvalidated will be called
/host/spi-builder-workspace/Sources/LanguageClient/InitializingServer.swift:205:40: warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
203 |
204 | 		let params = try await initializeParamsProvider()
205 | 		let initResponse = try await channel.initialize(params)
    |                                        |- warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: sending 'self'-isolated 'self.channel' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
206 |
207 | 		try await channel.initialized(InitializedParams())
/host/spi-builder-workspace/Sources/LanguageClient/InitializingServer.swift:207:21: warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
205 | 		let initResponse = try await channel.initialize(params)
206 |
207 | 		try await channel.initialized(InitializedParams())
    |                     |- warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending 'self'-isolated 'self.channel' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
208 | 		self.state = .initialized(initResponse)
209 |
/host/spi-builder-workspace/Sources/LanguageClient/InitializingServer.swift:170:21: warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
168 | 		_ = try await initializeIfNeeded()
169 |
170 | 		try await channel.sendNotification(notif)
    |                     |- warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending 'self'-isolated 'self.channel' to nonisolated instance method 'sendNotification' risks causing data races between nonisolated and 'self'-isolated uses
171 | 	}
172 |
/host/spi-builder-workspace/Sources/LanguageClient/InitializingServer.swift:188:28: warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
186 | 		_ = try await initializeIfNeeded()
187 |
188 | 		return try await channel.sendRequest(request)
    |                            |- warning: sending 'self.channel' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending 'self'-isolated 'self.channel' to nonisolated instance method 'sendRequest' risks causing data races between nonisolated and 'self'-isolated uses
189 | 	}
190 | }
Build complete! (29.53s)
Build complete.
{
  "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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:eaa733228b13fb63f7b48fc0ae9a4552a427b7215d37e5caded5aa10021734d9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.