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.0 for macOS (SPM) on 4 Jun 2025 17:58:31 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.63.1
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.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 ProcessEnv ProcessInfo+UserEnvironment.swift
[14/43] Compiling Glob Pattern+Options.swift
[15/43] Compiling ProcessEnv Process+Output.swift
[16/43] Compiling ProcessEnv Process+Parameters.swift
[17/43] Emitting module ProcessEnv
[18/43] Compiling Glob Pattern+Match.swift
[19/43] Compiling Glob InvalidPattern.swift
[20/43] Emitting module JSONRPC
[21/43] Compiling JSONRPC AsyncStreamPolyfill.swift
[22/43] Compiling JSONRPC DataChannel+Actor.swift
[23/44] Compiling Queue AsyncQueue.swift
[24/44] Emitting module Queue
[25/44] Compiling JSONRPC DataChannel.swift
[26/44] Compiling JSONRPC DataChannel+PredefinedMessages.swift
[27/44] Compiling JSONRPC DataChannel+Stdio.swift
[28/44] Compiling JSONRPC DataChannel+WebSocket.swift
[29/44] Compiling Glob Pattern+Parser.swift
[30/44] Compiling Glob Pattern.swift
[31/44] Emitting module Semaphore
[32/44] Compiling Semaphore AsyncSemaphore.swift
[33/44] Emitting module FSEventsWrapper
[34/44] Compiling FSEventsWrapper FSEvent.swift
[35/44] Compiling FSEventsWrapper FSEventAsyncStream.swift
[36/44] Compiling FSEventsWrapper FSEventStream.swift
[37/44] Emitting module Glob
[38/44] Compiling Glob GlobSearch.swift
[39/44] Compiling JSONRPC JSONValue.swift
[40/44] Compiling JSONRPC JSONValueDecoder.swift
[41/44] Compiling JSONRPC JSONRPCSession.swift
[42/44] Compiling JSONRPC JSONRPCError.swift
[43/44] Compiling JSONRPC JSONId.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/108] Compiling LanguageServerProtocol Hover.swift
[53/108] Compiling LanguageServerProtocol Implementation.swift
[54/108] Compiling LanguageServerProtocol InlayHint.swift
[55/108] Compiling LanguageServerProtocol LinkedEditingRange.swift
[56/108] Compiling LanguageServerProtocol Moniker.swift
[57/108] Compiling LanguageServerProtocol OnTypeFormatting.swift
[58/108] Emitting module LanguageServerProtocol
[59/108] Compiling LanguageServerProtocol Utility.swift
[60/108] Compiling LanguageServerProtocol Window.swift
[61/108] Compiling LanguageServerProtocol ShowMessageRequest.swift
[62/108] Compiling LanguageServerProtocol Workspace.swift
[63/108] Compiling LanguageServerProtocol ApplyEdit.swift
[64/108] Compiling LanguageServerProtocol Configuration.swift
[65/108] Compiling LanguageServerProtocol References.swift
[66/108] Compiling LanguageServerProtocol Rename.swift
[67/108] Compiling LanguageServerProtocol SelectionRange.swift
[68/108] Compiling LanguageServerProtocol SemanticTokens.swift
[69/108] Compiling LanguageServerProtocol SignatureHelp.swift
[70/108] Compiling LanguageServerProtocol TypeDefinition.swift
[71/108] Compiling LanguageServerProtocol ExecuteCommand.swift
[72/108] Compiling LanguageServerProtocol Folders.swift
[73/108] Compiling LanguageServerProtocol Symbol.swift
[74/108] Compiling LanguageServerProtocol WillCreateFiles.swift
[75/108] Compiling LanguageServerProtocol WillDeleteFiles.swift
[76/108] Compiling LanguageServerProtocol WillRenameFiles.swift
[77/108] Compiling LanguageServerProtocol AsyncByteSequence.swift
[78/108] Compiling LanguageServerProtocol AsyncMessageFramingSequence.swift
[79/108] Compiling LanguageServerProtocol DataChannel+MessageFraming.swift
[80/108] Compiling LanguageServerProtocol MessageFraming.swift
[81/108] Compiling LanguageServerProtocol General.swift
[82/108] Compiling LanguageServerProtocol CallHeirarchy.swift
[83/108] Compiling LanguageServerProtocol CodeAction.swift
[84/108] Compiling LanguageServerProtocol DocumentColor.swift
[85/108] Compiling LanguageServerProtocol DocumentHighlight.swift
[86/108] Compiling LanguageServerProtocol DocumentLink.swift
[87/108] Compiling LanguageServerProtocol DocumentSymbol.swift
[88/108] Compiling LanguageServerProtocol FoldingRange.swift
[89/108] Compiling LanguageServerProtocol Formatting.swift
[90/108] Compiling LanguageServerProtocol TypeHeirarchy.swift
[91/108] Compiling LanguageServerProtocol LanguageServerProtocol.swift
[92/108] Compiling LanguageServerProtocol ServerCapabilities.swift
[93/108] Compiling LanguageServerProtocol TextSynchronization.swift
[94/108] Compiling LanguageServerProtocol ThreeTypeOption.swift
[95/108] Compiling LanguageServerProtocol TwoTypeOption.swift
[96/108] Compiling LanguageServerProtocol CodeLens.swift
[97/108] Compiling LanguageServerProtocol ColorPresentation.swift
[98/108] Compiling LanguageServerProtocol Completion.swift
[99/108] Compiling LanguageServerProtocol Declaration.swift
[100/108] Compiling LanguageServerProtocol Definition.swift
[101/108] Compiling LanguageServerProtocol Diagnostics.swift
[102/108] Compiling LanguageServerProtocol BasicStructures.swift
[103/108] Compiling LanguageServerProtocol Client.swift
[104/108] Compiling LanguageServerProtocol JSONRPCServerConnection.swift
[105/108] Compiling LanguageServerProtocol MockServer.swift
[106/108] Compiling LanguageServerProtocol ServerConnection.swift
[107/108] Compiling LanguageServerProtocol ClientCapabilities.swift
[108/108] Compiling LanguageServerProtocol ErrorCodes.swift
[109/118] Compiling LanguageClient Server+Shutdown.swift
[110/118] Compiling LanguageClient FileEventAsyncSequence.swift
[111/118] Compiling LanguageClient StatefulServer.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] Compiling LanguageClient DataChannel+LocalProcess.swift
[115/118] Compiling LanguageClient AsyncStreamTap.swift
[116/118] Compiling LanguageClient DataChannel+UserScript.swift
[117/118] Compiling LanguageClient RestartingServer.swift
[118/118] Emitting module LanguageClient
Build complete! (22.74s)
Fetching https://github.com/davbeck/swift-glob
Fetching https://github.com/ChimeHQ/JSONRPC
Fetching https://github.com/ChimeHQ/ProcessEnv
Fetching https://github.com/groue/Semaphore
Fetching https://github.com/mattmassicotte/Queue
Fetching https://github.com/Frizlab/FSEventsWrapper
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
[1/293] Fetching semaphore
[212/601] Fetching semaphore, queue
[373/861] Fetching semaphore, queue, fseventswrapper
[553/1505] Fetching semaphore, queue, fseventswrapper, swift-glob
[611/2139] Fetching semaphore, queue, fseventswrapper, swift-glob, jsonrpc
[637/2353] Fetching semaphore, queue, fseventswrapper, swift-glob, jsonrpc, processenv
[787/4174] Fetching semaphore, queue, fseventswrapper, swift-glob, jsonrpc, processenv, languageserverprotocol
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.99s)
Fetched https://github.com/davbeck/swift-glob from cache (0.99s)
Fetched https://github.com/ChimeHQ/ProcessEnv from cache (0.99s)
Fetched https://github.com/mattmassicotte/Queue from cache (0.99s)
Fetched https://github.com/groue/Semaphore from cache (1.00s)
Fetched https://github.com/Frizlab/FSEventsWrapper from cache (1.00s)
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (1.00s)
Computing version for https://github.com/Frizlab/FSEventsWrapper
Computed https://github.com/Frizlab/FSEventsWrapper at 2.1.0 (3.08s)
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.46s)
Computing version for https://github.com/davbeck/swift-glob
Computed https://github.com/davbeck/swift-glob at 0.1.0 (0.45s)
Computing version for https://github.com/mattmassicotte/Queue
Computed https://github.com/mattmassicotte/Queue at 0.2.1 (0.45s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.45s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.45s)
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/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/mattmassicotte/Queue
Working copy of https://github.com/mattmassicotte/Queue resolved at 0.2.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/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
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.