The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

 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 {
[13/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 {
[14/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 {
[15/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 {
[16/43] Compiling Swollama EmbeddingResponse.swift
[17/43] Compiling Swollama GenerateRequest.swift
[18/43] Compiling Swollama GenerateResponse.swift
[19/43] Compiling Swollama ModelFamily.swift
[20/43] Compiling Swollama ModelFormat.swift
[21/43] Compiling Swollama GenerationOptions.swift
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
 6 | /// output formatting, system prompts, and conversation context.
 7 | public struct GenerationOptions {
   |               `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
 8 |     /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
 9 |     public let suffix: String?
   :
74 |
75 |     /// Default generation options with no constraints.
76 |     public static let `default` = GenerationOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[22/43] Compiling Swollama ChatRequest.swift
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
 6 | /// output formatting, system prompts, and conversation context.
 7 | public struct GenerationOptions {
   |               `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
 8 |     /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
 9 |     public let suffix: String?
   :
74 |
75 |     /// Default generation options with no constraints.
76 |     public static let `default` = GenerationOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[23/43] Compiling Swollama ChatResponse.swift
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
 6 | /// output formatting, system prompts, and conversation context.
 7 | public struct GenerationOptions {
   |               `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
 8 |     /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
 9 |     public let suffix: String?
   :
74 |
75 |     /// Default generation options with no constraints.
76 |     public static let `default` = GenerationOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[24/43] Compiling Swollama CreateModelRequest.swift
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
 6 | /// output formatting, system prompts, and conversation context.
 7 | public struct GenerationOptions {
   |               `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
 8 |     /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
 9 |     public let suffix: String?
   :
74 |
75 |     /// Default generation options with no constraints.
76 |     public static let `default` = GenerationOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[25/43] Compiling Swollama EmbeddingRequest.swift
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
 6 | /// output formatting, system prompts, and conversation context.
 7 | public struct GenerationOptions {
   |               `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
 8 |     /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
 9 |     public let suffix: String?
   :
74 |
75 |     /// Default generation options with no constraints.
76 |     public static let `default` = GenerationOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[26/43] Compiling Swollama QuantizationLevel.swift
[27/43] Compiling Swollama RunningModelsResponse.swift
[28/43] Compiling Swollama ShowModelRequest.swift
[29/43] Compiling Swollama ToolCall.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/43] Emitting module Swollama
/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/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
   |               `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 |     /// Tool definitions to make available to the model for function calling.
19 |     public let tools: [ToolDefinition]?
   :
54 |
55 |     /// Default chat options with no constraints.
56 |     public static let `default` = ChatOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Controls embedding behavior including input truncation, model parameters, and
 6 | /// model keep-alive duration.
 7 | public struct EmbeddingOptions {
   |               `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
 8 |     /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
 9 |     public let truncate: Bool?
   :
32 |
33 |     /// Default embedding options with truncation enabled.
34 |     public static let `default` = EmbeddingOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
 6 | /// output formatting, system prompts, and conversation context.
 7 | public struct GenerationOptions {
   |               `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
 8 |     /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
 9 |     public let suffix: String?
   :
74 |
75 |     /// Default generation options with no constraints.
76 |     public static let `default` = GenerationOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
/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:53:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
 51 |
 52 |     /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
 53 |     public nonisolated let configuration: OllamaConfiguration
    |            `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
 54 |
 55 |     private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
   |               `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 |     /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 |     public let timeoutInterval: TimeInterval
/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:53:28: warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
 51 |
 52 |     /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
 53 |     public nonisolated let configuration: OllamaConfiguration
    |                            `- warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
 54 |
 55 |     private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
   |               `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 |     /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 |     public let timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:11:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
  9 |     }
 10 |
 11 |     public func showModel(name: OllamaModelName, verbose: Bool? = nil) async throws
    |                 `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 12 |         -> ModelInformation
 13 |     {
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
   |               `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 |     /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 |     public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 27 |     }
 28 |
 29 |     public func pullModel(
    |                 `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 30 |         name: OllamaModelName,
 31 |         options: PullOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
   |               `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 |     /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 |     public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 27 |     }
 28 |
 29 |     public func pullModel(
    |                 `- warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 30 |         name: OllamaModelName,
 31 |         options: PullOptions
    :
198 |
199 | /// Options for pulling models from the Ollama registry.
200 | public struct PullOptions {
    |               `- note: consider making struct 'PullOptions' conform to the 'Sendable' protocol
201 |     /// Whether to allow insecure (non-HTTPS) connections to the registry.
202 |     public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 45 |     }
 46 |
 47 |     public func pushModel(
    |                 `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 48 |         name: OllamaModelName,
 49 |         options: PushOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
   |               `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 |     /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 |     public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 45 |     }
 46 |
 47 |     public func pushModel(
    |                 `- warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 48 |         name: OllamaModelName,
 49 |         options: PushOptions
    :
211 |
212 | /// Options for pushing models to the Ollama registry.
213 | public struct PushOptions {
    |               `- note: consider making struct 'PushOptions' conform to the 'Sendable' protocol
214 |     /// Whether to allow insecure (non-HTTPS) connections to the registry.
215 |     public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 68 |     }
 69 |
 70 |     public func copyModel(
    |                 `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 71 |         source: OllamaModelName,
 72 |         destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
   |               `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 |     /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 |     public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 68 |     }
 69 |
 70 |     public func copyModel(
    |                 `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 71 |         source: OllamaModelName,
 72 |         destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
   |               `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 |     /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 |     public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:86:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 84 |     }
 85 |
 86 |     public func deleteModel(name: OllamaModelName) async throws {
    |                 `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 87 |         let request = DeleteModelRequest(name: name.fullName)
 88 |         _ = try await makeRequest(
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
   |               `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 |     /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 |     public let namespace: String?
/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/OllamaConfiguration.swift:62:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
   |               `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 |     /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 |     public let timeoutInterval: TimeInterval
   :
60 |
61 |     /// Default configuration with standard settings.
62 |     public static let `default` = OllamaConfiguration()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
/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
[31/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/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
   |               `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 |     /// Tool definitions to make available to the model for function calling.
19 |     public let tools: [ToolDefinition]?
   :
54 |
55 |     /// Default chat options with no constraints.
56 |     public static let `default` = ChatOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Controls embedding behavior including input truncation, model parameters, and
 6 | /// model keep-alive duration.
 7 | public struct EmbeddingOptions {
   |               `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
 8 |     /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
 9 |     public let truncate: Bool?
   :
32 |
33 |     /// Default embedding options with truncation enabled.
34 |     public static let `default` = EmbeddingOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[32/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/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
   |               `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 |     /// Tool definitions to make available to the model for function calling.
19 |     public let tools: [ToolDefinition]?
   :
54 |
55 |     /// Default chat options with no constraints.
56 |     public static let `default` = ChatOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Controls embedding behavior including input truncation, model parameters, and
 6 | /// model keep-alive duration.
 7 | public struct EmbeddingOptions {
   |               `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
 8 |     /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
 9 |     public let truncate: Bool?
   :
32 |
33 |     /// Default embedding options with truncation enabled.
34 |     public static let `default` = EmbeddingOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[33/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/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
   |               `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 |     /// Tool definitions to make available to the model for function calling.
19 |     public let tools: [ToolDefinition]?
   :
54 |
55 |     /// Default chat options with no constraints.
56 |     public static let `default` = ChatOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Controls embedding behavior including input truncation, model parameters, and
 6 | /// model keep-alive duration.
 7 | public struct EmbeddingOptions {
   |               `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
 8 |     /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
 9 |     public let truncate: Bool?
   :
32 |
33 |     /// Default embedding options with truncation enabled.
34 |     public static let `default` = EmbeddingOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[34/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/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
   |               `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 |     /// Tool definitions to make available to the model for function calling.
19 |     public let tools: [ToolDefinition]?
   :
54 |
55 |     /// Default chat options with no constraints.
56 |     public static let `default` = ChatOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Controls embedding behavior including input truncation, model parameters, and
 6 | /// model keep-alive duration.
 7 | public struct EmbeddingOptions {
   |               `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
 8 |     /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
 9 |     public let truncate: Bool?
   :
32 |
33 |     /// Default embedding options with truncation enabled.
34 |     public static let `default` = EmbeddingOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[35/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/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
   |               `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 |     /// Tool definitions to make available to the model for function calling.
19 |     public let tools: [ToolDefinition]?
   :
54 |
55 |     /// Default chat options with no constraints.
56 |     public static let `default` = ChatOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | /// Controls embedding behavior including input truncation, model parameters, and
 6 | /// model keep-alive duration.
 7 | public struct EmbeddingOptions {
   |               `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
 8 |     /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
 9 |     public let truncate: Bool?
   :
32 |
33 |     /// Default embedding options with truncation enabled.
34 |     public static let `default` = EmbeddingOptions()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[36/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: 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 {
[37/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: 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 {
[38/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: 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 {
[39/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: 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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/37] 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
[3/37] 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
[4/37] 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
[5/37] 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
[6/37] 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
[7/41] 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
[8/41] 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
[9/41] 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
[10/41] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/41] Emitting module Swollama
/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
[12/41] 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: 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 {
[13/41] 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: 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 {
[14/41] 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: 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 {
[15/41] 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: 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 {
[16/41] Compiling Swollama ModelInformation.swift
[17/41] Compiling Swollama ModelsResponse.swift
[18/41] Compiling Swollama OllamaModelName.swift
[19/41] Compiling Swollama OperationProgress.swift
[20/41] Compiling Swollama EmbeddingResponse.swift
[21/41] Compiling Swollama GenerateRequest.swift
[22/41] Compiling Swollama GenerateResponse.swift
[23/41] Compiling Swollama ModelFamily.swift
[24/41] Compiling Swollama ModelFormat.swift
[25/41] Compiling Swollama QuantizationLevel.swift
[26/41] Compiling Swollama RunningModelsResponse.swift
[27/41] Compiling Swollama ShowModelRequest.swift
[28/41] Compiling Swollama ToolCall.swift
[29/41] Compiling Swollama GenerationOptions.swift
[30/41] Compiling Swollama ChatRequest.swift
[31/41] Compiling Swollama ChatResponse.swift
[32/41] Compiling Swollama CreateModelRequest.swift
[33/41] Compiling Swollama EmbeddingRequest.swift
[34/41] 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 {
[35/41] 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 {
[36/41] 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 {
[37/41] 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 {
BUILD FAILURE 6.1 wasm