The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ACP, reference main (159851), with Swift 6.3 for Wasm on 23 Oct 2026 18:41:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
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 1598510 chore: bump version to 0.2.2
Cloned https://github.com/aptove/swift-sdk.git
Revision (git rev-parse @):
159851093f2889aeacc4a73f39a433f30f0da958
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/aptove/swift-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/aptove/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/8373] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
[1/29301] Fetching swift-collections
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.7.4 (1.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.16s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
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/46] Write sources
[18/46] Write swift-version-24593BA9C3E375BF.txt
[20/85] Emitting module Logging
[21/86] Emitting module InternalCollectionsUtilities
[22/89] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[23/89] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[24/89] Compiling Logging LogEvent.swift
[25/89] Compiling Logging LogHandler.swift
[26/89] Compiling Logging LoggingSystem.swift
[27/89] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[28/89] Compiling InternalCollectionsUtilities String+Padding.swift
[29/89] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[30/89] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[31/89] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[32/89] Compiling InternalCollectionsUtilities Integer rank.swift
[33/89] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[34/89] Compiling InternalCollectionsUtilities UInt+reversed.swift
[35/89] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[36/89] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[37/89] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[38/89] Compiling InternalCollectionsUtilities MutableRef.swift
[39/89] Compiling Logging Logger+With.swift
[42/89] Compiling Logging Logger.swift
[43/89] Compiling Logging Logger+Attributes.swift
[44/89] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[45/89] Compiling InternalCollectionsUtilities _SortedCollection.swift
[46/89] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[47/89] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[48/89] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[49/89] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[50/89] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[51/89] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[52/89] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/89] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[54/89] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[55/89] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[56/89] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[57/89] Compiling InternalCollectionsUtilities Span+Extras.swift
[63/90] Compiling Logging MetadataProvider.swift
[64/99] Wrapping AST for InternalCollectionsUtilities for debugging
[66/142] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[66/153] Wrapping AST for Logging for debugging
[68/187] Emitting module SpanPreview
[69/187] Compiling SpanPreview InputSpan.swift
[70/195] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[71/361] Wrapping AST for SpanPreview for debugging
[73/377] Compiling HeapModule Heap+Descriptions.swift
[74/403] Compiling DequeModule UniqueDeque+Consumption.swift
[75/403] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[76/403] Compiling DequeModule UniqueDeque+Deprecations.swift
[77/403] Compiling DequeModule UniqueDeque+Descriptions.swift
[78/403] Compiling DequeModule UniqueDeque+Equatable.swift
[79/403] Compiling DequeModule UniqueDeque+Hashable.swift
[80/408] Compiling HeapModule _HeapNode.swift
[81/408] Emitting module HeapModule
[82/408] Compiling DequeModule Deque+Codable.swift
[83/408] Compiling DequeModule Deque+Collection.swift
[84/408] Compiling DequeModule Deque+CustomReflectable.swift
[85/408] Compiling DequeModule Deque+Descriptions.swift
[86/408] Compiling DequeModule Deque+Equatable.swift
[87/408] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[88/408] Compiling HeapModule Heap+Invariants.swift
[89/408] Compiling HeapModule Heap+Testing.swift
[90/408] Compiling HashTreeCollections TreeSet+Hashable.swift
[91/408] Compiling HashTreeCollections TreeSet+Sendable.swift
[92/408] Compiling HashTreeCollections TreeSet+Sequence.swift
[93/408] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[94/408] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[95/408] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[96/408] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[97/408] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[98/408] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[99/408] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[100/418] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[101/418] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[102/418] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[103/418] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[104/418] Compiling HashTreeCollections _HashNode.swift
[105/418] Compiling HashTreeCollections _HashNodeHeader.swift
[106/418] Compiling HashTreeCollections _HashSlot.swift
[107/418] Compiling DequeModule RigidDeque+Prepend.swift
[108/418] Compiling DequeModule RigidDeque+Removals.swift
[109/418] Compiling DequeModule RigidDeque+Replacements.swift
[110/418] Compiling DequeModule RigidDeque+Testing.swift
[111/418] Compiling DequeModule RigidDeque.swift
[112/418] Compiling DequeModule UniqueDeque+Append.swift
[113/425] Compiling HeapModule Heap.swift
[114/425] Compiling HeapModule Heap+UnsafeHandle.swift
[115/425] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[116/426] Compiling DequeModule UniqueDeque+Removals.swift
[117/426] Compiling DequeModule UniqueDeque+Replacements.swift
[118/426] Compiling DequeModule UniqueDeque.swift
[119/426] Compiling DequeModule _DequeSlot.swift
[120/426] Compiling DequeModule _UnsafeDequeHandle.swift
[121/426] Compiling DequeModule _UnsafeDequeSegments.swift
[128/433] Compiling DequeModule UniqueDeque+Initializers.swift
[129/433] Compiling DequeModule UniqueDeque+Insertions.swift
[130/433] Compiling DequeModule UniqueDeque+Iterable.swift
[131/433] Compiling DequeModule UniqueDeque+Prepend.swift
[147/433] Compiling DequeModule RigidDeque+ContainerOperations.swift
[148/433] Compiling DequeModule RigidDeque+Deprecations.swift
[149/433] Compiling DequeModule RigidDeque+Descriptions.swift
[150/433] Compiling DequeModule RigidDeque+Equatable.swift
[151/433] Compiling DequeModule RigidDeque+Hashable.swift
[152/433] Compiling DequeModule RigidDeque+Initializers.swift
[153/433] Compiling DequeModule RigidDeque+Insertions.swift
[154/433] Compiling DequeModule RigidDeque+Iterable.swift
[155/433] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[156/433] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[157/433] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[158/433] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[159/433] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[160/433] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[161/433] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[162/433] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[163/433] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[164/433] Compiling HashTreeCollections TreeSet.swift
[164/433] Wrapping AST for HeapModule for debugging
[166/433] Compiling DequeModule _DequeBuffer.swift
[167/433] Compiling DequeModule _DequeBufferHeader.swift
[168/433] Compiling DequeModule RigidDeque+Append.swift
[169/433] Compiling DequeModule RigidDeque+Consumption.swift
[172/433] Emitting module BitCollections
[183/433] Compiling BitCollections BitSet.Index.swift
[184/433] Compiling BitCollections BitSet._UnsafeHandle.swift
[185/433] Compiling BitCollections BitSet.swift
[192/433] Compiling OrderedCollections OrderedSet+Sendable.swift
[193/433] Compiling OrderedCollections OrderedSet+SubSequence.swift
[194/433] Compiling OrderedCollections OrderedSet+Testing.swift
[195/433] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[196/433] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[197/433] Compiling OrderedCollections OrderedSet.swift
[198/433] Compiling OrderedCollections _UnsafeBitset.swift
[217/442] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[218/442] Compiling HashTreeCollections TreeDictionary+Values.swift
[229/442] Compiling DequeModule Deque+Testing.swift
[230/442] Compiling DequeModule Deque._Storage.swift
[231/442] Compiling DequeModule Deque._UnsafeHandle.swift
[232/442] Compiling DequeModule Deque.swift
[280/442] Emitting module _RopeModule
[292/442] Compiling DequeModule Deque+Extras.swift
[293/442] Compiling DequeModule Deque+Hashable.swift
[311/442] Compiling _RopeModule Rope+Join.swift
[312/442] Compiling _RopeModule Rope+MutatingForEach.swift
[313/442] Compiling _RopeModule Rope+Remove.swift
[314/442] Compiling _RopeModule Rope+RemoveSubrange.swift
[315/442] Compiling _RopeModule Rope+Split.swift
[316/442] Compiling _RopeModule Optional Utilities.swift
[317/442] Compiling _RopeModule String Utilities.swift
[318/442] Compiling _RopeModule String.Index+ABI.swift
[319/442] Compiling _RopeModule _CharacterRecognizer.swift
[355/443] Wrapping AST for BitCollections for debugging
[377/443] Emitting module HashTreeCollections
[378/443] Emitting module OrderedCollections
[379/444] Wrapping AST for OrderedCollections for debugging
[403/445] Wrapping AST for HashTreeCollections for debugging
[426/446] Emitting module DequeModule
[427/447] Wrapping AST for _RopeModule for debugging
[428/447] Wrapping AST for DequeModule for debugging
[430/449] Emitting module Collections
[431/449] Compiling Collections Collections.swift
[432/450] Wrapping AST for Collections for debugging
[434/505] Compiling ACPModel Priority.swift
[435/505] Compiling ACPModel ProtocolVersion.swift
[436/505] Compiling ACPModel Providers.swift
[437/505] Compiling ACPModel RequestId.swift
[438/505] Compiling ACPModel Role.swift
[439/505] Compiling ACPModel SessionConfigGroupId.swift
[440/505] Compiling ACPModel SessionConfigId.swift
[441/505] Compiling ACPModel SessionConfigOption.swift
[442/512] Compiling ACPModel ACPModel.swift
[443/512] Compiling ACPModel AcpProtocols.swift
[444/512] Compiling ACPModel Annotations.swift
[445/512] Compiling ACPModel AuthMessages.swift
[446/512] Compiling ACPModel AvailableCommand.swift
[447/512] Compiling ACPModel Capabilities.swift
[448/512] Compiling ACPModel ContentBlock.swift
[449/512] Compiling ACPModel Cursor.swift
[450/512] Emitting module ACPModel
[451/512] Compiling ACPModel Elicitation.swift
[452/512] Compiling ACPModel FileMessages.swift
[453/512] Compiling ACPModel Implementation.swift
[454/512] Compiling ACPModel InitializeMessages.swift
[455/512] Compiling ACPModel JsonRpc.swift
[456/512] Compiling ACPModel JsonValue.swift
[457/512] Compiling ACPModel McpServer.swift
[458/512] Compiling ACPModel MessageId.swift
[459/512] Compiling ACPModel SessionConfigValueId.swift
[460/512] Compiling ACPModel SessionId.swift
[461/512] Compiling ACPModel SessionInfo.swift
[462/512] Compiling ACPModel SessionMessages.swift
[463/512] Compiling ACPModel SessionModeId.swift
[464/512] Compiling ACPModel SessionModeMessages.swift
[465/512] Compiling ACPModel SessionOperations.swift
[466/512] Compiling ACPModel SessionUpdate.swift
[467/512] Compiling ACPModel V2Elicitation.swift
[468/512] Compiling ACPModel V2ElicitationRequests.swift
[469/512] Compiling ACPModel V2MaybeUndefined.swift
[470/512] Compiling ACPModel V2Permission.swift
[471/512] Compiling ACPModel V2Plan.swift
[472/512] Compiling ACPModel V2Providers.swift
[473/512] Compiling ACPModel V2Requests.swift
[474/512] Compiling ACPModel SessionUpdateTypes.swift
[475/512] Compiling ACPModel Terminal.swift
[476/512] Compiling ACPModel ToolCall.swift
[477/512] Compiling ACPModel ToolCallId.swift
[478/512] Compiling ACPModel V2Auth.swift
[479/512] Compiling ACPModel V2Capabilities.swift
[480/512] Compiling ACPModel V2Content.swift
[481/512] Compiling ACPModel ModelId.swift
[482/512] Compiling ACPModel ModelMessages.swift
[483/512] Compiling ACPModel Nes.swift
[484/512] Compiling ACPModel Notifications.swift
[485/512] Compiling ACPModel Pagination.swift
[486/512] Compiling ACPModel PermissionMessages.swift
[487/512] Compiling ACPModel PermissionOptionId.swift
[488/512] Compiling ACPModel PlanEntry.swift
[489/512] Compiling ACPModel V2Session.swift
[490/512] Compiling ACPModel V2SessionConfig.swift
[491/512] Compiling ACPModel V2SessionResume.swift
[492/512] Compiling ACPModel V2SessionUpdate.swift
[493/512] Compiling ACPModel V2Terminal.swift
[494/512] Compiling ACPModel V2ToolCall.swift
[495/512] Compiling ACPModel V2Types.swift
[496/513] Wrapping AST for ACPModel for debugging
[498/529] Emitting module ACP
[499/529] Compiling ACP ClientSessionOperations.swift
[500/529] Compiling ACP Event.swift
[501/529] 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/529] 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/529] Compiling ACP ACP.swift
[504/529] Compiling ACP Agent.swift
[505/529] Compiling ACP AgentConnection.swift
[506/529] Compiling ACP AgentContext.swift
[507/529] Compiling ACP Client.swift
[508/529] Compiling ACP RemoteClientOperations.swift
[509/529] Compiling ACP StdioTransport.swift
[510/531] Compiling ACP ClientConnection.swift
[511/531] Compiling ACP ClientSession.swift
[512/531] 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>
[513/531] 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>
[514/531] Compiling ACP TerminalOperations.swift
[515/531] Compiling ACP Transport.swift
[516/532] Wrapping AST for ACP for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[518/545] Emitting module GeminiClientApp
/host/spi-builder-workspace/Samples/GeminiClientApp/main.swift:21:37: error: cannot find type 'Process' in scope
 19 | /// Thread-safe terminal process manager.
 20 | actor TerminalManager {
 21 |     private var processes: [String: Process] = [:]
    |                                     `- error: cannot find type 'Process' in scope
 22 |     private var outputPipes: [String: Pipe] = [:]
 23 |     private var errorPipes: [String: Pipe] = [:]
/host/spi-builder-workspace/Samples/GeminiClientApp/main.swift:25:43: error: cannot find type 'Process' in scope
 23 |     private var errorPipes: [String: Pipe] = [:]
 24 |
 25 |     func add(terminalId: String, process: Process, outputPipe: Pipe, errorPipe: Pipe) {
    |                                           `- error: cannot find type 'Process' in scope
 26 |         processes[terminalId] = process
 27 |         outputPipes[terminalId] = outputPipe
/host/spi-builder-workspace/Samples/GeminiClientApp/main.swift:36:45: error: cannot find type 'Process' in scope
 34 |     }
 35 |
 36 |     func process(for terminalId: String) -> Process? { processes[terminalId] }
    |                                             `- error: cannot find type 'Process' in scope
 37 |
 38 |     func remove(terminalId: String) -> Process? {
/host/spi-builder-workspace/Samples/GeminiClientApp/main.swift:38:40: error: cannot find type 'Process' in scope
 36 |     func process(for terminalId: String) -> Process? { processes[terminalId] }
 37 |
 38 |     func remove(terminalId: String) -> Process? {
    |                                        `- error: cannot find type 'Process' in scope
 39 |         let process = processes.removeValue(forKey: terminalId)
 40 |         outputPipes.removeValue(forKey: terminalId)
/host/spi-builder-workspace/Samples/GeminiClientApp/main.swift:194:94: error: cannot find type 'Process' in scope
192 | // MARK: - Process Transport
193 |
194 | func createProcessTransport(command: String, arguments: [String]) throws -> (StdioTransport, Process) {
    |                                                                                              `- error: cannot find type 'Process' in scope
195 |     let process = Process()
196 |     let stdinPipe = Pipe()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[519/545] Emitting module AuthStatusApp
/host/spi-builder-workspace/Samples/AuthStatusApp/main.swift:20:92: error: cannot find type 'Process' in scope
 18 | // MARK: - Process Transport
 19 |
 20 | func makeProcessTransport(command: String, arguments: [String]) throws -> (StdioTransport, Process) {
    |                                                                                            `- error: cannot find type 'Process' in scope
 21 |     let process = Process()
 22 |     let stdinPipe = Pipe()
[520/545] Compiling AuthStatusApp main.swift
/host/spi-builder-workspace/Samples/AuthStatusApp/main.swift:20:92: error: cannot find type 'Process' in scope
 18 | // MARK: - Process Transport
 19 |
 20 | func makeProcessTransport(command: String, arguments: [String]) throws -> (StdioTransport, Process) {
    |                                                                                            `- error: cannot find type 'Process' in scope
 21 |     let process = Process()
 22 |     let stdinPipe = Pipe()
/host/spi-builder-workspace/Samples/AuthStatusApp/main.swift:21:19: error: cannot find 'Process' in scope
 19 |
 20 | func makeProcessTransport(command: String, arguments: [String]) throws -> (StdioTransport, Process) {
 21 |     let process = Process()
    |                   `- error: cannot find 'Process' in scope
 22 |     let stdinPipe = Pipe()
 23 |     let stdoutPipe = Pipe()
[521/545] Emitting module V2SimpleAgentApp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[522/545] Emitting module SimpleAgentApp
/host/spi-builder-workspace/Samples/SimpleAgentApp/main.swift:322:37: error: cannot find type 'Process' in scope
320 |     // MARK: - TerminalOperations
321 |
322 |     private var processes: [String: Process] = [:]
    |                                     `- error: cannot find type 'Process' in scope
323 |     private var outputPipes: [String: Pipe] = [:]
324 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[523/545] Compiling ACPHTTP ACPHTTP.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: 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: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: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/Samples/GeminiClientApp/main.swift:21:37: error: cannot find type 'Process' in scope
 19 | /// Thread-safe terminal process manager.
 20 | actor TerminalManager {
 21 |     private var processes: [String: Process] = [:]
    |                                     `- error: cannot find type 'Process' in scope
 22 |     private var outputPipes: [String: Pipe] = [:]
 23 |     private var errorPipes: [String: Pipe] = [:]
/host/spi-builder-workspace/Samples/GeminiClientApp/main.swift:25:43: error: cannot find type 'Process' in scope
 23 |     private var errorPipes: [String: Pipe] = [:]
 24 |
 25 |     func add(terminalId: String, process: Process, outputPipe: Pipe, errorPipe: Pipe) {
    |                                           `- error: cannot find type 'Process' in scope
 26 |         processes[terminalId] = process
 27 |         outputPipes[terminalId] = outputPipe
/host/spi-builder-workspace/Samples/GeminiClientApp/main.swift:36:45: error: cannot find type 'Process' in scope
 34 |     }
 35 |
 36 |     func process(for terminalId: String) -> Process? { processes[terminalId] }
    |                                             `- error: cannot find type 'Process' in scope
 37 |
 38 |     func remove(terminalId: String) -> Process? {
/host/spi-builder-workspace/Samples/GeminiClientApp/main.swift:38:40: error: cannot find type 'Process' in scope
 36 |     func process(for terminalId: String) -> Process? { processes[terminalId] }
 37 |
 38 |     func remove(terminalId: String) -> Process? {
    |                                        `- error: cannot find type 'Process' in scope
 39 |         let process = processes.removeValue(forKey: terminalId)
 40 |         outputPipes.removeValue(forKey: terminalId)
BUILD FAILURE 6.3 wasm