Build Information
Failed to build AGUISwift, reference 0.1.0 (59603f), with Swift 6.0 for Linux on 18 Apr 2026 10:17:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/paduh/ag-ui-swift.git
Reference: 0.1.0
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
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 59603fa Merge pull request #10 from paduh/feature/chatapp-phase4-a2ui-generative-ui
Cloned https://github.com/paduh/ag-ui-swift.git
Revision (git rev-parse @):
59603fa66d18032209d7dec43930ba35dbf0ee08
SUCCESS checkout https://github.com/paduh/ag-ui-swift.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/paduh/ag-ui-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (2.68s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.11s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
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
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/94] Compiling AGUICore ToolMessageDTO.swift
[9/94] Compiling AGUICore UserMessageDTO.swift
[10/94] Compiling AGUICore MessageDecoder.swift
[11/94] Compiling AGUICore ActivityEventRegistry.swift
[12/94] Compiling AGUICore LifecycleEventRegistry.swift
[13/94] Compiling AGUICore SpecialEventRegistry.swift
[14/94] Compiling AGUICore StateEventRegistry.swift
[15/94] Compiling AGUICore TextMessageEventRegistry.swift
[16/94] Compiling AGUICore ThinkingEventRegistry.swift
[17/94] Compiling AGUICore ToolCallEventRegistry.swift
[18/94] Compiling AGUICore RegistryComposer.swift
[19/94] Compiling AGUICore MessageEncoder.swift
[20/106] Compiling AGUICore StateDeltaEvent.swift
[21/106] Compiling AGUICore StateSnapshotEvent.swift
[22/106] Compiling AGUICore TextMessageChunkEvent.swift
[23/106] Compiling AGUICore TextMessageContentEvent.swift
[24/106] Compiling AGUICore TextMessageEndEvent.swift
[25/106] Compiling AGUICore TextMessageStartEvent.swift
[26/106] Compiling AGUICore ThinkingEndEvent.swift
[27/106] Compiling AGUICore ThinkingStartEvent.swift
[28/106] Compiling AGUICore ThinkingTextMessageContentEvent.swift
[29/106] Compiling AGUICore ThinkingTextMessageEndEvent.swift
[30/106] Compiling AGUICore ThinkingTextMessageStartEvent.swift
[31/106] Compiling AGUICore ToolCallArgsEvent.swift
[32/106] Emitting module AGUICore
[33/106] Compiling AGUICore ToolCallEndEventDTO.swift
[34/106] Compiling AGUICore ToolCallResultEventDTO.swift
[35/106] Compiling AGUICore ToolCallStartEventDTO.swift
[36/106] Compiling AGUICore TypeDiscriminator.swift
[37/106] Compiling AGUICore EventDecodingError.swift
[38/106] Compiling AGUICore BinaryInputContentDTO.swift
[39/106] Compiling AGUICore TextInputContentDTO.swift
[40/106] Compiling AGUICore ActivityMessageDTO.swift
[41/106] Compiling AGUICore AssistantMessageDTO.swift
[42/106] Compiling AGUICore DeveloperMessageDTO.swift
[43/106] Compiling AGUICore MessageDecodingHelpers.swift
[44/106] Compiling AGUICore SystemMessageDTO.swift
[45/106] Compiling AGUICore AGUICore.swift
[46/106] Compiling AGUICore AGUIEventDecoder.swift
[47/106] Compiling AGUICore ActivityDeltaEventDTO.swift
[48/106] Compiling AGUICore ActivitySnapshotEventDTO.swift
[49/106] Compiling AGUICore EventDecodingHelpers.swift
[50/106] Compiling AGUICore RunErrorEventDTO.swift
[51/106] Compiling AGUICore RunFinishedEventDTO.swift
[52/106] Compiling AGUICore RunStartedEventDTO.swift
[53/106] Compiling AGUICore StepFinishedEventDTO.swift
[54/106] Compiling AGUICore StepStartedEventDTO.swift
[55/106] Compiling AGUICore CustomEventDTO.swift
[56/106] Compiling AGUICore RawEventDTO.swift
[57/106] Compiling AGUICore MessagesSnapshotEventDTO.swift
[58/106] Compiling AGUICore ToolCallChunkEvent.swift
[59/106] Compiling AGUICore ToolCallEndEvent.swift
[60/106] Compiling AGUICore ToolCallResultEvent.swift
[61/106] Compiling AGUICore ToolCallStartEvent.swift
[62/106] Compiling AGUICore UnknownEvent.swift
[63/106] Compiling AGUICore Context.swift
[64/106] Compiling AGUICore RunAgentInput.swift
[65/106] Compiling AGUICore RunAgentInputBuilder.swift
[66/106] Compiling AGUICore State.swift
[67/106] Compiling AGUICore BinaryInputContent.swift
[68/106] Compiling AGUICore InputContent.swift
[69/106] Compiling AGUICore TextInputContent.swift
[70/106] Compiling AGUICore StateDeltaEventDTO.swift
[71/106] Compiling AGUICore StateSnapshotEventDTO.swift
[72/106] Compiling AGUICore TextMessageChunkEventDTO.swift
[73/106] Compiling AGUICore TextMessageContentEventDTO.swift
[74/106] Compiling AGUICore TextMessageEndEventDTO.swift
[75/106] Compiling AGUICore TextMessageStartEventDTO.swift
[76/106] Compiling AGUICore ThinkingEndEventDTO.swift
[77/106] Compiling AGUICore ThinkingStartEventDTO.swift
[78/106] Compiling AGUICore ThinkingTextMessageContentEventDTO.swift
[79/106] Compiling AGUICore ThinkingTextMessageEndEventDTO.swift
[80/106] Compiling AGUICore ThinkingTextMessageStartEventDTO.swift
[81/106] Compiling AGUICore ToolCallArgsEventDTO.swift
[82/106] Compiling AGUICore ToolCallChunkEventDTO.swift
[83/106] Compiling AGUICore EventType.swift
[84/106] Compiling AGUICore AGUIEvent.swift
[85/106] Compiling AGUICore ActivityDeltaEvent.swift
[86/106] Compiling AGUICore ActivitySnapshotEvent.swift
[87/106] Compiling AGUICore RunErrorEvent.swift
[88/106] Compiling AGUICore RunFinishedEvent.swift
[89/106] Compiling AGUICore RunStartedEvent.swift
[90/106] Compiling AGUICore StepFinishedEvent.swift
[91/106] Compiling AGUICore StepStartedEvent.swift
[92/106] Compiling AGUICore CustomEvent.swift
[93/106] Compiling AGUICore RawEvent.swift
[94/106] Compiling AGUICore MessagesSnapshotEvent.swift
[95/106] Compiling AGUICore ActivityMessage.swift
[96/106] Compiling AGUICore AssistantMessage.swift
[97/106] Compiling AGUICore DeveloperMessage.swift
[98/106] Compiling AGUICore Message.swift
[99/106] Compiling AGUICore Role.swift
[100/106] Compiling AGUICore SystemMessage.swift
[101/106] Compiling AGUICore ToolMessage.swift
[102/106] Compiling AGUICore UserMessage.swift
[103/106] Compiling AGUICore FunctionCall.swift
[104/106] Compiling AGUICore Tool.swift
[105/106] Compiling AGUICore ToolCall.swift
[106/106] Compiling AGUICore JSONCodingHelpers.swift
[108/139] Compiling AGUIClient SubscriberManager.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:58:29: error: cannot find type 'URLRequest' in scope
56 | /// - Returns: An HTTP response containing streaming bytes and metadata
57 | /// - Throws: `ClientError` if the request fails
58 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:64:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
62 | public struct HTTPResponse: Sendable {
63 | /// Streaming response bytes.
64 | public let bytes: URLSession.AsyncBytes
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
65 |
66 | /// HTTP response metadata.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:67:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | /// HTTP response metadata.
67 | public let httpResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 |
69 | /// 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:84:35: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
85 | self.bytes = bytes
86 | self.httpResponse = httpResponse
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:84:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | self.bytes = bytes
86 | 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:67: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
65 |
66 | /// HTTP response metadata.
67 | 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
68 |
69 | /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:71:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
69 | /// HTTP status code.
70 | public var statusCode: Int {
71 | httpResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
72 | }
73 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:76:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
74 | /// Response headers.
75 | public var headers: [AnyHashable: Any] {
76 | httpResponse.allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
77 | }
78 |
[109/139] Compiling AGUIClient HTTPClient.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:58:29: error: cannot find type 'URLRequest' in scope
56 | /// - Returns: An HTTP response containing streaming bytes and metadata
57 | /// - Throws: `ClientError` if the request fails
58 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:64:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
62 | public struct HTTPResponse: Sendable {
63 | /// Streaming response bytes.
64 | public let bytes: URLSession.AsyncBytes
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
65 |
66 | /// HTTP response metadata.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:67:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | /// HTTP response metadata.
67 | public let httpResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 |
69 | /// 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:84:35: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
85 | self.bytes = bytes
86 | self.httpResponse = httpResponse
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:84:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | self.bytes = bytes
86 | 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:67: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
65 |
66 | /// HTTP response metadata.
67 | 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
68 |
69 | /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:71:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
69 | /// HTTP status code.
70 | public var statusCode: Int {
71 | httpResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
72 | }
73 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:76:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
74 | /// Response headers.
75 | public var headers: [AnyHashable: Any] {
76 | httpResponse.allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
77 | }
78 |
[110/139] Compiling AGUIClient HttpAgentConfiguration.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:58:29: error: cannot find type 'URLRequest' in scope
56 | /// - Returns: An HTTP response containing streaming bytes and metadata
57 | /// - Throws: `ClientError` if the request fails
58 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:64:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
62 | public struct HTTPResponse: Sendable {
63 | /// Streaming response bytes.
64 | public let bytes: URLSession.AsyncBytes
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
65 |
66 | /// HTTP response metadata.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:67:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | /// HTTP response metadata.
67 | public let httpResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 |
69 | /// 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:84:35: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
85 | self.bytes = bytes
86 | self.httpResponse = httpResponse
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:84:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | self.bytes = bytes
86 | 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:67: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
65 |
66 | /// HTTP response metadata.
67 | 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
68 |
69 | /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:71:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
69 | /// HTTP status code.
70 | public var statusCode: Int {
71 | httpResponse.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
72 | }
73 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:76:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
74 | /// Response headers.
75 | public var headers: [AnyHashable: Any] {
76 | httpResponse.allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
77 | }
78 |
[111/141] Compiling AGUITools ToolExecutor.swift
[112/141] Compiling AGUITools ToolExecutionEvent.swift
/host/spi-builder-workspace/Sources/AGUIClient/HttpAgent.swift:214:46: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
212 | _ input: RunAgentInput,
213 | endpoint: String? = nil
214 | ) async throws -> EventStream<URLSession.AsyncBytes> {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
215 | let bytes = try await transport.execute(
216 | endpoint: endpoint ?? defaultEndpoint,
/host/spi-builder-workspace/Sources/AGUIClient/HttpAgent.swift:265:46: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
263 | endpoint: String? = nil,
264 | configure: (RunAgentInputBuilder) -> RunAgentInputBuilder = { $0 }
265 | ) async throws -> EventStream<URLSession.AsyncBytes> {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
266 | let input = try configure(
267 | RunAgentInput.builder()
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:146:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
144 | endpoint: String,
145 | input: RunAgentInput
146 | ) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
147 | // Construct URL
148 | let url = configuration.baseURL.appendingPathComponent(endpoint)
[113/141] Compiling AGUIClient HttpAgent.swift
/host/spi-builder-workspace/Sources/AGUIClient/HttpAgent.swift:214:46: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
212 | _ input: RunAgentInput,
213 | endpoint: String? = nil
214 | ) async throws -> EventStream<URLSession.AsyncBytes> {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
215 | let bytes = try await transport.execute(
216 | endpoint: endpoint ?? defaultEndpoint,
/host/spi-builder-workspace/Sources/AGUIClient/HttpAgent.swift:265:46: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
263 | endpoint: String? = nil,
264 | configure: (RunAgentInputBuilder) -> RunAgentInputBuilder = { $0 }
265 | ) async throws -> EventStream<URLSession.AsyncBytes> {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
266 | let input = try configure(
267 | RunAgentInput.builder()
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:146:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
144 | endpoint: String,
145 | input: RunAgentInput
146 | ) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
147 | // Construct URL
148 | let url = configuration.baseURL.appendingPathComponent(endpoint)
[114/141] Compiling AGUIClient AgentState.swift
/host/spi-builder-workspace/Sources/AGUIClient/HttpAgent.swift:214:46: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
212 | _ input: RunAgentInput,
213 | endpoint: String? = nil
214 | ) async throws -> EventStream<URLSession.AsyncBytes> {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
215 | let bytes = try await transport.execute(
216 | endpoint: endpoint ?? defaultEndpoint,
/host/spi-builder-workspace/Sources/AGUIClient/HttpAgent.swift:265:46: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
263 | endpoint: String? = nil,
264 | configure: (RunAgentInputBuilder) -> RunAgentInputBuilder = { $0 }
265 | ) async throws -> EventStream<URLSession.AsyncBytes> {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
266 | let input = try configure(
267 | RunAgentInput.builder()
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:146:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
144 | endpoint: String,
145 | input: RunAgentInput
146 | ) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
147 | // Construct URL
148 | let url = configuration.baseURL.appendingPathComponent(endpoint)
[115/141] Compiling AGUITools ToolResponseHandler.swift
[116/141] Compiling AGUITools ToolExecutionStats.swift
[117/142] Compiling AGUITools ToolExecutionResult.swift
[118/142] Compiling AGUIClient HttpTransport.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:146:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
144 | endpoint: String,
145 | input: RunAgentInput
146 | ) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
147 | // Construct URL
148 | let url = configuration.baseURL.appendingPathComponent(endpoint)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:93:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
91 | } else {
92 | // Create default URLSession-based client
93 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
94 | // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
95 | // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:107:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
105 | sessionConfig.httpAdditionalHeaders = headers
106 |
107 | let session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
108 | self.httpClient = URLSessionHTTPClient(session: session)
109 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:151:23: error: cannot find 'URLRequest' in scope
149 |
150 | // Create request
151 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
152 | request.httpMethod = "POST"
153 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:58:29: error: cannot find type 'URLRequest' in scope
56 | /// - Returns: An HTTP response containing streaming bytes and metadata
57 | /// - Throws: `ClientError` if the request fails
58 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | /// ```
49 | public actor URLSessionHTTPClient: HTTPClient {
50 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// 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:68:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | /// let client = URLSessionHTTPClient(session: session)
67 | /// ```
68 | public init(session: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | self.session = session
70 | }
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:88:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
86 | /// ```
87 | public static func create(
88 | configuration: URLSessionConfiguration = .default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
89 | ) -> URLSessionHTTPClient {
90 | 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:88:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
86 | /// ```
87 | public static func create(
88 | configuration: URLSessionConfiguration = .default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
89 | ) -> URLSessionHTTPClient {
90 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:106:36: error: cannot find type 'URLRequest' in scope
104 | /// - `.cancelled` → `.cancelled`
105 | /// - Other errors → `.networkError`
106 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
| `- error: cannot find type 'URLRequest' in scope
107 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
108 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:90:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
88 | configuration: URLSessionConfiguration = .default
89 | ) -> URLSessionHTTPClient {
90 | let session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | return URLSessionHTTPClient(session: session)
92 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:107:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
105 | /// - Other errors → `.networkError`
106 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
107 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
108 |
109 | do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:110:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
108 |
109 | do {
110 | (bytes, response) = try await session.bytes(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
111 | } catch let error as URLError {
112 | throw mapURLError(error)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:84:35: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
85 | self.bytes = bytes
86 | self.httpResponse = httpResponse
[119/142] Compiling AGUIClient URLSessionHTTPClient.swift
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:146:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
144 | endpoint: String,
145 | input: RunAgentInput
146 | ) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
147 | // Construct URL
148 | let url = configuration.baseURL.appendingPathComponent(endpoint)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:93:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
91 | } else {
92 | // Create default URLSession-based client
93 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
94 | // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
95 | // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:107:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
105 | sessionConfig.httpAdditionalHeaders = headers
106 |
107 | let session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
108 | self.httpClient = URLSessionHTTPClient(session: session)
109 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:151:23: error: cannot find 'URLRequest' in scope
149 |
150 | // Create request
151 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
152 | request.httpMethod = "POST"
153 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:58:29: error: cannot find type 'URLRequest' in scope
56 | /// - Returns: An HTTP response containing streaming bytes and metadata
57 | /// - Throws: `ClientError` if the request fails
58 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | /// ```
49 | public actor URLSessionHTTPClient: HTTPClient {
50 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// 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:68:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | /// let client = URLSessionHTTPClient(session: session)
67 | /// ```
68 | public init(session: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | self.session = session
70 | }
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:88:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
86 | /// ```
87 | public static func create(
88 | configuration: URLSessionConfiguration = .default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
89 | ) -> URLSessionHTTPClient {
90 | 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:88:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
86 | /// ```
87 | public static func create(
88 | configuration: URLSessionConfiguration = .default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
89 | ) -> URLSessionHTTPClient {
90 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:106:36: error: cannot find type 'URLRequest' in scope
104 | /// - `.cancelled` → `.cancelled`
105 | /// - Other errors → `.networkError`
106 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
| `- error: cannot find type 'URLRequest' in scope
107 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
108 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:90:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
88 | configuration: URLSessionConfiguration = .default
89 | ) -> URLSessionHTTPClient {
90 | let session = URLSession(configuration: configuration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | return URLSessionHTTPClient(session: session)
92 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:107:44: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
105 | /// - Other errors → `.networkError`
106 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
107 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
108 |
109 | do {
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:110:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
108 |
109 | do {
110 | (bytes, response) = try await session.bytes(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
111 | } catch let error as URLError {
112 | throw mapURLError(error)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:84:35: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
85 | self.bytes = bytes
86 | self.httpResponse = httpResponse
[120/142] Compiling AGUIClient SseEvent.swift
[121/142] Compiling AGUIClient SseParser.swift
[122/142] Compiling AGUIClient AgentSubscriber.swift
[123/142] Compiling AGUITools ToolRegistry.swift
[124/142] Compiling AGUITools ToolExecutionManager.swift
[125/142] Compiling AGUITools ToolExecutionContext.swift
[127/142] Emitting module AGUITools
[128/142] Compiling AGUITools AGUITools.swift
[129/142] Compiling AGUITools ToolErrorHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[131/143] Emitting module AGUIClient
/host/spi-builder-workspace/Sources/AGUIClient/HttpAgent.swift:214:46: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
212 | _ input: RunAgentInput,
213 | endpoint: String? = nil
214 | ) async throws -> EventStream<URLSession.AsyncBytes> {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
215 | let bytes = try await transport.execute(
216 | endpoint: endpoint ?? defaultEndpoint,
/host/spi-builder-workspace/Sources/AGUIClient/HttpAgent.swift:265:46: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
263 | endpoint: String? = nil,
264 | configure: (RunAgentInputBuilder) -> RunAgentInputBuilder = { $0 }
265 | ) async throws -> EventStream<URLSession.AsyncBytes> {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
266 | let input = try configure(
267 | RunAgentInput.builder()
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:58:29: error: cannot find type 'URLRequest' in scope
56 | /// - Returns: An HTTP response containing streaming bytes and metadata
57 | /// - Throws: `ClientError` if the request fails
58 | func execute(_ request: URLRequest) async throws -> HTTPResponse
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:64:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
62 | public struct HTTPResponse: Sendable {
63 | /// Streaming response bytes.
64 | public let bytes: URLSession.AsyncBytes
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
65 |
66 | /// HTTP response metadata.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:67:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | /// HTTP response metadata.
67 | public let httpResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 |
69 | /// 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:84:35: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
85 | self.bytes = bytes
86 | self.httpResponse = httpResponse
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HTTPClient.swift:84:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | /// - bytes: Streaming response bytes
83 | /// - httpResponse: HTTP response metadata
84 | public init(bytes: URLSession.AsyncBytes, httpResponse: HTTPURLResponse) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | self.bytes = bytes
86 | 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:67: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
65 |
66 | /// HTTP response metadata.
67 | 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
68 |
69 | /// HTTP status code.
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:146:34: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
144 | endpoint: String,
145 | input: RunAgentInput
146 | ) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
147 | // Construct URL
148 | let url = configuration.baseURL.appendingPathComponent(endpoint)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:93:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
91 | } else {
92 | // Create default URLSession-based client
93 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
94 | // timeoutIntervalForRequest: max idle time between consecutive bytes (per-chunk).
95 | // For AI streaming, the inference step can take 30-120 s before the first
/host/spi-builder-workspace/Sources/AGUIClient/Transport/HttpTransport.swift:107:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
105 | sessionConfig.httpAdditionalHeaders = headers
106 |
107 | let session = URLSession(configuration: sessionConfig)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
108 | self.httpClient = URLSessionHTTPClient(session: session)
109 | }
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | /// ```
49 | public actor URLSessionHTTPClient: HTTPClient {
50 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 |
52 | /// 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:68:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | /// let client = URLSessionHTTPClient(session: session)
67 | /// ```
68 | public init(session: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | self.session = session
70 | }
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:88:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
86 | /// ```
87 | public static func create(
88 | configuration: URLSessionConfiguration = .default
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
89 | ) -> URLSessionHTTPClient {
90 | 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:88:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
86 | /// ```
87 | public static func create(
88 | configuration: URLSessionConfiguration = .default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
89 | ) -> URLSessionHTTPClient {
90 | let session = URLSession(configuration: configuration)
/host/spi-builder-workspace/Sources/AGUIClient/Transport/URLSessionHTTPClient.swift:106:36: error: cannot find type 'URLRequest' in scope
104 | /// - `.cancelled` → `.cancelled`
105 | /// - Other errors → `.networkError`
106 | public func execute(_ request: URLRequest) async throws -> HTTPResponse {
| `- error: cannot find type 'URLRequest' in scope
107 | let (bytes, response): (URLSession.AsyncBytes, URLResponse)
108 |
[132/143] Compiling AGUIClient ChunkTransformer.swift
[133/143] Compiling AGUIClient EventStream.swift
[134/143] Compiling AGUIClient EventVerifier.swift
[135/143] Compiling AGUIClient ThinkingTelemetryState.swift
[136/143] Compiling AGUIClient AsyncSequence+Buffering.swift
[137/143] Compiling AGUIClient BufferingStrategy.swift
[141/143] Compiling AGUIClient DefaultApplyEvents.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:310:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
308 |
309 | // Remove from 'from' path
310 | var intermediate = try applyRemove(path: from, from: state)
| `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
311 |
312 | // Add to 'to' path
[142/143] Compiling AGUIClient PatchApplicator.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:310:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
308 |
309 | // Remove from 'from' path
310 | var intermediate = try applyRemove(path: from, from: state)
| `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
311 |
312 | // Add to 'to' path
[143/143] Compiling AGUIClient StateManager.swift
/host/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:310:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
308 |
309 | // Remove from 'from' path
310 | var intermediate = try applyRemove(path: from, from: state)
| `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant
311 |
312 | // Add to 'to' path
BUILD FAILURE 6.0 linux