Build Information
Successful build of ACP, reference main (6e7e67), with Swift 6.3 for macOS (SPM) on 26 Apr 2026 04:37:47 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build 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
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
[1/23686] Fetching swift-collections
[2/30335] Fetching swift-collections, swift-log
Fetched https://github.com/apple/swift-collections.git from cache (2.09s)
Fetched https://github.com/apple/swift-log.git from cache (2.09s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.0 (0.59s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-sdk",
"name": "ACP",
"url": "https://github.com/aptove/swift-sdk.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sdk",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.12.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/aptove/swift-sdk.git
[1/514] Fetching swift-sdk
Fetched https://github.com/aptove/swift-sdk.git from cache (0.74s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.55s)
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/aptove/swift-sdk.git
Working copy of https://github.com/aptove/swift-sdk.git resolved at main (6e7e67c)
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
Found 2 product dependencies
- swift-log
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/aptove/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/33] Write sources
[0/33] Write SimpleAgentApp-entitlement.plist
[2/33] Write SimpleClient-entitlement.plist
[2/33] Write sources
[10/33] Write InteractiveClient-entitlement.plist
[10/33] Write sources
[15/33] Write EchoAgent-entitlement.plist
[15/33] Write sources
[20/33] Write swift-version--6988338F2F200930.txt
[22/55] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[23/56] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/56] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/56] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/56] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/56] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[28/56] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[29/56] Compiling InternalCollectionsUtilities Descriptions.swift
[30/56] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[31/56] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[32/56] Compiling InternalCollectionsUtilities Debugging.swift
[33/56] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[34/56] Compiling InternalCollectionsUtilities Integer rank.swift
[35/56] Emitting module InternalCollectionsUtilities
[36/56] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[37/56] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/56] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/56] Compiling InternalCollectionsUtilities _SortedCollection.swift
[40/338] Compiling HeapModule Heap+Descriptions.swift
[41/338] Compiling DequeModule _DequeSlot.swift
[42/338] Compiling DequeModule _DequeBufferHeader.swift
[43/339] Compiling HeapModule _HeapNode.swift
[44/339] Compiling HeapModule Heap.swift
[45/339] Compiling HeapModule Heap+Invariants.swift
[46/339] Compiling HeapModule Heap+UnsafeHandle.swift
[47/339] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[48/339] Compiling HashTreeCollections _HashNodeHeader.swift
[49/339] Compiling HashTreeCollections _HashSlot.swift
[50/339] Compiling HashTreeCollections _HashStack.swift
[51/339] Compiling HashTreeCollections _HashTreeIterator.swift
[52/339] Compiling HashTreeCollections _HashTreeStatistics.swift
[53/339] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[54/345] Emitting module HeapModule
[55/345] Compiling HashTreeCollections TreeDictionary+Codable.swift
[56/345] Compiling HashTreeCollections TreeDictionary+Collection.swift
[57/345] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[58/345] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[59/345] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[60/345] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[61/345] Compiling HashTreeCollections TreeDictionary+Keys.swift
[62/345] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[63/345] Compiling HashTreeCollections TreeDictionary+Merge.swift
[64/345] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[65/345] Compiling HashTreeCollections _RawHashNode.swift
[66/345] Compiling HashTreeCollections _UnmanagedHashNode.swift
[67/345] Compiling HashTreeCollections _UnsafePath.swift
[73/350] Compiling DequeModule _UnsafeWrappedBuffer.swift
[74/350] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[75/350] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[76/350] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[77/350] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[78/350] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[79/350] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[80/350] Compiling HashTreeCollections _HashNode.swift
[86/350] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[87/350] Compiling HashTreeCollections _HashNode+Structural filter.swift
[88/350] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[89/350] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[90/350] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[91/350] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[92/350] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[93/350] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[94/350] Compiling HashTreeCollections _AncestorHashSlots.swift
[95/350] Compiling HashTreeCollections _Bitmap.swift
[96/350] Compiling HashTreeCollections _Bucket.swift
[97/350] Compiling BitCollections BitSet.swift
[98/350] Compiling DequeModule _DequeBuffer.swift
[99/350] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[100/350] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[101/350] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[102/350] Compiling HashTreeCollections TreeDictionary+Filter.swift
[103/350] Compiling HashTreeCollections TreeSet+Debugging.swift
[104/350] Compiling HashTreeCollections TreeSet+Descriptions.swift
[117/350] Emitting module BitCollections
[124/350] Compiling HashTreeCollections TreeSet+Collection.swift
[125/350] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[132/350] Compiling HashTreeCollections TreeDictionary.swift
[133/350] Compiling HashTreeCollections TreeSet+Codable.swift
[134/350] Emitting module DequeModule
[135/350] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[136/350] Compiling HashTreeCollections TreeDictionary+Values.swift
[143/350] Compiling HashTreeCollections _HashNode+Lookups.swift
[144/350] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[145/350] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[146/350] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[147/350] Compiling HashTreeCollections _HashNode+Storage.swift
[168/350] Compiling BitCollections Range+Utilities.swift
[169/350] Compiling BitCollections Slice+Utilities.swift
[170/350] Compiling BitCollections UInt+Tricks.swift
[171/350] Compiling BitCollections _Word.swift
[172/350] Compiling HashTreeCollections TreeSet+Extras.swift
[173/350] Compiling HashTreeCollections TreeSet+Filter.swift
[174/350] Compiling HashTreeCollections TreeSet+Hashable.swift
[175/350] Compiling HashTreeCollections TreeSet+Sendable.swift
[176/350] Compiling HashTreeCollections TreeSet+Sequence.swift
[177/350] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[178/350] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[221/365] Compiling OrderedCollections OrderedSet.swift
[222/365] Compiling OrderedCollections _UnsafeBitset.swift
[248/365] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[249/365] Compiling Logging MetadataProvider.swift
[290/365] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[291/365] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[292/365] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[293/365] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[294/365] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[295/365] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[296/365] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[297/365] Compiling HashTreeCollections TreeSet.swift
[298/365] Emitting module OrderedCollections
[299/365] Emitting module Logging
[300/365] Compiling Logging Locks.swift
[301/365] Compiling Logging Logging.swift
[302/365] Compiling Logging LogHandler.swift
[303/365] Emitting module _RopeModule
[313/365] Compiling _RopeModule Rope+Remove.swift
[314/365] Compiling _RopeModule Rope+RemoveSubrange.swift
[315/365] Compiling _RopeModule Rope+Split.swift
[316/365] Compiling _RopeModule Optional Utilities.swift
[317/365] Compiling _RopeModule String Utilities.swift
[318/365] Compiling _RopeModule String.Index+ABI.swift
[319/365] Compiling _RopeModule _CharacterRecognizer.swift
[320/365] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[353/365] Emitting module HashTreeCollections
[354/367] Compiling Collections Collections.swift
[355/367] Emitting module Collections
[356/404] Emitting module ACPModel
[357/408] Compiling ACPModel FileMessages.swift
[358/408] Compiling ACPModel Implementation.swift
[359/408] Compiling ACPModel InitializeMessages.swift
[360/408] Compiling ACPModel JsonRpc.swift
[361/408] Compiling ACPModel Role.swift
[362/408] Compiling ACPModel SessionConfigGroupId.swift
[363/408] Compiling ACPModel SessionConfigId.swift
[364/408] Compiling ACPModel SessionConfigOption.swift
[365/408] Compiling ACPModel JsonValue.swift
[366/408] Compiling ACPModel McpServer.swift
[367/408] Compiling ACPModel ModelId.swift
[368/408] Compiling ACPModel ModelMessages.swift
[369/408] Compiling ACPModel AvailableCommand.swift
[370/408] Compiling ACPModel Capabilities.swift
[371/408] Compiling ACPModel ContentBlock.swift
[372/408] Compiling ACPModel Cursor.swift
[373/408] Compiling ACPModel SessionConfigValueId.swift
[374/408] Compiling ACPModel SessionId.swift
[375/408] Compiling ACPModel SessionInfo.swift
[376/408] Compiling ACPModel SessionMessages.swift
[377/408] Compiling ACPModel ACPModel.swift
[378/408] Compiling ACPModel AcpProtocols.swift
[379/408] Compiling ACPModel Annotations.swift
[380/408] Compiling ACPModel AuthMessages.swift
[381/408] Compiling ACPModel SessionModeId.swift
[382/408] Compiling ACPModel SessionModeMessages.swift
[383/408] Compiling ACPModel SessionOperations.swift
[384/408] Compiling ACPModel SessionUpdate.swift
[385/408] Compiling ACPModel PlanEntry.swift
[386/408] Compiling ACPModel Priority.swift
[387/408] Compiling ACPModel ProtocolVersion.swift
[388/408] Compiling ACPModel RequestId.swift
[389/408] Compiling ACPModel Notifications.swift
[390/408] Compiling ACPModel Pagination.swift
[391/408] Compiling ACPModel PermissionMessages.swift
[392/408] Compiling ACPModel PermissionOptionId.swift
[393/408] Compiling ACPModel SessionUpdateTypes.swift
[394/408] Compiling ACPModel Terminal.swift
[395/408] Compiling ACPModel ToolCall.swift
[396/408] Compiling ACPModel ToolCallId.swift
[397/425] Compiling ACP TerminalOperations.swift
[398/426] Emitting module ACP
[399/426] Compiling ACP Transport.swift
[400/426] Compiling ACP StdioTransport.swift
[401/426] 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>
[402/426] 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>
[403/426] Compiling ACP Client.swift
[404/426] Compiling ACP ClientConnection.swift
[405/426] Compiling ACP ACP.swift
[406/426] Compiling ACP Agent.swift
[407/426] Compiling ACP Event.swift
[408/426] Compiling ACP FileSystemOperations.swift
[409/426] Compiling ACP ClientSession.swift
[410/426] Compiling ACP ClientSessionOperations.swift
[411/426] Compiling ACP AgentConnection.swift
[412/426] Compiling ACP AgentContext.swift
[413/426] 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>
[414/426] 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>
[415/437] Emitting module ACPHTTP
[416/437] Emitting module EchoAgent
[417/437] Compiling EchoAgent main.swift
[417/437] Write Objects.LinkFileList
[419/437] Compiling SimpleClient main.swift
[420/437] Emitting module SimpleClient
[420/437] Write Objects.LinkFileList
[422/437] Compiling ACPHTTP ACPHTTP.swift
[423/437] Compiling ACPHTTP WebSocketTransport.swift
[424/437] 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):
[425/437] Emitting module InteractiveClient
[425/437] Write Objects.LinkFileList
[427/437] Compiling SimpleAgentApp main.swift
[428/437] Emitting module SimpleAgentApp
[428/437] Write Objects.LinkFileList
[429/437] Linking EchoAgent
[430/437] Linking SimpleClient
[431/437] Linking InteractiveClient
[432/437] Linking SimpleAgentApp
[433/437] Applying EchoAgent
[434/437] Applying SimpleClient
[435/437] Applying InteractiveClient
[436/437] Applying SimpleAgentApp
Build complete! (14.88s)
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.