The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DeepSwiftSeek, reference main (73ed94), with Swift 6.1 for Wasm on 31 May 2025 20:53:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tornikegomareli/DeepSwiftSeek.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tornikegomareli/DeepSwiftSeek
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 73ed94c Merge pull request #2 from ef1rspb/main
Cloned https://github.com/tornikegomareli/DeepSwiftSeek.git
Revision (git rev-parse @):
73ed94c6d2d4fd499bc0864c28f3e0f9abacbbb2
SUCCESS checkout https://github.com/tornikegomareli/DeepSwiftSeek.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tornikegomareli/DeepSwiftSeek.git
https://github.com/tornikegomareli/DeepSwiftSeek.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DeepSwiftSeek",
  "name" : "DeepSwiftSeek",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DeepSwiftSeek",
      "targets" : [
        "DeepSwiftSeek"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeepSwiftSeekTests",
      "module_type" : "SwiftTarget",
      "name" : "DeepSwiftSeekTests",
      "path" : "Tests/DeepSwiftSeekTests",
      "sources" : [
        "DeepSwiftSeekTests.swift"
      ],
      "target_dependencies" : [
        "DeepSwiftSeek"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeepSwiftSeek",
      "module_type" : "SwiftTarget",
      "name" : "DeepSwiftSeek",
      "path" : "Sources/DeepSwiftSeek",
      "product_memberships" : [
        "DeepSwiftSeek"
      ],
      "sources" : [
        "ChatMessageBuilder.swift",
        "DeepSeekRequestSerializer.swift",
        "DeepSeekService.swift",
        "PublicModels/BalanceAvailability/AvailabilityResponse.swift",
        "PublicModels/ChatCompletion/ChatCompletionMessageResponse.swift",
        "PublicModels/ChatCompletion/ChatCompletionResponse.swift",
        "PublicModels/ChatCompletion/ChoiceResponse.swift",
        "PublicModels/ChatCompletion/CompletionTokensDetails.swift",
        "PublicModels/ChatCompletion/ContentLogProb.swift",
        "PublicModels/ChatCompletion/FunctionCall.swift",
        "PublicModels/ChatCompletion/LogProbs.swift",
        "PublicModels/ChatCompletion/ToolCall.swift",
        "PublicModels/ChatCompletion/TopLogProb.swift",
        "PublicModels/ChatCompletion/Usage.swift",
        "PublicModels/Configuration.swift",
        "PublicModels/DeepSeekModel.swift",
        "PublicModels/DeepSeekModelsList.swift",
        "PublicModels/Errors/DeepSeekError.swift",
        "PublicModels/Errors/DeepSeekErrorResponse.swift",
        "PublicModels/Errors/Response->Error.swift",
        "PublicModels/RequestModels/ChatMessageRequest.swift",
        "PublicModels/RequestModels/ChatParameters.swift",
        "PublicModels/RequestModels/MessegingRole.swift",
        "PublicModels/RequestModels/ResponseFormat.swift",
        "PublicModels/RequestModels/StreamOptions.swift",
        "PublicModels/RequestModels/Tool.swift",
        "PublicModels/RequestModels/ToolChoice.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/27] Emitting module DeepSwiftSeek
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
[4/30] Compiling DeepSwiftSeek ContentLogProb.swift
[5/30] Compiling DeepSwiftSeek FunctionCall.swift
[6/30] Compiling DeepSwiftSeek LogProbs.swift
[7/30] Compiling DeepSwiftSeek ToolCall.swift
[8/30] Compiling DeepSwiftSeek StreamOptions.swift
[9/30] Compiling DeepSwiftSeek Tool.swift
[10/30] Compiling DeepSwiftSeek ToolChoice.swift
[11/30] Compiling DeepSwiftSeek ChatMessageBuilder.swift
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:71:19: error: cannot find 'URLRequest' in scope
 69 |     }
 70 |
 71 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 72 |     request.httpMethod = method
 73 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:88:19: error: cannot find 'URLRequest' in scope
 86 |     }
 87 |
 88 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 89 |     request.httpMethod = method
 90 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
176 |   public func listModels() async throws -> DeepSeekModelsList {
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[12/30] Compiling DeepSwiftSeek DeepSeekRequestSerializer.swift
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:71:19: error: cannot find 'URLRequest' in scope
 69 |     }
 70 |
 71 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 72 |     request.httpMethod = method
 73 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:88:19: error: cannot find 'URLRequest' in scope
 86 |     }
 87 |
 88 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 89 |     request.httpMethod = method
 90 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
176 |   public func listModels() async throws -> DeepSeekModelsList {
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[13/30] Compiling DeepSwiftSeek DeepSeekService.swift
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:71:19: error: cannot find 'URLRequest' in scope
 69 |     }
 70 |
 71 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 72 |     request.httpMethod = method
 73 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:88:19: error: cannot find 'URLRequest' in scope
 86 |     }
 87 |
 88 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 89 |     request.httpMethod = method
 90 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
176 |   public func listModels() async throws -> DeepSeekModelsList {
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[14/30] Compiling DeepSwiftSeek AvailabilityResponse.swift
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:71:19: error: cannot find 'URLRequest' in scope
 69 |     }
 70 |
 71 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 72 |     request.httpMethod = method
 73 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:88:19: error: cannot find 'URLRequest' in scope
 86 |     }
 87 |
 88 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 89 |     request.httpMethod = method
 90 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
176 |   public func listModels() async throws -> DeepSeekModelsList {
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[15/30] Compiling DeepSwiftSeek TopLogProb.swift
[16/30] Compiling DeepSwiftSeek Usage.swift
[17/30] Compiling DeepSwiftSeek Configuration.swift
[18/30] Compiling DeepSwiftSeek DeepSeekModel.swift
[19/30] Compiling DeepSwiftSeek DeepSeekModelsList.swift
[20/30] Compiling DeepSwiftSeek DeepSeekError.swift
[21/30] Compiling DeepSwiftSeek ChatParameters.swift
[22/30] Compiling DeepSwiftSeek MessegingRole.swift
[23/30] Compiling DeepSwiftSeek ResponseFormat.swift
[24/30] Compiling DeepSwiftSeek ChatCompletionMessageResponse.swift
[25/30] Compiling DeepSwiftSeek ChatCompletionResponse.swift
[26/30] Compiling DeepSwiftSeek ChoiceResponse.swift
[27/30] Compiling DeepSwiftSeek CompletionTokensDetails.swift
[28/30] Compiling DeepSwiftSeek DeepSeekErrorResponse.swift
[29/30] Compiling DeepSwiftSeek Response->Error.swift
[30/30] Compiling DeepSwiftSeek ChatMessageRequest.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/26] Emitting module DeepSwiftSeek
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
[3/29] Compiling DeepSwiftSeek ChatMessageBuilder.swift
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:71:19: error: cannot find 'URLRequest' in scope
 69 |     }
 70 |
 71 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 72 |     request.httpMethod = method
 73 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:88:19: error: cannot find 'URLRequest' in scope
 86 |     }
 87 |
 88 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 89 |     request.httpMethod = method
 90 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
176 |   public func listModels() async throws -> DeepSeekModelsList {
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[4/29] Compiling DeepSwiftSeek DeepSeekRequestSerializer.swift
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:71:19: error: cannot find 'URLRequest' in scope
 69 |     }
 70 |
 71 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 72 |     request.httpMethod = method
 73 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:88:19: error: cannot find 'URLRequest' in scope
 86 |     }
 87 |
 88 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 89 |     request.httpMethod = method
 90 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
176 |   public func listModels() async throws -> DeepSeekModelsList {
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[5/29] Compiling DeepSwiftSeek DeepSeekService.swift
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:71:19: error: cannot find 'URLRequest' in scope
 69 |     }
 70 |
 71 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 72 |     request.httpMethod = method
 73 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:88:19: error: cannot find 'URLRequest' in scope
 86 |     }
 87 |
 88 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 89 |     request.httpMethod = method
 90 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
176 |   public func listModels() async throws -> DeepSeekModelsList {
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[6/29] Compiling DeepSwiftSeek AvailabilityResponse.swift
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:22:15: error: cannot find type 'URLRequest' in scope
 20 |     model: DeepSeekModel,
 21 |     parameters: ChatParameters?
 22 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 23 |     try serializeRequest(
 24 |       endpoint: "chat/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:30:51: error: cannot find type 'URLRequest' in scope
 28 |   }
 29 |
 30 |   public func serializeBalanceRequest() throws -> URLRequest {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 31 |     try serializeRequestWithoutBody(
 32 |       endpoint: "/user/balance",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:41:15: error: cannot find type 'URLRequest' in scope
 39 |     model: DeepSeekModel,
 40 |     parameters: ChatParameters?
 41 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 42 |     try serializeRequest(
 43 |       endpoint: "beta/completions",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:49:50: error: cannot find type 'URLRequest' in scope
 47 |   }
 48 |
 49 |   public func serializeModelsRequest() throws -> URLRequest {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 50 |     try serializeRequestWithoutBody(
 51 |       endpoint: "models",
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:59:15: error: cannot find type 'URLRequest' in scope
 57 |     endpoint: String,
 58 |     method: String
 59 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 60 |     try createBaseRequest(endpoint: endpoint, method: method)
 61 |   }
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:66:15: error: cannot find type 'URLRequest' in scope
 64 |     endpoint: String,
 65 |     method: String
 66 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 67 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 68 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:83:15: error: cannot find type 'URLRequest' in scope
 81 |     method: String,
 82 |     body: T?
 83 |   ) throws -> URLRequest {
    |               `- error: cannot find type 'URLRequest' in scope
 84 |     guard let url = URL(string: "\(configuration.baseURL)/\(endpoint)") else {
 85 |       throw DeepSeekError.invalidUrl(message: "Invalid URL for \(endpoint) endpoint")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:71:19: error: cannot find 'URLRequest' in scope
 69 |     }
 70 |
 71 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 72 |     request.httpMethod = method
 73 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekRequestSerializer.swift:88:19: error: cannot find 'URLRequest' in scope
 86 |     }
 87 |
 88 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 89 |     request.httpMethod = method
 90 |     request.setValue("Bearer \(configuration.apiKey)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
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/DeepSwiftSeek/DeepSeekService.swift:38:54: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     self.configuration = configuration
 40 |     self.session = session
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/DeepSwiftSeek/DeepSeekService.swift:38:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
 38 |   public init(configuration: Configuration, session: URLSession = .shared) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     self.configuration = configuration
 40 |     self.session = session
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:35:15: error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    |               `- error: stored property 'session' of 'Sendable'-conforming class 'DeepSeekClient' has non-sendable type 'URLSession' (aka 'AnyObject')
 36 |   private let serializer: DeepSeekRequestSerializer
 37 |
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
176 |   public func listModels() async throws -> DeepSeekModelsList {
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[7/29] Compiling DeepSwiftSeek TopLogProb.swift
[8/29] Compiling DeepSwiftSeek Usage.swift
[9/29] Compiling DeepSwiftSeek Configuration.swift
[10/29] Compiling DeepSwiftSeek ContentLogProb.swift
[11/29] Compiling DeepSwiftSeek FunctionCall.swift
[12/29] Compiling DeepSwiftSeek LogProbs.swift
[13/29] Compiling DeepSwiftSeek ToolCall.swift
[14/29] Compiling DeepSwiftSeek ChatParameters.swift
[15/29] Compiling DeepSwiftSeek MessegingRole.swift
[16/29] Compiling DeepSwiftSeek ResponseFormat.swift
[17/29] Compiling DeepSwiftSeek StreamOptions.swift
[18/29] Compiling DeepSwiftSeek Tool.swift
[19/29] Compiling DeepSwiftSeek ToolChoice.swift
[20/29] Compiling DeepSwiftSeek ChatCompletionMessageResponse.swift
[21/29] Compiling DeepSwiftSeek ChatCompletionResponse.swift
[22/29] Compiling DeepSwiftSeek ChoiceResponse.swift
[23/29] Compiling DeepSwiftSeek CompletionTokensDetails.swift
[24/29] Compiling DeepSwiftSeek DeepSeekErrorResponse.swift
[25/29] Compiling DeepSwiftSeek Response->Error.swift
[26/29] Compiling DeepSwiftSeek ChatMessageRequest.swift
[27/29] Compiling DeepSwiftSeek DeepSeekModel.swift
[28/29] Compiling DeepSwiftSeek DeepSeekModelsList.swift
[29/29] Compiling DeepSwiftSeek DeepSeekError.swift
BUILD FAILURE 6.1 wasm