Build Information
Failed to build AGUISwift, reference main (cb462b), with Swift 6.2 for Linux on 2 Nov 2026 09:45:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 cb462bc Merge pull request #31 from paduh/fix/pr-1512-final-review
Cloned https://github.com/paduh/ag-ui-swift.git
Revision (git rev-parse @):
cb462bc4f4364e7e21c0b57d1824e0fd328986c3
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.2
Building package at path: $PWD
https://github.com/paduh/ag-ui-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:fb5d8fda777a26ddf92a54d8d0a4928674c7f15e70feba2d3a729a0a6d9cf40c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.51s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.39s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.74s)
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/105] Emitting module AGUICore
[9/118] Compiling AGUICore EventDecodingError.swift
[10/118] Compiling AGUICore AudioInputContentDTO.swift
[11/118] Compiling AGUICore BinaryInputContentDTO.swift
[12/118] Compiling AGUICore DocumentInputContentDTO.swift
[13/118] Compiling AGUICore ImageInputContentDTO.swift
[14/118] Compiling AGUICore TextInputContentDTO.swift
[15/118] Compiling AGUICore VideoInputContentDTO.swift
[16/118] Compiling AGUICore ActivityMessageDTO.swift
[17/118] Compiling AGUICore MessageDecodingHelpers.swift
[18/118] Compiling AGUICore ReasoningMessageDTO.swift
[19/118] Compiling AGUICore ToolMessageDTO.swift
[20/118] Compiling AGUICore UserMessageDTO.swift
[21/118] Compiling AGUICore MessageDecoder.swift
[22/118] Compiling AGUICore ActivityEventRegistry.swift
[23/118] Compiling AGUICore AssistantMessage.swift
[24/118] Compiling AGUICore DeveloperMessage.swift
[25/118] Compiling AGUICore Message.swift
[26/118] Compiling AGUICore ReasoningMessage.swift
[27/118] Compiling AGUICore Role.swift
[28/118] Compiling AGUICore SystemMessage.swift
[29/118] Compiling AGUICore ToolMessage.swift
[30/118] Compiling AGUICore UserMessage.swift
[31/118] Compiling AGUICore FunctionCall.swift
[32/118] Compiling AGUICore Tool.swift
[33/118] Compiling AGUICore ToolCall.swift
[34/118] Compiling AGUICore JSONCodingHelpers.swift
[35/118] Compiling AGUICore JSONPrimitiveWrapper.swift
[36/118] Compiling AGUICore LifecycleEventRegistry.swift
[37/118] Compiling AGUICore ReasoningEventRegistry.swift
[38/118] Compiling AGUICore SpecialEventRegistry.swift
[39/118] Compiling AGUICore StateEventRegistry.swift
[40/118] Compiling AGUICore TextMessageEventRegistry.swift
[41/118] Compiling AGUICore ToolCallEventRegistry.swift
[42/118] Compiling AGUICore RegistryComposer.swift
[43/118] Compiling AGUICore ThinkingRemapState.swift
[44/118] Compiling AGUICore MessageEncoder.swift
[45/118] Compiling AGUICore EventType.swift
[46/118] Compiling AGUICore AGUIEvent.swift
[47/118] Compiling AGUICore ActivityDeltaEvent.swift
[48/118] Compiling AGUICore ActivitySnapshotEvent.swift
[49/118] Compiling AGUICore RunErrorEvent.swift
[50/118] Compiling AGUICore AGUICore.swift
[51/118] Compiling AGUICore AGUIEventDecoder.swift
[52/118] Compiling AGUICore ActivityDeltaEventDTO.swift
[53/118] Compiling AGUICore ActivitySnapshotEventDTO.swift
[54/118] Compiling AGUICore EventDecodingHelpers.swift
[55/118] Compiling AGUICore RunErrorEventDTO.swift
[56/118] Compiling AGUICore RunFinishedEventDTO.swift
[57/118] Compiling AGUICore RunStartedEventDTO.swift
[58/118] Compiling AGUICore StepFinishedEventDTO.swift
[59/118] Compiling AGUICore StepStartedEventDTO.swift
[60/118] Compiling AGUICore ReasoningEncryptedValueEventDTO.swift
[61/118] Compiling AGUICore ReasoningEndEventDTO.swift
[62/118] Compiling AGUICore ReasoningMessageChunkEventDTO.swift
[63/118] Compiling AGUICore ReasoningMessageContentEventDTO.swift
[64/118] Compiling AGUICore MessagesSnapshotEvent.swift
[65/118] Compiling AGUICore StateDeltaEvent.swift
[66/118] Compiling AGUICore StateSnapshotEvent.swift
[67/118] Compiling AGUICore TextMessageChunkEvent.swift
[68/118] Compiling AGUICore TextMessageContentEvent.swift
[69/118] Compiling AGUICore TextMessageEndEvent.swift
[70/118] Compiling AGUICore TextMessageStartEvent.swift
[71/118] Compiling AGUICore ToolCallArgsEvent.swift
[72/118] Compiling AGUICore ToolCallChunkEvent.swift
[73/118] Compiling AGUICore ToolCallEndEvent.swift
[74/118] Compiling AGUICore ToolCallResultEvent.swift
[75/118] Compiling AGUICore ToolCallStartEvent.swift
[76/118] Compiling AGUICore UnknownEvent.swift
[77/118] Compiling AGUICore Context.swift
[78/118] Compiling AGUICore RunFinishedEvent.swift
[79/118] Compiling AGUICore RunFinishedOutcome.swift
[80/118] Compiling AGUICore RunStartedEvent.swift
[81/118] Compiling AGUICore StepFinishedEvent.swift
[82/118] Compiling AGUICore StepStartedEvent.swift
[83/118] Compiling AGUICore ReasoningEncryptedValueEvent.swift
[84/118] Compiling AGUICore ReasoningEndEvent.swift
[85/118] Compiling AGUICore ReasoningMessageChunkEvent.swift
[86/118] Compiling AGUICore ReasoningMessageContentEvent.swift
[87/118] Compiling AGUICore ReasoningMessageEndEvent.swift
[88/118] Compiling AGUICore ReasoningMessageStartEvent.swift
[89/118] Compiling AGUICore ReasoningStartEvent.swift
[90/118] Compiling AGUICore CustomEvent.swift
[91/118] Compiling AGUICore RawEvent.swift
[92/118] Compiling AGUICore RunAgentInput.swift
[93/118] Compiling AGUICore RunAgentInputBuilder.swift
[94/118] Compiling AGUICore State.swift
[95/118] Compiling AGUICore Interrupt.swift
[96/118] Compiling AGUICore ResumeEntry.swift
[97/118] Compiling AGUICore AudioInputContent.swift
[98/118] Compiling AGUICore BinaryInputContent.swift
[99/118] Compiling AGUICore DocumentInputContent.swift
[100/118] Compiling AGUICore ImageInputContent.swift
[101/118] Compiling AGUICore InputContent.swift
[102/118] Compiling AGUICore TextInputContent.swift
[103/118] Compiling AGUICore VideoInputContent.swift
[104/118] Compiling AGUICore ActivityMessage.swift
[105/118] Compiling AGUICore ReasoningMessageEndEventDTO.swift
[106/118] Compiling AGUICore ReasoningMessageStartEventDTO.swift
[107/118] Compiling AGUICore ReasoningStartEventDTO.swift
[108/118] Compiling AGUICore CustomEventDTO.swift
[109/118] Compiling AGUICore RawEventDTO.swift
[110/118] Compiling AGUICore MessagesSnapshotEventDTO.swift
[111/118] Compiling AGUICore StateDeltaEventDTO.swift
[112/118] Compiling AGUICore StateSnapshotEventDTO.swift
[113/118] Compiling AGUICore TextMessageChunkEventDTO.swift
[114/118] Compiling AGUICore TextMessageEndEventDTO.swift
[115/118] Compiling AGUICore ToolCallChunkEventDTO.swift
[116/118] Compiling AGUICore ToolCallEndEventDTO.swift
[117/118] Compiling AGUICore ToolCallResultEventDTO.swift
[118/118] Compiling AGUICore TypeDiscriminator.swift
[120/151] Compiling AGUITools ToolResponseHandler.swift
[121/152] Compiling AGUITools ToolExecutionStats.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[122/152] Emitting module AGUIClient
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:36:29: error: cannot find type 'URLRequest' in scope
34 | /// - Returns: An HTTP response containing streaming bytes and metadata
35 | /// - Throws: `ClientError` if the request fails
36 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:54:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 | /// HTTP response metadata.
54 | public let httpResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |
56 | /// 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:71:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | /// - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
70 | /// - httpResponse: HTTP response metadata
71 | 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.
72 | self.bytes = bytes
73 | 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:54: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
52 |
53 | /// HTTP response metadata.
54 | 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
55 |
56 | /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:71:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
69 | } else {
70 | // Create default URLSession-based client
71 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
72 | // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
73 | // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:87:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
85 | sessionConfig.httpAdditionalHeaders = headers
86 |
87 | let session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
88 | self.httpClient = URLSessionHTTPClient(session: session)
89 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | /// ```
27 | public actor URLSessionHTTPClient: HTTPClient {
28 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |
30 | /// 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:46:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | /// let client = URLSessionHTTPClient(session: session)
45 | /// ```
46 | public init(session: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.session = session
48 | }
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:72:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | ) -> URLSessionHTTPClient {
74 | 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:72:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: value of type '_' expected to be instance of class or class-constrained type
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: value of type '_' expected to be instance of class or class-constrained type
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:90:36: error: cannot find type 'URLRequest' in scope
88 | /// - `.cancelled` → `.cancelled`
89 | /// - Other errors → `.networkError`
90 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
| `- error: cannot find type 'URLRequest' in scope
91 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
92 |
[123/155] Compiling AGUIClient HttpAgent.swift
[124/155] Compiling AGUIClient RunAgentParameters.swift
[125/155] Compiling AGUIClient AgentState.swift
[126/155] Compiling AGUITools ToolExecutor.swift
[127/155] Compiling AGUITools ToolExecutionResult.swift
[128/155] Compiling AGUIClient HttpAgentTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:71:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
69 | } else {
70 | // Create default URLSession-based client
71 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
72 | // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
73 | // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:87:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
85 | sessionConfig.httpAdditionalHeaders = headers
86 |
87 | let session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
88 | self.httpClient = URLSessionHTTPClient(session: session)
89 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:136:23: error: cannot find 'URLRequest' in scope
134 |
135 | // Create request
136 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
137 | request.httpMethod = "POST"
138 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:36:29: error: cannot find type 'URLRequest' in scope
34 | /// - Returns: An HTTP response containing streaming bytes and metadata
35 | /// - Throws: `ClientError` if the request fails
36 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | /// ```
27 | public actor URLSessionHTTPClient: HTTPClient {
28 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |
30 | /// 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:46:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | /// let client = URLSessionHTTPClient(session: session)
45 | /// ```
46 | public init(session: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.session = session
48 | }
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:72:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | ) -> URLSessionHTTPClient {
74 | 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:72:51: error: value of type '_' expected to be instance of class or class-constrained type
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: value of type '_' expected to be instance of class or class-constrained type
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:90:36: error: cannot find type 'URLRequest' in scope
88 | /// - `.cancelled` → `.cancelled`
89 | /// - Other errors → `.networkError`
90 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
| `- error: cannot find type 'URLRequest' in scope
91 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
92 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:53:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
51 | // Release OS-level socket pool and free the session delegate.
52 | // invalidateAndCancel() is synchronous and safe to call from deinit.
53 | session.invalidateAndCancel()
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
54 | }
55 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:74:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
72 | configuration: URLSessionConfiguration = .default
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
75 | return URLSessionHTTPClient(session: session)
76 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:91:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
89 | /// - Other errors → `.networkError`
90 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
91 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
92 |
93 | do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:94:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
92 |
93 | do {
94 | (bytes, response) = try await session.bytes(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
95 | } catch let error as URLError {
96 | throw mapURLError(error)
[129/155] Compiling AGUIClient HttpTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:71:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
69 | } else {
70 | // Create default URLSession-based client
71 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
72 | // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
73 | // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:87:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
85 | sessionConfig.httpAdditionalHeaders = headers
86 |
87 | let session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
88 | self.httpClient = URLSessionHTTPClient(session: session)
89 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:136:23: error: cannot find 'URLRequest' in scope
134 |
135 | // Create request
136 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
137 | request.httpMethod = "POST"
138 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:36:29: error: cannot find type 'URLRequest' in scope
34 | /// - Returns: An HTTP response containing streaming bytes and metadata
35 | /// - Throws: `ClientError` if the request fails
36 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | /// ```
27 | public actor URLSessionHTTPClient: HTTPClient {
28 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |
30 | /// 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:46:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | /// let client = URLSessionHTTPClient(session: session)
45 | /// ```
46 | public init(session: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.session = session
48 | }
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:72:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | ) -> URLSessionHTTPClient {
74 | 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:72:51: error: value of type '_' expected to be instance of class or class-constrained type
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: value of type '_' expected to be instance of class or class-constrained type
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:90:36: error: cannot find type 'URLRequest' in scope
88 | /// - `.cancelled` → `.cancelled`
89 | /// - Other errors → `.networkError`
90 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
| `- error: cannot find type 'URLRequest' in scope
91 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
92 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:53:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
51 | // Release OS-level socket pool and free the session delegate.
52 | // invalidateAndCancel() is synchronous and safe to call from deinit.
53 | session.invalidateAndCancel()
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
54 | }
55 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:74:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
72 | configuration: URLSessionConfiguration = .default
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
75 | return URLSessionHTTPClient(session: session)
76 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:91:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
89 | /// - Other errors → `.networkError`
90 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
91 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
92 |
93 | do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:94:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
92 |
93 | do {
94 | (bytes, response) = try await session.bytes(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
95 | } catch let error as URLError {
96 | throw mapURLError(error)
[130/155] Compiling AGUIClient URLSessionHTTPClient.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:71:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
69 | } else {
70 | // Create default URLSession-based client
71 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
72 | // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
73 | // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:87:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
85 | sessionConfig.httpAdditionalHeaders = headers
86 |
87 | let session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
88 | self.httpClient = URLSessionHTTPClient(session: session)
89 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:136:23: error: cannot find 'URLRequest' in scope
134 |
135 | // Create request
136 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
137 | request.httpMethod = "POST"
138 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:36:29: error: cannot find type 'URLRequest' in scope
34 | /// - Returns: An HTTP response containing streaming bytes and metadata
35 | /// - Throws: `ClientError` if the request fails
36 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | /// ```
27 | public actor URLSessionHTTPClient: HTTPClient {
28 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |
30 | /// 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:46:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | /// let client = URLSessionHTTPClient(session: session)
45 | /// ```
46 | public init(session: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.session = session
48 | }
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:72:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 | ) -> URLSessionHTTPClient {
74 | 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:72:51: error: value of type '_' expected to be instance of class or class-constrained type
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: value of type '_' expected to be instance of class or class-constrained type
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:72:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
70 | /// ```
71 | public static func create(
72 | configuration: URLSessionConfiguration = .default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:90:36: error: cannot find type 'URLRequest' in scope
88 | /// - `.cancelled` → `.cancelled`
89 | /// - Other errors → `.networkError`
90 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
| `- error: cannot find type 'URLRequest' in scope
91 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
92 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:53:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
51 | // Release OS-level socket pool and free the session delegate.
52 | // invalidateAndCancel() is synchronous and safe to call from deinit.
53 | session.invalidateAndCancel()
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
54 | }
55 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:74:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
72 | configuration: URLSessionConfiguration = .default
73 | ) -> URLSessionHTTPClient {
74 | let session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
75 | return URLSessionHTTPClient(session: session)
76 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:91:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
89 | /// - Other errors → `.networkError`
90 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
91 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
92 |
93 | do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:94:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
92 |
93 | do {
94 | (bytes, response) = try await session.bytes(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
95 | } catch let error as URLError {
96 | throw mapURLError(error)
[131/155] Compiling AGUIClient AgentTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:36:29: error: cannot find type 'URLRequest' in scope
34 | /// - Returns: An HTTP response containing streaming bytes and metadata
35 | /// - Throws: `ClientError` if the request fails
36 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:54:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 | /// HTTP response metadata.
54 | public let httpResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |
56 | /// 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:71:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | /// - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
70 | /// - httpResponse: HTTP response metadata
71 | 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.
72 | self.bytes = bytes
73 | 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:54: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
52 |
53 | /// HTTP response metadata.
54 | 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
55 |
56 | /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:58:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
56 | /// HTTP status code.
57 | public var statusCode: Int {
58 | httpResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 | }
60 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:63:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
61 | /// Response headers.
62 | public var headers: [AnyHashable: Any] {
63 | httpResponse.allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
64 | }
65 |
[132/155] Compiling AGUIClient HTTPClient.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:36:29: error: cannot find type 'URLRequest' in scope
34 | /// - Returns: An HTTP response containing streaming bytes and metadata
35 | /// - Throws: `ClientError` if the request fails
36 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:54:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 | /// HTTP response metadata.
54 | public let httpResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |
56 | /// 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:71:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | /// - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
70 | /// - httpResponse: HTTP response metadata
71 | 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.
72 | self.bytes = bytes
73 | 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:54: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
52 |
53 | /// HTTP response metadata.
54 | 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
55 |
56 | /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:58:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
56 | /// HTTP status code.
57 | public var statusCode: Int {
58 | httpResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 | }
60 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:63:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
61 | /// Response headers.
62 | public var headers: [AnyHashable: Any] {
63 | httpResponse.allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
64 | }
65 |
[133/155] Compiling AGUIClient HttpAgentConfiguration.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:36:29: error: cannot find type 'URLRequest' in scope
34 | /// - Returns: An HTTP response containing streaming bytes and metadata
35 | /// - Throws: `ClientError` if the request fails
36 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
37 | }
38 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:54:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |
53 | /// HTTP response metadata.
54 | public let httpResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |
56 | /// 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:71:73: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | /// - bytes: Streaming response bytes as an `AsyncThrowingStream<UInt8, Error>`
70 | /// - httpResponse: HTTP response metadata
71 | 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.
72 | self.bytes = bytes
73 | 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:54: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
52 |
53 | /// HTTP response metadata.
54 | 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
55 |
56 | /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:58:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
56 | /// HTTP status code.
57 | public var statusCode: Int {
58 | httpResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 | }
60 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:63:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
61 | /// Response headers.
62 | public var headers: [AnyHashable: Any] {
63 | httpResponse.allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
64 | }
65 |
[134/155] Compiling AGUIClient SseParser.swift
[135/155] Compiling AGUIClient AgentSubscriber.swift
[136/155] Compiling AGUIClient SubscriberManager.swift
[137/155] Compiling AGUITools ToolRegistry.swift
[138/155] Compiling AGUIClient EventStream.swift
[139/155] Compiling AGUIClient EventVerifier.swift
[140/155] Compiling AGUIClient SseEvent.swift
[142/155] Compiling AGUIClient AGUIClient.swift
[143/155] Emitting module AGUITools
[144/155] Compiling AGUITools ToolExecutionManager.swift
[149/156] Compiling AGUIClient AbstractAgent.swift
[150/156] Compiling AGUIClient ClientError.swift
[151/156] Compiling AGUIClient AsyncSequence+Buffering.swift
[152/156] Compiling AGUIClient BufferingStrategy.swift
[153/156] Compiling AGUIClient ChunkTransformer.swift
[154/156] Compiling AGUIClient DefaultApplyEvents.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:288:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
286 |
287 | // Remove from 'from' path
288 | var intermediate = try applyRemove(path: from, from: state)
| `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
289 |
290 | // Add to 'to' path
[155/156] Compiling AGUIClient PatchApplicator.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:288:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
286 |
287 | // Remove from 'from' path
288 | var intermediate = try applyRemove(path: from, from: state)
| `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
289 |
290 | // Add to 'to' path
[156/156] Compiling AGUIClient StateManager.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:288:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
286 |
287 | // Remove from 'from' path
288 | var intermediate = try applyRemove(path: from, from: state)
| `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
289 |
290 | // Add to 'to' path
BUILD FAILURE 6.2 linux