Build Information
Failed to build ChimeKit, reference 0.4.2 (27a1c3
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 02:01:31 UTC.
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/ChimeKit.git
Reference: 0.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/ChimeKit
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at 27a1c3a Update to latest Extendable, LanguageClient; concurrency warnings
Cloned https://github.com/ChimeHQ/ChimeKit.git
Revision (git rev-parse @):
27a1c3a3fe3afe40b5fa2384c9a70fe0edef49fe
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/ChimeKit.git at 0.4.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ChimeHQ/ChimeKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/15] Write sources
[13/15] Compiling FNMDefinitions FNM.c
[14/15] Write swift-version-1EA4D86E10B52AF.txt
[16/60] Compiling Glob Unicode.GeneralCategory+Helpers.swift
[17/60] Compiling Queue AsyncSerialQueue.swift
[18/60] Compiling ProcessEnv Process+Output.swift
[19/60] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
[20/60] Emitting module JSONRPC
[21/61] Emitting module ProcessEnv
[22/61] Compiling ProcessEnv Process+Parameters.swift
[23/61] Compiling JSONRPC JSONId.swift
[24/61] Compiling JSONRPC DataChannel.swift
[25/61] Compiling Glob Pattern+Operator.swift
[26/61] Compiling Glob Pattern+Parser.swift
[27/61] Compiling Glob Pattern+Options.swift
[28/61] Compiling Glob Pattern.swift
[29/61] Compiling JSONRPC AsyncStreamPolyfill.swift
[30/61] Compiling JSONRPC DataChannel+Actor.swift
[31/61] Compiling JSONRPC DataChannel+PredefinedMessages.swift
[32/61] Compiling JSONRPC DataChannel+Stdio.swift
[33/61] Compiling JSONRPC DataChannel+WebSocket.swift
[34/61] Emitting module Semaphore
[35/61] Compiling Semaphore AsyncSemaphore.swift
[36/61] Compiling AsyncXPCConnection RemoteXPCService.swift
[37/61] Emitting module Glob
[38/61] Compiling Glob GlobSearch.swift
[39/61] Compiling JSONRPC JSONValue.swift
[40/61] Compiling JSONRPC JSONValueDecoder.swift
[41/61] Emitting module Queue
[42/61] Compiling Queue AsyncQueue.swift
[43/61] Compiling Glob InvalidPattern.swift
[44/61] Compiling Glob Pattern+Match.swift
[45/61] Emitting module AsyncXPCConnection
[46/61] Compiling JSONRPC JSONRPCError.swift
[47/61] Compiling JSONRPC JSONRPCSession.swift
[48/61] Compiling AsyncXPCConnection NSXPCConnection+Continuations.swift
[49/61] Compiling AsyncXPCConnection QueuedRemoteXPCService.swift
[50/61] Emitting module FSEventsWrapper
[51/61] Compiling FSEventsWrapper FSEventAsyncStream.swift
[52/61] Compiling FSEventsWrapper FSEventStream.swift
[53/61] Compiling FSEventsWrapper FSEvent.swift
[54/61] Compiling JSONRPC Protocol.swift
[55/119] Compiling Extendable AppExtension+Init.swift
[56/119] Emitting module Extendable
[57/119] Compiling Extendable ConnectionAccepter.swift
[58/119] Compiling LanguageServerProtocol DocumentColor.swift
[59/119] Compiling LanguageServerProtocol DocumentHighlight.swift
[60/119] Compiling LanguageServerProtocol DocumentLink.swift
[61/119] Compiling LanguageServerProtocol DocumentSymbol.swift
[62/119] Compiling LanguageServerProtocol FoldingRange.swift
[63/119] Compiling LanguageServerProtocol Formatting.swift
[64/125] Compiling LanguageServerProtocol AsyncByteSequence.swift
[65/125] Compiling LanguageServerProtocol AsyncMessageFramingSequence.swift
[66/125] Compiling LanguageServerProtocol DataChannel+MessageFraming.swift
[67/125] Compiling LanguageServerProtocol MessageFraming.swift
[68/125] Compiling LanguageServerProtocol General.swift
[69/125] Compiling LanguageServerProtocol CallHeirarchy.swift
[70/125] Compiling LanguageServerProtocol CodeAction.swift
[71/125] Emitting module LanguageServerProtocol
[72/125] Compiling LanguageServerProtocol AsyncStreamPolyfill.swift
[73/125] Compiling LanguageServerProtocol NSRegularExpression+Matching.swift
[74/125] Compiling LanguageServerProtocol Protocol+Mutating.swift
[75/125] Compiling LanguageServerProtocol ServerCapabilities+Extensions.swift
[76/125] Compiling LanguageServerProtocol Snippet.swift
[77/125] Compiling LanguageServerProtocol TokenRepresentation.swift
[78/125] Compiling LanguageServerProtocol BaseProtocol.swift
[79/125] Compiling LanguageServerProtocol Utility.swift
[80/125] Compiling LanguageServerProtocol Window.swift
[81/125] Compiling LanguageServerProtocol ShowMessageRequest.swift
[82/125] Compiling LanguageServerProtocol Workspace.swift
[83/125] Compiling LanguageServerProtocol ApplyEdit.swift
[84/125] Compiling LanguageServerProtocol Configuration.swift
[85/125] Compiling LanguageServerProtocol Hover.swift
[86/125] Compiling LanguageServerProtocol Implementation.swift
[87/125] Compiling LanguageServerProtocol InlayHint.swift
[88/125] Compiling LanguageServerProtocol LinkedEditingRange.swift
[89/125] Compiling LanguageServerProtocol Moniker.swift
[90/125] Compiling LanguageServerProtocol OnTypeFormatting.swift
[91/125] Compiling LanguageServerProtocol References.swift
[92/125] Compiling LanguageServerProtocol Rename.swift
[93/125] Compiling LanguageServerProtocol SelectionRange.swift
[94/125] Compiling LanguageServerProtocol SemanticTokens.swift
[95/125] Compiling LanguageServerProtocol SignatureHelp.swift
[96/125] Compiling LanguageServerProtocol TypeDefinition.swift
[97/125] Compiling LanguageServerProtocol CodeLens.swift
[98/125] Compiling LanguageServerProtocol ColorPresentation.swift
[99/125] Compiling LanguageServerProtocol Completion.swift
[100/125] Compiling LanguageServerProtocol Declaration.swift
[101/125] Compiling LanguageServerProtocol Definition.swift
[102/125] Compiling LanguageServerProtocol Diagnostics.swift
[103/125] Compiling LanguageServerProtocol ExecuteCommand.swift
[104/125] Compiling LanguageServerProtocol Folders.swift
[105/125] Compiling LanguageServerProtocol Symbol.swift
[106/125] Compiling LanguageServerProtocol WillCreateFiles.swift
[107/125] Compiling LanguageServerProtocol WillDeleteFiles.swift
[108/125] Compiling LanguageServerProtocol WillRenameFiles.swift
[109/125] Compiling LanguageServerProtocol TypeHeirarchy.swift
[110/125] Compiling LanguageServerProtocol LanguageServerProtocol.swift
[111/125] Compiling LanguageServerProtocol ServerCapabilities.swift
[112/125] Compiling LanguageServerProtocol TextSynchronization.swift
[113/125] Compiling LanguageServerProtocol ThreeTypeOption.swift
[114/125] Compiling LanguageServerProtocol TwoTypeOption.swift
[115/125] Compiling Extendable AppExtensionSceneGroup.swift
[116/125] Compiling Extendable ConnectableExtension.swift
[117/125] Compiling Extendable ConnectingAppExtensionScene.swift
[118/125] Compiling Extendable ConnectableSceneExtension.swift
[119/164] Compiling ChimeExtensionInterface ServiceConfiguration.swift
[120/164] Compiling ChimeExtensionInterface TextChange.swift
[121/164] Compiling ChimeExtensionInterface TextRange.swift
[122/164] Compiling ChimeExtensionInterface TextTarget.swift
[123/164] Compiling ChimeExtensionInterface SceneContextView.swift
[124/164] Compiling ChimeExtensionInterface StandaloneExtension.swift
[125/164] Compiling ChimeExtensionInterface UTType+Filename.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/174] Emitting module ChimeExtensionInterface
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:22:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
20 |
21 | public struct DocumentContextKey: EnvironmentKey {
22 | public static var defaultValue: DocumentContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:26:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
24 |
25 | public struct ProjectContextKey: EnvironmentKey {
26 | public static var defaultValue: ProjectContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
| `- note: add stubs for conformance
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Queue/Sources/Queue/AsyncQueue.swift:148:14: note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
146 | /// Submit a throwing operation to the queue.
147 | @discardableResult
148 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
149 | priority: TaskPriority? = nil,
150 | barrier: Bool = false,
:
162 | /// Submit an operation to the queue.
163 | @discardableResult
164 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.Operation<Success>) -> Task<Success, Never>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async -> sending Success) -> Task<Success, Never>')
165 | priority: TaskPriority? = nil,
166 | barrier: Bool = false,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/QueuedRemoteXPCService.swift:6:7: note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
4 | public protocol AsyncQueuing {
5 | @discardableResult
6 | func addOperation<Success>(
| `- note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
7 | priority: TaskPriority?,
8 | barrier: Bool,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[127/178] Compiling LanguageClient StatefulServer.swift
[128/178] Compiling LanguageClient Server+Shutdown.swift
[129/178] Compiling ChimeExtensionInterface Protocol+Exporting.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:84:101: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
81 | let xpcTrigger = try JSONEncoder().encode(trigger)
82 |
83 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
84 | service.completions(for: xpcContext, at: xpcPosition, xpcTrigger: xpcTrigger, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:94:75: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
91 | let xpcRanges = try JSONEncoder().encode(ranges)
92 |
93 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
94 | service.formatting(for: xpcContext, for: xpcRanges, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:100:64: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
97 |
98 | public func organizeImports() async throws -> [TextChange] {
99 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
100 | service.organizeImports(for: xpcContext, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:110:81: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
107 | let xpcPosition = try JSONEncoder().encode(position)
108 |
109 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
110 | service.semanticDetails(for: xpcContext, at: xpcPosition, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
111 | }
112 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:120:80: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
117 | let xpcPosition = try JSONEncoder().encode(position)
118 |
119 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
120 | service.findDefinition(for: xpcContext, at: xpcPosition, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
121 | }
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:130:69: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
127 | let xpcRange = try JSONEncoder().encode(range)
128 |
129 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
130 | service.tokens(for: xpcContext, in: xpcRange, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
| `- note: add stubs for conformance
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Queue/Sources/Queue/AsyncQueue.swift:148:14: note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
146 | /// Submit a throwing operation to the queue.
147 | @discardableResult
148 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
149 | priority: TaskPriority? = nil,
150 | barrier: Bool = false,
:
162 | /// Submit an operation to the queue.
163 | @discardableResult
164 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.Operation<Success>) -> Task<Success, Never>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async -> sending Success) -> Task<Success, Never>')
165 | priority: TaskPriority? = nil,
166 | barrier: Bool = false,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/QueuedRemoteXPCService.swift:6:7: note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
4 | public protocol AsyncQueuing {
5 | @discardableResult
6 | func addOperation<Success>(
| `- note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
7 | priority: TaskPriority?,
8 | barrier: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:36:46: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
33 | public var configuration: ExtensionConfiguration {
34 | get async throws {
35 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
36 | service.configuration(completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
37 | }
38 | }
[130/178] Compiling ChimeExtensionInterface QueuedRelay.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:84:101: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
81 | let xpcTrigger = try JSONEncoder().encode(trigger)
82 |
83 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
84 | service.completions(for: xpcContext, at: xpcPosition, xpcTrigger: xpcTrigger, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:94:75: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
91 | let xpcRanges = try JSONEncoder().encode(ranges)
92 |
93 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
94 | service.formatting(for: xpcContext, for: xpcRanges, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:100:64: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
97 |
98 | public func organizeImports() async throws -> [TextChange] {
99 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
100 | service.organizeImports(for: xpcContext, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:110:81: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
107 | let xpcPosition = try JSONEncoder().encode(position)
108 |
109 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
110 | service.semanticDetails(for: xpcContext, at: xpcPosition, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
111 | }
112 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:120:80: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
117 | let xpcPosition = try JSONEncoder().encode(position)
118 |
119 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
120 | service.findDefinition(for: xpcContext, at: xpcPosition, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
121 | }
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:130:69: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
127 | let xpcRange = try JSONEncoder().encode(range)
128 |
129 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
130 | service.tokens(for: xpcContext, in: xpcRange, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
| `- note: add stubs for conformance
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Queue/Sources/Queue/AsyncQueue.swift:148:14: note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
146 | /// Submit a throwing operation to the queue.
147 | @discardableResult
148 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
149 | priority: TaskPriority? = nil,
150 | barrier: Bool = false,
:
162 | /// Submit an operation to the queue.
163 | @discardableResult
164 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.Operation<Success>) -> Task<Success, Never>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async -> sending Success) -> Task<Success, Never>')
165 | priority: TaskPriority? = nil,
166 | barrier: Bool = false,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/QueuedRemoteXPCService.swift:6:7: note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
4 | public protocol AsyncQueuing {
5 | @discardableResult
6 | func addOperation<Success>(
| `- note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
7 | priority: TaskPriority?,
8 | barrier: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:36:46: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
33 | public var configuration: ExtensionConfiguration {
34 | get async throws {
35 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
36 | service.configuration(completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
37 | }
38 | }
[131/178] Compiling ChimeExtensionInterface RemoteDocumentService.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:84:101: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
81 | let xpcTrigger = try JSONEncoder().encode(trigger)
82 |
83 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
84 | service.completions(for: xpcContext, at: xpcPosition, xpcTrigger: xpcTrigger, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:94:75: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
91 | let xpcRanges = try JSONEncoder().encode(ranges)
92 |
93 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
94 | service.formatting(for: xpcContext, for: xpcRanges, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:100:64: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
97 |
98 | public func organizeImports() async throws -> [TextChange] {
99 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
100 | service.organizeImports(for: xpcContext, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:110:81: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
107 | let xpcPosition = try JSONEncoder().encode(position)
108 |
109 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
110 | service.semanticDetails(for: xpcContext, at: xpcPosition, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
111 | }
112 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:120:80: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
117 | let xpcPosition = try JSONEncoder().encode(position)
118 |
119 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
120 | service.findDefinition(for: xpcContext, at: xpcPosition, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
121 | }
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:130:69: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
127 | let xpcRange = try JSONEncoder().encode(range)
128 |
129 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
130 | service.tokens(for: xpcContext, in: xpcRange, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
| `- note: add stubs for conformance
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Queue/Sources/Queue/AsyncQueue.swift:148:14: note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
146 | /// Submit a throwing operation to the queue.
147 | @discardableResult
148 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
149 | priority: TaskPriority? = nil,
150 | barrier: Bool = false,
:
162 | /// Submit an operation to the queue.
163 | @discardableResult
164 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.Operation<Success>) -> Task<Success, Never>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async -> sending Success) -> Task<Success, Never>')
165 | priority: TaskPriority? = nil,
166 | barrier: Bool = false,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/QueuedRemoteXPCService.swift:6:7: note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
4 | public protocol AsyncQueuing {
5 | @discardableResult
6 | func addOperation<Success>(
| `- note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
7 | priority: TaskPriority?,
8 | barrier: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:36:46: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
33 | public var configuration: ExtensionConfiguration {
34 | get async throws {
35 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
36 | service.configuration(completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
37 | }
38 | }
[132/178] Compiling ChimeExtensionInterface RemoteExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:84:101: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
81 | let xpcTrigger = try JSONEncoder().encode(trigger)
82 |
83 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
84 | service.completions(for: xpcContext, at: xpcPosition, xpcTrigger: xpcTrigger, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:94:75: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
91 | let xpcRanges = try JSONEncoder().encode(ranges)
92 |
93 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
94 | service.formatting(for: xpcContext, for: xpcRanges, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:100:64: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
97 |
98 | public func organizeImports() async throws -> [TextChange] {
99 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
100 | service.organizeImports(for: xpcContext, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:110:81: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
107 | let xpcPosition = try JSONEncoder().encode(position)
108 |
109 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
110 | service.semanticDetails(for: xpcContext, at: xpcPosition, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
111 | }
112 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:120:80: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
117 | let xpcPosition = try JSONEncoder().encode(position)
118 |
119 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
120 | service.findDefinition(for: xpcContext, at: xpcPosition, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
121 | }
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteDocumentService.swift:130:69: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
127 | let xpcRange = try JSONEncoder().encode(range)
128 |
129 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
130 | service.tokens(for: xpcContext, in: xpcRange, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- warning: extension declares a conformance of imported type 'AsyncQueue' to imported protocol 'AsyncQueuing'; this will not behave correctly if the owners of 'Queue' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:6:1: error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
4 | import Queue
5 |
6 | extension AsyncQueue: AsyncQueuing {}
| |- error: type 'AsyncQueue' does not conform to protocol 'AsyncQueuing'
| `- note: add stubs for conformance
7 |
8 | /// Maintains order of communcations across to a remote ExtensionProtocol object.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Queue/Sources/Queue/AsyncQueue.swift:148:14: note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
146 | /// Submit a throwing operation to the queue.
147 | @discardableResult
148 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.ThrowingOperation<Success>) -> Task<Success, any Error>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async throws -> sending Success) -> Task<Success, any Error>')
149 | priority: TaskPriority? = nil,
150 | barrier: Bool = false,
:
162 | /// Submit an operation to the queue.
163 | @discardableResult
164 | public func addOperation<Success>(
| `- note: candidate has non-matching type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping AsyncQueue.Operation<Success>) -> Task<Success, Never>' (aka '<Success> (priority: Optional<TaskPriority>, barrier: Bool, operation: @escaping @isolated(any) @Sendable () async -> sending Success) -> Task<Success, Never>')
165 | priority: TaskPriority? = nil,
166 | barrier: Bool = false,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AsyncXPCConnection/Sources/AsyncXPCConnection/QueuedRemoteXPCService.swift:6:7: note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
4 | public protocol AsyncQueuing {
5 | @discardableResult
6 | func addOperation<Success>(
| `- note: protocol requires function 'addOperation(priority:barrier:operation:)' with type '<Success> (priority: TaskPriority?, barrier: Bool, operation: @escaping @Sendable () async throws -> Success) -> Task<Success, any Error>'
7 | priority: TaskPriority?,
8 | barrier: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteExtension.swift:36:46: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
33 | public var configuration: ExtensionConfiguration {
34 | get async throws {
35 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
36 | service.configuration(completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
37 | }
38 | }
[133/178] Compiling ChimeExtensionInterface FormattingService.swift
[134/178] Compiling ChimeExtensionInterface SemanticDetailsService.swift
[135/178] Compiling ChimeExtensionInterface SymbolQueryService.swift
[136/178] Compiling ChimeExtensionInterface TokenService.swift
[137/178] Compiling LanguageClient FileHandle+DataStream.swift
[138/178] Compiling LanguageClient FileEventAsyncSequence.swift
[139/178] Compiling LanguageClient DataChannel+LocalProcess.swift
[140/178] Compiling LanguageClient AsyncStreamTap.swift
[141/178] Emitting module LanguageClient
[142/178] Compiling LanguageClient RestartingServer.swift
[143/178] Compiling LanguageClient InitializingServer.swift
[144/178] Compiling LanguageClient DataChannel+UserScript.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:143:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
141 | let service = try self.appService.symbolService(for: context)
142 |
143 | return try await service?.symbols(matching: query) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'symbols(matching:)' risks causing data races between nonisolated and main actor-isolated uses
144 | }
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:153:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
151 | let trigger = try JSONDecoder().decode(CompletionTrigger.self, from: xpcTrigger)
152 |
153 | return try await service?.completions(at: position, trigger: trigger) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'completions(at:trigger:)' risks causing data races between nonisolated and main actor-isolated uses
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:162:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
160 | let ranges = try JSONDecoder().decode([CombinedTextRange].self, from: xpcRanges)
161 |
162 | return try await service?.formatting(for: ranges)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'formatting(for:)' risks causing data races between nonisolated and main actor-isolated uses
163 | }
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:170:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
168 | let service = try self.documentService(for: xpcContext)?.formattingService
169 |
170 | return try await service?.organizeImports()
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'organizeImports()' risks causing data races between nonisolated and main actor-isolated uses
171 | }
172 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:179:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
177 | let service = try self.documentService(for: xpcContext)?.semanticDetailsService
178 |
179 | return try await service?.semanticDetails(at: position)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'semanticDetails(at:)' risks causing data races between nonisolated and main actor-isolated uses
180 | }
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:188:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
186 | let service = try self.documentService(for: xpcContext)?.defintionService
187 |
188 | return try await service?.definitions(at: position) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'definitions(at:)' risks causing data races between nonisolated and main actor-isolated uses
189 | }
190 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:197:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
195 | let service = try self.documentService(for: xpcContext)?.tokenService
196 |
197 | return try await service?.tokens(in: range) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'tokens(in:)' risks causing data races between nonisolated and main actor-isolated uses
198 | }
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:205:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
203 | let service = try self.documentService(for: xpcContext)?.symbolService
204 |
205 | return try await service?.symbols(matching: query)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'symbols(matching:)' risks causing data races between nonisolated and main actor-isolated uses
206 | }
207 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:143:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
141 | let service = try self.appService.symbolService(for: context)
142 |
143 | return try await service?.symbols(matching: query) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'symbols(matching:)' risks causing data races between nonisolated and main actor-isolated uses
144 | }
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:153:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
151 | let trigger = try JSONDecoder().decode(CompletionTrigger.self, from: xpcTrigger)
152 |
153 | return try await service?.completions(at: position, trigger: trigger) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'completions(at:trigger:)' risks causing data races between nonisolated and main actor-isolated uses
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:162:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
160 | let ranges = try JSONDecoder().decode([CombinedTextRange].self, from: xpcRanges)
161 |
162 | return try await service?.formatting(for: ranges)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'formatting(for:)' risks causing data races between nonisolated and main actor-isolated uses
163 | }
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:170:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
168 | let service = try self.documentService(for: xpcContext)?.formattingService
169 |
170 | return try await service?.organizeImports()
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'organizeImports()' risks causing data races between nonisolated and main actor-isolated uses
171 | }
172 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:179:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
177 | let service = try self.documentService(for: xpcContext)?.semanticDetailsService
178 |
179 | return try await service?.semanticDetails(at: position)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'semanticDetails(at:)' risks causing data races between nonisolated and main actor-isolated uses
180 | }
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:188:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
186 | let service = try self.documentService(for: xpcContext)?.defintionService
187 |
188 | return try await service?.definitions(at: position) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'definitions(at:)' risks causing data races between nonisolated and main actor-isolated uses
189 | }
190 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:197:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
195 | let service = try self.documentService(for: xpcContext)?.tokenService
196 |
197 | return try await service?.tokens(in: range) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'tokens(in:)' risks causing data races between nonisolated and main actor-isolated uses
198 | }
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:205:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
203 | let service = try self.documentService(for: xpcContext)?.symbolService
204 |
205 | return try await service?.symbols(matching: query)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'symbols(matching:)' risks causing data races between nonisolated and main actor-isolated uses
206 | }
207 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[147/178] Compiling ChimeExtensionInterface UTType+Languages.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:143:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
141 | let service = try self.appService.symbolService(for: context)
142 |
143 | return try await service?.symbols(matching: query) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'symbols(matching:)' risks causing data races between nonisolated and main actor-isolated uses
144 | }
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:153:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
151 | let trigger = try JSONDecoder().decode(CompletionTrigger.self, from: xpcTrigger)
152 |
153 | return try await service?.completions(at: position, trigger: trigger) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'completions(at:trigger:)' risks causing data races between nonisolated and main actor-isolated uses
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:162:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
160 | let ranges = try JSONDecoder().decode([CombinedTextRange].self, from: xpcRanges)
161 |
162 | return try await service?.formatting(for: ranges)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'formatting(for:)' risks causing data races between nonisolated and main actor-isolated uses
163 | }
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:170:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
168 | let service = try self.documentService(for: xpcContext)?.formattingService
169 |
170 | return try await service?.organizeImports()
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'organizeImports()' risks causing data races between nonisolated and main actor-isolated uses
171 | }
172 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:179:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
177 | let service = try self.documentService(for: xpcContext)?.semanticDetailsService
178 |
179 | return try await service?.semanticDetails(at: position)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'semanticDetails(at:)' risks causing data races between nonisolated and main actor-isolated uses
180 | }
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:188:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
186 | let service = try self.documentService(for: xpcContext)?.defintionService
187 |
188 | return try await service?.definitions(at: position) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'definitions(at:)' risks causing data races between nonisolated and main actor-isolated uses
189 | }
190 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:197:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
195 | let service = try self.documentService(for: xpcContext)?.tokenService
196 |
197 | return try await service?.tokens(in: range) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'tokens(in:)' risks causing data races between nonisolated and main actor-isolated uses
198 | }
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:205:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
203 | let service = try self.documentService(for: xpcContext)?.symbolService
204 |
205 | return try await service?.symbols(matching: query)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'symbols(matching:)' risks causing data races between nonisolated and main actor-isolated uses
206 | }
207 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[148/178] Compiling ChimeExtensionInterface ExportedExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:143:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
141 | let service = try self.appService.symbolService(for: context)
142 |
143 | return try await service?.symbols(matching: query) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'symbols(matching:)' risks causing data races between nonisolated and main actor-isolated uses
144 | }
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:153:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
151 | let trigger = try JSONDecoder().decode(CompletionTrigger.self, from: xpcTrigger)
152 |
153 | return try await service?.completions(at: position, trigger: trigger) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'completions(at:trigger:)' risks causing data races between nonisolated and main actor-isolated uses
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:162:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
160 | let ranges = try JSONDecoder().decode([CombinedTextRange].self, from: xpcRanges)
161 |
162 | return try await service?.formatting(for: ranges)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'formatting(for:)' risks causing data races between nonisolated and main actor-isolated uses
163 | }
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:170:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
168 | let service = try self.documentService(for: xpcContext)?.formattingService
169 |
170 | return try await service?.organizeImports()
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'organizeImports()' risks causing data races between nonisolated and main actor-isolated uses
171 | }
172 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:179:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
177 | let service = try self.documentService(for: xpcContext)?.semanticDetailsService
178 |
179 | return try await service?.semanticDetails(at: position)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'semanticDetails(at:)' risks causing data races between nonisolated and main actor-isolated uses
180 | }
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:188:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
186 | let service = try self.documentService(for: xpcContext)?.defintionService
187 |
188 | return try await service?.definitions(at: position) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'definitions(at:)' risks causing data races between nonisolated and main actor-isolated uses
189 | }
190 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:197:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
195 | let service = try self.documentService(for: xpcContext)?.tokenService
196 |
197 | return try await service?.tokens(in: range) ?? []
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'tokens(in:)' risks causing data races between nonisolated and main actor-isolated uses
198 | }
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedExtension.swift:205:30: warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
203 | let service = try self.documentService(for: xpcContext)?.symbolService
204 |
205 | return try await service?.symbols(matching: query)
| |- warning: sending 'service.some' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: sending main actor-isolated 'service.some' to nonisolated instance method 'symbols(matching:)' risks causing data races between nonisolated and main actor-isolated uses
206 | }
207 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:22:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
20 |
21 | public struct DocumentContextKey: EnvironmentKey {
22 | public static var defaultValue: DocumentContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:26:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
24 |
25 | public struct ProjectContextKey: EnvironmentKey {
26 | public static var defaultValue: ProjectContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:22:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
20 |
21 | public struct DocumentContextKey: EnvironmentKey {
22 | public static var defaultValue: DocumentContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:26:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
24 |
25 | public struct ProjectContextKey: EnvironmentKey {
26 | public static var defaultValue: ProjectContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:22:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
20 |
21 | public struct DocumentContextKey: EnvironmentKey {
22 | public static var defaultValue: DocumentContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:26:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
24 |
25 | public struct ProjectContextKey: EnvironmentKey {
26 | public static var defaultValue: ProjectContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:22:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
20 |
21 | public struct DocumentContextKey: EnvironmentKey {
22 | public static var defaultValue: DocumentContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/SceneContextView.swift:26:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
24 |
25 | public struct ProjectContextKey: EnvironmentKey {
26 | public static var defaultValue: ProjectContext? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[153/178] Compiling ChimeExtensionInterface LineRelativeTextPosition.swift
[154/178] Compiling ChimeExtensionInterface LineRelativeTextRange.swift
[155/178] Compiling ChimeExtensionInterface ProjectContext.swift
[157/178] Compiling ChimeExtensionInterface RemoteHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:48:68: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
45 | let xpcRange = try JSONEncoder().encode(range)
46 |
47 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
48 | service.textContent(for: documentId, xpcRange: xpcRange, reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
49 | }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:56:87: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
53 | let xpcRanges = try JSONEncoder().encode(ranges)
54 |
55 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
56 | service.textBounds(for: documentId, xpcRanges: xpcRanges, version: version, reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:92:5: warning: capture of 'handler' with non-sendable type '(LaunchedProcess?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
90 | let process = LaunchedProcess(id: id, stdinHandle: stdin, stdoutHandle: stdout, stderrHandle: stderr)
91 |
92 | handler(process, error)
| |- warning: capture of 'handler' with non-sendable type '(LaunchedProcess?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
93 | }
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:104:42: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
101 |
102 | func captureUserEnvironment() async throws -> [String : String] {
103 | try await queuedService.addValueErrorOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
104 | service.captureUserEnvironment(reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteProjectService.swift:19:80: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
16 | let xpcContext = try JSONEncoder().encode(context)
17 |
18 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
19 | service.symbols(forProject: xpcContext, matching: query, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
20 | }
21 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[158/178] Compiling ChimeExtensionInterface RemoteProjectService.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:48:68: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
45 | let xpcRange = try JSONEncoder().encode(range)
46 |
47 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
48 | service.textContent(for: documentId, xpcRange: xpcRange, reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
49 | }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:56:87: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
53 | let xpcRanges = try JSONEncoder().encode(ranges)
54 |
55 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
56 | service.textBounds(for: documentId, xpcRanges: xpcRanges, version: version, reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:92:5: warning: capture of 'handler' with non-sendable type '(LaunchedProcess?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
90 | let process = LaunchedProcess(id: id, stdinHandle: stdin, stdoutHandle: stdout, stderrHandle: stderr)
91 |
92 | handler(process, error)
| |- warning: capture of 'handler' with non-sendable type '(LaunchedProcess?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
93 | }
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:104:42: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
101 |
102 | func captureUserEnvironment() async throws -> [String : String] {
103 | try await queuedService.addValueErrorOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
104 | service.captureUserEnvironment(reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteProjectService.swift:19:80: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
16 | let xpcContext = try JSONEncoder().encode(context)
17 |
18 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
19 | service.symbols(forProject: xpcContext, matching: query, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
20 | }
21 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[159/178] Compiling ChimeExtensionInterface RemoteScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:48:68: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
45 | let xpcRange = try JSONEncoder().encode(range)
46 |
47 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
48 | service.textContent(for: documentId, xpcRange: xpcRange, reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
49 | }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:56:87: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
53 | let xpcRanges = try JSONEncoder().encode(ranges)
54 |
55 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
56 | service.textBounds(for: documentId, xpcRanges: xpcRanges, version: version, reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:92:5: warning: capture of 'handler' with non-sendable type '(LaunchedProcess?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
90 | let process = LaunchedProcess(id: id, stdinHandle: stdin, stdoutHandle: stdout, stderrHandle: stderr)
91 |
92 | handler(process, error)
| |- warning: capture of 'handler' with non-sendable type '(LaunchedProcess?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
93 | }
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:104:42: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
101 |
102 | func captureUserEnvironment() async throws -> [String : String] {
103 | try await queuedService.addValueErrorOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
104 | service.captureUserEnvironment(reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteProjectService.swift:19:80: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
16 | let xpcContext = try JSONEncoder().encode(context)
17 |
18 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
19 | service.symbols(forProject: xpcContext, matching: query, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
20 | }
21 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[160/178] Compiling ChimeExtensionInterface XPCProtocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:48:68: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
45 | let xpcRange = try JSONEncoder().encode(range)
46 |
47 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
48 | service.textContent(for: documentId, xpcRange: xpcRange, reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
49 | }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:56:87: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
53 | let xpcRanges = try JSONEncoder().encode(ranges)
54 |
55 | return try await queuedService.addDecodingOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
56 | service.textBounds(for: documentId, xpcRanges: xpcRanges, version: version, reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:92:5: warning: capture of 'handler' with non-sendable type '(LaunchedProcess?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
90 | let process = LaunchedProcess(id: id, stdinHandle: stdin, stdoutHandle: stdout, stderrHandle: stderr)
91 |
92 | handler(process, error)
| |- warning: capture of 'handler' with non-sendable type '(LaunchedProcess?, (any Error)?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
93 | }
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteHost.swift:104:42: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
101 |
102 | func captureUserEnvironment() async throws -> [String : String] {
103 | try await queuedService.addValueErrorOperation(barrier: true) { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
104 | service.captureUserEnvironment(reply: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/RemoteProjectService.swift:19:80: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
16 | let xpcContext = try JSONEncoder().encode(context)
17 |
18 | return try await queuedService.addDecodingOperation { service, handler in
| `- note: parameter 'handler' is implicitly non-sendable
19 | service.symbols(forProject: xpcContext, matching: query, completionHandler: handler)
| `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
20 | }
21 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[161/178] Compiling ChimeExtensionInterface CombinedTextRange.swift
[162/178] Compiling ChimeExtensionInterface DocumentConfiguration.swift
[163/178] Compiling ChimeExtensionInterface DocumentContext.swift
[164/178] Compiling ChimeExtensionInterface ExtensionConfiguration.swift
[165/178] Compiling ChimeExtensionInterface LaunchedProcess.swift
[166/178] Compiling ChimeExtensionInterface ChimeExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/MainActor+runUnsafely.swift:11:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | /// It will crash if run on any non-main thread.
7 | @_unavailableFromAsync
8 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | #if swift(>=5.9)
10 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
11 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 | }
13 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:43:11: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
41 | public nonisolated var configuration: ConnectingAppExtensionConfiguration {
42 | MainActor.runUnsafely {
43 | return globalConfiguration
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:60:42: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
58 | public nonisolated var configuration: AppExtensionSceneConfiguration {
59 | MainActor.runUnsafely {
60 | return AppExtensionSceneConfiguration(self.scene, configuration: globalConfiguration)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
61 | }
62 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[167/178] Compiling ChimeExtensionInterface ExtensionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/MainActor+runUnsafely.swift:11:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | /// It will crash if run on any non-main thread.
7 | @_unavailableFromAsync
8 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | #if swift(>=5.9)
10 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
11 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 | }
13 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:43:11: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
41 | public nonisolated var configuration: ConnectingAppExtensionConfiguration {
42 | MainActor.runUnsafely {
43 | return globalConfiguration
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:60:42: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
58 | public nonisolated var configuration: AppExtensionSceneConfiguration {
59 | MainActor.runUnsafely {
60 | return AppExtensionSceneConfiguration(self.scene, configuration: globalConfiguration)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
61 | }
62 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[168/178] Compiling ChimeExtensionInterface HostProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/MainActor+runUnsafely.swift:11:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | /// It will crash if run on any non-main thread.
7 | @_unavailableFromAsync
8 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | #if swift(>=5.9)
10 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
11 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 | }
13 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:43:11: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
41 | public nonisolated var configuration: ConnectingAppExtensionConfiguration {
42 | MainActor.runUnsafely {
43 | return globalConfiguration
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:60:42: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
58 | public nonisolated var configuration: AppExtensionSceneConfiguration {
59 | MainActor.runUnsafely {
60 | return AppExtensionSceneConfiguration(self.scene, configuration: globalConfiguration)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
61 | }
62 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[169/178] Compiling ChimeExtensionInterface MainActor+runUnsafely.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/MainActor+runUnsafely.swift:11:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | /// It will crash if run on any non-main thread.
7 | @_unavailableFromAsync
8 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | #if swift(>=5.9)
10 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
11 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 | }
13 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:43:11: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
41 | public nonisolated var configuration: ConnectingAppExtensionConfiguration {
42 | MainActor.runUnsafely {
43 | return globalConfiguration
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:60:42: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
58 | public nonisolated var configuration: AppExtensionSceneConfiguration {
59 | MainActor.runUnsafely {
60 | return AppExtensionSceneConfiguration(self.scene, configuration: globalConfiguration)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
61 | }
62 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[170/178] Compiling ChimeExtensionInterface CombinedTextPosition.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/MainActor+runUnsafely.swift:11:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
6 | /// It will crash if run on any non-main thread.
7 | @_unavailableFromAsync
8 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
9 | #if swift(>=5.9)
10 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
11 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 | }
13 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:43:11: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
41 | public nonisolated var configuration: ConnectingAppExtensionConfiguration {
42 | MainActor.runUnsafely {
43 | return globalConfiguration
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/ChimeExtension.swift:60:42: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
58 | public nonisolated var configuration: AppExtensionSceneConfiguration {
59 | MainActor.runUnsafely {
60 | return AppExtensionSceneConfiguration(self.scene, configuration: globalConfiguration)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
61 | }
62 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[171/178] Compiling ChimeExtensionInterface ExportedHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:101:10: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
100 | Task {
101 | await handleTermination(of: id)
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:99:27: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | extension ExportedHost {
99 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 | Task {
101 | await handleTermination(of: id)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:112:53: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | let id = process.id
111 |
112 | process.terminationHandler = { [weak self] in self?.nonisolatedHandleTermination(of: id) }
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:112:40: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | let id = process.id
111 |
112 | process.terminationHandler = { [weak self] in self?.nonisolatedHandleTermination(of: id) }
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:16:32: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 | let documentContext = try xpcDocumentContext.map { try JSONDecoder().decode(DocumentContext.self, from: $0) }
15 |
16 | try await self.scene.setActiveContext(project: projectContext, document: documentContext)
| `- warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |
18 | reply(nil)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:10:10: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
8 | }
9 |
10 | func setActiveContext(project xpcProjectContext: XPCProjectContext?, document xpcDocumentContext: XPCDocumentContext?, reply: @escaping (Error?) -> Void) {
| `- warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 | Task {
12 | do {
[172/178] Compiling ChimeExtensionInterface ExportedScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:101:10: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
100 | Task {
101 | await handleTermination(of: id)
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:99:27: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | extension ExportedHost {
99 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 | Task {
101 | await handleTermination(of: id)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:112:53: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | let id = process.id
111 |
112 | process.terminationHandler = { [weak self] in self?.nonisolatedHandleTermination(of: id) }
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:112:40: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | let id = process.id
111 |
112 | process.terminationHandler = { [weak self] in self?.nonisolatedHandleTermination(of: id) }
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:16:32: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 | let documentContext = try xpcDocumentContext.map { try JSONDecoder().decode(DocumentContext.self, from: $0) }
15 |
16 | try await self.scene.setActiveContext(project: projectContext, document: documentContext)
| `- warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |
18 | reply(nil)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:10:10: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
8 | }
9 |
10 | func setActiveContext(project xpcProjectContext: XPCProjectContext?, document xpcDocumentContext: XPCDocumentContext?, reply: @escaping (Error?) -> Void) {
| `- warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 | Task {
12 | do {
[173/178] Compiling ChimeExtensionInterface ExportedSceneHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:101:10: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
100 | Task {
101 | await handleTermination(of: id)
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:99:27: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | extension ExportedHost {
99 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 | Task {
101 | await handleTermination(of: id)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:112:53: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | let id = process.id
111 |
112 | process.terminationHandler = { [weak self] in self?.nonisolatedHandleTermination(of: id) }
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:112:40: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | let id = process.id
111 |
112 | process.terminationHandler = { [weak self] in self?.nonisolatedHandleTermination(of: id) }
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:16:32: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 | let documentContext = try xpcDocumentContext.map { try JSONDecoder().decode(DocumentContext.self, from: $0) }
15 |
16 | try await self.scene.setActiveContext(project: projectContext, document: documentContext)
| `- warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |
18 | reply(nil)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:10:10: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
8 | }
9 |
10 | func setActiveContext(project xpcProjectContext: XPCProjectContext?, document xpcDocumentContext: XPCDocumentContext?, reply: @escaping (Error?) -> Void) {
| `- warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 | Task {
12 | do {
[174/178] Compiling ChimeExtensionInterface ExtensionSceneProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:101:10: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
100 | Task {
101 | await handleTermination(of: id)
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:99:27: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | extension ExportedHost {
99 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 | Task {
101 | await handleTermination(of: id)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:112:53: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | let id = process.id
111 |
112 | process.terminationHandler = { [weak self] in self?.nonisolatedHandleTermination(of: id) }
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:112:40: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | let id = process.id
111 |
112 | process.terminationHandler = { [weak self] in self?.nonisolatedHandleTermination(of: id) }
| `- warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:16:32: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 | let documentContext = try xpcDocumentContext.map { try JSONDecoder().decode(DocumentContext.self, from: $0) }
15 |
16 | try await self.scene.setActiveContext(project: projectContext, document: documentContext)
| `- warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |
18 | reply(nil)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:10:10: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
8 | }
9 |
10 | func setActiveContext(project xpcProjectContext: XPCProjectContext?, document xpcDocumentContext: XPCDocumentContext?, reply: @escaping (Error?) -> Void) {
| `- warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
11 | Task {
12 | do {
[175/178] Compiling ChimeExtensionInterface Scenes.swift
[176/178] Compiling ChimeExtensionInterface CompletionService.swift
[177/178] Compiling ChimeExtensionInterface DefinitionService.swift
[178/178] Compiling ChimeExtensionInterface DiagnosticService.swift
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
Fetching https://github.com/mattmassicotte/Queue
Fetching https://github.com/ChimeHQ/LanguageClient
Fetching https://github.com/ChimeHQ/JSONRPC
Fetching https://github.com/ChimeHQ/AsyncXPCConnection
Fetching https://github.com/ChimeHQ/Extendable
Fetching https://github.com/ChimeHQ/ProcessEnv
[1/634] Fetching jsonrpc
[8/810] Fetching jsonrpc, asyncxpcconnection
[93/1118] Fetching jsonrpc, asyncxpcconnection, queue
[254/1759] Fetching jsonrpc, asyncxpcconnection, queue, languageclient
[267/3580] Fetching jsonrpc, asyncxpcconnection, queue, languageclient, languageserverprotocol
[481/3794] Fetching jsonrpc, asyncxpcconnection, queue, languageclient, languageserverprotocol, processenv
[674/4060] Fetching jsonrpc, asyncxpcconnection, queue, languageclient, languageserverprotocol, processenv, extendable
Fetched https://github.com/mattmassicotte/Queue from cache (0.91s)
Fetched https://github.com/ChimeHQ/LanguageClient from cache (0.91s)
[2794/3111] Fetching jsonrpc, asyncxpcconnection, languageserverprotocol, processenv, extendable
Fetched https://github.com/ChimeHQ/ProcessEnv from cache (0.95s)
Fetched https://github.com/ChimeHQ/JSONRPC from cache (0.95s)
Fetched https://github.com/ChimeHQ/AsyncXPCConnection from cache (0.95s)
Fetched https://github.com/ChimeHQ/Extendable from cache (0.95s)
[1567/1821] Fetching languageserverprotocol
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (1.01s)
Computing version for https://github.com/ChimeHQ/ProcessEnv
Computed https://github.com/ChimeHQ/ProcessEnv at 1.0.1 (1.49s)
Computing version for https://github.com/ChimeHQ/Extendable
Computed https://github.com/ChimeHQ/Extendable at 0.4.0 (0.43s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.43s)
Computing version for https://github.com/mattmassicotte/Queue
Computed https://github.com/mattmassicotte/Queue at 0.2.1 (0.43s)
Computing version for https://github.com/ChimeHQ/LanguageClient
Computed https://github.com/ChimeHQ/LanguageClient at 0.8.2 (0.44s)
Fetching https://github.com/Frizlab/FSEventsWrapper
Fetching https://github.com/groue/Semaphore
Fetching https://github.com/davbeck/swift-glob
[1/644] Fetching swift-glob
[59/904] Fetching swift-glob, fseventswrapper
[241/1197] Fetching swift-glob, fseventswrapper, semaphore
Fetched https://github.com/Frizlab/FSEventsWrapper from cache (0.71s)
[774/937] Fetching swift-glob, semaphore
Fetched https://github.com/davbeck/swift-glob from cache (0.78s)
Fetched https://github.com/groue/Semaphore from cache (0.78s)
Computing version for https://github.com/Frizlab/FSEventsWrapper
Computed https://github.com/Frizlab/FSEventsWrapper at 2.1.0 (3.75s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (0.42s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.42s)
Computing version for https://github.com/ChimeHQ/AsyncXPCConnection
Computed https://github.com/ChimeHQ/AsyncXPCConnection at 1.3.0 (0.43s)
Computing version for https://github.com/davbeck/swift-glob
Computed https://github.com/davbeck/swift-glob at 0.2.0 (0.41s)
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/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/Frizlab/FSEventsWrapper
Working copy of https://github.com/Frizlab/FSEventsWrapper resolved at 2.1.0
Creating working copy for https://github.com/ChimeHQ/LanguageClient
Working copy of https://github.com/ChimeHQ/LanguageClient resolved at 0.8.2
Creating working copy for https://github.com/ChimeHQ/AsyncXPCConnection
Working copy of https://github.com/ChimeHQ/AsyncXPCConnection resolved at 1.3.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/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.2.0
Creating working copy for https://github.com/ChimeHQ/Extendable
Working copy of https://github.com/ChimeHQ/Extendable resolved at 0.4.0
BUILD FAILURE 6.2 macosSpm