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 main (4f28cc), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 10:02:12 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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 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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChimeHQ/LanguageClient.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[8/10] Compiling FNMDefinitions FNM.c
[9/10] Write swift-version-1EA4D86E10B52AF.txt
[11/44] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[12/44] Emitting module JSONRPC
[13/45] Compiling ProcessEnv Process+Output.swift
[14/45] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
[15/45] Emitting module ProcessEnv
[16/45] Compiling ProcessEnv Process+Parameters.swift
[17/45] Compiling JSONRPC AsyncStreamPolyfill.swift
[18/45] Compiling JSONRPC DataChannel+Actor.swift
[19/45] Compiling JSONRPC DataChannel.swift
[20/45] Compiling JSONRPC JSONId.swift
[21/45] Compiling Glob Pattern+Operator.swift
[22/45] Compiling Glob Pattern+Options.swift
[23/45] Compiling JSONRPC DataChannel+PredefinedMessages.swift
[24/45] Compiling JSONRPC DataChannel+Stdio.swift
[25/45] Compiling JSONRPC DataChannel+WebSocket.swift
[26/45] Compiling Semaphore AsyncSemaphore.swift
[27/45] Emitting module Semaphore
[28/45] Compiling Glob Pattern.swift
[29/45] Compiling Glob Pattern+Parser.swift
[30/45] Compiling JSONRPC JSONValue.swift
[31/45] Compiling JSONRPC JSONValueDecoder.swift
[32/45] Emitting module Queue
[33/45] Compiling Queue AsyncSerialQueue.swift
[34/45] Compiling Queue AsyncQueue.swift
[35/45] Compiling Glob InvalidPattern.swift
[36/45] Compiling Glob Pattern+Match.swift
[37/45] Compiling Glob GlobSearch.swift
[38/45] Emitting module Glob
[39/45] Compiling JSONRPC JSONRPCSession.swift
[40/45] Compiling JSONRPC JSONRPCError.swift
[41/45] Compiling FSEventsWrapper FSEventStream.swift
[42/45] Compiling FSEventsWrapper FSEventAsyncStream.swift
[43/45] Emitting module FSEventsWrapper
[44/45] Compiling FSEventsWrapper FSEvent.swift
[45/45] Compiling JSONRPC Protocol.swift
[46/103] Compiling LanguageServerProtocol Hover.swift
[47/103] Compiling LanguageServerProtocol Implementation.swift
[48/103] Compiling LanguageServerProtocol InlayHint.swift
[49/103] Compiling LanguageServerProtocol LinkedEditingRange.swift
[50/103] Compiling LanguageServerProtocol Moniker.swift
[51/103] Compiling LanguageServerProtocol OnTypeFormatting.swift
[52/109] Compiling LanguageServerProtocol AsyncStreamPolyfill.swift
[53/109] Compiling LanguageServerProtocol NSRegularExpression+Matching.swift
[54/109] Compiling LanguageServerProtocol Protocol+Mutating.swift
[55/109] Compiling LanguageServerProtocol ServerCapabilities+Extensions.swift
[56/109] Compiling LanguageServerProtocol Snippet.swift
[57/109] Compiling LanguageServerProtocol TokenRepresentation.swift
[58/109] Compiling LanguageServerProtocol BaseProtocol.swift
[59/109] Compiling LanguageServerProtocol Utility.swift
[60/109] Compiling LanguageServerProtocol Window.swift
[61/109] Compiling LanguageServerProtocol ShowMessageRequest.swift
[62/109] Compiling LanguageServerProtocol Workspace.swift
[63/109] Compiling LanguageServerProtocol ApplyEdit.swift
[64/109] Compiling LanguageServerProtocol Configuration.swift
[65/109] Emitting module LanguageServerProtocol
[66/109] Compiling LanguageServerProtocol AsyncByteSequence.swift
[67/109] Compiling LanguageServerProtocol AsyncMessageFramingSequence.swift
[68/109] Compiling LanguageServerProtocol DataChannel+MessageFraming.swift
[69/109] Compiling LanguageServerProtocol MessageFraming.swift
[70/109] Compiling LanguageServerProtocol General.swift
[71/109] Compiling LanguageServerProtocol CallHeirarchy.swift
[72/109] Compiling LanguageServerProtocol CodeAction.swift
[73/109] Compiling LanguageServerProtocol CodeLens.swift
[74/109] Compiling LanguageServerProtocol ColorPresentation.swift
[75/109] Compiling LanguageServerProtocol Completion.swift
[76/109] Compiling LanguageServerProtocol Declaration.swift
[77/109] Compiling LanguageServerProtocol Definition.swift
[78/109] Compiling LanguageServerProtocol Diagnostics.swift
[79/109] Compiling LanguageServerProtocol ExecuteCommand.swift
[80/109] Compiling LanguageServerProtocol Folders.swift
[81/109] Compiling LanguageServerProtocol Symbol.swift
[82/109] Compiling LanguageServerProtocol WillCreateFiles.swift
[83/109] Compiling LanguageServerProtocol WillDeleteFiles.swift
[84/109] Compiling LanguageServerProtocol WillRenameFiles.swift
[85/109] Compiling LanguageServerProtocol DocumentColor.swift
[86/109] Compiling LanguageServerProtocol DocumentHighlight.swift
[87/109] Compiling LanguageServerProtocol DocumentLink.swift
[88/109] Compiling LanguageServerProtocol DocumentSymbol.swift
[89/109] Compiling LanguageServerProtocol FoldingRange.swift
[90/109] Compiling LanguageServerProtocol Formatting.swift
[91/109] Compiling LanguageServerProtocol References.swift
[92/109] Compiling LanguageServerProtocol Rename.swift
[93/109] Compiling LanguageServerProtocol SelectionRange.swift
[94/109] Compiling LanguageServerProtocol SemanticTokens.swift
[95/109] Compiling LanguageServerProtocol SignatureHelp.swift
[96/109] Compiling LanguageServerProtocol TypeDefinition.swift
[97/109] Compiling LanguageServerProtocol TypeHeirarchy.swift
[98/109] Compiling LanguageServerProtocol LanguageServerProtocol.swift
[99/109] Compiling LanguageServerProtocol ServerCapabilities.swift
[100/109] Compiling LanguageServerProtocol TextSynchronization.swift
[101/109] Compiling LanguageServerProtocol ThreeTypeOption.swift
[102/109] Compiling LanguageServerProtocol TwoTypeOption.swift
[103/109] Compiling LanguageServerProtocol BasicStructures.swift
[104/109] Compiling LanguageServerProtocol Client.swift
[105/109] Compiling LanguageServerProtocol JSONRPCServerConnection.swift
[106/109] Compiling LanguageServerProtocol MockServer.swift
[107/109] Compiling LanguageServerProtocol ServerConnection.swift
[108/109] Compiling LanguageServerProtocol ClientCapabilities.swift
[109/109] Compiling LanguageServerProtocol ErrorCodes.swift
[110/119] Compiling LanguageClient StatefulServer.swift
[111/119] 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 [#SendingRisksDataRace]
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 [#SendingRisksDataRace]
    |                     `- note: sending 'self'-isolated 'self.channel' to nonisolated instance method 'shutdown()' 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 [#SendingRisksDataRace]
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 [#SendingRisksDataRace]
    |                     `- note: sending 'self'-isolated 'self.channel' to nonisolated instance method 'exit()' 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 [#SendingRisksDataRace]
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 [#SendingRisksDataRace]
    |                                        `- note: sending 'self'-isolated 'self.channel' to nonisolated instance method 'initialize' 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 [#SendingRisksDataRace]
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 [#SendingRisksDataRace]
    |                     `- note: sending 'self'-isolated 'self.channel' to nonisolated instance method 'initialized' 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 [#SendingRisksDataRace]
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 [#SendingRisksDataRace]
    |                     `- 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 [#SendingRisksDataRace]
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 [#SendingRisksDataRace]
    |                            `- note: sending 'self'-isolated 'self.channel' to nonisolated instance method 'sendRequest' risks causing data races between nonisolated and 'self'-isolated uses
189 | 	}
190 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[112/119] Compiling LanguageClient Server+Shutdown.swift
[113/119] Compiling LanguageClient FileHandle+DataStream.swift
[114/119] Compiling LanguageClient DataChannel+UserScript.swift
[115/119] Compiling LanguageClient RestartingServer.swift
[116/119] Compiling LanguageClient DataChannel+LocalProcess.swift
[117/119] Compiling LanguageClient FileEventAsyncSequence.swift
[118/119] Compiling LanguageClient AsyncStreamTap.swift
[119/119] Emitting module LanguageClient
Build complete! (19.95s)
Fetching https://github.com/mattmassicotte/Queue
Fetching https://github.com/ChimeHQ/ProcessEnv
Fetching https://github.com/davbeck/swift-glob
Fetching https://github.com/Frizlab/FSEventsWrapper
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
Fetching https://github.com/groue/Semaphore
Fetching https://github.com/ChimeHQ/JSONRPC
[1/1821] Fetching languageserverprotocol
[74/2129] Fetching languageserverprotocol, queue
[158/2343] Fetching languageserverprotocol, queue, processenv
[336/2603] Fetching languageserverprotocol, queue, processenv, fseventswrapper
[521/2896] Fetching languageserverprotocol, queue, processenv, fseventswrapper, semaphore
[769/3540] Fetching languageserverprotocol, queue, processenv, fseventswrapper, semaphore, swift-glob
Fetched https://github.com/ChimeHQ/ProcessEnv from cache (0.81s)
[2908/3960] Fetching languageserverprotocol, queue, fseventswrapper, semaphore, swift-glob, jsonrpc
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (0.91s)
Fetched https://github.com/mattmassicotte/Queue from cache (0.91s)
Fetched https://github.com/Frizlab/FSEventsWrapper from cache (0.91s)
Fetched https://github.com/groue/Semaphore from cache (0.91s)
[1044/1278] Fetching swift-glob, jsonrpc
Fetched https://github.com/davbeck/swift-glob from cache (1.00s)
Fetched https://github.com/ChimeHQ/JSONRPC from cache (1.00s)
Computing version for https://github.com/Frizlab/FSEventsWrapper
Computed https://github.com/Frizlab/FSEventsWrapper at 2.1.0 (3.41s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (0.37s)
Computing version for https://github.com/ChimeHQ/ProcessEnv
Computed https://github.com/ChimeHQ/ProcessEnv at 1.0.1 (0.38s)
Computing version for https://github.com/mattmassicotte/Queue
Computed https://github.com/mattmassicotte/Queue at 0.2.1 (0.37s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.36s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.39s)
Computing version for https://github.com/davbeck/swift-glob
Computed https://github.com/davbeck/swift-glob at 0.2.0 (0.38s)
Creating working copy for https://github.com/davbeck/swift-glob
Working copy of https://github.com/davbeck/swift-glob resolved at 0.2.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/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.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/ChimeHQ/LanguageServerProtocol
Working copy of https://github.com/ChimeHQ/LanguageServerProtocol resolved at 0.14.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.