The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AGUISwift, reference main (659aa5), with Swift 6.1 for Linux on 5 May 2026 00:40:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-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/paduh/ag-ui-swift.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/paduh/ag-ui-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 659aa55 Merge pull request #24 from paduh/fix/pr-1512-review-gaps
Cloned https://github.com/paduh/ag-ui-swift.git
Revision (git rev-parse @):
659aa553ceb6893cd834874f3d1b9bf5cde31959
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/paduh/ag-ui-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/paduh/ag-ui-swift.git
https://github.com/paduh/ag-ui-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2287] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.78s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (5.39s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3710] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.89s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/101] Compiling AGUICore UnknownEvent.swift
[9/101] Compiling AGUICore Context.swift
[10/101] Compiling AGUICore RunAgentInput.swift
[11/101] Compiling AGUICore RunAgentInputBuilder.swift
[12/101] Compiling AGUICore State.swift
[13/101] Compiling AGUICore AudioInputContent.swift
[14/101] Compiling AGUICore BinaryInputContent.swift
[15/101] Compiling AGUICore DocumentInputContent.swift
[16/101] Compiling AGUICore ImageInputContent.swift
[17/101] Compiling AGUICore InputContent.swift
[18/101] Compiling AGUICore TextInputContent.swift
[19/101] Compiling AGUICore VideoInputContent.swift
[20/101] Compiling AGUICore ActivityMessage.swift
[21/101] Compiling AGUICore LifecycleEventRegistry.swift
[22/101] Compiling AGUICore ReasoningEventRegistry.swift
[23/101] Compiling AGUICore SpecialEventRegistry.swift
[24/101] Compiling AGUICore StateEventRegistry.swift
[25/101] Compiling AGUICore TextMessageEventRegistry.swift
[26/101] Compiling AGUICore ToolCallEventRegistry.swift
[27/101] Compiling AGUICore RegistryComposer.swift
[28/101] Compiling AGUICore MessageEncoder.swift
[29/101] Compiling AGUICore EventType.swift
[30/101] Compiling AGUICore AGUIEvent.swift
[31/101] Compiling AGUICore ActivityDeltaEvent.swift
[32/101] Compiling AGUICore ActivitySnapshotEvent.swift
[33/101] Compiling AGUICore RunErrorEvent.swift
[34/101] Compiling AGUICore RawEvent.swift
[35/101] Compiling AGUICore MessagesSnapshotEvent.swift
[36/101] Compiling AGUICore StateDeltaEvent.swift
[37/101] Compiling AGUICore StateSnapshotEvent.swift
[38/101] Compiling AGUICore TextMessageChunkEvent.swift
[39/101] Compiling AGUICore TextMessageContentEvent.swift
[40/101] Compiling AGUICore TextMessageEndEvent.swift
[41/101] Compiling AGUICore TextMessageStartEvent.swift
[42/101] Compiling AGUICore ToolCallArgsEvent.swift
[43/101] Compiling AGUICore ToolCallChunkEvent.swift
[44/101] Compiling AGUICore ToolCallEndEvent.swift
[45/101] Compiling AGUICore ToolCallResultEvent.swift
[46/101] Compiling AGUICore ToolCallStartEvent.swift
[47/114] Compiling AGUICore ReasoningMessageStartEventDTO.swift
[48/114] Compiling AGUICore ReasoningStartEventDTO.swift
[49/114] Compiling AGUICore CustomEventDTO.swift
[50/114] Compiling AGUICore RawEventDTO.swift
[51/114] Compiling AGUICore MessagesSnapshotEventDTO.swift
[52/114] Compiling AGUICore StateDeltaEventDTO.swift
[53/114] Compiling AGUICore StateSnapshotEventDTO.swift
[54/114] Compiling AGUICore TextMessageChunkEventDTO.swift
[55/114] Compiling AGUICore TextMessageEndEventDTO.swift
[56/114] Compiling AGUICore ToolCallChunkEventDTO.swift
[57/114] Compiling AGUICore ToolCallEndEventDTO.swift
[58/114] Compiling AGUICore ToolCallResultEventDTO.swift
[59/114] Compiling AGUICore TypeDiscriminator.swift
[60/114] Compiling AGUICore EventDecodingError.swift
[61/114] Emitting module AGUICore
[62/114] Compiling AGUICore RunFinishedEvent.swift
[63/114] Compiling AGUICore RunFinishedOutcome.swift
[64/114] Compiling AGUICore RunStartedEvent.swift
[65/114] Compiling AGUICore StepFinishedEvent.swift
[66/114] Compiling AGUICore StepStartedEvent.swift
[67/114] Compiling AGUICore ReasoningEncryptedValueEvent.swift
[68/114] Compiling AGUICore ReasoningEndEvent.swift
[69/114] Compiling AGUICore ReasoningMessageChunkEvent.swift
[70/114] Compiling AGUICore ReasoningMessageContentEvent.swift
[71/114] Compiling AGUICore ReasoningMessageEndEvent.swift
[72/114] Compiling AGUICore ReasoningMessageStartEvent.swift
[73/114] Compiling AGUICore ReasoningStartEvent.swift
[74/114] Compiling AGUICore CustomEvent.swift
[75/114] Compiling AGUICore AudioInputContentDTO.swift
[76/114] Compiling AGUICore BinaryInputContentDTO.swift
[77/114] Compiling AGUICore DocumentInputContentDTO.swift
[78/114] Compiling AGUICore ImageInputContentDTO.swift
[79/114] Compiling AGUICore TextInputContentDTO.swift
[80/114] Compiling AGUICore VideoInputContentDTO.swift
[81/114] Compiling AGUICore ActivityMessageDTO.swift
[82/114] Compiling AGUICore MessageDecodingHelpers.swift
[83/114] Compiling AGUICore ReasoningMessageDTO.swift
[84/114] Compiling AGUICore ToolMessageDTO.swift
[85/114] Compiling AGUICore UserMessageDTO.swift
[86/114] Compiling AGUICore MessageDecoder.swift
[87/114] Compiling AGUICore ActivityEventRegistry.swift
[88/114] Compiling AGUICore AGUIEventDecoder.swift
[89/114] Compiling AGUICore ActivityDeltaEventDTO.swift
[90/114] Compiling AGUICore ActivitySnapshotEventDTO.swift
[91/114] Compiling AGUICore EventDecodingHelpers.swift
[92/114] Compiling AGUICore RunErrorEventDTO.swift
[93/114] Compiling AGUICore RunFinishedEventDTO.swift
[94/114] Compiling AGUICore RunStartedEventDTO.swift
[95/114] Compiling AGUICore StepFinishedEventDTO.swift
[96/114] Compiling AGUICore StepStartedEventDTO.swift
[97/114] Compiling AGUICore ReasoningEncryptedValueEventDTO.swift
[98/114] Compiling AGUICore ReasoningEndEventDTO.swift
[99/114] Compiling AGUICore ReasoningMessageChunkEventDTO.swift
[100/114] Compiling AGUICore ReasoningMessageContentEventDTO.swift
[101/114] Compiling AGUICore ReasoningMessageEndEventDTO.swift
[102/114] Compiling AGUICore AssistantMessage.swift
[103/114] Compiling AGUICore DeveloperMessage.swift
[104/114] Compiling AGUICore Message.swift
[105/114] Compiling AGUICore ReasoningMessage.swift
[106/114] Compiling AGUICore Role.swift
[107/114] Compiling AGUICore SystemMessage.swift
[108/114] Compiling AGUICore ToolMessage.swift
[109/114] Compiling AGUICore UserMessage.swift
[110/114] Compiling AGUICore FunctionCall.swift
[111/114] Compiling AGUICore Tool.swift
[112/114] Compiling AGUICore ToolCall.swift
[113/114] Compiling AGUICore JSONCodingHelpers.swift
[114/114] Compiling AGUICore JSONPrimitiveWrapper.swift
[116/147] Compiling AGUITools ToolResponseHandler.swift
[117/147] Compiling AGUITools ToolExecutionResult.swift
[118/147] Compiling AGUITools ToolExecutionStats.swift
[119/148] Compiling AGUIClient AgentTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     /// HTTP status code.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:52:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     ///   - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
51 |     ///   - httpResponse: HTTP response metadata
52 |     public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: HTTPURLResponse) {
   |                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         self.bytes = bytes
54 |         self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:16: warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                `- warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
36 |
37 |     /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:39:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
37 |     /// HTTP status code.
38 |     public var statusCode: Int {
39 |         httpResponse.statusCode
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |     }
41 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:44:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
42 |     /// Response headers.
43 |     public var headers: [AnyHashable: Any] {
44 |         httpResponse.allHeaderFields
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
45 |     }
46 |
[120/148] Compiling AGUIClient HTTPClient.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     /// HTTP status code.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:52:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     ///   - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
51 |     ///   - httpResponse: HTTP response metadata
52 |     public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: HTTPURLResponse) {
   |                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         self.bytes = bytes
54 |         self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:16: warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                `- warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
36 |
37 |     /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:39:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
37 |     /// HTTP status code.
38 |     public var statusCode: Int {
39 |         httpResponse.statusCode
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |     }
41 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:44:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
42 |     /// Response headers.
43 |     public var headers: [AnyHashable: Any] {
44 |         httpResponse.allHeaderFields
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
45 |     }
46 |
[121/148] Compiling AGUIClient HttpAgentConfiguration.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     /// HTTP status code.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:52:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     ///   - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
51 |     ///   - httpResponse: HTTP response metadata
52 |     public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: HTTPURLResponse) {
   |                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         self.bytes = bytes
54 |         self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:16: warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                `- warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
36 |
37 |     /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:39:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
37 |     /// HTTP status code.
38 |     public var statusCode: Int {
39 |         httpResponse.statusCode
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |     }
41 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:44:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
42 |     /// Response headers.
43 |     public var headers: [AnyHashable: Any] {
44 |         httpResponse.allHeaderFields
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
45 |     }
46 |
[122/151] Compiling AGUITools ToolExecutor.swift
[123/151] Emitting module AGUITools
error: emit-module command failed with exit code 1 (use -v to see invocation)
[124/151] Emitting module AGUIClient
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     /// HTTP status code.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:52:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     ///   - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
51 |     ///   - httpResponse: HTTP response metadata
52 |     public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: HTTPURLResponse) {
   |                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         self.bytes = bytes
54 |         self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:16: warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                `- warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
36 |
37 |     /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:54:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 52 |         } else {
 53 |             // Create default URLSession-based client
 54 |             let sessionConfig = URLSessionConfiguration.default
    |                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 55 |             // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
 56 |             // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:70:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |             sessionConfig.httpAdditionalHeaders = headers
 69 |
 70 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |             self.httpClient = URLSessionHTTPClient(session: session)
 72 |         }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | ///
 11 | public actor URLSessionHTTPClient: HTTPClient {
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     /// Creates a new URLSession HTTP client with the specified 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/AGUIClient/Transport/URLSessionHTTPClient.swift:30:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     /// let client = URLSessionHTTPClient(session: session)
 29 |     /// ```
 30 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.session = session
 32 |     }
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/AGUIClient/Transport/URLSessionHTTPClient.swift:50:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:68:36: error: cannot find type 'URLRequest' in scope
 66 |     /// - `.cancelled` → `.cancelled`
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
    |                                    `- error: cannot find type 'URLRequest' in scope
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
 70 |
[125/151] Compiling AGUIClient HttpAgentTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:54:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 52 |         } else {
 53 |             // Create default URLSession-based client
 54 |             let sessionConfig = URLSessionConfiguration.default
    |                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 55 |             // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
 56 |             // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:70:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |             sessionConfig.httpAdditionalHeaders = headers
 69 |
 70 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |             self.httpClient = URLSessionHTTPClient(session: session)
 72 |         }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:119:23: error: cannot find 'URLRequest' in scope
117 |
118 |         // Create request
119 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
120 |         request.httpMethod = "POST"
121 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | ///
 11 | public actor URLSessionHTTPClient: HTTPClient {
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     /// Creates a new URLSession HTTP client with the specified 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/AGUIClient/Transport/URLSessionHTTPClient.swift:30:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     /// let client = URLSessionHTTPClient(session: session)
 29 |     /// ```
 30 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.session = session
 32 |     }
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/AGUIClient/Transport/URLSessionHTTPClient.swift:50:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:68:36: error: cannot find type 'URLRequest' in scope
 66 |     /// - `.cancelled` → `.cancelled`
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
    |                                    `- error: cannot find type 'URLRequest' in scope
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
 70 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:52:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         configuration: URLSessionConfiguration = .default
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         return URLSessionHTTPClient(session: session)
 54 |     }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:69:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
    |                                            `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 70 |
 71 |         do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 70 |
 71 |         do {
 72 |             (bytes, response) = try await session.bytes(for: request)
    |                                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 73 |         } catch let error as URLError {
 74 |             throw mapURLError(error)
[126/151] Compiling AGUIClient HttpTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:54:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 52 |         } else {
 53 |             // Create default URLSession-based client
 54 |             let sessionConfig = URLSessionConfiguration.default
    |                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 55 |             // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
 56 |             // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:70:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |             sessionConfig.httpAdditionalHeaders = headers
 69 |
 70 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |             self.httpClient = URLSessionHTTPClient(session: session)
 72 |         }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:119:23: error: cannot find 'URLRequest' in scope
117 |
118 |         // Create request
119 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
120 |         request.httpMethod = "POST"
121 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | ///
 11 | public actor URLSessionHTTPClient: HTTPClient {
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     /// Creates a new URLSession HTTP client with the specified 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/AGUIClient/Transport/URLSessionHTTPClient.swift:30:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     /// let client = URLSessionHTTPClient(session: session)
 29 |     /// ```
 30 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.session = session
 32 |     }
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/AGUIClient/Transport/URLSessionHTTPClient.swift:50:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:68:36: error: cannot find type 'URLRequest' in scope
 66 |     /// - `.cancelled` → `.cancelled`
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
    |                                    `- error: cannot find type 'URLRequest' in scope
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
 70 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:52:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         configuration: URLSessionConfiguration = .default
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         return URLSessionHTTPClient(session: session)
 54 |     }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:69:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
    |                                            `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 70 |
 71 |         do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 70 |
 71 |         do {
 72 |             (bytes, response) = try await session.bytes(for: request)
    |                                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 73 |         } catch let error as URLError {
 74 |             throw mapURLError(error)
[127/151] Compiling AGUIClient URLSessionHTTPClient.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:54:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 52 |         } else {
 53 |             // Create default URLSession-based client
 54 |             let sessionConfig = URLSessionConfiguration.default
    |                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 55 |             // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
 56 |             // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:70:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |             sessionConfig.httpAdditionalHeaders = headers
 69 |
 70 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |             self.httpClient = URLSessionHTTPClient(session: session)
 72 |         }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:119:23: error: cannot find 'URLRequest' in scope
117 |
118 |         // Create request
119 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
120 |         request.httpMethod = "POST"
121 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | ///
 11 | public actor URLSessionHTTPClient: HTTPClient {
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     /// Creates a new URLSession HTTP client with the specified 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/AGUIClient/Transport/URLSessionHTTPClient.swift:30:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     /// let client = URLSessionHTTPClient(session: session)
 29 |     /// ```
 30 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.session = session
 32 |     }
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/AGUIClient/Transport/URLSessionHTTPClient.swift:50:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:68:36: error: cannot find type 'URLRequest' in scope
 66 |     /// - `.cancelled` → `.cancelled`
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
    |                                    `- error: cannot find type 'URLRequest' in scope
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
 70 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:52:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         configuration: URLSessionConfiguration = .default
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         return URLSessionHTTPClient(session: session)
 54 |     }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:69:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
    |                                            `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 70 |
 71 |         do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 70 |
 71 |         do {
 72 |             (bytes, response) = try await session.bytes(for: request)
    |                                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 73 |         } catch let error as URLError {
 74 |             throw mapURLError(error)
[128/151] Compiling AGUIClient ClientError.swift
[129/151] Compiling AGUIClient EventStream.swift
[130/151] Compiling AGUITools ToolExecutionManager.swift
[131/151] Compiling AGUIClient AGUIClient.swift
[132/151] Compiling AGUIClient AbstractAgent.swift
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/EventVerifier.swift:202:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
200 |     public func verifyEvents(debug: Bool = false) -> AsyncThrowingStream<any AGUIEvent, Error> {
201 |         AsyncThrowingStream { continuation in
202 |             let task = Task {
    |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
203 |                 let verifier = EventVerifier(debug: debug)
204 |                 do {
205 |                     for try await event in self {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
206 |                         try verifier.verify(event)
207 |                         continuation.yield(event)
[137/151] Compiling AGUIClient EventVerifier.swift
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/EventVerifier.swift:202:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
200 |     public func verifyEvents(debug: Bool = false) -> AsyncThrowingStream<any AGUIEvent, Error> {
201 |         AsyncThrowingStream { continuation in
202 |             let task = Task {
    |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
203 |                 let verifier = EventVerifier(debug: debug)
204 |                 do {
205 |                     for try await event in self {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
206 |                         try verifier.verify(event)
207 |                         continuation.yield(event)
[138/151] Compiling AGUIClient SseEvent.swift
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/EventVerifier.swift:202:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
200 |     public func verifyEvents(debug: Bool = false) -> AsyncThrowingStream<any AGUIEvent, Error> {
201 |         AsyncThrowingStream { continuation in
202 |             let task = Task {
    |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
203 |                 let verifier = EventVerifier(debug: debug)
204 |                 do {
205 |                     for try await event in self {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
206 |                         try verifier.verify(event)
207 |                         continuation.yield(event)
[139/151] Compiling AGUITools ToolRegistry.swift
/host/spi-builder-workspace/Sources/AGUITools/Registry/ToolRegistry.swift:324:15: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
317 | /// - Returns: The result of the operation
318 | /// - Throws: ``ToolExecutionError/timeout(toolName:duration:)`` if timeout exceeded
319 | private func withTimeout<T>(
    |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
320 |     _ duration: Duration,
321 |     toolName: String,
322 |     operation: @escaping @Sendable () async throws -> T
323 | ) async throws -> T {
324 |     try await withThrowingTaskGroup(of: T.self) { group in
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
325 |         group.addTask {
326 |             try await operation()
/host/spi-builder-workspace/Sources/AGUITools/Registry/ToolRegistry.swift:325:15: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
317 | /// - Returns: The result of the operation
318 | /// - Throws: ``ToolExecutionError/timeout(toolName:duration:)`` if timeout exceeded
319 | private func withTimeout<T>(
    |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
320 |     _ duration: Duration,
321 |     toolName: String,
    :
323 | ) async throws -> T {
324 |     try await withThrowingTaskGroup(of: T.self) { group in
325 |         group.addTask {
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
326 |             try await operation()
327 |         }
/host/spi-builder-workspace/Sources/AGUITools/Registry/ToolRegistry.swift:329:15: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
317 | /// - Returns: The result of the operation
318 | /// - Throws: ``ToolExecutionError/timeout(toolName:duration:)`` if timeout exceeded
319 | private func withTimeout<T>(
    |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
320 |     _ duration: Duration,
321 |     toolName: String,
    :
327 |         }
328 |
329 |         group.addTask {
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
330 |             try await Task.sleep(for: duration)
331 |             throw ToolExecutionError.timeout(toolName: toolName, duration: duration)
/host/spi-builder-workspace/Sources/AGUITools/Registry/ToolRegistry.swift:334:38: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
317 | /// - Returns: The result of the operation
318 | /// - Throws: ``ToolExecutionError/timeout(toolName:duration:)`` if timeout exceeded
319 | private func withTimeout<T>(
    |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
320 |     _ duration: Duration,
321 |     toolName: String,
    :
332 |         }
333 |
334 |         let result = try await group.next()!
    |                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
335 |         group.cancelAll()
336 |         return result
/host/spi-builder-workspace/Sources/AGUITools/Registry/ToolRegistry.swift:335:15: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
317 | /// - Returns: The result of the operation
318 | /// - Throws: ``ToolExecutionError/timeout(toolName:duration:)`` if timeout exceeded
319 | private func withTimeout<T>(
    |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
320 |     _ duration: Duration,
321 |     toolName: String,
    :
333 |
334 |         let result = try await group.next()!
335 |         group.cancelAll()
    |               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 |         return result
337 |     }
[140/152] Compiling AGUIClient SseParser.swift
[141/152] Compiling AGUIClient AgentSubscriber.swift
[142/152] Compiling AGUIClient SubscriberManager.swift
[144/152] Compiling AGUIClient AsyncSequence+Buffering.swift
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:39:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |     ) -> AsyncThrowingStream<any AGUIEvent, Error> where S.Element == any AGUIEvent {
 38 |         AsyncThrowingStream { continuation in
 39 |             let task = Task {
    |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |                 let transformer = EventTransformer(continuation: continuation)
 41 |                 await transformer.processEvents(events)
    |                                                 `- note: closure captures 'events' which is accessible to code in the current task
 42 |             }
 43 |             continuation.onTermination = { _ in task.cancel() }
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:41:35: warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
 39 |             let task = Task {
 40 |                 let transformer = EventTransformer(continuation: continuation)
 41 |                 await transformer.processEvents(events)
    |                                   |- warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending task-isolated 'events' to actor-isolated instance method 'processEvents' risks causing data races between actor-isolated and task-isolated uses
 42 |             }
 43 |             continuation.onTermination = { _ in task.cancel() }
[145/152] Compiling AGUIClient BufferingStrategy.swift
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:39:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |     ) -> AsyncThrowingStream<any AGUIEvent, Error> where S.Element == any AGUIEvent {
 38 |         AsyncThrowingStream { continuation in
 39 |             let task = Task {
    |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |                 let transformer = EventTransformer(continuation: continuation)
 41 |                 await transformer.processEvents(events)
    |                                                 `- note: closure captures 'events' which is accessible to code in the current task
 42 |             }
 43 |             continuation.onTermination = { _ in task.cancel() }
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:41:35: warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
 39 |             let task = Task {
 40 |                 let transformer = EventTransformer(continuation: continuation)
 41 |                 await transformer.processEvents(events)
    |                                   |- warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending task-isolated 'events' to actor-isolated instance method 'processEvents' risks causing data races between actor-isolated and task-isolated uses
 42 |             }
 43 |             continuation.onTermination = { _ in task.cancel() }
[146/152] Compiling AGUIClient ChunkTransformer.swift
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:39:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |     ) -> AsyncThrowingStream<any AGUIEvent, Error> where S.Element == any AGUIEvent {
 38 |         AsyncThrowingStream { continuation in
 39 |             let task = Task {
    |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |                 let transformer = EventTransformer(continuation: continuation)
 41 |                 await transformer.processEvents(events)
    |                                                 `- note: closure captures 'events' which is accessible to code in the current task
 42 |             }
 43 |             continuation.onTermination = { _ in task.cancel() }
/host/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:41:35: warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
 39 |             let task = Task {
 40 |                 let transformer = EventTransformer(continuation: continuation)
 41 |                 await transformer.processEvents(events)
    |                                   |- warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending task-isolated 'events' to actor-isolated instance method 'processEvents' risks causing data races between actor-isolated and task-isolated uses
 42 |             }
 43 |             continuation.onTermination = { _ in task.cancel() }
[147/152] Compiling AGUIClient DefaultApplyEvents.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:254:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
252 |
253 |         // Remove from 'from' path
254 |         var intermediate = try applyRemove(path: from, from: state)
    |             `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
255 |
256 |         // Add to 'to' path
/host/spi-builder-workspace/Sources/AGUIClient/State/DefaultApplyEvents.swift:20:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 18 |     ) -> AsyncThrowingStream<AgentState, Error> {
 19 |         AsyncThrowingStream { continuation in
 20 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 21 |                 // Mutable state — all access is serialized within this single Task
 22 |                 var messages: [any Message] = input.messages
    :
 27 |
 28 |                 do {
 29 |                     for try await event in self {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
 30 |                         // Emit initial messages on first event if present
 31 |                         if !initialMessagesEmitted {
[148/152] Compiling AGUIClient PatchApplicator.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:254:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
252 |
253 |         // Remove from 'from' path
254 |         var intermediate = try applyRemove(path: from, from: state)
    |             `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
255 |
256 |         // Add to 'to' path
/host/spi-builder-workspace/Sources/AGUIClient/State/DefaultApplyEvents.swift:20:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 18 |     ) -> AsyncThrowingStream<AgentState, Error> {
 19 |         AsyncThrowingStream { continuation in
 20 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 21 |                 // Mutable state — all access is serialized within this single Task
 22 |                 var messages: [any Message] = input.messages
    :
 27 |
 28 |                 do {
 29 |                     for try await event in self {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
 30 |                         // Emit initial messages on first event if present
 31 |                         if !initialMessagesEmitted {
[149/152] Compiling AGUIClient StateManager.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:254:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
252 |
253 |         // Remove from 'from' path
254 |         var intermediate = try applyRemove(path: from, from: state)
    |             `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
255 |
256 |         // Add to 'to' path
/host/spi-builder-workspace/Sources/AGUIClient/State/DefaultApplyEvents.swift:20:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 18 |     ) -> AsyncThrowingStream<AgentState, Error> {
 19 |         AsyncThrowingStream { continuation in
 20 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 21 |                 // Mutable state — all access is serialized within this single Task
 22 |                 var messages: [any Message] = input.messages
    :
 27 |
 28 |                 do {
 29 |                     for try await event in self {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
 30 |                         // Emit initial messages on first event if present
 31 |                         if !initialMessagesEmitted {
[150/152] Compiling AGUIClient HttpAgent.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
[151/152] Compiling AGUIClient RunAgentParameters.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
[152/152] Compiling AGUIClient AgentState.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/97] Compiling AGUICore AudioInputContentDTO.swift
[5/97] Compiling AGUICore BinaryInputContentDTO.swift
[6/97] Compiling AGUICore DocumentInputContentDTO.swift
[7/97] Compiling AGUICore ImageInputContentDTO.swift
[8/97] Compiling AGUICore TextInputContentDTO.swift
[9/97] Compiling AGUICore VideoInputContentDTO.swift
[10/97] Compiling AGUICore ActivityMessageDTO.swift
[11/97] Compiling AGUICore MessageDecodingHelpers.swift
[12/97] Compiling AGUICore ReasoningMessageDTO.swift
[13/97] Compiling AGUICore ToolMessageDTO.swift
[14/97] Compiling AGUICore UserMessageDTO.swift
[15/97] Compiling AGUICore MessageDecoder.swift
[16/97] Compiling AGUICore ActivityEventRegistry.swift
[17/110] Compiling AGUICore UnknownEvent.swift
[18/110] Compiling AGUICore Context.swift
[19/110] Compiling AGUICore RunAgentInput.swift
[20/110] Compiling AGUICore RunAgentInputBuilder.swift
[21/110] Compiling AGUICore State.swift
[22/110] Compiling AGUICore AudioInputContent.swift
[23/110] Compiling AGUICore BinaryInputContent.swift
[24/110] Compiling AGUICore DocumentInputContent.swift
[25/110] Compiling AGUICore ImageInputContent.swift
[26/110] Compiling AGUICore InputContent.swift
[27/110] Compiling AGUICore TextInputContent.swift
[28/110] Compiling AGUICore VideoInputContent.swift
[29/110] Compiling AGUICore ActivityMessage.swift
[30/110] Compiling AGUICore AGUIEventDecoder.swift
[31/110] Compiling AGUICore ActivityDeltaEventDTO.swift
[32/110] Compiling AGUICore ActivitySnapshotEventDTO.swift
[33/110] Compiling AGUICore EventDecodingHelpers.swift
[34/110] Compiling AGUICore RunErrorEventDTO.swift
[35/110] Compiling AGUICore RunFinishedEventDTO.swift
[36/110] Compiling AGUICore RunStartedEventDTO.swift
[37/110] Compiling AGUICore StepFinishedEventDTO.swift
[38/110] Compiling AGUICore StepStartedEventDTO.swift
[39/110] Compiling AGUICore ReasoningEncryptedValueEventDTO.swift
[40/110] Compiling AGUICore ReasoningEndEventDTO.swift
[41/110] Compiling AGUICore ReasoningMessageChunkEventDTO.swift
[42/110] Compiling AGUICore ReasoningMessageContentEventDTO.swift
[43/110] Compiling AGUICore ReasoningMessageEndEventDTO.swift
[44/110] Emitting module AGUICore
[45/110] Compiling AGUICore ReasoningMessageStartEventDTO.swift
[46/110] Compiling AGUICore ReasoningStartEventDTO.swift
[47/110] Compiling AGUICore CustomEventDTO.swift
[48/110] Compiling AGUICore RawEventDTO.swift
[49/110] Compiling AGUICore MessagesSnapshotEventDTO.swift
[50/110] Compiling AGUICore StateDeltaEventDTO.swift
[51/110] Compiling AGUICore StateSnapshotEventDTO.swift
[52/110] Compiling AGUICore TextMessageChunkEventDTO.swift
[53/110] Compiling AGUICore TextMessageEndEventDTO.swift
[54/110] Compiling AGUICore ToolCallChunkEventDTO.swift
[55/110] Compiling AGUICore ToolCallEndEventDTO.swift
[56/110] Compiling AGUICore ToolCallResultEventDTO.swift
[57/110] Compiling AGUICore TypeDiscriminator.swift
[58/110] Compiling AGUICore EventDecodingError.swift
[59/110] Compiling AGUICore LifecycleEventRegistry.swift
[60/110] Compiling AGUICore ReasoningEventRegistry.swift
[61/110] Compiling AGUICore SpecialEventRegistry.swift
[62/110] Compiling AGUICore StateEventRegistry.swift
[63/110] Compiling AGUICore TextMessageEventRegistry.swift
[64/110] Compiling AGUICore ToolCallEventRegistry.swift
[65/110] Compiling AGUICore RegistryComposer.swift
[66/110] Compiling AGUICore MessageEncoder.swift
[67/110] Compiling AGUICore EventType.swift
[68/110] Compiling AGUICore AGUIEvent.swift
[69/110] Compiling AGUICore ActivityDeltaEvent.swift
[70/110] Compiling AGUICore ActivitySnapshotEvent.swift
[71/110] Compiling AGUICore RunErrorEvent.swift
[72/110] Compiling AGUICore RunFinishedEvent.swift
[73/110] Compiling AGUICore RunFinishedOutcome.swift
[74/110] Compiling AGUICore RunStartedEvent.swift
[75/110] Compiling AGUICore StepFinishedEvent.swift
[76/110] Compiling AGUICore StepStartedEvent.swift
[77/110] Compiling AGUICore ReasoningEncryptedValueEvent.swift
[78/110] Compiling AGUICore ReasoningEndEvent.swift
[79/110] Compiling AGUICore ReasoningMessageChunkEvent.swift
[80/110] Compiling AGUICore ReasoningMessageContentEvent.swift
[81/110] Compiling AGUICore ReasoningMessageEndEvent.swift
[82/110] Compiling AGUICore ReasoningMessageStartEvent.swift
[83/110] Compiling AGUICore ReasoningStartEvent.swift
[84/110] Compiling AGUICore CustomEvent.swift
[85/110] Compiling AGUICore RawEvent.swift
[86/110] Compiling AGUICore MessagesSnapshotEvent.swift
[87/110] Compiling AGUICore StateDeltaEvent.swift
[88/110] Compiling AGUICore StateSnapshotEvent.swift
[89/110] Compiling AGUICore TextMessageChunkEvent.swift
[90/110] Compiling AGUICore TextMessageContentEvent.swift
[91/110] Compiling AGUICore TextMessageEndEvent.swift
[92/110] Compiling AGUICore TextMessageStartEvent.swift
[93/110] Compiling AGUICore ToolCallArgsEvent.swift
[94/110] Compiling AGUICore ToolCallChunkEvent.swift
[95/110] Compiling AGUICore ToolCallEndEvent.swift
[96/110] Compiling AGUICore ToolCallResultEvent.swift
[97/110] Compiling AGUICore ToolCallStartEvent.swift
[98/110] Compiling AGUICore AssistantMessage.swift
[99/110] Compiling AGUICore DeveloperMessage.swift
[100/110] Compiling AGUICore Message.swift
[101/110] Compiling AGUICore ReasoningMessage.swift
[102/110] Compiling AGUICore Role.swift
[103/110] Compiling AGUICore SystemMessage.swift
[104/110] Compiling AGUICore ToolMessage.swift
[105/110] Compiling AGUICore UserMessage.swift
[106/110] Compiling AGUICore FunctionCall.swift
[107/110] Compiling AGUICore Tool.swift
[108/110] Compiling AGUICore ToolCall.swift
[109/110] Compiling AGUICore JSONCodingHelpers.swift
[110/110] Compiling AGUICore JSONPrimitiveWrapper.swift
[112/143] Compiling AGUITools ToolExecutionManager.swift
[113/144] Compiling AGUITools ToolResponseHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[114/144] Emitting module AGUIClient
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     /// HTTP status code.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:52:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     ///   - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
51 |     ///   - httpResponse: HTTP response metadata
52 |     public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: HTTPURLResponse) {
   |                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         self.bytes = bytes
54 |         self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:16: warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                `- warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
36 |
37 |     /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:54:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 52 |         } else {
 53 |             // Create default URLSession-based client
 54 |             let sessionConfig = URLSessionConfiguration.default
    |                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 55 |             // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
 56 |             // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:70:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |             sessionConfig.httpAdditionalHeaders = headers
 69 |
 70 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |             self.httpClient = URLSessionHTTPClient(session: session)
 72 |         }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | ///
 11 | public actor URLSessionHTTPClient: HTTPClient {
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     /// Creates a new URLSession HTTP client with the specified 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/AGUIClient/Transport/URLSessionHTTPClient.swift:30:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     /// let client = URLSessionHTTPClient(session: session)
 29 |     /// ```
 30 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.session = session
 32 |     }
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/AGUIClient/Transport/URLSessionHTTPClient.swift:50:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:68:36: error: cannot find type 'URLRequest' in scope
 66 |     /// - `.cancelled` → `.cancelled`
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
    |                                    `- error: cannot find type 'URLRequest' in scope
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
 70 |
[115/147] Compiling AGUITools ToolExecutionResult.swift
[116/147] Compiling AGUIClient AgentTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     /// HTTP status code.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:52:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     ///   - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
51 |     ///   - httpResponse: HTTP response metadata
52 |     public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: HTTPURLResponse) {
   |                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         self.bytes = bytes
54 |         self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:16: warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                `- warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
36 |
37 |     /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:39:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
37 |     /// HTTP status code.
38 |     public var statusCode: Int {
39 |         httpResponse.statusCode
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |     }
41 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:44:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
42 |     /// Response headers.
43 |     public var headers: [AnyHashable: Any] {
44 |         httpResponse.allHeaderFields
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
45 |     }
46 |
[117/147] Compiling AGUIClient HTTPClient.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     /// HTTP status code.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:52:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     ///   - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
51 |     ///   - httpResponse: HTTP response metadata
52 |     public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: HTTPURLResponse) {
   |                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         self.bytes = bytes
54 |         self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:16: warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                `- warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
36 |
37 |     /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:39:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
37 |     /// HTTP status code.
38 |     public var statusCode: Int {
39 |         httpResponse.statusCode
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |     }
41 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:44:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
42 |     /// Response headers.
43 |     public var headers: [AnyHashable: Any] {
44 |         httpResponse.allHeaderFields
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
45 |     }
46 |
[118/147] Compiling AGUIClient HttpAgentConfiguration.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 |     /// HTTP status code.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:52:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     ///   - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
51 |     ///   - httpResponse: HTTP response metadata
52 |     public init(bytes: AsyncThrowingStream<UInt8, Error>, httpResponse: HTTPURLResponse) {
   |                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         self.bytes = bytes
54 |         self.httpResponse = httpResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:35:16: warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
33 |
34 |     /// HTTP response metadata.
35 |     public let httpResponse: HTTPURLResponse
   |                `- warning: stored property 'httpResponse' of 'Sendable'-conforming struct 'HTTPResponse' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
36 |
37 |     /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:39:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
37 |     /// HTTP status code.
38 |     public var statusCode: Int {
39 |         httpResponse.statusCode
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 |     }
41 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:44:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
42 |     /// Response headers.
43 |     public var headers: [AnyHashable: Any] {
44 |         httpResponse.allHeaderFields
   |                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
45 |     }
46 |
[119/147] Compiling AGUITools ToolExecutor.swift
[120/147] Compiling AGUITools ToolExecutionStats.swift
[121/147] Compiling AGUIClient AgentState.swift
[122/147] Compiling AGUIClient DefaultApplyEvents.swift
[123/147] Compiling AGUIClient HttpAgent.swift
[124/147] Compiling AGUIClient RunAgentParameters.swift
[125/147] Emitting module AGUITools
[126/147] Compiling AGUIClient SseParser.swift
[127/147] Compiling AGUIClient AgentSubscriber.swift
[128/147] Compiling AGUIClient SubscriberManager.swift
[129/147] Compiling AGUIClient HttpAgentTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:54:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 52 |         } else {
 53 |             // Create default URLSession-based client
 54 |             let sessionConfig = URLSessionConfiguration.default
    |                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 55 |             // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
 56 |             // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:70:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |             sessionConfig.httpAdditionalHeaders = headers
 69 |
 70 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |             self.httpClient = URLSessionHTTPClient(session: session)
 72 |         }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:119:23: error: cannot find 'URLRequest' in scope
117 |
118 |         // Create request
119 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
120 |         request.httpMethod = "POST"
121 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | ///
 11 | public actor URLSessionHTTPClient: HTTPClient {
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     /// Creates a new URLSession HTTP client with the specified 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/AGUIClient/Transport/URLSessionHTTPClient.swift:30:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     /// let client = URLSessionHTTPClient(session: session)
 29 |     /// ```
 30 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.session = session
 32 |     }
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/AGUIClient/Transport/URLSessionHTTPClient.swift:50:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:68:36: error: cannot find type 'URLRequest' in scope
 66 |     /// - `.cancelled` → `.cancelled`
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
    |                                    `- error: cannot find type 'URLRequest' in scope
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
 70 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:52:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         configuration: URLSessionConfiguration = .default
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         return URLSessionHTTPClient(session: session)
 54 |     }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:69:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
    |                                            `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 70 |
 71 |         do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 70 |
 71 |         do {
 72 |             (bytes, response) = try await session.bytes(for: request)
    |                                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 73 |         } catch let error as URLError {
 74 |             throw mapURLError(error)
[130/147] Compiling AGUIClient HttpTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:54:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 52 |         } else {
 53 |             // Create default URLSession-based client
 54 |             let sessionConfig = URLSessionConfiguration.default
    |                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 55 |             // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
 56 |             // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:70:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |             sessionConfig.httpAdditionalHeaders = headers
 69 |
 70 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |             self.httpClient = URLSessionHTTPClient(session: session)
 72 |         }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:119:23: error: cannot find 'URLRequest' in scope
117 |
118 |         // Create request
119 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
120 |         request.httpMethod = "POST"
121 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | ///
 11 | public actor URLSessionHTTPClient: HTTPClient {
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     /// Creates a new URLSession HTTP client with the specified 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/AGUIClient/Transport/URLSessionHTTPClient.swift:30:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     /// let client = URLSessionHTTPClient(session: session)
 29 |     /// ```
 30 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.session = session
 32 |     }
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/AGUIClient/Transport/URLSessionHTTPClient.swift:50:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:68:36: error: cannot find type 'URLRequest' in scope
 66 |     /// - `.cancelled` → `.cancelled`
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
    |                                    `- error: cannot find type 'URLRequest' in scope
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
 70 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:52:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         configuration: URLSessionConfiguration = .default
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         return URLSessionHTTPClient(session: session)
 54 |     }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:69:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
    |                                            `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 70 |
 71 |         do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 70 |
 71 |         do {
 72 |             (bytes, response) = try await session.bytes(for: request)
    |                                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 73 |         } catch let error as URLError {
 74 |             throw mapURLError(error)
[131/147] Compiling AGUIClient URLSessionHTTPClient.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:54:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 52 |         } else {
 53 |             // Create default URLSession-based client
 54 |             let sessionConfig = URLSessionConfiguration.default
    |                                                         `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 55 |             // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
 56 |             // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:70:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |             sessionConfig.httpAdditionalHeaders = headers
 69 |
 70 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |             self.httpClient = URLSessionHTTPClient(session: session)
 72 |         }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:119:23: error: cannot find 'URLRequest' in scope
117 |
118 |         // Create request
119 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
120 |         request.httpMethod = "POST"
121 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | ///
 11 | public actor URLSessionHTTPClient: HTTPClient {
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     /// Creates a new URLSession HTTP client with the specified 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/AGUIClient/Transport/URLSessionHTTPClient.swift:30:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     /// let client = URLSessionHTTPClient(session: session)
 29 |     /// ```
 30 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.session = session
 32 |     }
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/AGUIClient/Transport/URLSessionHTTPClient.swift:50:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 48 |     /// ```
 49 |     public static func create(
 50 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:68:36: error: cannot find type 'URLRequest' in scope
 66 |     /// - `.cancelled` → `.cancelled`
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
    |                                    `- error: cannot find type 'URLRequest' in scope
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
 70 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:52:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |         configuration: URLSessionConfiguration = .default
 51 |     ) -> URLSessionHTTPClient {
 52 |         let session = URLSession(configuration: configuration)
    |                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |         return URLSessionHTTPClient(session: session)
 54 |     }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:69:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 67 |     /// - Other errors → `.networkError`
 68 |     public func execute(_ request: URLRequest) async throws -> HTTPResponse {
 69 |         let (bytes, response): (URLSession.AsyncBytes, URLResponse)
    |                                            `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 70 |
 71 |         do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 70 |
 71 |         do {
 72 |             (bytes, response) = try await session.bytes(for: request)
    |                                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 73 |         } catch let error as URLError {
 74 |             throw mapURLError(error)
[132/147] Compiling AGUIClient AGUIClient.swift
[133/147] Compiling AGUIClient AbstractAgent.swift
[134/147] Compiling AGUIClient ClientError.swift
[135/147] Compiling AGUIClient AsyncSequence+Buffering.swift
[136/147] Compiling AGUIClient BufferingStrategy.swift
[137/147] Compiling AGUIClient ChunkTransformer.swift
[138/147] Compiling AGUIClient EventStream.swift
[139/147] Compiling AGUIClient EventVerifier.swift
[140/147] Compiling AGUIClient SseEvent.swift
[141/147] Compiling AGUITools ToolRegistry.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:17:29: error: cannot find type 'URLRequest' in scope
15 |     /// - Returns: An HTTP response containing streaming bytes and metadata
16 |     /// - Throws: `ClientError` if the request fails
17 |     func execute(_ request: URLRequest) async throws -> HTTPResponse
   |                             `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:254:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
252 |
253 |         // Remove from 'from' path
254 |         var intermediate = try applyRemove(path: from, from: state)
    |             `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
255 |
256 |         // Add to 'to' path
[147/148] Compiling AGUIClient PatchApplicator.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:254:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
252 |
253 |         // Remove from 'from' path
254 |         var intermediate = try applyRemove(path: from, from: state)
    |             `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
255 |
256 |         // Add to 'to' path
[148/148] Compiling AGUIClient StateManager.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:254:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
252 |
253 |         // Remove from 'from' path
254 |         var intermediate = try applyRemove(path: from, from: state)
    |             `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
255 |
256 |         // Add to 'to' path
BUILD FAILURE 6.1 linux