Build Information
Successful build of ACP, reference main (6e7e67), with Swift 6.1 for macOS (SPM) on 26 Apr 2026 04:37:30 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .statsBuild 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.1
Building package at path: $PWD
https://github.com/aptove/swift-sdk.git
https://github.com/aptove/swift-sdk.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/34] Write sources
[2/34] Write SimpleClient-entitlement.plist
[2/34] Write sources
[11/34] Write InteractiveClient-entitlement.plist
[11/34] Write sources
[14/34] Write SimpleAgentApp-entitlement.plist
[15/34] Write EchoAgent-entitlement.plist
[15/34] Write sources
[21/34] Write swift-version-2F0A5646E1D333AE.txt
[23/59] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/59] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/59] Emitting module InternalCollectionsUtilities
[26/59] Compiling InternalCollectionsUtilities Debugging.swift
[27/59] Compiling InternalCollectionsUtilities Descriptions.swift
[28/59] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[29/59] Compiling InternalCollectionsUtilities Integer rank.swift
[30/60] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[31/60] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[32/60] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[33/60] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[34/60] Compiling InternalCollectionsUtilities Span+Extras.swift
[35/60] Compiling InternalCollectionsUtilities String+Padding.swift
[36/60] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[37/60] Compiling InternalCollectionsUtilities _SortedCollection.swift
[38/60] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[39/60] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[40/60] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[41/60] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[42/60] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[43/362] Compiling _RopeModule BigString+Chunk+Splitting.swift
[44/362] Compiling _RopeModule BigString+Chunk+UTF16.swift
[45/362] Compiling _RopeModule BigString+Chunk+UTF8.swift
[46/362] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
[47/365] Compiling _RopeModule BigString+Managing Breaks.swift
[48/365] Compiling _RopeModule BigString+RemoveSubrange.swift
[49/365] Compiling _RopeModule BigString+ReplaceSubrange.swift
[50/365] Compiling _RopeModule BigString+Chunk.swift
[51/365] Compiling _RopeModule BigString+BidirectionalCollection.swift
[52/365] Compiling _RopeModule BigString+Comparable.swift
[53/365] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[54/365] Emitting module ContainersPreview
[55/365] Compiling _RopeModule BigString+Append.swift
[56/365] Compiling _RopeModule BigString+Initializers.swift
[57/365] Compiling _RopeModule BigString+Insert.swift
[58/365] Compiling _RopeModule BigString+Chunk+Counts.swift
[59/365] Compiling _RopeModule BigString+Chunk+Description.swift
[60/365] Compiling _RopeModule BigString+Chunk+Index.swift
[61/365] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[62/365] Compiling HashTreeCollections _HashNode+Invariants.swift
[63/365] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[64/365] Compiling _RopeModule BigString+Chunk+Breaks.swift
[65/365] Compiling _RopeModule BigString+Chunk+Character.swift
[66/365] Compiling HashTreeCollections _HashLevel.swift
[67/365] Compiling HashTreeCollections _HashNode+Builder.swift
[68/365] Compiling HashTreeCollections _HashNode+Debugging.swift
[69/365] Compiling HashTreeCollections _HashNode+Initializers.swift
[70/365] Compiling HashTreeCollections _AncestorHashSlots.swift
[71/365] Compiling HashTreeCollections _Bitmap.swift
[72/365] Compiling HashTreeCollections _Bucket.swift
[73/365] Compiling HashTreeCollections _Hash.swift
[74/365] Compiling _RopeModule BigString+Split.swift
[75/365] Compiling _RopeModule Range+BigString.swift
[76/365] Compiling _RopeModule BigString+CustomStringConvertible.swift
[94/372] Compiling ContainersPreview Inout.swift
[95/372] Compiling ContainersPreview InputSpan.swift
[96/372] Compiling ContainersPreview Shared.swift
[97/372] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[98/372] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[99/372] Compiling _RopeModule BigString+Sequence.swift
[100/372] Compiling _RopeModule BigString+TextOutputStream.swift
[120/372] Compiling HeapModule _HeapNode.swift
[121/372] Compiling HeapModule Heap.swift
[122/372] Compiling HeapModule Heap+Invariants.swift
[123/372] Compiling HeapModule Heap+UnsafeHandle.swift
[124/413] Compiling HeapModule Heap+Descriptions.swift
[125/413] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[126/413] Emitting module HeapModule
[127/413] Compiling DequeModule RigidDeque+Equatable.swift
[128/413] Compiling DequeModule RigidDeque+Experimental.swift
[129/413] Compiling DequeModule Deque._UnsafeHandle.swift
[130/413] Compiling DequeModule Deque.swift
[131/413] Compiling DequeModule _DequeBuffer.swift
[132/413] Compiling DequeModule _DequeBufferHeader.swift
[133/419] Compiling DequeModule RigidDeque+Hashable.swift
[134/419] Compiling DequeModule RigidDeque+Initializers.swift
[135/419] Compiling DequeModule RigidDeque+Insertions.swift
[136/419] Compiling DequeModule RigidDeque+Prepend.swift
[137/419] Compiling _RopeModule BigString+UTF16View.swift
[138/419] Compiling _RopeModule BigString+UTF8View.swift
[139/419] Compiling DequeModule UniqueDeque+Insertions.swift
[140/419] Compiling DequeModule UniqueDeque+Prepend.swift
[141/419] Compiling DequeModule UniqueDeque+Removals.swift
[142/419] Compiling DequeModule UniqueDeque+Replacements.swift
[147/429] Compiling _RopeModule Rope+Invariants.swift
[148/429] Compiling _RopeModule Rope+_Node.swift
[149/429] Compiling _RopeModule Rope+_Storage.swift
[150/429] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[151/429] Compiling BitCollections BitSet.Index.swift
[152/429] Compiling BitCollections BitSet._UnsafeHandle.swift
[156/429] Compiling DequeModule UniqueDeque.swift
[157/429] Compiling DequeModule _DequeSlot.swift
[158/429] Compiling DequeModule _UnsafeDequeHandle.swift
[159/429] Compiling DequeModule _UnsafeDequeSegments.swift
[160/429] Compiling _RopeModule BigSubstring+UTF8View.swift
[161/429] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[162/429] Compiling _RopeModule BigSubstring.swift
[163/429] Compiling _RopeModule Rope+Builder.swift
[164/429] Compiling _RopeModule Rope+Debugging.swift
[165/429] Compiling _RopeModule Rope+Collection.swift
[166/429] Compiling _RopeModule Rope+Index.swift
[167/429] Compiling _RopeModule Rope+Sequence.swift
[168/429] Compiling _RopeModule Rope+Append.swift
[169/429] Compiling _RopeModule Rope+Extract.swift
[170/429] Compiling _RopeModule Rope+Find.swift
[171/429] Compiling _RopeModule Rope+ForEachWhile.swift
[172/429] Compiling _RopeModule Rope+Insert.swift
[173/429] Compiling _RopeModule Rope+Join.swift
[174/429] Compiling _RopeModule Rope+MutatingForEach.swift
[175/429] Compiling _RopeModule Rope+Remove.swift
[176/429] Compiling _RopeModule Rope+RemoveSubrange.swift
[177/429] Compiling _RopeModule Rope+Split.swift
[178/429] Compiling _RopeModule Optional Utilities.swift
[179/429] Compiling _RopeModule String Utilities.swift
[180/429] Compiling _RopeModule String.Index+ABI.swift
[181/437] Compiling DequeModule RigidDeque+Descriptions.swift
[187/437] Compiling DequeModule UniqueDeque+Equatable.swift
[188/437] Compiling DequeModule UniqueDeque+Experimental.swift
[189/437] Compiling DequeModule UniqueDeque+Hashable.swift
[190/437] Compiling DequeModule UniqueDeque+Initializers.swift
[191/437] Compiling DequeModule RigidDeque+Consumption.swift
[192/437] Compiling DequeModule RigidDeque+Container.swift
[194/437] Compiling DequeModule RigidDeque+Append.swift
[195/437] Compiling DequeModule RigidDeque+Removals.swift
[196/437] Compiling DequeModule RigidDeque+Replacements.swift
[197/437] Compiling DequeModule RigidDeque+Testing.swift
[198/437] Compiling DequeModule RigidDeque.swift
[199/437] Emitting module BitCollections
[202/437] Compiling DequeModule UniqueDeque+Append.swift
[203/437] Compiling DequeModule UniqueDeque+Consumption.swift
[204/437] Compiling DequeModule UniqueDeque+Container.swift
[205/437] Compiling DequeModule UniqueDeque+Descriptions.swift
[218/437] Compiling Logging LogHandler.swift
[227/437] Compiling BitCollections BitSet.swift
[228/437] Compiling BitCollections Range+Utilities.swift
[229/437] Compiling BitCollections Slice+Utilities.swift
[230/437] Compiling BitCollections UInt+Tricks.swift
[231/437] Compiling BitCollections _Word.swift
[232/437] Compiling OrderedCollections _UnsafeBitset.swift
[241/437] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[242/437] Compiling DequeModule Deque+Extras.swift
[243/437] Compiling DequeModule Deque+Hashable.swift
[244/437] Compiling DequeModule Deque+Testing.swift
[245/437] Compiling DequeModule Deque._Storage.swift
[262/437] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[263/437] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[264/437] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[265/437] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[266/437] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[267/437] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[268/437] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[269/437] Compiling HashTreeCollections TreeSet.swift
[270/437] Compiling DequeModule Deque+Codable.swift
[271/437] Compiling DequeModule Deque+Collection.swift
[272/437] Compiling DequeModule Deque+CustomReflectable.swift
[273/437] Compiling DequeModule Deque+Descriptions.swift
[274/437] Compiling DequeModule Deque+Equatable.swift
[395/437] Emitting module OrderedCollections
[396/437] Emitting module _RopeModule
[397/437] Compiling Logging MetadataProvider.swift
[398/437] Compiling Logging LogEvent.swift
[399/437] Compiling Logging Locks.swift
[400/437] Emitting module Logging
[401/437] Compiling Logging Logging.swift
[424/437] Emitting module DequeModule
[425/437] Emitting module HashTreeCollections
[426/443] Compiling Collections OrderedCollections reexports.swift
[427/443] Compiling Collections HeapModule reexports.swift
[428/443] Compiling Collections HashTreeCollections reexports.swift
[429/443] Compiling Collections DequeModule reexports.swift
[430/443] Emitting module Collections
[431/443] Compiling Collections BitCollections reexports.swift
[432/480] Emitting module ACPModel
[433/484] Compiling ACPModel SessionUpdateTypes.swift
[434/484] Compiling ACPModel Terminal.swift
[435/484] Compiling ACPModel ToolCall.swift
[436/484] Compiling ACPModel ToolCallId.swift
[437/484] Compiling ACPModel SessionConfigValueId.swift
[438/484] Compiling ACPModel SessionId.swift
[439/484] Compiling ACPModel SessionInfo.swift
[440/484] Compiling ACPModel SessionMessages.swift
[441/484] Compiling ACPModel ACPModel.swift
[442/484] Compiling ACPModel AcpProtocols.swift
[443/484] Compiling ACPModel Annotations.swift
[444/484] Compiling ACPModel AuthMessages.swift
[445/484] Compiling ACPModel PlanEntry.swift
[446/484] Compiling ACPModel Priority.swift
[447/484] Compiling ACPModel ProtocolVersion.swift
[448/484] Compiling ACPModel RequestId.swift
[449/484] Compiling ACPModel FileMessages.swift
[450/484] Compiling ACPModel Implementation.swift
[451/484] Compiling ACPModel InitializeMessages.swift
[452/484] Compiling ACPModel JsonRpc.swift
[453/484] Compiling ACPModel AvailableCommand.swift
[454/484] Compiling ACPModel Capabilities.swift
[455/484] Compiling ACPModel ContentBlock.swift
[456/484] Compiling ACPModel Cursor.swift
[457/484] Compiling ACPModel SessionModeId.swift
[458/484] Compiling ACPModel SessionModeMessages.swift
[459/484] Compiling ACPModel SessionOperations.swift
[460/484] Compiling ACPModel SessionUpdate.swift
[461/484] Compiling ACPModel JsonValue.swift
[462/484] Compiling ACPModel McpServer.swift
[463/484] Compiling ACPModel ModelId.swift
[464/484] Compiling ACPModel ModelMessages.swift
[465/484] Compiling ACPModel Role.swift
[466/484] Compiling ACPModel SessionConfigGroupId.swift
[467/484] Compiling ACPModel SessionConfigId.swift
[468/484] Compiling ACPModel SessionConfigOption.swift
[469/484] Compiling ACPModel Notifications.swift
[470/484] Compiling ACPModel Pagination.swift
[471/484] Compiling ACPModel PermissionMessages.swift
[472/484] Compiling ACPModel PermissionOptionId.swift
[473/501] Compiling ACP StdioTransport.swift
[474/502] Compiling ACP ClientSession.swift
[475/502] Compiling ACP ClientSessionOperations.swift
[476/502] Compiling ACP ProtocolExtensions.swift
[477/502] Compiling ACP RemoteClientOperations.swift
[478/502] Compiling ACP Event.swift
[479/502] Compiling ACP FileSystemOperations.swift
[480/502] Compiling ACP ACP.swift
[481/502] Compiling ACP Agent.swift
[482/502] Compiling ACP TerminalOperations.swift
[483/502] Compiling ACP Client.swift
[484/502] Compiling ACP ClientConnection.swift
[485/502] Emitting module ACP
[486/502] Compiling ACP AgentConnection.swift
[487/502] Compiling ACP AgentContext.swift
[488/502] Compiling ACP PaginatedResponse.swift
[489/502] Compiling ACP Protocol.swift
[490/502] Compiling ACP Transport.swift
[491/513] Emitting module EchoAgent
[492/513] Compiling EchoAgent main.swift
[493/513] Emitting module InteractiveClient
[493/513] Write Objects.LinkFileList
[495/513] Emitting module SimpleClient
[496/513] Compiling SimpleClient main.swift
[496/513] Write Objects.LinkFileList
[498/513] Emitting module ACPHTTP
[499/513] Compiling ACPHTTP WebSocketTransport.swift
[500/513] Compiling ACPHTTP ACPHTTP.swift
[501/513] Compiling SimpleAgentApp main.swift
[502/513] Emitting module SimpleAgentApp
[502/513] Write Objects.LinkFileList
[504/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):
[504/513] Write Objects.LinkFileList
[505/513] Linking EchoAgent
[506/513] Linking SimpleClient
[507/513] Applying EchoAgent
[508/513] Applying SimpleClient
[509/513] Linking SimpleAgentApp
[510/513] Applying SimpleAgentApp
[511/513] Linking InteractiveClient
[512/513] Applying InteractiveClient
Build complete! (16.38s)
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-log.git from cache (1.36s)
Fetched https://github.com/apple/swift-collections.git from cache (1.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.49s)
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.