Build Information
Failed to build ACP, reference main (6e7e67), with Swift 6.2 for Android on 26 Apr 2026 04:38:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build 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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/aptove/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
[1/6649] Fetching swift-log
[2063/30335] Fetching swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (2.04s)
Fetched https://github.com/apple/swift-collections.git from cache (2.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (3.11s)
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-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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/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
/host/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
/host/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
/host/spi-builder-workspace/Samples/SimpleAgentApp/README.md
Building for debugging...
[0/42] Write sources
[17/42] Write swift-version--11D90AFD9DD3AB2.txt
[19/66] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[20/66] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[21/68] Emitting module InternalCollectionsUtilities
[22/68] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[23/68] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[24/68] Compiling InternalCollectionsUtilities Span+Extras.swift
[25/68] Compiling InternalCollectionsUtilities Integer rank.swift
[26/68] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[27/68] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/68] Compiling InternalCollectionsUtilities Debugging.swift
[29/68] Compiling InternalCollectionsUtilities Descriptions.swift
[30/68] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[31/68] Compiling Logging LogEvent.swift
[32/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[33/68] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[34/68] Compiling InternalCollectionsUtilities String+Padding.swift
[35/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[36/68] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[37/68] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[38/68] Compiling InternalCollectionsUtilities _SortedCollection.swift
[39/68] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[40/102] Wrapping AST for InternalCollectionsUtilities for debugging
[42/220] Compiling _RopeModule BigString+Chunk.swift
[43/220] Compiling _RopeModule BigString+BidirectionalCollection.swift
[44/220] Compiling _RopeModule BigString+Comparable.swift
[45/220] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[46/255] Compiling HashTreeCollections _HashNode+Storage.swift
[47/255] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[48/255] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[49/255] Compiling _RopeModule BigString+Hashing.swift
[50/276] Compiling HeapModule Heap+Invariants.swift
[51/310] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[52/320] Compiling BitCollections BitSet+Equatable.swift
[53/320] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[54/320] Compiling BitCollections BitSet+Extras.swift
[55/320] Compiling BitCollections BitSet+Hashable.swift
[56/368] Compiling HeapModule Heap+Descriptions.swift
[57/368] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[58/368] Compiling BitCollections BitArray+Codable.swift
[59/368] Compiling BitCollections BitArray+Collection.swift
[60/368] Compiling BitCollections BitArray+Copy.swift
[61/368] Compiling BitCollections BitArray+CustomReflectable.swift
[62/368] Compiling BitCollections BitArray+Hashable.swift
[63/368] Compiling BitCollections BitArray+Initializers.swift
[64/368] Compiling BitCollections BitArray+Invariants.swift
[65/368] Compiling BitCollections BinaryInteger extensions.swift
[66/368] Compiling BitCollections BitArray+BitwiseOperations.swift
[67/368] Compiling BitCollections BitArray+Descriptions.swift
[68/368] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[69/368] Compiling BitCollections BitArray+RandomBits.swift
[70/368] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[71/368] Compiling BitCollections BitArray+Shifts.swift
[72/368] Compiling BitCollections BitSet+Initializers.swift
[73/368] Compiling BitCollections BitSet+Invariants.swift
[74/368] Compiling BitCollections BitSet+Random.swift
[75/368] Compiling BitCollections BitSet+SetAlgebra basics.swift
[76/368] Emitting module ContainersPreview
[77/368] Compiling BitCollections BitArray+Equatable.swift
[78/368] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[79/368] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[80/368] Compiling BitCollections BitArray+Extras.swift
[81/368] Compiling BitCollections BitArray+Fill.swift
[83/369] Compiling HeapModule Heap.swift
[84/369] Compiling HeapModule _HeapNode.swift
[84/369] Wrapping AST for ContainersPreview for debugging
[86/409] Compiling HeapModule Heap+UnsafeHandle.swift
[87/409] Emitting module HeapModule
[88/410] Wrapping AST for HeapModule for debugging
[90/410] Compiling _RopeModule Rope+Extract.swift
[91/410] Compiling _RopeModule Rope+Find.swift
[92/410] Compiling _RopeModule Rope+ForEachWhile.swift
[93/410] Compiling _RopeModule Rope+Insert.swift
[94/410] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[95/410] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[96/410] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[97/410] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[98/410] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[99/410] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[100/420] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[101/420] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[102/420] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[103/420] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[104/420] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[105/420] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[106/420] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[107/420] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[108/420] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[109/420] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[110/420] Compiling BitCollections BitSet+SetAlgebra union.swift
[111/420] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[112/420] Compiling BitCollections BitSet.Counted.swift
[113/420] Compiling _RopeModule Rope+_UnsafeHandle.swift
[114/427] Compiling DequeModule RigidDeque+Experimental.swift
[115/427] Compiling DequeModule RigidDeque+Hashable.swift
[116/427] Compiling DequeModule RigidDeque+Initializers.swift
[117/427] Compiling DequeModule RigidDeque+Insertions.swift
[118/427] Compiling DequeModule RigidDeque+Prepend.swift
[119/427] Compiling DequeModule UniqueDeque+Consumption.swift
[120/427] Compiling DequeModule UniqueDeque+Container.swift
[121/427] Compiling DequeModule UniqueDeque+Descriptions.swift
[122/427] Compiling DequeModule UniqueDeque+Equatable.swift
[123/427] Compiling DequeModule UniqueDeque+Experimental.swift
[124/427] Compiling DequeModule UniqueDeque+Hashable.swift
[125/427] Compiling DequeModule UniqueDeque+Initializers.swift
[126/427] Compiling DequeModule UniqueDeque+Insertions.swift
[127/427] Compiling DequeModule UniqueDeque+Prepend.swift
[128/427] Compiling DequeModule UniqueDeque+Removals.swift
[129/434] Compiling DequeModule _DequeBuffer.swift
[130/434] Compiling DequeModule _DequeBufferHeader.swift
[131/434] Compiling DequeModule RigidDeque+Append.swift
[132/434] Compiling DequeModule RigidDeque+Consumption.swift
[133/434] Compiling DequeModule RigidDeque+Container.swift
[134/434] Compiling DequeModule RigidDeque+Descriptions.swift
[149/439] Compiling DequeModule RigidDeque+Removals.swift
[150/439] Compiling DequeModule RigidDeque+Replacements.swift
[151/439] Compiling DequeModule RigidDeque+Testing.swift
[152/439] Compiling DequeModule RigidDeque.swift
[153/439] Compiling DequeModule UniqueDeque+Append.swift
[154/439] Compiling DequeModule Deque+Extras.swift
[155/439] Compiling DequeModule Deque+Hashable.swift
[156/439] Compiling DequeModule Deque+Testing.swift
[157/439] Compiling DequeModule Deque._Storage.swift
[158/439] Compiling DequeModule Deque._UnsafeHandle.swift
[159/439] Compiling DequeModule Deque.swift
[160/439] Compiling DequeModule RigidDeque+Equatable.swift
[172/439] Compiling DequeModule _UnsafeDequeSegments.swift
[182/439] Compiling BitCollections BitSet.Index.swift
[189/439] Compiling DequeModule UniqueDeque+Replacements.swift
[190/439] Compiling DequeModule UniqueDeque.swift
[191/439] Compiling DequeModule _DequeSlot.swift
[192/439] Compiling DequeModule _UnsafeDequeHandle.swift
[223/439] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[224/439] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[225/439] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[226/439] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[227/439] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[228/439] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[229/439] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[230/439] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[231/439] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[232/439] Compiling HashTreeCollections TreeSet.swift
[233/439] Emitting module BitCollections
[234/439] Compiling DequeModule Deque+Codable.swift
[235/439] Compiling DequeModule Deque+Collection.swift
[236/439] Compiling DequeModule Deque+CustomReflectable.swift
[237/439] Compiling DequeModule Deque+Descriptions.swift
[238/439] Compiling DequeModule Deque+Equatable.swift
[239/439] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[240/439] Compiling Logging MetadataProvider.swift
[265/439] Compiling Logging Locks.swift
[266/439] Emitting module Logging
[268/439] Compiling BitCollections BitSet._UnsafeHandle.swift
[269/439] Compiling BitCollections BitSet.swift
[270/439] Compiling BitCollections Range+Utilities.swift
[271/439] Compiling BitCollections Slice+Utilities.swift
[272/439] Compiling BitCollections UInt+Tricks.swift
[273/439] Compiling BitCollections _Word.swift
[280/440] Compiling OrderedCollections _UnsafeBitset.swift
[281/440] Compiling _RopeModule Rope+Collection.swift
[282/440] Compiling _RopeModule Rope+Index.swift
[283/440] Compiling _RopeModule Rope+Sequence.swift
[284/440] Compiling _RopeModule Rope+Append.swift
[306/440] Wrapping AST for BitCollections for debugging
[337/449] Compiling Logging LogHandler.swift
[338/449] Compiling Logging Logging.swift
[339/450] Wrapping AST for Logging for debugging
[341/450] Emitting module OrderedCollections
[342/451] Wrapping AST for OrderedCollections for debugging
[387/451] Emitting module _RopeModule
[418/451] Emitting module HashTreeCollections
[419/452] Wrapping AST for HashTreeCollections for debugging
[421/452] Compiling _RopeModule Rope+Join.swift
[422/452] Compiling _RopeModule Rope+MutatingForEach.swift
[423/452] Compiling _RopeModule Rope+Remove.swift
[424/452] Compiling _RopeModule Rope+RemoveSubrange.swift
[425/452] Compiling _RopeModule Rope+Split.swift
[426/452] Compiling _RopeModule Optional Utilities.swift
[427/452] Compiling _RopeModule String Utilities.swift
[428/452] Compiling _RopeModule String.Index+ABI.swift
[429/452] Compiling _RopeModule _CharacterRecognizer.swift
[430/453] Wrapping AST for _RopeModule for debugging
[437/453] Emitting module DequeModule
[438/454] Wrapping AST for DequeModule for debugging
[440/460] Compiling Collections HeapModule reexports.swift
[441/460] Compiling Collections OrderedCollections reexports.swift
[442/460] Compiling Collections HashTreeCollections reexports.swift
[443/460] Compiling Collections DequeModule reexports.swift
[444/460] Emitting module Collections
[445/460] Compiling Collections BitCollections reexports.swift
[446/461] Wrapping AST for Collections for debugging
[448/497] Emitting module ACPModel
[449/502] Compiling ACPModel ModelMessages.swift
[450/502] Compiling ACPModel Notifications.swift
[451/502] Compiling ACPModel Pagination.swift
[452/502] Compiling ACPModel PermissionMessages.swift
[453/502] Compiling ACPModel PermissionOptionId.swift
[454/502] Compiling ACPModel PlanEntry.swift
[455/502] Compiling ACPModel Priority.swift
[456/502] Compiling ACPModel ProtocolVersion.swift
[457/502] Compiling ACPModel RequestId.swift
[458/502] Compiling ACPModel Role.swift
[459/502] Compiling ACPModel SessionConfigGroupId.swift
[460/502] Compiling ACPModel SessionConfigId.swift
[461/502] Compiling ACPModel SessionConfigOption.swift
[462/502] Compiling ACPModel SessionConfigValueId.swift
[463/502] Compiling ACPModel SessionId.swift
[464/502] Compiling ACPModel SessionInfo.swift
[465/502] Compiling ACPModel SessionMessages.swift
[466/502] Compiling ACPModel SessionModeId.swift
[467/502] Compiling ACPModel SessionModeMessages.swift
[468/502] Compiling ACPModel SessionOperations.swift
[469/502] Compiling ACPModel InitializeMessages.swift
[470/502] Compiling ACPModel JsonRpc.swift
[471/502] Compiling ACPModel JsonValue.swift
[472/502] Compiling ACPModel McpServer.swift
[473/502] Compiling ACPModel ModelId.swift
[474/502] Compiling ACPModel ACPModel.swift
[475/502] Compiling ACPModel AcpProtocols.swift
[476/502] Compiling ACPModel Annotations.swift
[477/502] Compiling ACPModel AuthMessages.swift
[478/502] Compiling ACPModel AvailableCommand.swift
[479/502] Compiling ACPModel Capabilities.swift
[480/502] Compiling ACPModel ContentBlock.swift
[481/502] Compiling ACPModel Cursor.swift
[482/502] Compiling ACPModel FileMessages.swift
[483/502] Compiling ACPModel Implementation.swift
[484/502] Compiling ACPModel SessionUpdate.swift
[485/502] Compiling ACPModel SessionUpdateTypes.swift
[486/502] Compiling ACPModel Terminal.swift
[487/502] Compiling ACPModel ToolCall.swift
[488/502] Compiling ACPModel ToolCallId.swift
[489/503] Wrapping AST for ACPModel for debugging
[491/519] Compiling ACP AgentContext.swift
[492/519] Compiling ACP Client.swift
[493/521] Compiling ACP TerminalOperations.swift
[494/521] Compiling ACP Transport.swift
[495/521] Emitting module ACP
[496/521] Compiling ACP ACP.swift
[497/521] Compiling ACP Agent.swift
[498/521] Compiling ACP AgentConnection.swift
[499/521] Compiling ACP RemoteClientOperations.swift
[500/521] Compiling ACP StdioTransport.swift
[501/521] Compiling ACP FileSystemOperations.swift
/host/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 |
/host/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)
/host/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>
[502/521] Compiling ACP PaginatedResponse.swift
/host/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 |
/host/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)
/host/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>
[503/521] Compiling ACP ClientConnection.swift
[504/521] Compiling ACP ClientSession.swift
[505/521] Compiling ACP ClientSessionOperations.swift
[506/521] Compiling ACP Event.swift
[507/521] Compiling ACP Protocol.swift
/host/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(
/host/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>
[508/521] Compiling ACP ProtocolExtensions.swift
/host/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(
/host/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>
[509/532] Wrapping AST for ACP for debugging
[511/533] Emitting module SimpleClient
[512/533] Emitting module EchoAgent
[513/533] Compiling EchoAgent main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[514/533] Emitting module ACPHTTP
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:44:32: error: cannot find type 'URLSessionWebSocketTask' in scope
42 |
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
45 | private let session: URLSession
46 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
45 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | /// Initialize a new WebSocket transport.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | self.url = url
54 | self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
53 | self.url = url
54 | self.session = session
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:50: error: value of type '_' expected to be instance of class or class-constrained type
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
53 | self.url = url
54 | self.session = session
[515/533] Compiling ACPHTTP ACPHTTP.swift
[516/533] Compiling ACPHTTP WebSocketTransport.swift
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:44:32: error: cannot find type 'URLSessionWebSocketTask' in scope
42 |
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
45 | private let session: URLSession
46 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
45 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | /// Initialize a new WebSocket transport.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | self.url = url
54 | self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
53 | self.url = url
54 | self.session = session
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:50: error: value of type '_' expected to be instance of class or class-constrained type
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
53 | self.url = url
54 | self.session = session
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:69:33: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
67 |
68 | // Create WebSocket task
69 | webSocketTask = session.webSocketTask(with: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
70 |
71 | // Start the connection
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:97:40: error: cannot infer contextual base in reference to member 'string'
95 | }
96 |
97 | try await webSocketTask?.send(.string(text))
| `- error: cannot infer contextual base in reference to member 'string'
98 | }
99 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:114:38: error: cannot infer contextual base in reference to member 'normalClosure'
112 |
113 | // Close WebSocket with normal closure
114 | webSocketTask?.cancel(with: .normalClosure, reason: nil)
| `- error: cannot infer contextual base in reference to member 'normalClosure'
115 | webSocketTask = nil
116 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:114:61: error: 'nil' requires a contextual type
112 |
113 | // Close WebSocket with normal closure
114 | webSocketTask?.cancel(with: .normalClosure, reason: nil)
| `- error: 'nil' requires a contextual type
115 | webSocketTask = nil
116 |
[517/534] Emitting module InteractiveClient
/host/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):
[518/534] Emitting module SimpleAgentApp
BUILD FAILURE 6.2 android