The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HybridRouterKit, reference main (4e4033), with Swift 6.4 for Linux on 7 Nov 2026 06:05:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaichaudhry/HybridRouter.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/jaichaudhry/HybridRouter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-53886768-1":/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.42s)
Computing version for https://github.com/anthropics/ClaudeForFoundationModels
Computed https://github.com/anthropics/ClaudeForFoundationModels at 0.2.3 (0.58s)
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]
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

[72 / 118] ClaudeAPI
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:12:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |
 11 |   /// Production initializer — talks to the API over `URLSession`.
 12 |   package init(configuration: Configuration, session: URLSession = .shared) {
    |                                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     self.init(configuration: configuration, transport: URLSessionTransport(session: session))
 14 |   }
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/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:12:69: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 10 |
 11 |   /// Production initializer — talks to the API over `URLSession`.
 12 |   package init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 |     self.init(configuration: configuration, transport: URLSessionTransport(session: session))
 14 |   }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:12:69: error: value of type '_' expected to be instance of class or class-constrained type
 10 |
 11 |   /// Production initializer — talks to the API over `URLSession`.
 12 |   package init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 13 |     self.init(configuration: configuration, transport: URLSessionTransport(session: session))
 14 |   }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:104:15: error: cannot find type 'URLRequest' in scope
102 |     for body: MessagesRequest,
103 |     headers: [String: String]
104 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
105 |     var req = URLRequest(url: configuration.baseURL.appending(path: "v1/messages"))
106 |     req.httpMethod = "POST"
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/ClaudeClient.swift:125:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |   }
124 |
125 |   private static func check(_ response: URLResponse, body: Data) throws {
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |     guard let http = response as? HTTPURLResponse else { return }
127 |     guard http.statusCode >= 400 else { return }
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:12:26: error: cannot find type 'URLRequest' in scope
 10 | /// one — `AsyncBytes` can only be vended by a live `URLSession`.
 11 | package protocol HTTPTransport: Sendable {
 12 |   func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                          `- error: cannot find type 'URLRequest' in scope
 13 |   func bytes(
 14 |     for request: URLRequest
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:12:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | /// one — `AsyncBytes` can only be vended by a live `URLSession`.
 11 | package protocol HTTPTransport: Sendable {
 12 |   func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |   func bytes(
 14 |     for request: URLRequest
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:14:18: error: cannot find type 'URLRequest' in scope
 12 |   func data(for request: URLRequest) async throws -> (Data, URLResponse)
 13 |   func bytes(
 14 |     for request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 15 |   ) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
 16 | }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:15:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |   func bytes(
 14 |     for request: URLRequest
 15 |   ) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
    |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 | }
 17 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:38:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 | /// `URLSession`-backed transport used in production.
 37 | package struct URLSessionTransport: HTTPTransport {
 38 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |   package init(session: URLSession = .shared) {
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/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:40:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |   private let session: URLSession
 39 |
 40 |   package init(session: URLSession = .shared) {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |     self.session = session
 42 |   }
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/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:40:39: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 38 |   private let session: URLSession
 39 |
 40 |   package init(session: URLSession = .shared) {
    |                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 41 |     self.session = session
 42 |   }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:40:39: error: value of type '_' expected to be instance of class or class-constrained type
 38 |   private let session: URLSession
 39 |
 40 |   package init(session: URLSession = .shared) {
    |                                       `- error: value of type '_' expected to be instance of class or class-constrained type
 41 |     self.session = session
 42 |   }
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:44:34: error: cannot find type 'URLRequest' in scope
 42 |   }
 43 |
 44 |   package func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                  `- error: cannot find type 'URLRequest' in scope
 45 |     let redirects = RedirectPolicy(origin: request.url)
 46 |     let (data, response) = try await session.data(for: request, delegate: redirects)
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:44:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |   }
 43 |
 44 |   package func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |     let redirects = RedirectPolicy(origin: request.url)
 46 |     let (data, response) = try await session.data(for: request, delegate: redirects)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:52:18: error: cannot find type 'URLRequest' in scope
 50 |
 51 |   package func bytes(
 52 |     for request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 53 |   ) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse) {
 54 |     // `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: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |   package func bytes(
 52 |     for request: URLRequest
 53 |   ) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse) {
    |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |     // `bytes(for:)` returns once headers arrive, so the caller can check the
 55 |     // status before draining the body. Re-yield the bytes through a stream of
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:38:15: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
 36 | /// `URLSession`-backed transport used in production.
 37 | package struct URLSessionTransport: HTTPTransport {
 38 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'
 39 |
 40 |   package init(session: URLSession = .shared) {
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:85:39: error: cannot find type 'URLSessionTaskDelegate' in scope
 83 | /// response itself, which callers would otherwise take for a success, so the
 84 | /// refusal is recorded and ``checkRefused()`` turns it into an error.
 85 | final class RedirectPolicy: NSObject, URLSessionTaskDelegate, Sendable {
    |                                       `- error: cannot find type 'URLSessionTaskDelegate' in scope
 86 |   /// Nil when the request had no usable URL, in which case nothing is
 87 |   /// followed.
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:114:25: error: cannot find type 'URLRequest' in scope
112 |     task: URLSessionTask,
113 |     willPerformHTTPRedirection response: HTTPURLResponse,
114 |     newRequest request: URLRequest,
    |                         `- error: cannot find type 'URLRequest' in scope
115 |     completionHandler: @escaping @Sendable (URLRequest?) -> Void
116 |   ) {
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:115:45: error: cannot find type 'URLRequest' in scope
113 |     willPerformHTTPRedirection response: HTTPURLResponse,
114 |     newRequest request: URLRequest,
115 |     completionHandler: @escaping @Sendable (URLRequest?) -> Void
    |                                             `- error: cannot find type 'URLRequest' in scope
116 |   ) {
117 |     if let target = request.url, allowsRedirect(to: target) {
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:111:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |
110 |   func urlSession(
111 |     _ session: URLSession,
    |                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |     task: URLSessionTask,
113 |     willPerformHTTPRedirection response: HTTPURLResponse,
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/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:112:11: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |   func urlSession(
111 |     _ session: URLSession,
112 |     task: URLSessionTask,
    |           `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |     willPerformHTTPRedirection response: HTTPURLResponse,
114 |     newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ClaudeForFoundationModels/Sources/ClaudeAPI/HTTPTransport.swift:113:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     _ session: URLSession,
112 |     task: URLSessionTask,
113 |     willPerformHTTPRedirection response: HTTPURLResponse,
    |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |     newRequest request: URLRequest,
115 |     completionHandler: @escaping @Sendable (URLRequest?) -> Void
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
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