The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ACP, reference v0.1.16 (f38606), with Swift 6.3 for Linux on 22 Apr 2026 17:09:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aptove/swift-sdk.git
Reference: v0.1.16
Initialized empty Git repository in /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
 * tag               v0.1.16    -> FETCH_HEAD
HEAD is now at f38606f fix: fail pending requests on transport close, call close() on POSIX 57
Cloned https://github.com/aptove/swift-sdk.git
Revision (git rev-parse @):
f38606f7bb43a12122b8338b2bb694084ededf94
SUCCESS checkout https://github.com/aptove/swift-sdk.git at v0.1.16
========================================
Build
========================================
Selected platform:         linux
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-4609320-2":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/6636] Fetching swift-log
[68/30256] Fetching swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (1.55s)
Fetched https://github.com/apple/swift-collections.git from cache (1.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.32s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.53s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /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-24593BA9C3E375BF.txt
[19/66] Emitting module InternalCollectionsUtilities
[20/68] Compiling InternalCollectionsUtilities Debugging.swift
[21/68] Compiling InternalCollectionsUtilities Descriptions.swift
[22/68] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/68] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/68] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/68] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[26/68] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[27/68] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/68] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/68] Compiling InternalCollectionsUtilities Integer rank.swift
[30/68] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[31/68] Compiling InternalCollectionsUtilities UInt+reversed.swift
[32/68] Compiling InternalCollectionsUtilities String+Padding.swift
[33/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[34/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[35/68] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[36/68] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[37/68] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[38/68] Compiling InternalCollectionsUtilities Span+Extras.swift
[39/69] Wrapping AST for InternalCollectionsUtilities for debugging
[41/364] Compiling HashTreeCollections _HashNode.swift
[42/364] Compiling HashTreeCollections _HashNodeHeader.swift
[43/364] Compiling HashTreeCollections _HashSlot.swift
[44/364] Compiling HashTreeCollections _HashStack.swift
[45/364] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[46/364] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[47/364] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[48/364] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[49/368] Compiling HashTreeCollections TreeSet+Debugging.swift
[50/368] Compiling HashTreeCollections TreeSet+Descriptions.swift
[51/368] Compiling HashTreeCollections TreeSet+Equatable.swift
[52/368] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[53/368] Compiling HashTreeCollections _HashNode+Builder.swift
[54/368] Compiling HashTreeCollections _HashNode+Debugging.swift
[55/368] Compiling HashTreeCollections _HashNode+Initializers.swift
[56/368] Compiling HashTreeCollections _HashNode+Invariants.swift
[57/368] Compiling HashTreeCollections _HashNode+Lookups.swift
[58/368] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[59/368] Compiling HashTreeCollections TreeDictionary.swift
[60/368] Compiling HashTreeCollections TreeSet+Codable.swift
[61/368] Compiling HashTreeCollections TreeSet+Collection.swift
[62/368] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[63/368] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[64/368] Compiling HashTreeCollections TreeSet+Extras.swift
[65/368] Compiling HashTreeCollections TreeSet+Filter.swift
[66/368] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[67/368] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[68/368] Compiling HashTreeCollections _HashNode+Structural union.swift
[69/368] Compiling HeapModule Heap+Descriptions.swift
[70/368] Emitting module ContainersPreview
[71/368] Compiling ContainersPreview Box.swift
[72/368] Compiling ContainersPreview Inout.swift
[73/368] Compiling ContainersPreview InputSpan.swift
[74/368] Compiling ContainersPreview Shared.swift
[75/368] Compiling HeapModule _HeapNode.swift
[76/368] Compiling HashTreeCollections _AncestorHashSlots.swift
[77/368] Compiling HashTreeCollections _Bitmap.swift
[78/368] Compiling HashTreeCollections _Bucket.swift
[79/368] Compiling HashTreeCollections _Hash.swift
[80/368] Compiling HashTreeCollections _HashLevel.swift
[82/369] Compiling HeapModule Heap.swift
[82/369] Wrapping AST for ContainersPreview for debugging
[84/369] Compiling Logging LogHandler.swift
[85/369] Compiling Logging LogEvent.swift
[86/369] Emitting module Logging
[87/369] Compiling Logging Locks.swift
[88/388] Emitting module HeapModule
[89/409] Compiling DequeModule RigidDeque+Container.swift
[90/409] Compiling DequeModule RigidDeque+Descriptions.swift
[91/409] Compiling DequeModule RigidDeque+Equatable.swift
[92/409] Compiling DequeModule RigidDeque+Experimental.swift
[93/409] Compiling DequeModule RigidDeque+Hashable.swift
[94/409] Compiling DequeModule RigidDeque+Initializers.swift
[95/409] Compiling DequeModule RigidDeque+Insertions.swift
[96/409] Compiling DequeModule RigidDeque+Prepend.swift
[97/416] Compiling HeapModule Heap+Invariants.swift
[98/416] Compiling HeapModule Heap+UnsafeHandle.swift
[99/417] Wrapping AST for HeapModule for debugging
[101/417] Compiling DequeModule RigidDeque+Removals.swift
[102/417] Compiling DequeModule RigidDeque+Replacements.swift
[103/417] Compiling DequeModule RigidDeque+Testing.swift
[104/417] Compiling DequeModule RigidDeque.swift
[105/417] Compiling DequeModule UniqueDeque+Append.swift
[106/417] Compiling DequeModule UniqueDeque+Hashable.swift
[107/417] Compiling DequeModule UniqueDeque+Initializers.swift
[115/424] Emitting module BitCollections
[124/424] Compiling HashTreeCollections TreeDictionary+Collection.swift
[125/424] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[126/424] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[127/424] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[128/424] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[129/424] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[130/424] Compiling HashTreeCollections TreeDictionary+Filter.swift
[131/424] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[132/424] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[133/424] Compiling HashTreeCollections TreeDictionary+Keys.swift
[134/424] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[135/424] Compiling HashTreeCollections TreeDictionary+Merge.swift
[136/424] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[137/424] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[138/424] Compiling Logging MetadataProvider.swift
[139/424] Compiling Logging Logging.swift
[140/425] Wrapping AST for Logging for debugging
[142/425] Compiling DequeModule _DequeBuffer.swift
[143/425] Compiling DequeModule _DequeBufferHeader.swift
[144/425] Compiling DequeModule RigidDeque+Append.swift
[145/425] Compiling DequeModule RigidDeque+Consumption.swift
[148/430] Compiling DequeModule Deque+Codable.swift
[149/430] Compiling DequeModule Deque+Collection.swift
[150/430] Compiling DequeModule Deque+CustomReflectable.swift
[151/430] Compiling DequeModule Deque+Descriptions.swift
[152/430] Compiling DequeModule Deque+Equatable.swift
[153/430] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[154/430] Compiling DequeModule Deque+Extras.swift
[155/430] Compiling DequeModule Deque+Hashable.swift
[158/430] Compiling DequeModule UniqueDeque+Insertions.swift
[159/430] Compiling DequeModule UniqueDeque+Prepend.swift
[160/430] Compiling DequeModule UniqueDeque+Removals.swift
[172/430] Compiling DequeModule UniqueDeque+Consumption.swift
[173/430] Compiling DequeModule UniqueDeque+Container.swift
[174/430] Compiling DequeModule UniqueDeque+Descriptions.swift
[175/430] Compiling DequeModule UniqueDeque+Equatable.swift
[176/430] Compiling DequeModule UniqueDeque+Experimental.swift
[193/430] Compiling DequeModule UniqueDeque+Replacements.swift
[194/430] Compiling DequeModule UniqueDeque.swift
[195/430] Compiling DequeModule _DequeSlot.swift
[196/430] Compiling DequeModule _UnsafeDequeHandle.swift
[197/430] Compiling DequeModule _UnsafeDequeSegments.swift
[207/430] Compiling BitCollections BitSet.Index.swift
[209/430] Compiling OrderedCollections OrderedSet+Sendable.swift
[210/430] Compiling OrderedCollections OrderedSet+SubSequence.swift
[211/430] Compiling OrderedCollections OrderedSet+Testing.swift
[212/430] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[213/430] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[214/430] Compiling OrderedCollections OrderedSet.swift
[224/439] Compiling DequeModule Deque+Testing.swift
[225/439] Compiling DequeModule Deque._Storage.swift
[226/439] Compiling DequeModule Deque._UnsafeHandle.swift
[227/439] Compiling DequeModule Deque.swift
[280/440] Wrapping AST for BitCollections for debugging
[288/440] Compiling OrderedCollections _UnsafeBitset.swift
[296/440] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[297/440] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[298/440] Compiling _RopeModule BigString+CustomStringConvertible.swift
[299/440] Compiling _RopeModule BigString+Equatable.swift
[300/440] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[301/440] Compiling _RopeModule BigString+Hashing.swift
[302/440] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[303/440] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[304/440] Compiling _RopeModule Rope+Join.swift
[305/440] Compiling _RopeModule Rope+MutatingForEach.swift
[306/440] Compiling _RopeModule Rope+Remove.swift
[307/440] Compiling _RopeModule Rope+RemoveSubrange.swift
[308/440] Compiling _RopeModule Rope+Split.swift
[309/440] Compiling _RopeModule Optional Utilities.swift
[342/450] Emitting module OrderedCollections
[343/451] Emitting module HashTreeCollections
[345/451] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[346/451] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[347/451] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[348/451] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[349/451] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[350/451] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[351/451] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[352/451] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[353/451] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[354/451] Compiling HashTreeCollections TreeSet.swift
[354/451] Wrapping AST for OrderedCollections for debugging
[366/451] Emitting module _RopeModule
[429/453] Wrapping AST for HashTreeCollections for debugging
[430/453] Wrapping AST for _RopeModule for debugging
[432/453] Emitting module DequeModule
[438/454] Wrapping AST for DequeModule for debugging
[440/460] Compiling Collections DequeModule reexports.swift
[441/460] Compiling Collections HeapModule reexports.swift
[442/460] Compiling Collections OrderedCollections reexports.swift
[443/460] Compiling Collections BitCollections reexports.swift
[444/460] Emitting module Collections
[445/460] Compiling Collections HashTreeCollections reexports.swift
[446/461] Wrapping AST for Collections for debugging
[448/497] Emitting module ACPModel
[449/502] Compiling ACPModel PlanEntry.swift
[450/502] Compiling ACPModel Priority.swift
[451/502] Compiling ACPModel ProtocolVersion.swift
[452/502] Compiling ACPModel RequestId.swift
[453/502] Compiling ACPModel Role.swift
[454/502] Compiling ACPModel ACPModel.swift
[455/502] Compiling ACPModel AcpProtocols.swift
[456/502] Compiling ACPModel Annotations.swift
[457/502] Compiling ACPModel AuthMessages.swift
[458/502] Compiling ACPModel AvailableCommand.swift
[459/502] Compiling ACPModel SessionInfo.swift
[460/502] Compiling ACPModel SessionMessages.swift
[461/502] Compiling ACPModel SessionModeId.swift
[462/502] Compiling ACPModel SessionModeMessages.swift
[463/502] Compiling ACPModel SessionOperations.swift
[464/502] Compiling ACPModel ModelMessages.swift
[465/502] Compiling ACPModel Notifications.swift
[466/502] Compiling ACPModel Pagination.swift
[467/502] Compiling ACPModel PermissionMessages.swift
[468/502] Compiling ACPModel PermissionOptionId.swift
[469/502] Compiling ACPModel SessionConfigGroupId.swift
[470/502] Compiling ACPModel SessionConfigId.swift
[471/502] Compiling ACPModel SessionConfigOption.swift
[472/502] Compiling ACPModel SessionConfigValueId.swift
[473/502] Compiling ACPModel SessionId.swift
[474/502] Compiling ACPModel Capabilities.swift
[475/502] Compiling ACPModel ContentBlock.swift
[476/502] Compiling ACPModel Cursor.swift
[477/502] Compiling ACPModel FileMessages.swift
[478/502] Compiling ACPModel Implementation.swift
[479/502] Compiling ACPModel InitializeMessages.swift
[480/502] Compiling ACPModel JsonRpc.swift
[481/502] Compiling ACPModel JsonValue.swift
[482/502] Compiling ACPModel McpServer.swift
[483/502] Compiling ACPModel ModelId.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 ClientSessionOperations.swift
[492/519] Compiling ACP Event.swift
[493/521] Compiling ACP TerminalOperations.swift
[494/521] Compiling ACP Transport.swift
[495/521] Emitting module ACP
[496/521] Compiling ACP ClientConnection.swift
[497/521] Compiling ACP ClientSession.swift
[498/521] Compiling ACP ACP.swift
[499/521] Compiling ACP Agent.swift
[500/521] Compiling ACP AgentConnection.swift
[501/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>
[502/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>
[503/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>
[504/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>
[505/521] Compiling ACP AgentContext.swift
[506/521] Compiling ACP Client.swift
[507/521] Compiling ACP RemoteClientOperations.swift
[508/521] Compiling ACP StdioTransport.swift
[509/530] Wrapping AST for ACP for debugging
[511/533] Emitting module InteractiveClient
[512/533] Compiling SimpleClient main.swift
[513/533] Emitting module SimpleClient
[514/534] Emitting module SimpleAgentApp
[515/534] Compiling SimpleAgentApp main.swift
/host/spi-builder-workspace/Samples/SimpleAgentApp/main.swift:400:24: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
398 |             if case .text(let text) = chunk.content {
399 |                 print(text.text, terminator: "")
400 |                 fflush(stdout)
    |                        `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
401 |             }
402 |         case .agentThoughtChunk(let chunk):
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Samples/SimpleAgentApp/main.swift:491:24: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
489 |             while true {
490 |                 print("You: ", terminator: "")
491 |                 fflush(stdout)
    |                        `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
492 |
493 |                 guard let input = readLine() else { break }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Samples/SimpleAgentApp/main.swift:501:24: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
499 |                 print()
500 |                 print("Agent: ", terminator: "")
501 |                 fflush(stdout)
    |                        `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
502 |
503 |                 let response = try await clientConnection.prompt(request: PromptRequest(
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
error: emit-module command failed with exit code 1 (use -v to see invocation)
[516/534] 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
[517/534] 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 |
[518/534] Compiling ACPHTTP ACPHTTP.swift
BUILD FAILURE 6.3 linux