The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of LanguageClient, reference main (e4692d), with Swift 6.0 for Linux on 4 May 2025 15:49:31 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.61.3
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 e4692d0 Catalyst min version
Cloned https://github.com/ChimeHQ/LanguageClient.git
Revision (git rev-parse @):
e4692d0a0aa4314ad2b5e5af2083df7317034cfe
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/LanguageClient.git at main
========================================
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-1":/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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
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/ChimeHQ/JSONRPC
Fetching https://github.com/mattmassicotte/Queue
Fetching https://github.com/davbeck/swift-glob
Fetching https://github.com/groue/Semaphore
Fetching https://github.com/Frizlab/FSEventsWrapper
[1/293] Fetching semaphore
[294/584] Fetching semaphore, queue
[585/1228] Fetching semaphore, queue, swift-glob
[643/1442] Fetching semaphore, queue, swift-glob, processenv
[650/2072] Fetching semaphore, queue, swift-glob, processenv, jsonrpc
[2073/2328] Fetching semaphore, queue, swift-glob, processenv, jsonrpc, fseventswrapper
Fetched https://github.com/groue/Semaphore from cache (0.24s)
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
Fetched https://github.com/mattmassicotte/Queue from cache (0.28s)
Fetched https://github.com/ChimeHQ/ProcessEnv from cache (0.28s)
Fetched https://github.com/Frizlab/FSEventsWrapper from cache (0.28s)
Fetched https://github.com/davbeck/swift-glob from cache (0.28s)
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.28s)
[1/1815] Fetching languageserverprotocol
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (0.60s)
Computing version for https://github.com/Frizlab/FSEventsWrapper
Computed https://github.com/Frizlab/FSEventsWrapper at 2.1.0 (2.60s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (0.63s)
Computing version for https://github.com/ChimeHQ/ProcessEnv
Computed https://github.com/ChimeHQ/ProcessEnv at 1.0.1 (0.95s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.1 (0.59s)
Computing version for https://github.com/davbeck/swift-glob
Computed https://github.com/davbeck/swift-glob at 0.1.0 (0.59s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.13.4 (0.59s)
Computing version for https://github.com/mattmassicotte/Queue
Computed https://github.com/mattmassicotte/Queue at 0.2.1 (0.72s)
Creating working copy for https://github.com/ChimeHQ/JSONRPC
Working copy of https://github.com/ChimeHQ/JSONRPC resolved at 0.9.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/davbeck/swift-glob
Working copy of https://github.com/davbeck/swift-glob resolved at 0.1.0
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/ChimeHQ/LanguageServerProtocol
Working copy of https://github.com/ChimeHQ/LanguageServerProtocol resolved at 0.13.4
Creating working copy for https://github.com/Frizlab/FSEventsWrapper
Working copy of https://github.com/Frizlab/FSEventsWrapper resolved at 2.1.0
Creating working copy for https://github.com/mattmassicotte/Queue
Working copy of https://github.com/mattmassicotte/Queue resolved at 0.2.1
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 JSONRPC DataChannel+PredefinedMessages.swift
[11/33] Compiling JSONRPC DataChannel+StdioPipe.swift
[12/33] Emitting module JSONRPC
[13/33] Compiling JSONRPC AsyncStreamPolyfill.swift
[14/33] Compiling JSONRPC DataChannel+Actor.swift
[15/34] Compiling Queue AsyncSerialQueue.swift
[16/34] Emitting module Queue
[17/34] Compiling Queue AsyncQueue.swift
[18/35] Compiling Glob Pattern+Parser.swift
[19/35] Compiling Glob Pattern.swift
[20/35] Compiling Glob InvalidPattern.swift
[21/35] Emitting module Semaphore
[22/35] Compiling Semaphore AsyncSemaphore.swift
[23/35] Compiling Glob Pattern+Options.swift
[24/35] Compiling Glob Pattern+Match.swift
[27/36] Emitting module Glob
[28/36] Compiling Glob GlobSearch.swift
[29/37] Compiling JSONRPC JSONValueDecoder.swift
[30/37] Compiling JSONRPC JSONValue.swift
[32/37] Compiling JSONRPC JSONId.swift
[33/37] Compiling JSONRPC JSONRPCError.swift
[34/37] Compiling JSONRPC DataChannel+WebSocket.swift
[35/37] Compiling JSONRPC DataChannel.swift
[36/37] Compiling JSONRPC JSONRPCSession.swift
[37/37] Compiling JSONRPC Protocol.swift
[39/95] Emitting module LanguageServerProtocol
[40/102] Compiling LanguageServerProtocol TextSynchronization.swift
[41/102] Compiling LanguageServerProtocol ThreeTypeOption.swift
[42/102] Compiling LanguageServerProtocol TwoTypeOption.swift
[43/102] Compiling LanguageServerProtocol Utility.swift
[44/102] Compiling LanguageServerProtocol Window.swift
[45/102] Compiling LanguageServerProtocol ShowMessageRequest.swift
[46/102] Compiling LanguageServerProtocol Workspace.swift
[47/102] Compiling LanguageServerProtocol ApplyEdit.swift
[48/102] Compiling LanguageServerProtocol DataChannel+MessageFraming.swift
[49/102] Compiling LanguageServerProtocol MessageFraming.swift
[50/102] Compiling LanguageServerProtocol General.swift
[51/102] Compiling LanguageServerProtocol CallHeirarchy.swift
[52/102] Compiling LanguageServerProtocol CodeAction.swift
[53/102] Compiling LanguageServerProtocol CodeLens.swift
[54/102] Compiling LanguageServerProtocol ColorPresentation.swift
[55/102] Compiling LanguageServerProtocol Completion.swift
[56/102] Compiling LanguageServerProtocol Configuration.swift
[57/102] Compiling LanguageServerProtocol ExecuteCommand.swift
[58/102] Compiling LanguageServerProtocol Folders.swift
[59/102] Compiling LanguageServerProtocol Symbol.swift
[60/102] Compiling LanguageServerProtocol WillCreateFiles.swift
[61/102] Compiling LanguageServerProtocol WillDeleteFiles.swift
[62/102] Compiling LanguageServerProtocol WillRenameFiles.swift
[63/102] Compiling LanguageServerProtocol Formatting.swift
[64/102] Compiling LanguageServerProtocol Hover.swift
[65/102] Compiling LanguageServerProtocol Implementation.swift
[66/102] Compiling LanguageServerProtocol InlayHint.swift
[67/102] Compiling LanguageServerProtocol LinkedEditingRange.swift
[68/102] Compiling LanguageServerProtocol Moniker.swift
[69/102] Compiling LanguageServerProtocol OnTypeFormatting.swift
[70/102] Compiling LanguageServerProtocol References.swift
[71/102] Compiling LanguageServerProtocol Rename.swift
[72/102] Compiling LanguageServerProtocol SelectionRange.swift
[73/102] Compiling LanguageServerProtocol SemanticTokens.swift
[74/102] Compiling LanguageServerProtocol SignatureHelp.swift
[75/102] Compiling LanguageServerProtocol TypeDefinition.swift
[76/102] Compiling LanguageServerProtocol TypeHeirarchy.swift
[77/102] Compiling LanguageServerProtocol LanguageServerProtocol.swift
[78/102] Compiling LanguageServerProtocol ServerCapabilities.swift
[79/102] Compiling LanguageServerProtocol Declaration.swift
[80/102] Compiling LanguageServerProtocol Definition.swift
[81/102] Compiling LanguageServerProtocol Diagnostics.swift
[82/102] Compiling LanguageServerProtocol DocumentColor.swift
[83/102] Compiling LanguageServerProtocol DocumentHighlight.swift
[84/102] Compiling LanguageServerProtocol DocumentLink.swift
[85/102] Compiling LanguageServerProtocol DocumentSymbol.swift
[86/102] Compiling LanguageServerProtocol FoldingRange.swift
[87/102] Compiling LanguageServerProtocol AsyncStreamPolyfill.swift
[88/102] Compiling LanguageServerProtocol NSRegularExpression+Matching.swift
[89/102] Compiling LanguageServerProtocol Protocol+Mutating.swift
[90/102] Compiling LanguageServerProtocol ServerCapabilities+Extensions.swift
[91/102] Compiling LanguageServerProtocol Snippet.swift
[92/102] Compiling LanguageServerProtocol TokenRepresentation.swift
[93/102] Compiling LanguageServerProtocol BaseProtocol.swift
[94/102] Compiling LanguageServerProtocol BasicStructures.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 AsyncStreamTap.swift
[106/113] Compiling LanguageClient DataChannel+LocalProcess.swift
[107/113] Emitting module LanguageClient
[108/113] Compiling LanguageClient StatefulServer.swift
[109/113] Compiling LanguageClient RestartingServer.swift
[110/113] Compiling LanguageClient FileHandle+DataStream.swift
[111/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 | }
[112/113] Compiling LanguageClient DataChannel+UserScript.swift
[113/113] Compiling LanguageClient FileEventAsyncSequence.swift
Build complete! (41.04s)
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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.