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 macOS (SPM) on 4 May 2025 15:49:21 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ChimeHQ/LanguageClient.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[8/10] Compiling FNMDefinitions FNM.c
[9/10] Write swift-version-5BDAB9E9C0126B9D.txt
[11/43] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[12/43] Compiling Queue AsyncSerialQueue.swift
[13/43] Compiling JSONRPC DataChannel+WebSocket.swift
[14/44] Compiling JSONRPC AsyncStreamPolyfill.swift
[15/44] Compiling JSONRPC DataChannel+Actor.swift
[16/44] Emitting module JSONRPC
[17/44] Compiling JSONRPC DataChannel+PredefinedMessages.swift
[18/44] Compiling JSONRPC DataChannel+StdioPipe.swift
[19/44] Compiling JSONRPC JSONValue.swift
[20/44] Compiling ProcessEnv Process+Output.swift
[21/44] Emitting module ProcessEnv
[22/44] Compiling ProcessEnv Process+Parameters.swift
[23/44] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
[24/44] Compiling Semaphore AsyncSemaphore.swift
[25/44] Emitting module Semaphore
[26/44] Compiling JSONRPC DataChannel.swift
[27/44] Compiling JSONRPC JSONId.swift
[28/44] Compiling Glob Pattern+Parser.swift
[29/44] Compiling Glob Pattern.swift
[30/44] Emitting module Queue
[31/44] Compiling Queue AsyncQueue.swift
[32/44] Emitting module Glob
[33/44] Compiling Glob GlobSearch.swift
[34/44] Compiling Glob Pattern+Options.swift
[35/44] Compiling Glob InvalidPattern.swift
[36/44] Compiling Glob Pattern+Match.swift
[37/44] Compiling JSONRPC JSONValueDecoder.swift
[38/44] Compiling JSONRPC JSONRPCSession.swift
[39/44] Compiling JSONRPC JSONRPCError.swift
[40/44] Compiling FSEventsWrapper FSEventAsyncStream.swift
[41/44] Emitting module FSEventsWrapper
[42/44] Compiling FSEventsWrapper FSEvent.swift
[43/44] Compiling FSEventsWrapper FSEventStream.swift
[44/44] Compiling JSONRPC Protocol.swift
[45/102] Compiling LanguageServerProtocol AsyncStreamPolyfill.swift
[46/102] Compiling LanguageServerProtocol NSRegularExpression+Matching.swift
[47/102] Compiling LanguageServerProtocol Protocol+Mutating.swift
[48/102] Compiling LanguageServerProtocol ServerCapabilities+Extensions.swift
[49/102] Compiling LanguageServerProtocol Snippet.swift
[50/102] Compiling LanguageServerProtocol TokenRepresentation.swift
[51/102] Compiling LanguageServerProtocol BaseProtocol.swift
[52/102] Emitting module LanguageServerProtocol
[53/108] Compiling LanguageServerProtocol Hover.swift
[54/108] Compiling LanguageServerProtocol Implementation.swift
[55/108] Compiling LanguageServerProtocol InlayHint.swift
[56/108] Compiling LanguageServerProtocol LinkedEditingRange.swift
[57/108] Compiling LanguageServerProtocol Moniker.swift
[58/108] Compiling LanguageServerProtocol OnTypeFormatting.swift
[59/108] Compiling LanguageServerProtocol AsyncByteSequence.swift
[60/108] Compiling LanguageServerProtocol AsyncMessageFramingSequence.swift
[61/108] Compiling LanguageServerProtocol DataChannel+MessageFraming.swift
[62/108] Compiling LanguageServerProtocol MessageFraming.swift
[63/108] Compiling LanguageServerProtocol General.swift
[64/108] Compiling LanguageServerProtocol CallHeirarchy.swift
[65/108] Compiling LanguageServerProtocol CodeAction.swift
[66/108] Compiling LanguageServerProtocol DocumentColor.swift
[67/108] Compiling LanguageServerProtocol DocumentHighlight.swift
[68/108] Compiling LanguageServerProtocol DocumentLink.swift
[69/108] Compiling LanguageServerProtocol DocumentSymbol.swift
[70/108] Compiling LanguageServerProtocol FoldingRange.swift
[71/108] Compiling LanguageServerProtocol Formatting.swift
[72/108] Compiling LanguageServerProtocol Utility.swift
[73/108] Compiling LanguageServerProtocol Window.swift
[74/108] Compiling LanguageServerProtocol ShowMessageRequest.swift
[75/108] Compiling LanguageServerProtocol Workspace.swift
[76/108] Compiling LanguageServerProtocol ApplyEdit.swift
[77/108] Compiling LanguageServerProtocol Configuration.swift
[78/108] Compiling LanguageServerProtocol References.swift
[79/108] Compiling LanguageServerProtocol Rename.swift
[80/108] Compiling LanguageServerProtocol SelectionRange.swift
[81/108] Compiling LanguageServerProtocol SemanticTokens.swift
[82/108] Compiling LanguageServerProtocol SignatureHelp.swift
[83/108] Compiling LanguageServerProtocol TypeDefinition.swift
[84/108] Compiling LanguageServerProtocol ExecuteCommand.swift
[85/108] Compiling LanguageServerProtocol Folders.swift
[86/108] Compiling LanguageServerProtocol Symbol.swift
[87/108] Compiling LanguageServerProtocol WillCreateFiles.swift
[88/108] Compiling LanguageServerProtocol WillDeleteFiles.swift
[89/108] Compiling LanguageServerProtocol WillRenameFiles.swift
[90/108] Compiling LanguageServerProtocol CodeLens.swift
[91/108] Compiling LanguageServerProtocol ColorPresentation.swift
[92/108] Compiling LanguageServerProtocol Completion.swift
[93/108] Compiling LanguageServerProtocol Declaration.swift
[94/108] Compiling LanguageServerProtocol Definition.swift
[95/108] Compiling LanguageServerProtocol Diagnostics.swift
[96/108] Compiling LanguageServerProtocol BasicStructures.swift
[97/108] Compiling LanguageServerProtocol Client.swift
[98/108] Compiling LanguageServerProtocol JSONRPCServerConnection.swift
[99/108] Compiling LanguageServerProtocol MockServer.swift
[100/108] Compiling LanguageServerProtocol ServerConnection.swift
[101/108] Compiling LanguageServerProtocol ClientCapabilities.swift
[102/108] Compiling LanguageServerProtocol ErrorCodes.swift
[103/108] Compiling LanguageServerProtocol TypeHeirarchy.swift
[104/108] Compiling LanguageServerProtocol LanguageServerProtocol.swift
[105/108] Compiling LanguageServerProtocol ServerCapabilities.swift
[106/108] Compiling LanguageServerProtocol TextSynchronization.swift
[107/108] Compiling LanguageServerProtocol ThreeTypeOption.swift
[108/108] Compiling LanguageServerProtocol TwoTypeOption.swift
[109/118] Compiling LanguageClient Server+Shutdown.swift
[110/118] Compiling LanguageClient StatefulServer.swift
[111/118] Compiling LanguageClient FileEventAsyncSequence.swift
[112/118] Compiling LanguageClient FileHandle+DataStream.swift
[113/118] Compiling LanguageClient InitializingServer.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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())
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[114/118] Emitting module LanguageClient
[115/118] Compiling LanguageClient RestartingServer.swift
[116/118] Compiling LanguageClient DataChannel+LocalProcess.swift
[117/118] Compiling LanguageClient AsyncStreamTap.swift
[118/118] Compiling LanguageClient DataChannel+UserScript.swift
Build complete! (21.75s)
Fetching https://github.com/ChimeHQ/JSONRPC
Fetching https://github.com/davbeck/swift-glob
Fetching https://github.com/mattmassicotte/Queue
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
Fetching https://github.com/ChimeHQ/ProcessEnv
Fetching https://github.com/Frizlab/FSEventsWrapper
Fetching https://github.com/groue/Semaphore
[1/630] Fetching jsonrpc
[27/921] Fetching jsonrpc, queue
[190/1177] Fetching jsonrpc, queue, fseventswrapper
[517/1391] Fetching jsonrpc, queue, fseventswrapper, processenv
[665/2035] Fetching jsonrpc, queue, fseventswrapper, processenv, swift-glob
[678/2328] Fetching jsonrpc, queue, fseventswrapper, processenv, swift-glob, semaphore
[1015/4143] Fetching jsonrpc, queue, fseventswrapper, processenv, swift-glob, semaphore, languageserverprotocol
Fetched https://github.com/groue/Semaphore from cache (0.78s)
[1814/3850] Fetching jsonrpc, queue, fseventswrapper, processenv, swift-glob, languageserverprotocol
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (1.00s)
Fetched https://github.com/ChimeHQ/ProcessEnv from cache (1.00s)
Fetched https://github.com/davbeck/swift-glob from cache (1.00s)
Fetched https://github.com/ChimeHQ/JSONRPC from cache (1.00s)
Fetched https://github.com/Frizlab/FSEventsWrapper from cache (1.00s)
Fetched https://github.com/mattmassicotte/Queue from cache (1.00s)
Computing version for https://github.com/Frizlab/FSEventsWrapper
Computed https://github.com/Frizlab/FSEventsWrapper at 2.1.0 (3.14s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (0.44s)
Computing version for https://github.com/ChimeHQ/ProcessEnv
Computed https://github.com/ChimeHQ/ProcessEnv at 1.0.1 (0.44s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.1 (0.43s)
Computing version for https://github.com/davbeck/swift-glob
Computed https://github.com/davbeck/swift-glob at 0.1.0 (0.43s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.13.4 (0.44s)
Computing version for https://github.com/mattmassicotte/Queue
Computed https://github.com/mattmassicotte/Queue at 0.2.1 (0.45s)
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
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/groue/Semaphore
Working copy of https://github.com/groue/Semaphore resolved at 0.1.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/davbeck/swift-glob
Working copy of https://github.com/davbeck/swift-glob resolved at 0.1.0
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" : "/Users/admin/builder/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"
}
Done.