Build Information
Successful build of ACP, reference v0.1.16 (f38606), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 22:25:30 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: v0.1.16
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aptove/swift-sdk
* tag v0.1.16 -> FETCH_HEAD
HEAD is now at f38606f fix: fail pending requests on transport close, call close() on POSIX 57
Cloned https://github.com/aptove/swift-sdk.git
Revision (git rev-parse @):
f38606f7bb43a12122b8338b2bb694084ededf94
SUCCESS checkout https://github.com/aptove/swift-sdk.git at v0.1.16
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
[2/30204] Fetching swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (1.19s)
[1886/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.0 (0.62s)
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
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
========================================
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/511] Fetching swift-sdk
Fetched https://github.com/aptove/swift-sdk.git from cache (0.84s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
Fetched https://github.com/apple/swift-collections.git from cache (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.60s)
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
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 v0.1.16 (f38606f)
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
[4/33] Write SimpleAgentApp-entitlement.plist
[5/33] Write sources
[5/33] Write InteractiveClient-entitlement.plist
[7/33] Write SimpleClient-entitlement.plist
[9/33] Write sources
[15/33] Write EchoAgent-entitlement.plist
[16/33] Write sources
[20/33] Write swift-version--6988338F2F200930.txt
[22/55] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/55] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/55] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/55] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[26/55] Compiling InternalCollectionsUtilities Debugging.swift
[27/55] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[28/56] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[29/56] Compiling InternalCollectionsUtilities Integer rank.swift
[30/56] Compiling InternalCollectionsUtilities Descriptions.swift
[31/56] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[32/56] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[33/56] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[34/56] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[35/56] Emitting module InternalCollectionsUtilities
[36/56] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[37/56] Compiling InternalCollectionsUtilities UInt+reversed.swift
[38/56] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/56] Compiling InternalCollectionsUtilities _SortedCollection.swift
[40/338] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[41/338] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[42/339] Compiling DequeModule _DequeBufferHeader.swift
[43/339] Compiling DequeModule _DequeSlot.swift
[44/339] Compiling DequeModule _DequeBuffer.swift
[45/339] Compiling HeapModule _HeapNode.swift
[46/339] Compiling HeapModule Heap+Invariants.swift
[47/339] Compiling HeapModule Heap.swift
[48/339] Compiling HashTreeCollections TreeDictionary+Keys.swift
[49/339] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[50/339] Compiling HashTreeCollections _Bitmap.swift
[51/339] Compiling HashTreeCollections _Bucket.swift
[52/339] Compiling HashTreeCollections _Hash.swift
[53/339] Compiling HashTreeCollections _HashLevel.swift
[54/339] Compiling HashTreeCollections _HashNode+Builder.swift
[55/339] Compiling HashTreeCollections _HashNode+Debugging.swift
[56/345] Compiling HeapModule Heap+UnsafeHandle.swift
[57/345] Emitting module HeapModule
[58/345] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[59/345] Compiling HeapModule Heap+Descriptions.swift
[60/345] Compiling HashTreeCollections TreeDictionary+Merge.swift
[61/345] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[62/345] Compiling DequeModule _UnsafeWrappedBuffer.swift
[64/345] Compiling HashTreeCollections _HashNode+Initializers.swift
[65/345] Compiling HashTreeCollections _HashNode+Invariants.swift
[66/345] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[67/345] Compiling HashTreeCollections TreeDictionary+Values.swift
[68/345] Compiling HashTreeCollections TreeDictionary.swift
[69/350] Compiling HashTreeCollections _AncestorHashSlots.swift
[75/350] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[76/350] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[77/350] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[78/350] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[79/350] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[80/350] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[92/350] Compiling BitCollections BitSet.swift
[93/350] Compiling HashTreeCollections _HashNode+Structural filter.swift
[94/350] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[95/350] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[96/350] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[97/350] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[99/350] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[100/350] Compiling HashTreeCollections TreeDictionary+Filter.swift
[107/358] Compiling HashTreeCollections _RawHashNode.swift
[108/358] Compiling HashTreeCollections _UnmanagedHashNode.swift
[109/358] Compiling HashTreeCollections _UnsafePath.swift
[110/358] Compiling HashTreeCollections TreeDictionary+Codable.swift
[113/358] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[114/358] Compiling HashTreeCollections TreeSet+Extras.swift
[115/358] Compiling HashTreeCollections TreeSet+Filter.swift
[116/358] Compiling HashTreeCollections TreeSet+Hashable.swift
[117/358] Compiling HashTreeCollections TreeSet+Sendable.swift
[118/358] Compiling HashTreeCollections TreeSet+Sequence.swift
[119/358] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[125/358] Compiling HashTreeCollections _HashNode+Lookups.swift
[126/358] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[127/358] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[128/358] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[129/358] Compiling HashTreeCollections _HashNode+Storage.swift
[131/358] Emitting module DequeModule
[132/358] Compiling HashTreeCollections TreeDictionary+Collection.swift
[133/358] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[134/358] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[135/358] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[136/358] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[137/358] Compiling HashTreeCollections TreeSet+Equatable.swift
[144/358] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[150/358] Emitting module BitCollections
[157/358] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[158/358] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[159/358] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[160/358] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[161/358] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[162/358] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[163/358] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[164/358] Compiling HashTreeCollections TreeSet.swift
[166/358] Compiling BitCollections Range+Utilities.swift
[167/358] Compiling BitCollections Slice+Utilities.swift
[168/358] Compiling BitCollections UInt+Tricks.swift
[169/358] Compiling BitCollections _Word.swift
[216/365] Compiling OrderedCollections OrderedSet.swift
[217/365] Compiling OrderedCollections _UnsafeBitset.swift
[225/365] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[226/365] Compiling _RopeModule Rope+Remove.swift
[227/365] Compiling _RopeModule Rope+RemoveSubrange.swift
[228/365] Compiling _RopeModule Rope+Split.swift
[229/365] Compiling _RopeModule Optional Utilities.swift
[230/365] Compiling _RopeModule String Utilities.swift
[231/365] Compiling _RopeModule String.Index+ABI.swift
[232/365] Compiling _RopeModule _CharacterRecognizer.swift
[233/365] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[257/365] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[258/365] Compiling HashTreeCollections _HashNode+Structural merge.swift
[259/365] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[260/365] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[261/365] Compiling HashTreeCollections _HashNode+Structural union.swift
[262/365] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[263/365] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[273/365] Compiling Logging LogHandler.swift
[274/365] Compiling Logging MetadataProvider.swift
[275/365] Compiling Logging Locks.swift
[276/365] Emitting module Logging
[277/365] Compiling Logging Logging.swift
[278/365] Emitting module OrderedCollections
[296/365] Emitting module _RopeModule
[345/365] Emitting module HashTreeCollections
[354/367] Emitting module Collections
[355/367] Compiling Collections Collections.swift
[356/404] Emitting module ACPModel
[357/408] Compiling ACPModel SessionModeId.swift
[358/408] Compiling ACPModel SessionModeMessages.swift
[359/408] Compiling ACPModel SessionOperations.swift
[360/408] Compiling ACPModel SessionUpdate.swift
[361/408] Compiling ACPModel AvailableCommand.swift
[362/408] Compiling ACPModel Capabilities.swift
[363/408] Compiling ACPModel ContentBlock.swift
[364/408] Compiling ACPModel Cursor.swift
[365/408] Compiling ACPModel SessionConfigValueId.swift
[366/408] Compiling ACPModel SessionId.swift
[367/408] Compiling ACPModel SessionInfo.swift
[368/408] Compiling ACPModel SessionMessages.swift
[369/408] Compiling ACPModel Notifications.swift
[370/408] Compiling ACPModel Pagination.swift
[371/408] Compiling ACPModel PermissionMessages.swift
[372/408] Compiling ACPModel PermissionOptionId.swift
[373/408] Compiling ACPModel ACPModel.swift
[374/408] Compiling ACPModel AcpProtocols.swift
[375/408] Compiling ACPModel Annotations.swift
[376/408] Compiling ACPModel AuthMessages.swift
[377/408] Compiling ACPModel FileMessages.swift
[378/408] Compiling ACPModel Implementation.swift
[379/408] Compiling ACPModel InitializeMessages.swift
[380/408] Compiling ACPModel JsonRpc.swift
[381/408] Compiling ACPModel PlanEntry.swift
[382/408] Compiling ACPModel Priority.swift
[383/408] Compiling ACPModel ProtocolVersion.swift
[384/408] Compiling ACPModel RequestId.swift
[385/408] Compiling ACPModel Role.swift
[386/408] Compiling ACPModel SessionConfigGroupId.swift
[387/408] Compiling ACPModel SessionConfigId.swift
[388/408] Compiling ACPModel SessionConfigOption.swift
[389/408] Compiling ACPModel JsonValue.swift
[390/408] Compiling ACPModel McpServer.swift
[391/408] Compiling ACPModel ModelId.swift
[392/408] Compiling ACPModel ModelMessages.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] Compiling ACP Transport.swift
[399/426] Compiling ACP StdioTransport.swift
[400/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>
[401/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>
[402/426] Compiling ACP Client.swift
[403/426] Compiling ACP ClientConnection.swift
[404/426] Compiling ACP Event.swift
[405/426] Compiling ACP FileSystemOperations.swift
[406/426] Compiling ACP ClientSession.swift
[407/426] Compiling ACP ClientSessionOperations.swift
[408/426] Compiling ACP AgentConnection.swift
[409/426] Compiling ACP AgentContext.swift
[410/426] Emitting module ACP
[411/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>
[412/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>
[413/426] Compiling ACP ACP.swift
[414/426] Compiling ACP Agent.swift
[415/437] Emitting module EchoAgent
[416/437] Compiling EchoAgent main.swift
[416/437] Write Objects.LinkFileList
[418/437] Emitting module SimpleClient
[419/437] Compiling SimpleClient main.swift
[419/437] Write Objects.LinkFileList
[421/437] Emitting module ACPHTTP
[422/437] Compiling ACPHTTP WebSocketTransport.swift
[423/437] Compiling ACPHTTP ACPHTTP.swift
[424/437] Emitting module InteractiveClient
[425/437] Compiling InteractiveClient main.swift
/Users/admin/builder/spi-builder-workspace/Samples/InteractiveClient/main.swift:326:49: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
324 | case .toolCall(let call):
325 | print()
326 | 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
327 |
328 | case .toolCallUpdate(let update):
[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] Applying EchoAgent
[431/437] Linking SimpleClient
[432/437] Applying SimpleClient
[433/437] Linking InteractiveClient
[434/437] Applying InteractiveClient
[435/437] Linking SimpleAgentApp
[436/437] Applying SimpleAgentApp
Build complete! (14.61s)
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.