Build Information
Failed to build ChimeKit, reference main (97be09
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 02:02:13 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/ChimeKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 97be09c Add ocaml interface UTI
Cloned https://github.com/ChimeHQ/ChimeKit.git
Revision (git rev-parse @):
97be09c0e424226e4a50d73a5dd1ce1ca698d258
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/ChimeKit.git at main
========================================
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/14] Write sources
[13/14] Write swift-version-1EA4D86E10B52AF.txt
[15/54] Compiling GlobPattern Lexer.swift
[16/54] Compiling GlobPattern Parser.swift
[17/54] Compiling GlobPattern GlobPattern.swift
[18/54] Emitting module GlobPattern
[19/54] Emitting module Queue
[20/54] Compiling Queue AsyncSerialQueue.swift
[21/54] Emitting module JSONRPC
[22/55] Emitting module ProcessEnv
[23/55] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
[24/55] Compiling FSEventsWrapper FSEventAsyncStream.swift
[25/55] Compiling ProcessEnv Process+Output.swift
[26/55] Compiling ProcessEnv Process+Parameters.swift
[27/55] Compiling JSONRPC DataChannel+PredefinedMessages.swift
[28/55] Compiling JSONRPC DataChannel+Stdio.swift
[29/55] Compiling JSONRPC JSONId.swift
[30/55] Compiling JSONRPC DataChannel.swift
[31/55] Compiling JSONRPC AsyncStreamPolyfill.swift
[32/55] Compiling JSONRPC DataChannel+Actor.swift
[33/55] Compiling JSONRPC DataChannel+WebSocket.swift
[34/55] Compiling Semaphore AsyncSemaphore.swift
[35/55] Emitting module Semaphore
[36/55] Compiling Queue AsyncQueue.swift
[37/55] Compiling AsyncXPCConnection RemoteXPCService.swift
[38/55] Compiling JSONRPC JSONValueDecoder.swift
[39/55] Compiling JSONRPC JSONValue.swift
[40/55] Emitting module AsyncXPCConnection
[41/55] Compiling AsyncXPCConnection NSXPCConnection+Continuations.swift
[42/55] Compiling AsyncXPCConnection QueuedRemoteXPCService.swift
[43/55] Compiling JSONRPC JSONRPCError.swift
[44/55] Compiling JSONRPC JSONRPCSession.swift
[45/55] Compiling JSONRPC Protocol.swift
[46/55] Compiling FSEventsWrapper FSEvent.swift
[47/55] Compiling FSEventsWrapper FSEventStream.swift
[48/55] Emitting module FSEventsWrapper
[49/113] Compiling LanguageServerProtocol Hover.swift
[50/113] Compiling LanguageServerProtocol Implementation.swift
[51/113] Compiling LanguageServerProtocol InlayHint.swift
[52/113] Compiling LanguageServerProtocol LinkedEditingRange.swift
[53/113] Compiling LanguageServerProtocol Moniker.swift
[54/113] Compiling LanguageServerProtocol OnTypeFormatting.swift
[55/119] Compiling LanguageServerProtocol AsyncStreamPolyfill.swift
[56/119] Compiling LanguageServerProtocol NSRegularExpression+Matching.swift
[57/119] Compiling LanguageServerProtocol Protocol+Mutating.swift
[58/119] Compiling LanguageServerProtocol ServerCapabilities+Extensions.swift
[59/119] Compiling LanguageServerProtocol Snippet.swift
[60/119] Compiling LanguageServerProtocol TokenRepresentation.swift
[61/119] Compiling LanguageServerProtocol BaseProtocol.swift
[62/119] Compiling LanguageServerProtocol AsyncByteSequence.swift
[63/119] Compiling LanguageServerProtocol AsyncMessageFramingSequence.swift
[64/119] Compiling LanguageServerProtocol DataChannel+MessageFraming.swift
[65/119] Compiling LanguageServerProtocol MessageFraming.swift
[66/119] Compiling LanguageServerProtocol General.swift
[67/119] Compiling LanguageServerProtocol CallHeirarchy.swift
[68/119] Compiling LanguageServerProtocol CodeAction.swift
[69/119] Emitting module LanguageServerProtocol
[70/119] Compiling LanguageServerProtocol References.swift
[71/119] Compiling LanguageServerProtocol Rename.swift
[72/119] Compiling LanguageServerProtocol SelectionRange.swift
[73/119] Compiling LanguageServerProtocol SemanticTokens.swift
[74/119] Compiling LanguageServerProtocol SignatureHelp.swift
[75/119] Compiling LanguageServerProtocol TypeDefinition.swift
[76/119] Compiling LanguageServerProtocol Utility.swift
[77/119] Compiling LanguageServerProtocol Window.swift
[78/119] Compiling LanguageServerProtocol ShowMessageRequest.swift
[79/119] Compiling LanguageServerProtocol Workspace.swift
[80/119] Compiling LanguageServerProtocol ApplyEdit.swift
[81/119] Compiling LanguageServerProtocol Configuration.swift
[82/119] Compiling LanguageServerProtocol CodeLens.swift
[83/119] Compiling LanguageServerProtocol ColorPresentation.swift
[84/119] Compiling LanguageServerProtocol Completion.swift
[85/119] Compiling LanguageServerProtocol Declaration.swift
[86/119] Compiling LanguageServerProtocol Definition.swift
[87/119] Compiling LanguageServerProtocol Diagnostics.swift
[88/119] Compiling LanguageServerProtocol ExecuteCommand.swift
[89/119] Compiling LanguageServerProtocol Folders.swift
[90/119] Compiling LanguageServerProtocol Symbol.swift
[91/119] Compiling LanguageServerProtocol WillCreateFiles.swift
[92/119] Compiling LanguageServerProtocol WillDeleteFiles.swift
[93/119] Compiling LanguageServerProtocol WillRenameFiles.swift
[94/119] Compiling Extendable ConnectionAccepter.swift
[95/119] Compiling LanguageServerProtocol TypeHeirarchy.swift
[96/119] Compiling LanguageServerProtocol LanguageServerProtocol.swift
[97/119] Compiling LanguageServerProtocol ServerCapabilities.swift
[98/119] Compiling LanguageServerProtocol TextSynchronization.swift
[99/119] Compiling LanguageServerProtocol ThreeTypeOption.swift
[100/119] Compiling LanguageServerProtocol TwoTypeOption.swift
[101/119] Compiling LanguageServerProtocol DocumentColor.swift
[102/119] Compiling LanguageServerProtocol DocumentHighlight.swift
[103/119] Compiling LanguageServerProtocol DocumentLink.swift
[104/119] Compiling LanguageServerProtocol DocumentSymbol.swift
[105/119] Compiling LanguageServerProtocol FoldingRange.swift
[106/119] Compiling LanguageServerProtocol Formatting.swift
[107/119] Compiling LanguageServerProtocol BasicStructures.swift
[108/119] Compiling LanguageServerProtocol Client.swift
[109/119] Compiling LanguageServerProtocol JSONRPCServerConnection.swift
[110/119] Compiling LanguageServerProtocol MockServer.swift
[111/119] Compiling LanguageServerProtocol ServerConnection.swift
[112/119] Compiling LanguageServerProtocol ClientCapabilities.swift
[113/119] Compiling LanguageServerProtocol ErrorCodes.swift
[114/129] Emitting module Extendable
[115/129] Compiling Extendable AppExtension+Init.swift
[116/129] Compiling Extendable ConnectableSceneExtension.swift
[117/129] Compiling Extendable ConnectableExtension.swift
[118/129] Compiling Extendable AppExtensionSceneGroup.swift
[119/129] Compiling Extendable ConnectingAppExtensionScene.swift
[120/129] Compiling LanguageClient StatefulServer.swift
[121/170] Compiling LanguageClient AsyncStreamTap.swift
[122/170] Compiling LanguageClient Server+Shutdown.swift
[123/170] Compiling LanguageClient RestartingServer.swift
[124/170] Compiling LanguageClient FileHandle+DataStream.swift
[125/170] Compiling LanguageClient DataChannel+UserScript.swift
[126/170] Compiling LanguageClient FileEventAsyncSequence.swift
[127/170] Emitting module LanguageClient
[128/170] Compiling LanguageClient DataChannel+LocalProcess.swift
[129/170] Compiling LanguageClient InitializingServer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[130/170] Emitting module ChimeExtensionInterface
/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,
[131/174] Compiling ChimeExtensionInterface ExportedHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:103:10: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
102 | Task {
103 | 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
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:101:27: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 |
100 | extension ExportedHost {
101 | 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
102 | Task {
103 | await handleTermination(of: id)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:114:53: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | let id = process.id
113 |
114 | 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:114:40: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | let id = process.id
113 |
114 | 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:17:32: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | let documentContext = try xpcDocumentContext.map { try JSONDecoder().decode(DocumentContext.self, from: $0) }
16 |
17 | 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
18 |
19 | reply(nil)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:11:10: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
9 | }
10 |
11 | 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
12 | Task {
13 | do {
[132/174] Compiling ChimeExtensionInterface ExportedScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:103:10: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
102 | Task {
103 | 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
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:101:27: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 |
100 | extension ExportedHost {
101 | 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
102 | Task {
103 | await handleTermination(of: id)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:114:53: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | let id = process.id
113 |
114 | 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:114:40: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | let id = process.id
113 |
114 | 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:17:32: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | let documentContext = try xpcDocumentContext.map { try JSONDecoder().decode(DocumentContext.self, from: $0) }
16 |
17 | 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
18 |
19 | reply(nil)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:11:10: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
9 | }
10 |
11 | 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
12 | Task {
13 | do {
[133/174] Compiling ChimeExtensionInterface ExportedSceneHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:103:10: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
102 | Task {
103 | 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
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:101:27: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 |
100 | extension ExportedHost {
101 | 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
102 | Task {
103 | await handleTermination(of: id)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:114:53: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | let id = process.id
113 |
114 | 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:114:40: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | let id = process.id
113 |
114 | 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:17:32: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | let documentContext = try xpcDocumentContext.map { try JSONDecoder().decode(DocumentContext.self, from: $0) }
16 |
17 | 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
18 |
19 | reply(nil)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:11:10: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
9 | }
10 |
11 | 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
12 | Task {
13 | do {
[134/174] Compiling ChimeExtensionInterface ExtensionSceneProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:103:10: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | private nonisolated func nonisolatedHandleTermination(of id: UUID) {
102 | Task {
103 | 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
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:101:27: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
99 |
100 | extension ExportedHost {
101 | 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
102 | Task {
103 | await handleTermination(of: id)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:114:53: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | let id = process.id
113 |
114 | 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedHost.swift:114:40: warning: capture of non-sendable type 'Host.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | let id = process.id
113 |
114 | 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:17:32: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
15 | let documentContext = try xpcDocumentContext.map { try JSONDecoder().decode(DocumentContext.self, from: $0) }
16 |
17 | 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
18 |
19 | reply(nil)
/Users/admin/builder/spi-builder-workspace/Sources/ChimeExtensionInterface/XPC/ExportedScene.swift:11:10: warning: capture of non-sendable type 'Scene.Type' in an isolated closure; this is an error in the Swift 6 language mode
9 | }
10 |
11 | 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
12 | Task {
13 | do {
[135/174] 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 | }
[136/174] 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 | }
[137/174] 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 | }
[138/174] 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 | }
[139/174] Compiling ChimeExtensionInterface ServicePlaceholders.swift
[140/174] Compiling ChimeExtensionInterface CompletionService.swift
[141/174] Compiling ChimeExtensionInterface DefinitionService.swift
[142/174] Compiling ChimeExtensionInterface DiagnosticService.swift
[143/174] 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>
[144/174] Compiling ChimeExtensionInterface ExecutionParameters.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>
[145/174] 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>
[146/174] 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>
[147/174] 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>
[148/174] Compiling ChimeExtensionInterface LaunchedProcess.swift
[149/174] Compiling ChimeExtensionInterface LineRelativeTextPosition.swift
[150/174] Compiling ChimeExtensionInterface LineRelativeTextRange.swift
[151/174] Compiling ChimeExtensionInterface ProjectContext.swift
[152/174] Compiling ChimeExtensionInterface ServiceConfiguration.swift
[153/174] Compiling ChimeExtensionInterface StandaloneExtension.swift
[154/174] Compiling ChimeExtensionInterface UTType+Filename.swift
[155/174] Compiling ChimeExtensionInterface UTType+Languages.swift
[156/174] Compiling ChimeExtensionInterface ExportedExtension.swift
[157/174] Compiling ChimeExtensionInterface TextChange.swift
[158/174] Compiling ChimeExtensionInterface TextRange.swift
[159/174] Compiling ChimeExtensionInterface TextTarget.swift
[160/174] Compiling ChimeExtensionInterface SceneContextView.swift
[161/174] Compiling ChimeExtensionInterface Scenes.swift
[162/174] Compiling ChimeExtensionInterface FormattingService.swift
[163/174] Compiling ChimeExtensionInterface SemanticDetailsService.swift
[164/174] Compiling ChimeExtensionInterface SymbolQueryService.swift
[165/174] Compiling ChimeExtensionInterface TokenService.swift
[166/174] Compiling ChimeExtensionInterface CombinedTextPosition.swift
[167/174] Compiling ChimeExtensionInterface CombinedTextRange.swift
[168/174] Compiling ChimeExtensionInterface DocumentConfiguration.swift
[169/174] Compiling ChimeExtensionInterface DocumentContext.swift
[170/174] Compiling ChimeExtensionInterface ExtensionConfiguration.swift
[171/174] 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>
[172/174] 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>
[173/174] 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>
[174/174] 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>
Fetching https://github.com/ChimeHQ/LanguageClient
[1/641] Fetching languageclient
Fetched https://github.com/ChimeHQ/LanguageClient from cache (0.78s)
Fetching https://github.com/mattmassicotte/Queue
Fetching https://github.com/ChimeHQ/ProcessEnv
Fetching https://github.com/groue/Semaphore
Fetching https://github.com/ChimeHQ/GlobPattern
Fetching https://github.com/ChimeHQ/LanguageServerProtocol
Fetching https://github.com/ChimeHQ/JSONRPC
Fetching https://github.com/Frizlab/FSEventsWrapper
[1/308] Fetching queue
[202/568] Fetching queue, fseventswrapper
[387/861] Fetching queue, fseventswrapper, semaphore
[598/1075] Fetching queue, fseventswrapper, semaphore, processenv
[688/1709] Fetching queue, fseventswrapper, semaphore, processenv, jsonrpc
[872/3530] Fetching queue, fseventswrapper, semaphore, processenv, jsonrpc, languageserverprotocol
[1000/3591] Fetching queue, fseventswrapper, semaphore, processenv, jsonrpc, languageserverprotocol, globpattern
Fetched https://github.com/mattmassicotte/Queue from cache (0.75s)
[983/3283] Fetching fseventswrapper, semaphore, processenv, jsonrpc, languageserverprotocol, globpattern
Fetching https://github.com/ChimeHQ/Extendable
Fetched https://github.com/ChimeHQ/GlobPattern from cache (0.78s)
Fetched https://github.com/ChimeHQ/ProcessEnv from cache (0.78s)
Fetched https://github.com/groue/Semaphore from cache (0.78s)
[549/2715] Fetching fseventswrapper, jsonrpc, languageserverprotocol
Fetching https://github.com/ChimeHQ/AsyncXPCConnection
Fetched https://github.com/ChimeHQ/LanguageServerProtocol from cache (1.00s)
Fetched https://github.com/Frizlab/FSEventsWrapper from cache (1.00s)
Fetched https://github.com/ChimeHQ/JSONRPC from cache (1.00s)
[1/176] Fetching asyncxpcconnection
[93/442] Fetching asyncxpcconnection, extendable
Fetched https://github.com/ChimeHQ/AsyncXPCConnection from cache (0.73s)
Fetched https://github.com/ChimeHQ/Extendable from cache (0.78s)
Computing version for https://github.com/ChimeHQ/GlobPattern
Computed https://github.com/ChimeHQ/GlobPattern at 0.1.1 (3.89s)
Computing version for https://github.com/Frizlab/FSEventsWrapper
Computed https://github.com/Frizlab/FSEventsWrapper at 2.1.0 (0.48s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (0.39s)
Computing version for https://github.com/ChimeHQ/ProcessEnv
Computed https://github.com/ChimeHQ/ProcessEnv at 1.0.1 (0.37s)
Computing version for https://github.com/ChimeHQ/Extendable
Computed https://github.com/ChimeHQ/Extendable at 0.4.0 (0.38s)
Computing version for https://github.com/mattmassicotte/Queue
Computed https://github.com/mattmassicotte/Queue at 0.2.1 (0.39s)
Computing version for https://github.com/ChimeHQ/JSONRPC
Computed https://github.com/ChimeHQ/JSONRPC at 0.9.2 (0.40s)
Computing version for https://github.com/ChimeHQ/LanguageServerProtocol
Computed https://github.com/ChimeHQ/LanguageServerProtocol at 0.14.0 (0.40s)
Computing version for https://github.com/ChimeHQ/AsyncXPCConnection
Computed https://github.com/ChimeHQ/AsyncXPCConnection at 1.3.0 (0.39s)
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 f1610f7074b74ca3c1d6abd586014626842f09c5
Creating working copy for https://github.com/ChimeHQ/GlobPattern
Working copy of https://github.com/ChimeHQ/GlobPattern resolved at 0.1.1
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/LanguageServerProtocol
Working copy of https://github.com/ChimeHQ/LanguageServerProtocol resolved at 0.14.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/Extendable
Working copy of https://github.com/ChimeHQ/Extendable resolved at 0.4.0
Creating working copy for https://github.com/groue/Semaphore
Working copy of https://github.com/groue/Semaphore resolved at 0.1.0
Creating working copy for https://github.com/mattmassicotte/Queue
Working copy of https://github.com/mattmassicotte/Queue resolved at 0.2.1
Creating working copy for https://github.com/ChimeHQ/ProcessEnv
Working copy of https://github.com/ChimeHQ/ProcessEnv resolved at 1.0.1
BUILD FAILURE 6.2 macosSpm