The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GeminiKit, reference master (c80ffb), with Swift 6.4 for Wasm on 22 Sep 2026 15:53:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/GeminiKit.git
Reference: master
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/guitaripod/GeminiKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c80ffb4 Add GitHub link to documentation index page
Cloned https://github.com/guitaripod/GeminiKit.git
Revision (git rev-parse @):
c80ffb454acb5bd7b77900e7eac1fdb2907c6406
SUCCESS checkout https://github.com/guitaripod/GeminiKit.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/guitaripod/GeminiKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[236/21263] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin (0.68s)
[1325/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.95s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (2.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.20s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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.5.0
Building for debugging...
[Pre-planning 1 / 154]
[Starting]
[42 / 69] GeminiKit
[43 / 69] ArgumentParserToolInfo
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/GeminiKit/Networking/HTTPClient.swift:12:28: error: cannot find type 'URLRequest' in scope
10 |     ///   - request: The URL request to perform
11 |     /// - Returns: The response data and URL response
12 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
13 |
14 |     /// Performs a streaming request
/host/spi-builder-workspace/Sources/GeminiKit/Networking/HTTPClient.swift:18:30: error: cannot find type 'URLRequest' in scope
16 |     ///   - request: The URL request to perform
17 |     /// - Returns: An async stream of data chunks
18 |     func stream(for request: URLRequest) async throws -> AsyncThrowingStream<Data, Error>
   |                              `- error: cannot find type 'URLRequest' in scope
19 |
20 |     /// Uploads data with a request
/host/spi-builder-workspace/Sources/GeminiKit/Networking/HTTPClient.swift:25:30: error: cannot find type 'URLRequest' in scope
23 |     ///   - data: The data to upload
24 |     /// - Returns: The response data and URL response
25 |     func upload(for request: URLRequest, from data: Data) async throws -> (Data, URLResponse)
   |                              `- error: cannot find type 'URLRequest' in scope
26 | }
27 |
/host/spi-builder-workspace/Sources/GeminiKit/Networking/HTTPClient.swift:12:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     ///   - request: The URL request to perform
11 |     /// - Returns: The response data and URL response
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 |
14 |     /// Performs a streaming request
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/Sources/GeminiKit/Networking/HTTPClient.swift:25:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ///   - data: The data to upload
24 |     /// - Returns: The response data and URL response
25 |     func upload(for request: URLRequest, from data: Data) async throws -> (Data, URLResponse)
   |                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | }
27 |
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/Sources/GeminiKit/Networking/HTTPClient.swift:29:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 | /// HTTP response for non-URLSession implementations
29 | public final class HTTPURLResponse: URLResponse, @unchecked Sendable {
   |                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |     public let statusCode: Int
31 |     public let headers: [String: String]
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/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:6:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 | /// URLSession-based HTTP client for Apple platforms
  5 | public final class URLSessionHTTPClient: HTTPClient, @unchecked Sendable {
  6 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |
  8 |     public 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/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:8:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 |     private let session: URLSession
  7 |
  8 |     public init(session: URLSession = .shared) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |         self.session = session
 10 |     }
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/GeminiKit/Networking/URLSessionHTTPClient.swift:8:40: error: value of type '_' expected to be instance of class or class-constrained type
  6 |     private let session: URLSession
  7 |
  8 |     public init(session: URLSession = .shared) {
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
  9 |         self.session = session
 10 |     }
/host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:8:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  6 |     private let session: URLSession
  7 |
  8 |     public init(session: URLSession = .shared) {
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  9 |         self.session = session
 10 |     }
/host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:12:35: error: cannot find type 'URLRequest' in scope
 10 |     }
 11 |
 12 |     public func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                   `- error: cannot find type 'URLRequest' in scope
 13 |         try await session.data(for: request)
 14 |     }
/host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:12:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     }
 11 |
 12 |     public 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 |         try await session.data(for: request)
 14 |     }
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/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:16:37: error: cannot find type 'URLRequest' in scope
 14 |     }
 15 |
 16 |     public func stream(for request: URLRequest) async throws -> AsyncThrowingStream<Data, Error> {
    |                                     `- error: cannot find type 'URLRequest' in scope
 17 |         AsyncThrowingStream { continuation in
 18 |             let delegate = StreamingDelegate(continuation: continuation)
/host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:33:37: error: cannot find type 'URLRequest' in scope
 31 |     }
 32 |
 33 |     public func upload(for request: URLRequest, from data: Data) async throws -> (Data, URLResponse) {
    |                                     `- error: cannot find type 'URLRequest' in scope
 34 |         try await session.upload(for: request, from: data)
 35 |     }
/host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:33:89: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     }
 32 |
 33 |     public func upload(for request: URLRequest, from data: Data) async throws -> (Data, URLResponse) {
    |                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |         try await session.upload(for: request, from: data)
 35 |     }
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/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:39:50: error: cannot find type 'URLSessionDataDelegate' in scope
 37 |
 38 | /// URLSession delegate for handling streaming responses
 39 | private final class StreamingDelegate: NSObject, URLSessionDataDelegate {
    |                                                  `- error: cannot find type 'URLSessionDataDelegate' in scope
 40 |     let continuation: AsyncThrowingStream<Data, Error>.Continuation
 41 |     private var errorResponseData = Data()
/host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:42:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |     let continuation: AsyncThrowingStream<Data, Error>.Continuation
 41 |     private var errorResponseData = Data()
 42 |     private var httpResponse: Foundation.HTTPURLResponse?
    |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     private var session: URLSession?
 44 |
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/GeminiKit/Networking/URLSessionHTTPClient.swift:43:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |     private var errorResponseData = Data()
 42 |     private var httpResponse: Foundation.HTTPURLResponse?
 43 |     private var session: URLSession?
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     init(continuation: AsyncThrowingStream<Data, Error>.Continuation) {
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/GeminiKit/Networking/URLSessionHTTPClient.swift:50:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     func setSession(_ session: URLSession) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |         self.session = session
 52 |     }
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/GeminiKit/Networking/URLSessionHTTPClient.swift:54:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     }
 53 |
 54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         // If we have an error response, accumulate the data
 56 |         if let httpResponse = httpResponse, httpResponse.statusCode >= 400 {
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/GeminiKit/Networking/URLSessionHTTPClient.swift:54:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |     }
 53 |
 54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |         // If we have an error response, accumulate the data
 56 |         if let httpResponse = httpResponse, httpResponse.statusCode >= 400 {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:63:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |         if let error = error {
 65 |             continuation.finish(throwing: error)
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/GeminiKit/Networking/URLSessionHTTPClient.swift:63:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |         if let error = error {
 65 |             continuation.finish(throwing: error)
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/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:110:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
108 |     }
109 |
110 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
111 |         // Store the response
112 |         httpResponse = response as? Foundation.HTTPURLResponse
/host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:110:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         // Store the response
112 |         httpResponse = response as? Foundation.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/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:110:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         // Store the response
112 |         httpResponse = response as? Foundation.HTTPURLResponse
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift:110:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |     }
109 |
110 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         // Store the response
112 |         httpResponse = response as? Foundation.HTTPURLResponse
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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/GeminiKit/Core/Chat.swift /host/spi-builder-workspace/Sources/GeminiKit/Core/Configuration.swift /host/spi-builder-workspace/Sources/GeminiKit/Core/GeminiError.swift /host/spi-builder-workspace/Sources/GeminiKit/Core/GeminiKit.swift /host/spi-builder-workspace/Sources/GeminiKit/Core/GeminiModels.swift /host/spi-builder-workspace/Sources/GeminiKit/Core/OpenAICompatibility.swift /host/spi-builder-workspace/Sources/GeminiKit/Core/SpecializedEndpoints.swift /host/spi-builder-workspace/Sources/GeminiKit/Extensions/ToolExtensions.swift /host/spi-builder-workspace/Sources/GeminiKit/Models/AnyCodable.swift /host/spi-builder-workspace/Sources/GeminiKit/Models/Content.swift /host/spi-builder-workspace/Sources/GeminiKit/Models/GenerationConfig.swift /host/spi-builder-workspace/Sources/GeminiKit/Models/OpenAIModels.swift /host/spi-builder-workspace/Sources/GeminiKit/Models/Request.swift /host/spi-builder-workspace/Sources/GeminiKit/Models/Response.swift /host/spi-builder-workspace/Sources/GeminiKit/Models/SpecializedModels.swift /host/spi-builder-workspace/Sources/GeminiKit/Networking/APIClient.swift /host/spi-builder-workspace/Sources/GeminiKit/Networking/CURLHTTPClient.swift /host/spi-builder-workspace/Sources/GeminiKit/Networking/HTTPClient.swift /host/spi-builder-workspace/Sources/GeminiKit/Networking/URLSessionHTTPClient.swift /host/spi-builder-workspace/Sources/GeminiKit/Tools/ToolBuilder.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 -swift-version 5 -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 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GeminiKit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/Objects-normal/wasm32/GeminiKit_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/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/Objects-normal/wasm32/Modules/GeminiKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/Objects-normal/wasm32/Modules/GeminiKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/Objects-normal/wasm32/GeminiKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/Objects-normal/wasm32/GeminiKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/Objects-normal/wasm32/GeminiKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GeminiKit.build/Debug-webassembly-wasm32/GeminiKit-t.build/Objects-normal/wasm32/Modules/GeminiKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm