The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Swollama, reference master (1eada8), with Swift 6.2 for Wasm on 2 Oct 2025 14:20:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/Swollama.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/Swollama
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1eada84 chore: remove automated release workflow
Cloned https://github.com/guitaripod/Swollama.git
Revision (git rev-parse @):
1eada844ce5e477fa5a2178483b3540e1c07c5e0
SUCCESS checkout https://github.com/guitaripod/Swollama.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/guitaripod/Swollama.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/39] Emitting module Swollama
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:11:22: error: cannot find type 'URLRequest' in scope
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
 11 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 13 |         #if os(Linux)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:10:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport+Streaming.swift:12:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |         session: URLSession,
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |         #if os(Linux)
 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/Swollama/NetworkingSupport.swift:11:46: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                              `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:11:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:15:49: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     }
 14 |
 15 |     static func createDefaultConfiguration() -> URLSessionConfiguration {
    |                                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |         let config = URLSessionConfiguration.default
 17 |
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/Swollama/NetworkingSupport.swift:32:22: error: cannot find type 'URLRequest' in scope
 30 |     static func dataTask(
 31 |         session: URLSession,
 32 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 33 |     ) async throws -> (Data, URLResponse) {
 34 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     static func dataTask(
 31 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
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/Swollama/NetworkingSupport.swift:33:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         session: URLSession,
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |         #if canImport(FoundationNetworking)
 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/Swollama/NetworkingSupport.swift:58:22: error: cannot find type 'URLRequest' in scope
 56 |     static func streamTask(
 57 |         session: URLSession,
 58 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 60 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:57:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     static func streamTask(
 57 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport.swift:59:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         session: URLSession,
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         #if canImport(FoundationNetworking)
 61 |
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/Swollama/OllamaClient.swift:55:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     public nonisolated let configuration: OllamaConfiguration
 54 |
 55 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     let decoder: JSONDecoder
 57 |     private let encoder: JSONEncoder
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/Swollama/OllamaClient.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         baseURL: URL,
 85 |         configuration: OllamaConfiguration,
 86 |         session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     ) {
 88 |         self.baseURL = baseURL
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/Swollama/OllamaClient.swift:72:16: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 70 |
 71 |         let config = NetworkingSupport.createDefaultConfiguration()
 72 |         config.timeoutIntervalForRequest = configuration.timeoutInterval
    |                `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 73 |
 74 |         self.session = NetworkingSupport.createSession(configuration: config)
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private let apiKey: String
 43 |     private let baseURL: URL
 44 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     /// Creates a new Ollama web search client.
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/Swollama/WebSearch/OllamaWebSearchClient.swift:55:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     ) {
 57 |         self.apiKey = apiKey
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
[5/43] Compiling Swollama OllamaError.swift
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private let apiKey: String
 43 |     private let baseURL: URL
 44 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     /// Creates a new Ollama web search client.
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/Swollama/WebSearch/OllamaWebSearchClient.swift:55:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     ) {
 57 |         self.apiKey = apiKey
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/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:96:23: error: cannot find 'URLRequest' in scope
 94 |     ) async throws -> R {
 95 |         let url = baseURL.appendingPathComponent(path)
 96 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 97 |         request.httpMethod = "POST"
 98 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:102:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         request.httpBody = try JSONEncoder().encode(body)
101 |
102 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
103 |
104 |         guard let httpResponse = response as? HTTPURLResponse else {
[6/43] Compiling Swollama OllamaProtocol.swift
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private let apiKey: String
 43 |     private let baseURL: URL
 44 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     /// Creates a new Ollama web search client.
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/Swollama/WebSearch/OllamaWebSearchClient.swift:55:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     ) {
 57 |         self.apiKey = apiKey
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/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:96:23: error: cannot find 'URLRequest' in scope
 94 |     ) async throws -> R {
 95 |         let url = baseURL.appendingPathComponent(path)
 96 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 97 |         request.httpMethod = "POST"
 98 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:102:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         request.httpBody = try JSONEncoder().encode(body)
101 |
102 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
103 |
104 |         guard let httpResponse = response as? HTTPURLResponse else {
[7/43] Compiling Swollama OllamaWebSearchClient.swift
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private let apiKey: String
 43 |     private let baseURL: URL
 44 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     /// Creates a new Ollama web search client.
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/Swollama/WebSearch/OllamaWebSearchClient.swift:55:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     ) {
 57 |         self.apiKey = apiKey
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/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:96:23: error: cannot find 'URLRequest' in scope
 94 |     ) async throws -> R {
 95 |         let url = baseURL.appendingPathComponent(path)
 96 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 97 |         request.httpMethod = "POST"
 98 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:102:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         request.httpBody = try JSONEncoder().encode(body)
101 |
102 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
103 |
104 |         guard let httpResponse = response as? HTTPURLResponse else {
[8/43] Compiling Swollama WebSearchModels.swift
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private let apiKey: String
 43 |     private let baseURL: URL
 44 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     /// Creates a new Ollama web search client.
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/Swollama/WebSearch/OllamaWebSearchClient.swift:55:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     ) {
 57 |         self.apiKey = apiKey
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/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:96:23: error: cannot find 'URLRequest' in scope
 94 |     ) async throws -> R {
 95 |         let url = baseURL.appendingPathComponent(path)
 96 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 97 |         request.httpMethod = "POST"
 98 |         request.setValue("Bearer \(apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:102:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         request.httpBody = try JSONEncoder().encode(body)
101 |
102 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
103 |
104 |         guard let httpResponse = response as? HTTPURLResponse else {
[9/43] Compiling Swollama AgentConfiguration.swift
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
[10/43] Compiling Swollama AgentEvent.swift
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
[11/43] Compiling Swollama OllamaAgent.swift
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
[12/43] Compiling Swollama ChatOptions.swift
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
[13/43] Compiling Swollama EmbeddingOptions.swift
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) {
 57 |         self.apiKey = apiKey
/host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         apiKey: String,
 54 |         baseURL: URL = URL(string: "https://ollama.com")!,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) {
 57 |         self.apiKey = apiKey
[14/43] Compiling Swollama GenerationOptions.swift
[15/43] Compiling Swollama ChatRequest.swift
[16/43] Compiling Swollama ChatResponse.swift
[17/43] Compiling Swollama CreateModelRequest.swift
[18/43] Compiling Swollama EmbeddingRequest.swift
[19/43] Compiling Swollama QuantizationLevel.swift
[20/43] Compiling Swollama RunningModelsResponse.swift
[21/43] Compiling Swollama ShowModelRequest.swift
[22/43] Compiling Swollama ToolCall.swift
[23/43] Compiling Swollama OllamaClient+Generation.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:55:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     public nonisolated let configuration: OllamaConfiguration
 54 |
 55 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     let decoder: JSONDecoder
 57 |     private let encoder: JSONEncoder
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/Swollama/OllamaClient.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         baseURL: URL,
 85 |         configuration: OllamaConfiguration,
 86 |         session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     ) {
 88 |         self.baseURL = baseURL
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/Swollama/OllamaClient.swift:72:16: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 70 |
 71 |         let config = NetworkingSupport.createDefaultConfiguration()
 72 |         config.timeoutIntervalForRequest = configuration.timeoutInterval
    |                `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 73 |
 74 |         self.session = NetworkingSupport.createSession(configuration: config)
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:105:23: error: cannot find 'URLRequest' in scope
103 |     ) async throws -> Data {
104 |         let url = baseURL.appendingPathComponent("/api").appendingPathComponent(endpoint)
105 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
106 |         request.httpMethod = method
107 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:22: error: cannot find type 'URLRequest' in scope
 30 |     static func dataTask(
 31 |         session: URLSession,
 32 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 33 |     ) async throws -> (Data, URLResponse) {
 34 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:182:35: error: cannot find 'URLRequest' in scope
180 |                         endpoint
181 |                     )
182 |                     var request = URLRequest(url: url)
    |                                   `- error: cannot find 'URLRequest' in scope
183 |                     request.httpMethod = method
184 |                     request.httpBody = body
[24/43] Compiling Swollama OllamaClient+ModelManagement.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:55:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     public nonisolated let configuration: OllamaConfiguration
 54 |
 55 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     let decoder: JSONDecoder
 57 |     private let encoder: JSONEncoder
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/Swollama/OllamaClient.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         baseURL: URL,
 85 |         configuration: OllamaConfiguration,
 86 |         session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     ) {
 88 |         self.baseURL = baseURL
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/Swollama/OllamaClient.swift:72:16: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 70 |
 71 |         let config = NetworkingSupport.createDefaultConfiguration()
 72 |         config.timeoutIntervalForRequest = configuration.timeoutInterval
    |                `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 73 |
 74 |         self.session = NetworkingSupport.createSession(configuration: config)
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:105:23: error: cannot find 'URLRequest' in scope
103 |     ) async throws -> Data {
104 |         let url = baseURL.appendingPathComponent("/api").appendingPathComponent(endpoint)
105 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
106 |         request.httpMethod = method
107 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:22: error: cannot find type 'URLRequest' in scope
 30 |     static func dataTask(
 31 |         session: URLSession,
 32 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 33 |     ) async throws -> (Data, URLResponse) {
 34 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:182:35: error: cannot find 'URLRequest' in scope
180 |                         endpoint
181 |                     )
182 |                     var request = URLRequest(url: url)
    |                                   `- error: cannot find 'URLRequest' in scope
183 |                     request.httpMethod = method
184 |                     request.httpBody = body
[25/43] Compiling Swollama OllamaClient.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:55:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     public nonisolated let configuration: OllamaConfiguration
 54 |
 55 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     let decoder: JSONDecoder
 57 |     private let encoder: JSONEncoder
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/Swollama/OllamaClient.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         baseURL: URL,
 85 |         configuration: OllamaConfiguration,
 86 |         session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     ) {
 88 |         self.baseURL = baseURL
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/Swollama/OllamaClient.swift:72:16: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 70 |
 71 |         let config = NetworkingSupport.createDefaultConfiguration()
 72 |         config.timeoutIntervalForRequest = configuration.timeoutInterval
    |                `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 73 |
 74 |         self.session = NetworkingSupport.createSession(configuration: config)
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:105:23: error: cannot find 'URLRequest' in scope
103 |     ) async throws -> Data {
104 |         let url = baseURL.appendingPathComponent("/api").appendingPathComponent(endpoint)
105 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
106 |         request.httpMethod = method
107 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:22: error: cannot find type 'URLRequest' in scope
 30 |     static func dataTask(
 31 |         session: URLSession,
 32 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 33 |     ) async throws -> (Data, URLResponse) {
 34 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:182:35: error: cannot find 'URLRequest' in scope
180 |                         endpoint
181 |                     )
182 |                     var request = URLRequest(url: url)
    |                                   `- error: cannot find 'URLRequest' in scope
183 |                     request.httpMethod = method
184 |                     request.httpBody = body
[26/43] Compiling Swollama OllamaConfiguration.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:55:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     public nonisolated let configuration: OllamaConfiguration
 54 |
 55 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     let decoder: JSONDecoder
 57 |     private let encoder: JSONEncoder
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/Swollama/OllamaClient.swift:86:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |         baseURL: URL,
 85 |         configuration: OllamaConfiguration,
 86 |         session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     ) {
 88 |         self.baseURL = baseURL
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/Swollama/OllamaClient.swift:72:16: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 70 |
 71 |         let config = NetworkingSupport.createDefaultConfiguration()
 72 |         config.timeoutIntervalForRequest = configuration.timeoutInterval
    |                `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'timeoutIntervalForRequest'
 73 |
 74 |         self.session = NetworkingSupport.createSession(configuration: config)
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:105:23: error: cannot find 'URLRequest' in scope
103 |     ) async throws -> Data {
104 |         let url = baseURL.appendingPathComponent("/api").appendingPathComponent(endpoint)
105 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
106 |         request.httpMethod = method
107 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:22: error: cannot find type 'URLRequest' in scope
 30 |     static func dataTask(
 31 |         session: URLSession,
 32 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 33 |     ) async throws -> (Data, URLResponse) {
 34 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:182:35: error: cannot find 'URLRequest' in scope
180 |                         endpoint
181 |                     )
182 |                     var request = URLRequest(url: url)
    |                                   `- error: cannot find 'URLRequest' in scope
183 |                     request.httpMethod = method
184 |                     request.httpBody = body
[27/43] Compiling Swollama EmbeddingResponse.swift
[28/43] Compiling Swollama GenerateRequest.swift
[29/43] Compiling Swollama GenerateResponse.swift
[30/43] Compiling Swollama ModelFamily.swift
[31/43] Compiling Swollama ModelFormat.swift
[32/43] Compiling Swollama ToolDefinition.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:11:22: error: cannot find type 'URLRequest' in scope
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
 11 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 13 |         #if os(Linux)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:10:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport+Streaming.swift:12:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |         session: URLSession,
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |         #if os(Linux)
 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/Swollama/NetworkingSupport.swift:58:22: error: cannot find type 'URLRequest' in scope
 56 |     static func streamTask(
 57 |         session: URLSession,
 58 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 60 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:11:46: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                              `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:11:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:15:49: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     }
 14 |
 15 |     static func createDefaultConfiguration() -> URLSessionConfiguration {
    |                                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |         let config = URLSessionConfiguration.default
 17 |
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/Swollama/NetworkingSupport.swift:32:22: error: cannot find type 'URLRequest' in scope
 30 |     static func dataTask(
 31 |         session: URLSession,
 32 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 33 |     ) async throws -> (Data, URLResponse) {
 34 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     static func dataTask(
 31 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
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/Swollama/NetworkingSupport.swift:33:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         session: URLSession,
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |         #if canImport(FoundationNetworking)
 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/Swollama/NetworkingSupport.swift:57:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     static func streamTask(
 57 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport.swift:59:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         session: URLSession,
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         #if canImport(FoundationNetworking)
 61 |
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/Swollama/NetworkingSupport.swift:12:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
 12 |         return URLSession(configuration: configuration)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 13 |     }
 14 |
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:16:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 14 |
 15 |     static func createDefaultConfiguration() -> URLSessionConfiguration {
 16 |         let config = URLSessionConfiguration.default
    |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 17 |
 18 |         config.urlCache = nil
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:19:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 17 |
 18 |         config.urlCache = nil
 19 |         config.requestCachePolicy = .reloadIgnoringLocalAndRemoteCacheData
    |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 20 |
 21 |         #if !os(Linux)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:52:38: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 50 |         #else
 51 |
 52 |             return try await session.data(for: request)
    |                                      `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 53 |         #endif
 54 |     }
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:85:55: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 83 |         #else
 84 |
 85 |             let (bytes, response) = try await session.bytes(for: request)
    |                                                       `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 86 |             let stream = AsyncThrowingStream<Data, Error> { continuation in
 87 |                 Task {
[33/43] Compiling Swollama VersionResponse.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:11:22: error: cannot find type 'URLRequest' in scope
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
 11 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 13 |         #if os(Linux)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:10:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport+Streaming.swift:12:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |         session: URLSession,
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |         #if os(Linux)
 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/Swollama/NetworkingSupport.swift:58:22: error: cannot find type 'URLRequest' in scope
 56 |     static func streamTask(
 57 |         session: URLSession,
 58 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 60 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:11:46: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                              `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:11:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:15:49: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     }
 14 |
 15 |     static func createDefaultConfiguration() -> URLSessionConfiguration {
    |                                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |         let config = URLSessionConfiguration.default
 17 |
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/Swollama/NetworkingSupport.swift:32:22: error: cannot find type 'URLRequest' in scope
 30 |     static func dataTask(
 31 |         session: URLSession,
 32 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 33 |     ) async throws -> (Data, URLResponse) {
 34 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     static func dataTask(
 31 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
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/Swollama/NetworkingSupport.swift:33:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         session: URLSession,
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |         #if canImport(FoundationNetworking)
 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/Swollama/NetworkingSupport.swift:57:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     static func streamTask(
 57 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport.swift:59:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         session: URLSession,
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         #if canImport(FoundationNetworking)
 61 |
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/Swollama/NetworkingSupport.swift:12:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
 12 |         return URLSession(configuration: configuration)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 13 |     }
 14 |
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:16:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 14 |
 15 |     static func createDefaultConfiguration() -> URLSessionConfiguration {
 16 |         let config = URLSessionConfiguration.default
    |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 17 |
 18 |         config.urlCache = nil
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:19:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 17 |
 18 |         config.urlCache = nil
 19 |         config.requestCachePolicy = .reloadIgnoringLocalAndRemoteCacheData
    |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 20 |
 21 |         #if !os(Linux)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:52:38: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 50 |         #else
 51 |
 52 |             return try await session.data(for: request)
    |                                      `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 53 |         #endif
 54 |     }
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:85:55: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 83 |         #else
 84 |
 85 |             let (bytes, response) = try await session.bytes(for: request)
    |                                                       `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 86 |             let stream = AsyncThrowingStream<Data, Error> { continuation in
 87 |                 Task {
[34/43] Compiling Swollama NetworkingSupport+Streaming.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:11:22: error: cannot find type 'URLRequest' in scope
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
 11 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 13 |         #if os(Linux)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:10:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport+Streaming.swift:12:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |         session: URLSession,
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |         #if os(Linux)
 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/Swollama/NetworkingSupport.swift:58:22: error: cannot find type 'URLRequest' in scope
 56 |     static func streamTask(
 57 |         session: URLSession,
 58 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 60 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:11:46: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                              `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:11:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:15:49: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     }
 14 |
 15 |     static func createDefaultConfiguration() -> URLSessionConfiguration {
    |                                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |         let config = URLSessionConfiguration.default
 17 |
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/Swollama/NetworkingSupport.swift:32:22: error: cannot find type 'URLRequest' in scope
 30 |     static func dataTask(
 31 |         session: URLSession,
 32 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 33 |     ) async throws -> (Data, URLResponse) {
 34 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     static func dataTask(
 31 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
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/Swollama/NetworkingSupport.swift:33:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         session: URLSession,
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |         #if canImport(FoundationNetworking)
 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/Swollama/NetworkingSupport.swift:57:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     static func streamTask(
 57 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport.swift:59:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         session: URLSession,
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         #if canImport(FoundationNetworking)
 61 |
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/Swollama/NetworkingSupport.swift:12:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
 12 |         return URLSession(configuration: configuration)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 13 |     }
 14 |
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:16:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 14 |
 15 |     static func createDefaultConfiguration() -> URLSessionConfiguration {
 16 |         let config = URLSessionConfiguration.default
    |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 17 |
 18 |         config.urlCache = nil
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:19:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 17 |
 18 |         config.urlCache = nil
 19 |         config.requestCachePolicy = .reloadIgnoringLocalAndRemoteCacheData
    |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 20 |
 21 |         #if !os(Linux)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:52:38: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 50 |         #else
 51 |
 52 |             return try await session.data(for: request)
    |                                      `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 53 |         #endif
 54 |     }
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:85:55: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 83 |         #else
 84 |
 85 |             let (bytes, response) = try await session.bytes(for: request)
    |                                                       `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 86 |             let stream = AsyncThrowingStream<Data, Error> { continuation in
 87 |                 Task {
[35/43] Compiling Swollama NetworkingSupport.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:11:22: error: cannot find type 'URLRequest' in scope
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
 11 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 13 |         #if os(Linux)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift:10:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |
  9 |     static func enhancedStreamTask(
 10 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport+Streaming.swift:12:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |         session: URLSession,
 11 |         for request: URLRequest
 12 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |         #if os(Linux)
 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/Swollama/NetworkingSupport.swift:58:22: error: cannot find type 'URLRequest' in scope
 56 |     static func streamTask(
 57 |         session: URLSession,
 58 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
 60 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:11:46: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                              `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:11:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     static let streamBufferSize = 65536
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |         return URLSession(configuration: configuration)
 13 |     }
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/Swollama/NetworkingSupport.swift:15:49: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     }
 14 |
 15 |     static func createDefaultConfiguration() -> URLSessionConfiguration {
    |                                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |         let config = URLSessionConfiguration.default
 17 |
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/Swollama/NetworkingSupport.swift:32:22: error: cannot find type 'URLRequest' in scope
 30 |     static func dataTask(
 31 |         session: URLSession,
 32 |         for request: URLRequest
    |                      `- error: cannot find type 'URLRequest' in scope
 33 |     ) async throws -> (Data, URLResponse) {
 34 |         #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     static func dataTask(
 31 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
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/Swollama/NetworkingSupport.swift:33:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         session: URLSession,
 32 |         for request: URLRequest
 33 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |         #if canImport(FoundationNetworking)
 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/Swollama/NetworkingSupport.swift:57:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     static func streamTask(
 57 |         session: URLSession,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
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/Swollama/NetworkingSupport.swift:59:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         session: URLSession,
 58 |         for request: URLRequest
 59 |     ) async throws -> (AsyncThrowingStream<Data, Error>, URLResponse) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         #if canImport(FoundationNetworking)
 61 |
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/Swollama/NetworkingSupport.swift:12:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 10 |
 11 |     static func createSession(configuration: URLSessionConfiguration) -> URLSession {
 12 |         return URLSession(configuration: configuration)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 13 |     }
 14 |
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:16:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 14 |
 15 |     static func createDefaultConfiguration() -> URLSessionConfiguration {
 16 |         let config = URLSessionConfiguration.default
    |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 17 |
 18 |         config.urlCache = nil
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:19:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 17 |
 18 |         config.urlCache = nil
 19 |         config.requestCachePolicy = .reloadIgnoringLocalAndRemoteCacheData
    |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
 20 |
 21 |         #if !os(Linux)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:52:38: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 50 |         #else
 51 |
 52 |             return try await session.data(for: request)
    |                                      `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 53 |         #endif
 54 |     }
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:85:55: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 83 |         #else
 84 |
 85 |             let (bytes, response) = try await session.bytes(for: request)
    |                                                       `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 86 |             let stream = AsyncThrowingStream<Data, Error> { continuation in
 87 |                 Task {
[36/43] Compiling Swollama ModelInformation.swift
[37/43] Compiling Swollama ModelsResponse.swift
[38/43] Compiling Swollama OllamaModelName.swift
[39/43] Compiling Swollama OperationProgress.swift
BUILD FAILURE 6.2 wasm