Build Information
Failed to build HybridRouterKit, reference 0.11.0 (4e4033), with Swift 6.4 for Linux on 5 Nov 2026 06:51:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4-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/jaichaudhry/HybridRouter.git
Reference: 0.11.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/jaichaudhry/HybridRouter
* tag 0.11.0 -> FETCH_HEAD
HEAD is now at 4e40339 Docs: private passages come with the question
Cloned https://github.com/jaichaudhry/HybridRouter.git
Revision (git rev-parse @):
4e40339fa4837d95a8a790564f058ce58b68f8d1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jaichaudhry/HybridRouter.git at 0.11.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/jaichaudhry/HybridRouter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:b44244c3c3fc9f2af9eceb487c9bff83319ab045277845df83db1e4f60420d2c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/anthropics/ClaudeForFoundationModels
[1/416] Fetching claudeforfoundationmodels
Fetched https://github.com/anthropics/ClaudeForFoundationModels (0.40s)
Computing version for https://github.com/anthropics/ClaudeForFoundationModels
Computed https://github.com/anthropics/ClaudeForFoundationModels at 0.2.3 (0.54s)
Creating working copy for https://github.com/anthropics/ClaudeForFoundationModels
Working copy of https://github.com/anthropics/ClaudeForFoundationModels resolved at 0.2.3
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 357]
[Constructing 618 / 711]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:12:55: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m /// Production initializer — talks to the API over `URLSession`.
[0;36m12 |[0;0m package init(configuration: Configuration, session: [4;39mURLSession[0;0m = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m self.init(configuration: configuration, transport: URLSessionTransport(session: session))
[0;36m14 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:12:69: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m /// Production initializer — talks to the API over `URLSession`.
[0;36m12 |[0;0m package init(configuration: Configuration, session: URLSession = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m13 |[0;0m self.init(configuration: configuration, transport: URLSessionTransport(session: session))
[0;36m14 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:12:69: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m /// Production initializer — talks to the API over `URLSession`.
[0;36m12 |[0;0m package init(configuration: Configuration, session: URLSession = [4;39m.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m13 |[0;0m self.init(configuration: configuration, transport: URLSessionTransport(session: session))
[0;36m14 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:104:15: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m102 |[0;0m for body: MessagesRequest,
[0;36m103 |[0;0m headers: [String: String]
[0;36m104 |[0;0m ) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m105 |[0;0m var req = URLRequest(url: configuration.baseURL.appending(path: "v1/messages"))
[0;36m106 |[0;0m req.httpMethod = "POST"
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:125:41: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m123 |[0;0m }
[0;36m124 |[0;0m
[0;36m125 |[0;0m private static func check(_ response: [4;39mURLResponse[0;0m, body: Data) throws {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m126 |[0;0m guard let http = response as? HTTPURLResponse else { return }
[0;36m127 |[0;0m guard http.statusCode >= 400 else { return }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:12:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m /// one — `AsyncBytes` can only be vended by a live `URLSession`.
[0;36m11 |[0;0m package protocol HTTPTransport: Sendable {
[0;36m12 |[0;0m func data(for request: [4;39mURLRequest[0;0m) async throws -> (Data, URLResponse)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m func bytes(
[0;36m14 |[0;0m for request: URLRequest
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:12:61: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m10 |[0;0m /// one — `AsyncBytes` can only be vended by a live `URLSession`.
[0;36m11 |[0;0m package protocol HTTPTransport: Sendable {
[0;36m12 |[0;0m func data(for request: URLRequest) async throws -> (Data, [4;39mURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m func bytes(
[0;36m14 |[0;0m for request: URLRequest
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:14:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m func data(for request: URLRequest) async throws -> (Data, URLResponse)
[0;36m13 |[0;0m func bytes(
[0;36m14 |[0;0m for request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m15 |[0;0m ) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
[0;36m16 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:15:57: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m func bytes(
[0;36m14 |[0;0m for request: URLRequest
[0;36m15 |[0;0m ) async throws -> (AsyncThrowingStream<UInt8, Error>, [4;39mURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:38:24: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m36 |[0;0m /// `URLSession`-backed transport used in production.
[0;36m37 |[0;0m package struct URLSessionTransport: HTTPTransport {
[0;36m38 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m
[0;36m40 |[0;0m package init(session: URLSession = .shared) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:40:25: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m38 |[0;0m private let session: URLSession
[0;36m39 |[0;0m
[0;36m40 |[0;0m package init(session: [4;39mURLSession[0;0m = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m self.session = session
[0;36m42 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:40:39: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m38 |[0;0m private let session: URLSession
[0;36m39 |[0;0m
[0;36m40 |[0;0m package init(session: URLSession = [4;39m.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m41 |[0;0m self.session = session
[0;36m42 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:40:39: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m38 |[0;0m private let session: URLSession
[0;36m39 |[0;0m
[0;36m40 |[0;0m package init(session: URLSession = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m41 |[0;0m self.session = session
[0;36m42 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:44:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m42 |[0;0m }
[0;36m43 |[0;0m
[0;36m44 |[0;0m package func data(for request: [4;39mURLRequest[0;0m) async throws -> (Data, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m45 |[0;0m let redirects = RedirectPolicy(origin: request.url)
[0;36m46 |[0;0m let (data, response) = try await session.data(for: request, delegate: redirects)
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:44:69: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m }
[0;36m43 |[0;0m
[0;36m44 |[0;0m package func data(for request: URLRequest) async throws -> (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m let redirects = RedirectPolicy(origin: request.url)
[0;36m46 |[0;0m let (data, response) = try await session.data(for: request, delegate: redirects)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:52:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m50 |[0;0m
[0;36m51 |[0;0m package func bytes(
[0;36m52 |[0;0m for request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m53 |[0;0m ) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse) {
[0;36m54 |[0;0m // `bytes(for:)` returns once headers arrive, so the caller can check the
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:53:57: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m package func bytes(
[0;36m52 |[0;0m for request: URLRequest
[0;36m53 |[0;0m ) async throws -> (AsyncThrowingStream<UInt8, Error>, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m // `bytes(for:)` returns once headers arrive, so the caller can check the
[0;36m55 |[0;0m // status before draining the body. Re-yield the bytes through a stream of
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:38:15: [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'[0;0m
[0;36m36 |[0;0m /// `URLSession`-backed transport used in production.
[0;36m37 |[0;0m package struct URLSessionTransport: HTTPTransport {
[0;36m38 |[0;0m private let session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'[0;0m
[0;36m39 |[0;0m
[0;36m40 |[0;0m package init(session: URLSession = .shared) {
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:85:39: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m83 |[0;0m /// response itself, which callers would otherwise take for a success, so the
[0;36m84 |[0;0m /// refusal is recorded and ``checkRefused()`` turns it into an error.
[0;36m85 |[0;0m final class RedirectPolicy: NSObject, [4;39mURLSessionTaskDelegate[0;0m, Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m86 |[0;0m /// Nil when the request had no usable URL, in which case nothing is
[0;36m87 |[0;0m /// followed.
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:114:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m112 |[0;0m task: URLSessionTask,
[0;36m113 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m114 |[0;0m newRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m115 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void
[0;36m116 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:115:45: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m113 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m114 |[0;0m newRequest request: URLRequest,
[0;36m115 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLRequest[0;0m?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m116 |[0;0m ) {
[0;36m117 |[0;0m if let target = request.url, allowsRedirect(to: target) {
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:111:16: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m109 |[0;0m
[0;36m110 |[0;0m func urlSession(
[0;36m111 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m112 |[0;0m task: URLSessionTask,
[0;36m113 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:112:11: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m110 |[0;0m func urlSession(
[0;36m111 |[0;0m _ session: URLSession,
[0;36m112 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m113 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m114 |[0;0m newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:113:42: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m111 |[0;0m _ session: URLSession,
[0;36m112 |[0;0m task: URLSessionTask,
[0;36m113 |[0;0m willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m114 |[0;0m newRequest request: URLRequest,
[0;36m115 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/APIError.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/Configuration.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ContentAssembler.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ContentBlock.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/Fallbacks.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HeaderName.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/JSONValue.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/Message.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/MessagesRequest.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/MessagesResponse.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/SSEParser.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/StreamEvent.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/Telemetry.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ThinkingConfig.swift /host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ToolDefinition.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 0.2.3 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ClaudeAPI -package-name claudeforfoundationmodels -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/Objects-normal/x86_64/ClaudeAPI_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/Objects-normal/x86_64/Modules/ClaudeAPI.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/Objects-normal/x86_64/Modules/ClaudeAPI.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/Objects-normal/x86_64/ClaudeAPI-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/Objects-normal/x86_64/ClaudeAPI-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/Objects-normal/x86_64/ClaudeAPI-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ClaudeForFoundationModels.build/Debug-linux-x86_64/ClaudeAPI-t.build/Objects-normal/x86_64/Modules/ClaudeAPI.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux