The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ACP, reference main (6e7e67), with Swift 6.2 for macOS (SPM) on 26 Apr 2026 04:38:58 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aptove/swift-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aptove/swift-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e7e67c fix: correct package URL, name, and client example in README
Cloned https://github.com/aptove/swift-sdk.git
Revision (git rev-parse @):
6e7e67c8e650997e5a6eca670e01dcec338b815b
SUCCESS checkout https://github.com/aptove/swift-sdk.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/aptove/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/34] Write sources
[7/34] Write SimpleClient-entitlement.plist
[8/34] Write sources
[9/34] Write SimpleAgentApp-entitlement.plist
[10/34] Write InteractiveClient-entitlement.plist
[11/34] Write sources
[13/34] Write EchoAgent-entitlement.plist
[14/34] Write sources
[21/34] Write swift-version--3CB7CFEC50E0D141.txt
[23/59] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/59] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/60] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[26/60] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/60] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[28/60] Emitting module InternalCollectionsUtilities
[29/60] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/60] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[31/60] Compiling InternalCollectionsUtilities Span+Extras.swift
[32/60] Compiling InternalCollectionsUtilities String+Padding.swift
[33/60] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[34/60] Compiling InternalCollectionsUtilities _SortedCollection.swift
[35/60] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[36/60] Compiling InternalCollectionsUtilities Integer rank.swift
[37/60] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[38/60] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[39/60] Compiling InternalCollectionsUtilities Debugging.swift
[40/60] Compiling InternalCollectionsUtilities Descriptions.swift
[41/60] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[42/60] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[43/362] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[44/362] Compiling _RopeModule Rope+_UnsafeHandle.swift
[45/362] Compiling _RopeModule Rope.swift
[46/362] Compiling _RopeModule RopeElement.swift
[47/365] Compiling _RopeModule BigString+Builder.swift
[48/365] Compiling _RopeModule BigString+Contents.swift
[49/365] Compiling _RopeModule BigString+Debugging.swift
[50/365] Compiling _RopeModule BigString+Index.swift
[51/365] Compiling _RopeModule BigString+Ingester.swift
[52/365] Compiling _RopeModule BigString+Invariants.swift
[53/365] Compiling _RopeModule BigString+Metrics.swift
[54/365] Compiling ContainersPreview Inout.swift
[55/365] Compiling ContainersPreview InputSpan.swift
[56/365] Compiling ContainersPreview Shared.swift
[57/365] Compiling _RopeModule BigString+CustomStringConvertible.swift
[58/365] Compiling _RopeModule BigString+Equatable.swift
[59/365] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[60/365] Compiling _RopeModule BigString+Hashing.swift
[61/365] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[62/365] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[63/365] Compiling _RopeModule BigString+Sequence.swift
[64/365] Compiling _RopeModule BigString+TextOutputStream.swift
[65/365] Compiling _RopeModule BigString+Summary.swift
[66/365] Compiling _RopeModule BigString+Append.swift
[67/365] Compiling _RopeModule BigString+Initializers.swift
[68/365] Compiling _RopeModule BigString+Insert.swift
[69/365] Compiling _RopeModule BigString+Managing Breaks.swift
[70/365] Compiling _RopeModule BigString+RemoveSubrange.swift
[71/365] Compiling _RopeModule BigString+ReplaceSubrange.swift
[72/365] Compiling _RopeModule BigString+Split.swift
[73/365] Compiling _RopeModule Range+BigString.swift
[74/365] Compiling _RopeModule RopeMetric.swift
[81/371] Emitting module ContainersPreview
[82/371] Compiling _RopeModule Rope+Debugging.swift
[83/371] Compiling _RopeModule Rope+Invariants.swift
[84/371] Compiling _RopeModule Rope+_Node.swift
[85/371] Compiling _RopeModule Rope+_Storage.swift
[86/371] Compiling HeapModule Heap+UnsafeHandle.swift
[87/371] Compiling HeapModule Heap+Descriptions.swift
[88/371] Compiling HeapModule _HeapNode.swift
[89/371] Compiling HeapModule Heap.swift
[90/371] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[91/371] Compiling HeapModule Heap+Invariants.swift
[92/371] Emitting module HeapModule
[93/412] Compiling DequeModule RigidDeque+Insertions.swift
[94/412] Compiling DequeModule RigidDeque+Prepend.swift
[95/412] Compiling DequeModule UniqueDeque+Equatable.swift
[96/412] Compiling DequeModule UniqueDeque+Experimental.swift
[97/412] Compiling DequeModule UniqueDeque+Hashable.swift
[98/412] Compiling DequeModule UniqueDeque+Initializers.swift
[99/418] Compiling DequeModule RigidDeque+Testing.swift
[100/418] Compiling DequeModule RigidDeque.swift
[101/418] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[102/418] Compiling DequeModule Deque+Extras.swift
[103/418] Compiling DequeModule Deque+Hashable.swift
[104/418] Compiling DequeModule Deque+Testing.swift
[105/418] Compiling DequeModule Deque.swift
[106/418] Compiling DequeModule _DequeBuffer.swift
[107/418] Compiling DequeModule _DequeBufferHeader.swift
[108/418] Compiling DequeModule RigidDeque+Append.swift
[109/418] Compiling DequeModule RigidDeque+Removals.swift
[110/418] Compiling DequeModule RigidDeque+Replacements.swift
[111/418] Compiling _RopeModule BigString+Chunk+UTF16.swift
[112/418] Compiling _RopeModule BigString+Chunk+UTF8.swift
[113/418] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
[114/418] Compiling _RopeModule BigString+Chunk.swift
[115/418] Compiling _RopeModule BigString+BidirectionalCollection.swift
[116/418] Compiling BitCollections BitSet._UnsafeHandle.swift
[117/418] Compiling _RopeModule BigString+Chunk+Character.swift
[118/418] Compiling _RopeModule BigString+Chunk+Counts.swift
[119/418] Compiling _RopeModule BigString+Chunk+Description.swift
[120/418] Compiling _RopeModule BigString+Chunk+Index.swift
[121/418] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[122/418] Compiling _RopeModule BigString+Chunk+Splitting.swift
[123/418] Compiling DequeModule UniqueDeque+Consumption.swift
[124/418] Compiling DequeModule UniqueDeque+Container.swift
[125/418] Compiling DequeModule UniqueDeque+Descriptions.swift
[126/418] Compiling _RopeModule BigString.swift
[127/418] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[128/418] Compiling _RopeModule BigString+Chunk+Breaks.swift
[129/418] Compiling HashTreeCollections TreeSet+Equatable.swift
[130/418] Compiling _RopeModule Rope+MutatingForEach.swift
[131/418] Compiling _RopeModule BigString+UTF16View.swift
[132/418] Compiling _RopeModule BigString+UTF8View.swift
[133/418] Compiling _RopeModule BigString+UnicodeScalarView.swift
[134/418] Compiling _RopeModule BigSubstring+UTF16View.swift
[135/418] Compiling _RopeModule BigSubstring+UTF8View.swift
[136/418] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[137/418] Compiling _RopeModule BigSubstring.swift
[138/418] Compiling _RopeModule Rope+Builder.swift
[139/418] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[140/418] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[141/418] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[142/418] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[143/418] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[144/418] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[145/426] Compiling DequeModule RigidDeque+Consumption.swift
[146/426] Compiling DequeModule RigidDeque+Container.swift
[147/426] Compiling DequeModule RigidDeque+Descriptions.swift
[148/426] Compiling DequeModule RigidDeque+Equatable.swift
[149/426] Compiling DequeModule RigidDeque+Experimental.swift
[150/426] Compiling DequeModule UniqueDeque+Append.swift
[158/430] Compiling DequeModule _UnsafeDequeHandle.swift
[159/430] Compiling DequeModule _UnsafeDequeSegments.swift
[170/430] Compiling DequeModule RigidDeque+Hashable.swift
[171/430] Compiling DequeModule RigidDeque+Initializers.swift
[184/430] Compiling DequeModule UniqueDeque.swift
[185/430] Compiling DequeModule _DequeSlot.swift
[202/430] Compiling OrderedCollections OrderedSet+SubSequence.swift
[203/430] Compiling OrderedCollections OrderedSet+Testing.swift
[204/430] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[205/430] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[206/430] Compiling OrderedCollections OrderedSet.swift
[207/430] Compiling OrderedCollections _UnsafeBitset.swift
[219/430] Compiling DequeModule Deque._Storage.swift
[220/430] Compiling DequeModule UniqueDeque+Insertions.swift
[221/430] Compiling DequeModule UniqueDeque+Prepend.swift
[222/430] Compiling DequeModule UniqueDeque+Removals.swift
[223/430] Compiling DequeModule UniqueDeque+Replacements.swift
[239/430] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[240/430] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[241/430] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[242/430] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[243/430] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[244/430] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[245/430] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[246/430] Compiling HashTreeCollections TreeSet.swift
[260/437] Emitting module BitCollections
[261/437] Compiling DequeModule Deque+Codable.swift
[262/437] Compiling DequeModule Deque+Collection.swift
[263/437] Compiling DequeModule Deque+CustomReflectable.swift
[264/437] Compiling DequeModule Deque+Descriptions.swift
[265/437] Compiling DequeModule Deque+Equatable.swift
[266/437] Compiling DequeModule Deque._UnsafeHandle.swift
[331/437] Compiling Logging LogHandler.swift
[332/437] Compiling Logging LogEvent.swift
[333/437] Emitting module Logging
[334/437] Compiling Logging Locks.swift
[335/437] Compiling Logging Logging.swift
[336/437] Compiling Logging MetadataProvider.swift
[362/437] Emitting module OrderedCollections
[372/437] Emitting module _RopeModule
[373/437] Compiling _RopeModule Rope+Remove.swift
[374/437] Compiling _RopeModule Rope+RemoveSubrange.swift
[375/437] Compiling _RopeModule Rope+Split.swift
[376/437] Compiling _RopeModule Optional Utilities.swift
[377/437] Compiling _RopeModule String Utilities.swift
[378/437] Compiling _RopeModule String.Index+ABI.swift
[379/437] Compiling _RopeModule _CharacterRecognizer.swift
[420/437] Emitting module HashTreeCollections
[425/437] Emitting module DequeModule
[426/443] Compiling Collections HashTreeCollections reexports.swift
[427/443] Compiling Collections OrderedCollections reexports.swift
[428/443] Compiling Collections DequeModule reexports.swift
[429/443] Compiling Collections HeapModule reexports.swift
[430/443] Emitting module Collections
[431/443] Compiling Collections BitCollections reexports.swift
[432/480] Emitting module ACPModel
[433/484] Compiling ACPModel PlanEntry.swift
[434/484] Compiling ACPModel Priority.swift
[435/484] Compiling ACPModel ProtocolVersion.swift
[436/484] Compiling ACPModel RequestId.swift
[437/484] Compiling ACPModel JsonValue.swift
[438/484] Compiling ACPModel McpServer.swift
[439/484] Compiling ACPModel ModelId.swift
[440/484] Compiling ACPModel ModelMessages.swift
[441/484] Compiling ACPModel SessionModeId.swift
[442/484] Compiling ACPModel SessionModeMessages.swift
[443/484] Compiling ACPModel SessionOperations.swift
[444/484] Compiling ACPModel SessionUpdate.swift
[445/484] Compiling ACPModel SessionConfigValueId.swift
[446/484] Compiling ACPModel SessionId.swift
[447/484] Compiling ACPModel SessionInfo.swift
[448/484] Compiling ACPModel SessionMessages.swift
[449/484] Compiling ACPModel ACPModel.swift
[450/484] Compiling ACPModel AcpProtocols.swift
[451/484] Compiling ACPModel Annotations.swift
[452/484] Compiling ACPModel AuthMessages.swift
[453/484] Compiling ACPModel Role.swift
[454/484] Compiling ACPModel SessionConfigGroupId.swift
[455/484] Compiling ACPModel SessionConfigId.swift
[456/484] Compiling ACPModel SessionConfigOption.swift
[457/484] Compiling ACPModel AvailableCommand.swift
[458/484] Compiling ACPModel Capabilities.swift
[459/484] Compiling ACPModel ContentBlock.swift
[460/484] Compiling ACPModel Cursor.swift
[461/484] Compiling ACPModel Notifications.swift
[462/484] Compiling ACPModel Pagination.swift
[463/484] Compiling ACPModel PermissionMessages.swift
[464/484] Compiling ACPModel PermissionOptionId.swift
[465/484] Compiling ACPModel FileMessages.swift
[466/484] Compiling ACPModel Implementation.swift
[467/484] Compiling ACPModel InitializeMessages.swift
[468/484] Compiling ACPModel JsonRpc.swift
[469/484] Compiling ACPModel SessionUpdateTypes.swift
[470/484] Compiling ACPModel Terminal.swift
[471/484] Compiling ACPModel ToolCall.swift
[472/484] Compiling ACPModel ToolCallId.swift
[473/501] Compiling ACP TerminalOperations.swift
[474/501] Compiling ACP StdioTransport.swift
[475/502] Compiling ACP Transport.swift
[476/502] Compiling ACP ProtocolExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/ProtocolExtensions.swift:187:17: warning: capture of non-Sendable type 'P.Type' in an isolated closure [#SendableMetatypes]
185 |             if let paramsValue = request.params {
186 |                 let data = try JSONEncoder().encode(paramsValue)
187 |                 params = try JSONDecoder().decode(P.self, from: data)
    |                 `- warning: capture of non-Sendable type 'P.Type' in an isolated closure [#SendableMetatypes]
188 |             } else {
189 |                 throw ProtocolError.decodingFailed(underlying: NSError(
/Users/admin/builder/spi-builder-workspace/Sources/ACP/ProtocolExtensions.swift:197:30: warning: capture of non-Sendable type 'R.Type' in an isolated closure [#SendableMetatypes]
195 |
196 |             // Execute handler
197 |             let result = try await handler(params)
    |                              `- warning: capture of non-Sendable type 'R.Type' in an isolated closure [#SendableMetatypes]
198 |
199 |             // Encode result as JsonValue
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[477/502] Compiling ACP RemoteClientOperations.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/ProtocolExtensions.swift:187:17: warning: capture of non-Sendable type 'P.Type' in an isolated closure [#SendableMetatypes]
185 |             if let paramsValue = request.params {
186 |                 let data = try JSONEncoder().encode(paramsValue)
187 |                 params = try JSONDecoder().decode(P.self, from: data)
    |                 `- warning: capture of non-Sendable type 'P.Type' in an isolated closure [#SendableMetatypes]
188 |             } else {
189 |                 throw ProtocolError.decodingFailed(underlying: NSError(
/Users/admin/builder/spi-builder-workspace/Sources/ACP/ProtocolExtensions.swift:197:30: warning: capture of non-Sendable type 'R.Type' in an isolated closure [#SendableMetatypes]
195 |
196 |             // Execute handler
197 |             let result = try await handler(params)
    |                              `- warning: capture of non-Sendable type 'R.Type' in an isolated closure [#SendableMetatypes]
198 |
199 |             // Encode result as JsonValue
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[478/502] Compiling ACP Event.swift
[479/502] Compiling ACP FileSystemOperations.swift
[480/502] Compiling ACP ClientSession.swift
[481/502] Compiling ACP ClientSessionOperations.swift
[482/502] Compiling ACP ACP.swift
[483/502] Compiling ACP Agent.swift
[484/502] Emitting module ACP
[485/502] Compiling ACP AgentConnection.swift
[486/502] Compiling ACP AgentContext.swift
[487/502] Compiling ACP Client.swift
[488/502] Compiling ACP ClientConnection.swift
[489/502] Compiling ACP PaginatedResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/PaginatedResponse.swift:128:27: warning: capture of non-Sendable type 'Request.Type' in an isolated closure [#SendableMetatypes]
126 |     ) -> PaginatedAsyncSequence<Item> {
127 |         PaginatedAsyncSequence { [self] cursor in
128 |             let request = requestFactory(cursor)
    |                           `- warning: capture of non-Sendable type 'Request.Type' in an isolated closure [#SendableMetatypes]
129 |             let jsonRpcResponse = try await self.sendRequest(method: method, params: request)
130 |
/Users/admin/builder/spi-builder-workspace/Sources/ACP/PaginatedResponse.swift:133:46: warning: capture of non-Sendable type 'Response.Type' in an isolated closure [#SendableMetatypes]
131 |             // Decode the result to the expected response type
132 |             let data = try JSONEncoder().encode(jsonRpcResponse.result)
133 |             let response = try JSONDecoder().decode(Response.self, from: data)
    |                                              `- warning: capture of non-Sendable type 'Response.Type' in an isolated closure [#SendableMetatypes]
134 |
135 |             return responseHandler(response)
/Users/admin/builder/spi-builder-workspace/Sources/ACP/PaginatedResponse.swift:129:50: warning: sending value of non-Sendable type 'Request' risks causing data races [#SendingRisksDataRace]
127 |         PaginatedAsyncSequence { [self] cursor in
128 |             let request = requestFactory(cursor)
129 |             let jsonRpcResponse = try await self.sendRequest(method: method, params: request)
    |                                                  |                                   `- note: isolated conformance to protocol 'Encodable' can be introduced here
    |                                                  |- warning: sending value of non-Sendable type 'Request' risks causing data races [#SendingRisksDataRace]
    |                                                  `- note: sending task-isolated value of non-Sendable type 'Request' to actor-isolated instance method 'sendRequest(method:params:timeoutSeconds:)' risks causing races in between task-isolated and actor-isolated uses
130 |
131 |             // Decode the result to the expected response type
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[490/502] Compiling ACP Protocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/ACP/PaginatedResponse.swift:128:27: warning: capture of non-Sendable type 'Request.Type' in an isolated closure [#SendableMetatypes]
126 |     ) -> PaginatedAsyncSequence<Item> {
127 |         PaginatedAsyncSequence { [self] cursor in
128 |             let request = requestFactory(cursor)
    |                           `- warning: capture of non-Sendable type 'Request.Type' in an isolated closure [#SendableMetatypes]
129 |             let jsonRpcResponse = try await self.sendRequest(method: method, params: request)
130 |
/Users/admin/builder/spi-builder-workspace/Sources/ACP/PaginatedResponse.swift:133:46: warning: capture of non-Sendable type 'Response.Type' in an isolated closure [#SendableMetatypes]
131 |             // Decode the result to the expected response type
132 |             let data = try JSONEncoder().encode(jsonRpcResponse.result)
133 |             let response = try JSONDecoder().decode(Response.self, from: data)
    |                                              `- warning: capture of non-Sendable type 'Response.Type' in an isolated closure [#SendableMetatypes]
134 |
135 |             return responseHandler(response)
/Users/admin/builder/spi-builder-workspace/Sources/ACP/PaginatedResponse.swift:129:50: warning: sending value of non-Sendable type 'Request' risks causing data races [#SendingRisksDataRace]
127 |         PaginatedAsyncSequence { [self] cursor in
128 |             let request = requestFactory(cursor)
129 |             let jsonRpcResponse = try await self.sendRequest(method: method, params: request)
    |                                                  |                                   `- note: isolated conformance to protocol 'Encodable' can be introduced here
    |                                                  |- warning: sending value of non-Sendable type 'Request' risks causing data races [#SendingRisksDataRace]
    |                                                  `- note: sending task-isolated value of non-Sendable type 'Request' to actor-isolated instance method 'sendRequest(method:params:timeoutSeconds:)' risks causing races in between task-isolated and actor-isolated uses
130 |
131 |             // Decode the result to the expected response type
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[491/513] Emitting module InteractiveClient
[492/513] Emitting module EchoAgent
[493/513] Compiling EchoAgent main.swift
[493/513] Write Objects.LinkFileList
[495/513] Emitting module SimpleClient
[496/513] Compiling SimpleClient main.swift
[496/513] Write Objects.LinkFileList
[498/513] Compiling ACPHTTP WebSocketTransport.swift
[499/513] Emitting module ACPHTTP
[500/513] Compiling ACPHTTP ACPHTTP.swift
[501/513] Compiling InteractiveClient main.swift
/Users/admin/builder/spi-builder-workspace/Samples/InteractiveClient/main.swift:323:49: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
321 |         case .toolCall(let call):
322 |             print()
323 |             print("🔧 Tool call: \(call.title ?? "Unknown") (\(call.kind?.rawValue ?? ""))")
    |                                              `- warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
324 |
325 |         case .toolCallUpdate(let update):
[501/513] Write Objects.LinkFileList
[503/513] Emitting module SimpleAgentApp
[504/513] Compiling SimpleAgentApp main.swift
[504/513] Write Objects.LinkFileList
[505/513] Linking EchoAgent
[506/513] Linking SimpleClient
[507/513] Linking InteractiveClient
[508/513] Linking SimpleAgentApp
[509/513] Applying EchoAgent
[510/513] Applying SimpleClient
[511/513] Applying InteractiveClient
[512/513] Applying SimpleAgentApp
Build complete! (16.39s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/6649] Fetching swift-log
[134/30335] Fetching swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (2.24s)
Fetched https://github.com/apple/swift-collections.git from cache (2.24s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.88s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.53s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Samples/EchoAgent/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Samples/SimpleClient/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Samples/InteractiveClient/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Samples/SimpleAgentApp/README.md
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    }
  ],
  "manifest_display_name" : "ACP",
  "name" : "ACP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "ACPModel",
      "targets" : [
        "ACPModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACP",
      "targets" : [
        "ACP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ACPHTTP",
      "targets" : [
        "ACPHTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "EchoAgent",
      "targets" : [
        "EchoAgent"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SimpleClient",
      "targets" : [
        "SimpleClient"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "InteractiveClient",
      "targets" : [
        "InteractiveClient"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SimpleAgentApp",
      "targets" : [
        "SimpleAgentApp"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleClient",
      "module_type" : "SwiftTarget",
      "name" : "SimpleClient",
      "path" : "Samples/SimpleClient",
      "product_memberships" : [
        "SimpleClient"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SimpleAgentApp",
      "module_type" : "SwiftTarget",
      "name" : "SimpleAgentApp",
      "path" : "Samples/SimpleAgentApp",
      "product_memberships" : [
        "SimpleAgentApp"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "InteractiveClient",
      "module_type" : "SwiftTarget",
      "name" : "InteractiveClient",
      "path" : "Samples/InteractiveClient",
      "product_memberships" : [
        "InteractiveClient"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "EchoAgent",
      "module_type" : "SwiftTarget",
      "name" : "EchoAgent",
      "path" : "Samples/EchoAgent",
      "product_memberships" : [
        "EchoAgent"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ACPTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPTests",
      "path" : "Tests/ACPTests",
      "sources" : [
        "ACPTests.swift",
        "AgentClientTests.swift",
        "ClientSessionModelTests.swift",
        "ClientSessionTests.swift",
        "E2EIntegrationTests.swift",
        "IntegrationTests.swift",
        "OperationsTests.swift",
        "PaginatedResponseTests.swift",
        "ProtocolTests.swift",
        "StdioTransportTests.swift",
        "TestTransport.swift"
      ],
      "target_dependencies" : [
        "ACP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPModelTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPModelTests",
      "path" : "Tests/ACPModelTests",
      "sources" : [
        "ACPModelTests.swift",
        "AuthMessagesTests.swift",
        "FileMessagesTests.swift",
        "JsonRpcTests.swift",
        "JsonValueTests.swift",
        "ModelMessagesTests.swift",
        "NotificationsTests.swift",
        "PaginationTests.swift",
        "PermissionMessagesTests.swift",
        "ProtocolVersionTests.swift",
        "RequestIdTests.swift",
        "SessionConfigOptionTests.swift",
        "SessionIdTests.swift",
        "SessionModeMessagesTests.swift",
        "SessionOperationsTests.swift",
        "TerminalTests.swift"
      ],
      "target_dependencies" : [
        "ACPModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPModel",
      "module_type" : "SwiftTarget",
      "name" : "ACPModel",
      "path" : "Sources/ACPModel",
      "product_dependencies" : [
        "Collections"
      ],
      "product_memberships" : [
        "ACPModel",
        "ACP",
        "ACPHTTP",
        "EchoAgent",
        "SimpleClient",
        "InteractiveClient",
        "SimpleAgentApp"
      ],
      "sources" : [
        "ACPModel.swift",
        "AcpProtocols.swift",
        "Annotations.swift",
        "AuthMessages.swift",
        "AvailableCommand.swift",
        "Capabilities.swift",
        "ContentBlock.swift",
        "Cursor.swift",
        "FileMessages.swift",
        "Implementation.swift",
        "InitializeMessages.swift",
        "JsonRpc.swift",
        "JsonValue.swift",
        "McpServer.swift",
        "ModelId.swift",
        "ModelMessages.swift",
        "Notifications.swift",
        "Pagination.swift",
        "PermissionMessages.swift",
        "PermissionOptionId.swift",
        "PlanEntry.swift",
        "Priority.swift",
        "ProtocolVersion.swift",
        "RequestId.swift",
        "Role.swift",
        "SessionConfigGroupId.swift",
        "SessionConfigId.swift",
        "SessionConfigOption.swift",
        "SessionConfigValueId.swift",
        "SessionId.swift",
        "SessionInfo.swift",
        "SessionMessages.swift",
        "SessionModeId.swift",
        "SessionModeMessages.swift",
        "SessionOperations.swift",
        "SessionUpdate.swift",
        "SessionUpdateTypes.swift",
        "Terminal.swift",
        "ToolCall.swift",
        "ToolCallId.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACPHTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "ACPHTTPTests",
      "path" : "Tests/ACPHTTPTests",
      "sources" : [
        "ACPHTTPTests.swift",
        "WebSocketTransportTests.swift"
      ],
      "target_dependencies" : [
        "ACPHTTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ACPHTTP",
      "module_type" : "SwiftTarget",
      "name" : "ACPHTTP",
      "path" : "Sources/ACPHTTP",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "ACPHTTP"
      ],
      "sources" : [
        "ACPHTTP.swift",
        "WebSocketTransport.swift"
      ],
      "target_dependencies" : [
        "ACP",
        "ACPModel"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ACP",
      "module_type" : "SwiftTarget",
      "name" : "ACP",
      "path" : "Sources/ACP",
      "product_dependencies" : [
        "Logging",
        "Collections"
      ],
      "product_memberships" : [
        "ACP",
        "ACPHTTP",
        "EchoAgent",
        "SimpleClient",
        "InteractiveClient",
        "SimpleAgentApp"
      ],
      "sources" : [
        "ACP.swift",
        "Agent.swift",
        "AgentConnection.swift",
        "AgentContext.swift",
        "Client.swift",
        "ClientConnection.swift",
        "ClientSession.swift",
        "ClientSessionOperations.swift",
        "Event.swift",
        "FileSystemOperations.swift",
        "PaginatedResponse.swift",
        "Protocol.swift",
        "ProtocolExtensions.swift",
        "RemoteClientOperations.swift",
        "StdioTransport.swift",
        "TerminalOperations.swift",
        "Transport.swift"
      ],
      "target_dependencies" : [
        "ACPModel"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.