Build Information
Failed to build ACP, reference main (efcd32), with Swift 6.3 for Wasm on 11 Nov 2026 18:37:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 efcd325 chore: add GitHub funding config
Cloned https://github.com/aptove/swift-sdk.git
Revision (git rev-parse @):
efcd32591fadabfff9738dcbe82136a83088b34b
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-54344846-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:404d9f92dde919fe554c9d5fda9b03708bc2858ae850b6a992d65e289f55b404
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/8350] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
[1/29922] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (1.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (0.14s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.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.7.6
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/86] Emitting module InternalCollectionsUtilities
[21/89] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[22/89] Compiling InternalCollectionsUtilities _SortedCollection.swift
[23/89] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/89] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[25/89] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[26/89] Compiling InternalCollectionsUtilities Debugging.swift
[27/89] Compiling InternalCollectionsUtilities Descriptions.swift
[28/89] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[29/89] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[30/89] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[31/89] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[32/89] Compiling InternalCollectionsUtilities UInt+reversed.swift
[33/89] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[34/89] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[35/89] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[36/89] Compiling InternalCollectionsUtilities Span+Extras.swift
[37/89] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[38/89] Compiling InternalCollectionsUtilities String+Padding.swift
[39/89] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[40/89] Compiling InternalCollectionsUtilities MutableRef.swift
[41/89] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[42/89] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[43/89] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[44/89] Compiling Logging LoggingSystem.swift
[45/90] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[46/90] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[47/90] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[48/90] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[49/90] Compiling InternalCollectionsUtilities Immortalize.swift
[50/90] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[51/90] Compiling InternalCollectionsUtilities Integer rank.swift
[52/90] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[54/91] Compiling Logging MetadataProvider.swift
[54/91] Wrapping AST for InternalCollectionsUtilities for debugging
[56/120] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[57/145] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[58/163] Compiling HeapModule Heap+Invariants.swift
[59/166] Compiling SpanPreview InputSpan.swift
[60/172] Emitting module SpanPreview
[61/361] Wrapping AST for SpanPreview for debugging
[63/403] Compiling HeapModule _HeapNode.swift
[64/403] Compiling HeapModule Heap.swift
[65/403] Compiling Logging Logger.swift
[66/403] Compiling DequeModule Deque+Equatable.swift
[67/403] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[68/403] Emitting module Logging
[69/403] Compiling Logging Logger+Attributes.swift
[70/403] Compiling DequeModule Deque+CustomReflectable.swift
[71/403] Compiling DequeModule Deque+Descriptions.swift
[72/403] Compiling DequeModule Deque+Codable.swift
[73/403] Compiling DequeModule Deque+Collection.swift
[74/403] Compiling Logging Logger+With.swift
[75/404] Compiling DequeModule RigidDeque+Append.swift
[76/404] Compiling DequeModule RigidDeque+Consumption.swift
[77/404] Compiling DequeModule RigidDeque+ContainerOperations.swift
[78/404] Compiling DequeModule RigidDeque+Deprecations.swift
[79/404] Compiling DequeModule Deque+Extras.swift
[80/404] Compiling DequeModule Deque+Hashable.swift
[81/404] Compiling DequeModule Deque+Testing.swift
[82/411] Wrapping AST for Logging for debugging
[84/411] Compiling DequeModule RigidDeque+Prepend.swift
[85/411] Compiling DequeModule RigidDeque+Removals.swift
[86/411] Compiling DequeModule RigidDeque+Replacements.swift
[87/411] Compiling DequeModule RigidDeque+Testing.swift
[88/411] Compiling DequeModule RigidDeque.swift
[89/411] Compiling DequeModule UniqueDeque+Append.swift
[90/411] Compiling DequeModule UniqueDeque+Initializers.swift
[91/411] Compiling DequeModule UniqueDeque+Insertions.swift
[92/411] Compiling _RopeModule BigSubstring.swift
[93/411] Compiling _RopeModule Rope+Builder.swift
[94/411] Compiling _RopeModule Rope+Debugging.swift
[95/411] Compiling _RopeModule Rope+Invariants.swift
[96/411] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[97/411] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[98/411] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[99/411] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[100/411] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[101/411] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[102/421] Compiling DequeModule UniqueDeque+Hashable.swift
[103/421] Compiling DequeModule RigidDeque+Descriptions.swift
[104/421] Compiling DequeModule RigidDeque+Equatable.swift
[105/421] Compiling DequeModule RigidDeque+Hashable.swift
[106/421] Compiling DequeModule RigidDeque+Initializers.swift
[107/421] Compiling DequeModule RigidDeque+Insertions.swift
[108/421] Compiling DequeModule RigidDeque+Iterable.swift
[109/421] Compiling HeapModule Heap+UnsafeHandle.swift
[110/421] Compiling HeapModule Heap+Testing.swift
[111/421] Compiling DequeModule Deque._UnsafeHandle.swift
[112/421] Compiling DequeModule Deque.swift
[113/421] Compiling DequeModule UniqueDeque+Consumption.swift
[114/421] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[115/421] Compiling DequeModule UniqueDeque+Deprecations.swift
[116/421] Compiling DequeModule UniqueDeque+Descriptions.swift
[117/421] Compiling DequeModule UniqueDeque+Equatable.swift
[119/428] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[120/428] Emitting module HeapModule
[121/428] Compiling HeapModule Heap+Descriptions.swift
[129/429] Compiling DequeModule _DequeBuffer.swift
[130/429] Compiling DequeModule _DequeBufferHeader.swift
[131/429] Emitting module BitCollections
[131/429] Wrapping AST for HeapModule for debugging
[141/434] Compiling DequeModule UniqueDeque+Iterable.swift
[142/434] Compiling DequeModule UniqueDeque+Prepend.swift
[143/434] Compiling DequeModule UniqueDeque+Removals.swift
[165/434] Compiling DequeModule Deque._Storage.swift
[184/434] Compiling DequeModule _DequeSlot.swift
[185/434] Compiling DequeModule _UnsafeDequeHandle.swift
[186/434] Compiling DequeModule _UnsafeDequeSegments.swift
[187/434] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[188/434] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[189/434] Compiling OrderedCollections OrderedDictionary+Values.swift
[190/434] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[191/434] Compiling _RopeModule _RopeVersion.swift
[192/434] Compiling _RopeModule Rope+Collection.swift
[193/434] Compiling _RopeModule Rope+Index.swift
[194/434] Compiling BitCollections BitSet.Index.swift
[201/434] Compiling BitCollections BitSet._UnsafeHandle.swift
[202/434] Compiling BitCollections BitSet.swift
[204/434] Compiling DequeModule UniqueDeque+Replacements.swift
[205/434] Compiling DequeModule UniqueDeque.swift
[211/434] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[212/434] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[213/434] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[214/434] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[215/434] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[216/434] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[217/434] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[218/434] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[219/434] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[220/434] Compiling HashTreeCollections TreeSet.swift
[239/434] Compiling OrderedCollections OrderedSet+Sendable.swift
[240/434] Compiling OrderedCollections OrderedSet+SubSequence.swift
[241/434] Compiling OrderedCollections OrderedSet+Testing.swift
[242/434] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[300/444] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[301/444] Compiling OrderedCollections OrderedSet.swift
[302/444] Compiling OrderedCollections UnsafeBitset.swift
[303/444] Wrapping AST for BitCollections for debugging
[332/444] Emitting module _RopeModule
[344/444] Emitting module OrderedCollections
[376/445] Wrapping AST for OrderedCollections for debugging
[387/445] Compiling _RopeModule BigSubstring+UTF8View.swift
[388/445] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[399/445] Compiling _RopeModule Rope+Join.swift
[400/445] Compiling _RopeModule Rope+MutatingForEach.swift
[401/445] Compiling _RopeModule Rope+Remove.swift
[402/445] Compiling _RopeModule Rope+RemoveSubrange.swift
[403/445] Compiling _RopeModule Rope+Split.swift
[404/445] Compiling _RopeModule Optional Utilities.swift
[405/445] Compiling _RopeModule String Utilities.swift
[406/445] Compiling _RopeModule String.Index+ABI.swift
[407/445] Compiling _RopeModule _CharacterRecognizer.swift
[408/445] Emitting module DequeModule
[409/445] Emitting module HashTreeCollections
[410/446] Wrapping AST for HashTreeCollections for debugging
[422/447] Wrapping AST for _RopeModule for debugging
[429/448] Wrapping AST for DequeModule for debugging
[431/450] Compiling Collections Collections.swift
[432/450] Emitting module Collections
[433/451] Wrapping AST for Collections for debugging
[435/506] Compiling ACPModel Priority.swift
[436/506] Compiling ACPModel ProtocolVersion.swift
[437/506] Compiling ACPModel Providers.swift
[438/506] Compiling ACPModel RequestId.swift
[439/506] Compiling ACPModel Role.swift
[440/506] Compiling ACPModel SessionConfigGroupId.swift
[441/506] Compiling ACPModel SessionConfigId.swift
[442/506] Compiling ACPModel SessionConfigOption.swift
[443/513] Emitting module ACPModel
[444/513] Compiling ACPModel SessionConfigValueId.swift
[445/513] Compiling ACPModel SessionId.swift
[446/513] Compiling ACPModel SessionInfo.swift
[447/513] Compiling ACPModel SessionMessages.swift
[448/513] Compiling ACPModel SessionModeId.swift
[449/513] Compiling ACPModel SessionModeMessages.swift
[450/513] Compiling ACPModel SessionOperations.swift
[451/513] Compiling ACPModel SessionUpdate.swift
[452/513] Compiling ACPModel Elicitation.swift
[453/513] Compiling ACPModel FileMessages.swift
[454/513] Compiling ACPModel Implementation.swift
[455/513] Compiling ACPModel InitializeMessages.swift
[456/513] Compiling ACPModel JsonRpc.swift
[457/513] Compiling ACPModel JsonValue.swift
[458/513] Compiling ACPModel McpServer.swift
[459/513] Compiling ACPModel MessageId.swift
[460/513] Compiling ACPModel V2Elicitation.swift
[461/513] Compiling ACPModel V2ElicitationRequests.swift
[462/513] Compiling ACPModel V2MaybeUndefined.swift
[463/513] Compiling ACPModel V2Permission.swift
[464/513] Compiling ACPModel V2Plan.swift
[465/513] Compiling ACPModel V2Providers.swift
[466/513] Compiling ACPModel V2Requests.swift
[467/513] Compiling ACPModel ModelId.swift
[468/513] Compiling ACPModel ModelMessages.swift
[469/513] Compiling ACPModel Nes.swift
[470/513] Compiling ACPModel Notifications.swift
[471/513] Compiling ACPModel Pagination.swift
[472/513] Compiling ACPModel PermissionMessages.swift
[473/513] Compiling ACPModel PermissionOptionId.swift
[474/513] Compiling ACPModel PlanEntry.swift
[475/513] Compiling ACPModel ACPModel.swift
[476/513] Compiling ACPModel AcpProtocols.swift
[477/513] Compiling ACPModel Annotations.swift
[478/513] Compiling ACPModel AuthMessages.swift
[479/513] Compiling ACPModel AvailableCommand.swift
[480/513] Compiling ACPModel Capabilities.swift
[481/513] Compiling ACPModel ContentBlock.swift
[482/513] Compiling ACPModel Cursor.swift
[483/513] Compiling ACPModel SessionUpdateTypes.swift
[484/513] Compiling ACPModel Terminal.swift
[485/513] Compiling ACPModel ToolCall.swift
[486/513] Compiling ACPModel ToolCallId.swift
[487/513] Compiling ACPModel V2Auth.swift
[488/513] Compiling ACPModel V2Capabilities.swift
[489/513] Compiling ACPModel V2Content.swift
[490/513] Compiling ACPModel V2Session.swift
[491/513] Compiling ACPModel V2SessionConfig.swift
[492/513] Compiling ACPModel V2SessionResume.swift
[493/513] Compiling ACPModel V2SessionUpdate.swift
[494/513] Compiling ACPModel V2Terminal.swift
[495/513] Compiling ACPModel V2ToolCall.swift
[496/513] Compiling ACPModel V2Types.swift
[497/514] Wrapping AST for ACPModel for debugging
[499/530] Compiling ACP RemoteClientOperations.swift
[500/530] Compiling ACP StdioTransport.swift
[501/530] Compiling ACP ClientSessionOperations.swift
[502/530] Compiling ACP Event.swift
[503/532] Compiling ACP ClientConnection.swift
[504/532] Compiling ACP ClientSession.swift
[505/532] 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>
[506/532] 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>
[507/532] Compiling ACP AgentContext.swift
[508/532] Compiling ACP Client.swift
[509/532] 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>
[510/532] 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>
[511/532] Compiling ACP ACP.swift
[512/532] Compiling ACP Agent.swift
[513/532] Compiling ACP AgentConnection.swift
[514/532] Emitting module ACP
[515/532] Compiling ACP TerminalOperations.swift
[516/532] Compiling ACP Transport.swift
[517/533] Wrapping AST for ACP for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[519/546] 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()
[520/546] 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()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[521/546] Compiling ACPHTTP ACPHTTP.swift
[522/546] 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: 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: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
[523/546] Emitting module V2SimpleAgentApp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[524/546] 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()
/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