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 0.0.3 (73ed94), with Swift 6.0 for macOS (SPM) on 31 May 2025 21:09:12 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tornikegomareli/DeepSwiftSeek.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tornikegomareli/DeepSwiftSeek
 * tag               0.0.3      -> FETCH_HEAD
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 0.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tornikegomareli/DeepSwiftSeek.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/28] Emitting module DeepSwiftSeek
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:28:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 15 |
 16 | @available(iOS 15.0, *)
 17 | public protocol DeepSeekService {
    |                 `- note: add @available attribute to enclosing protocol
 18 |   func chatCompletions(
 19 |     @ChatMessageBuilder messages: () -> [ChatMessageRequest],
    :
 22 |   ) async throws -> ChatCompletionResponse
 23 |
 24 |   func chatCompletionStream(
    |        `- note: add @available attribute to enclosing instance method
 25 |     @ChatMessageBuilder messages: () -> [ChatMessageRequest],
 26 |     model: DeepSeekModel,
 27 |     parameters: ChatParameters
 28 |   ) async throws -> AsyncThrowingStream<String, Error>
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:48:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
 47 |     parameters: ChatParameters
 48 |   ) async throws -> AsyncThrowingStream<String, any Error> {
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 49 |     let streamParameters = parameters.withStream(true)
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:117:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
116 |     parameters: ChatParameters
117 |   ) async throws -> AsyncThrowingStream<String, any Error> {
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
118 |     let streamParameters = parameters.withStream(true)
119 |
[4/30] Compiling DeepSwiftSeek ResponseFormat.swift
[5/30] Compiling DeepSwiftSeek StreamOptions.swift
[6/30] Compiling DeepSwiftSeek ChoiceResponse.swift
[7/30] Compiling DeepSwiftSeek CompletionTokensDetails.swift
[8/30] Compiling DeepSwiftSeek ContentLogProb.swift
[9/30] Compiling DeepSwiftSeek ChatParameters.swift
[10/30] Compiling DeepSwiftSeek MessegingRole.swift
[11/30] Compiling DeepSwiftSeek Tool.swift
[12/30] Compiling DeepSwiftSeek ToolChoice.swift
[13/30] Compiling DeepSwiftSeek DeepSeekErrorResponse.swift
[14/30] Compiling DeepSwiftSeek Response->Error.swift
[15/30] Compiling DeepSwiftSeek ChatMessageRequest.swift
[16/30] Compiling DeepSwiftSeek TopLogProb.swift
[17/30] Compiling DeepSwiftSeek Usage.swift
[18/30] Compiling DeepSwiftSeek Configuration.swift
[19/30] Compiling DeepSwiftSeek AvailabilityResponse.swift
[20/30] Compiling DeepSwiftSeek ChatCompletionMessageResponse.swift
[21/30] Compiling DeepSwiftSeek ChatCompletionResponse.swift
[22/30] Compiling DeepSwiftSeek DeepSeekModel.swift
[23/30] Compiling DeepSwiftSeek DeepSeekModelsList.swift
[24/30] Compiling DeepSwiftSeek DeepSeekError.swift
[25/30] Compiling DeepSwiftSeek FunctionCall.swift
[26/30] Compiling DeepSwiftSeek LogProbs.swift
[27/30] Compiling DeepSwiftSeek ToolCall.swift
[28/30] Compiling DeepSwiftSeek ChatMessageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:28:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 15 |
 16 | @available(iOS 15.0, *)
 17 | public protocol DeepSeekService {
    |                 `- note: add @available attribute to enclosing protocol
 18 |   func chatCompletions(
 19 |     @ChatMessageBuilder messages: () -> [ChatMessageRequest],
    :
 22 |   ) async throws -> ChatCompletionResponse
 23 |
 24 |   func chatCompletionStream(
    |        `- note: add @available attribute to enclosing instance method
 25 |     @ChatMessageBuilder messages: () -> [ChatMessageRequest],
 26 |     model: DeepSeekModel,
 27 |     parameters: ChatParameters
 28 |   ) async throws -> AsyncThrowingStream<String, Error>
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:48:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
 47 |     parameters: ChatParameters
 48 |   ) async throws -> AsyncThrowingStream<String, any Error> {
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 49 |     let streamParameters = parameters.withStream(true)
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:117:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
116 |     parameters: ChatParameters
117 |   ) async throws -> AsyncThrowingStream<String, any Error> {
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
118 |     let streamParameters = parameters.withStream(true)
119 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:57:12: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 55 |     )
 56 |
 57 |     return AsyncThrowingStream { @Sendable continuation in
    |            |- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
 58 |       Task {
 59 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:58:7: error: 'Task' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 56 |
 57 |     return AsyncThrowingStream { @Sendable continuation in
 58 |       Task {
    |       |- error: 'Task' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:58:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 56 |
 57 |     return AsyncThrowingStream { @Sendable continuation in
 58 |       Task {
    |       |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                     `- note: add 'if #available' version check
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:81:39: error: 'lines' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 79 |           }
 80 |
 81 |           for try await line in bytes.lines {
    |                                       |- error: 'lines' is only available in macOS 12.0 or newer
    |                                       `- note: add 'if #available' version check
 82 |             guard !line.isEmpty else { continue }
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:126:12: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
124 |     )
125 |
126 |     return AsyncThrowingStream { @Sendable continuation in
    |            |- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
127 |       Task {
128 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:127:7: error: 'Task' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
125 |
126 |     return AsyncThrowingStream { @Sendable continuation in
127 |       Task {
    |       |- error: 'Task' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:127:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
125 |
126 |     return AsyncThrowingStream { @Sendable continuation in
127 |       Task {
    |       |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                     `- note: add 'if #available' version check
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:150:39: error: 'lines' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
148 |           }
149 |
150 |           for try await line in bytes.lines {
    |                                       |- error: 'lines' is only available in macOS 12.0 or newer
    |                                       `- note: add 'if #available' version check
151 |             guard !line.isEmpty else { continue }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
174 |   }
175 |
176 |   public func listModels() async throws -> DeepSeekModelsList {
    |               `- note: add @available attribute to enclosing instance method
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                              `- note: add 'if #available' version check
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
189 |   }
190 |
191 |   public func fetchUserBalance() async throws -> AvailabilityResponse {
    |               `- note: add @available attribute to enclosing instance method
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                `- note: add 'if #available' version check
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
208 |   }
209 |
210 |   public func fimCompletions(
    |               `- note: add @available attribute to enclosing instance method
211 |     messages: () -> [ChatMessageRequest],
212 |     model: DeepSeekModel,
    :
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                `- note: add 'if #available' version check
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
239 |   }
240 |
241 |   public func chatCompletions(
    |               `- note: add @available attribute to enclosing instance method
242 |     messages: () -> [ChatMessageRequest],
243 |     model: DeepSeekModel,
    :
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                `- note: add 'if #available' version check
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[29/30] Compiling DeepSwiftSeek DeepSeekRequestSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:28:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 15 |
 16 | @available(iOS 15.0, *)
 17 | public protocol DeepSeekService {
    |                 `- note: add @available attribute to enclosing protocol
 18 |   func chatCompletions(
 19 |     @ChatMessageBuilder messages: () -> [ChatMessageRequest],
    :
 22 |   ) async throws -> ChatCompletionResponse
 23 |
 24 |   func chatCompletionStream(
    |        `- note: add @available attribute to enclosing instance method
 25 |     @ChatMessageBuilder messages: () -> [ChatMessageRequest],
 26 |     model: DeepSeekModel,
 27 |     parameters: ChatParameters
 28 |   ) async throws -> AsyncThrowingStream<String, Error>
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:48:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
 47 |     parameters: ChatParameters
 48 |   ) async throws -> AsyncThrowingStream<String, any Error> {
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 49 |     let streamParameters = parameters.withStream(true)
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:117:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
116 |     parameters: ChatParameters
117 |   ) async throws -> AsyncThrowingStream<String, any Error> {
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
118 |     let streamParameters = parameters.withStream(true)
119 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:57:12: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 55 |     )
 56 |
 57 |     return AsyncThrowingStream { @Sendable continuation in
    |            |- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
 58 |       Task {
 59 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:58:7: error: 'Task' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 56 |
 57 |     return AsyncThrowingStream { @Sendable continuation in
 58 |       Task {
    |       |- error: 'Task' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:58:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 56 |
 57 |     return AsyncThrowingStream { @Sendable continuation in
 58 |       Task {
    |       |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                     `- note: add 'if #available' version check
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:81:39: error: 'lines' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 79 |           }
 80 |
 81 |           for try await line in bytes.lines {
    |                                       |- error: 'lines' is only available in macOS 12.0 or newer
    |                                       `- note: add 'if #available' version check
 82 |             guard !line.isEmpty else { continue }
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:126:12: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
124 |     )
125 |
126 |     return AsyncThrowingStream { @Sendable continuation in
    |            |- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
127 |       Task {
128 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:127:7: error: 'Task' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
125 |
126 |     return AsyncThrowingStream { @Sendable continuation in
127 |       Task {
    |       |- error: 'Task' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:127:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
125 |
126 |     return AsyncThrowingStream { @Sendable continuation in
127 |       Task {
    |       |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                     `- note: add 'if #available' version check
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:150:39: error: 'lines' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
148 |           }
149 |
150 |           for try await line in bytes.lines {
    |                                       |- error: 'lines' is only available in macOS 12.0 or newer
    |                                       `- note: add 'if #available' version check
151 |             guard !line.isEmpty else { continue }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
174 |   }
175 |
176 |   public func listModels() async throws -> DeepSeekModelsList {
    |               `- note: add @available attribute to enclosing instance method
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                              `- note: add 'if #available' version check
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
189 |   }
190 |
191 |   public func fetchUserBalance() async throws -> AvailabilityResponse {
    |               `- note: add @available attribute to enclosing instance method
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                `- note: add 'if #available' version check
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
208 |   }
209 |
210 |   public func fimCompletions(
    |               `- note: add @available attribute to enclosing instance method
211 |     messages: () -> [ChatMessageRequest],
212 |     model: DeepSeekModel,
    :
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                `- note: add 'if #available' version check
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
239 |   }
240 |
241 |   public func chatCompletions(
    |               `- note: add @available attribute to enclosing instance method
242 |     messages: () -> [ChatMessageRequest],
243 |     model: DeepSeekModel,
    :
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                `- note: add 'if #available' version check
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
[30/30] Compiling DeepSwiftSeek DeepSeekService.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:28:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 15 |
 16 | @available(iOS 15.0, *)
 17 | public protocol DeepSeekService {
    |                 `- note: add @available attribute to enclosing protocol
 18 |   func chatCompletions(
 19 |     @ChatMessageBuilder messages: () -> [ChatMessageRequest],
    :
 22 |   ) async throws -> ChatCompletionResponse
 23 |
 24 |   func chatCompletionStream(
    |        `- note: add @available attribute to enclosing instance method
 25 |     @ChatMessageBuilder messages: () -> [ChatMessageRequest],
 26 |     model: DeepSeekModel,
 27 |     parameters: ChatParameters
 28 |   ) async throws -> AsyncThrowingStream<String, Error>
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:48:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
 47 |     parameters: ChatParameters
 48 |   ) async throws -> AsyncThrowingStream<String, any Error> {
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 49 |     let streamParameters = parameters.withStream(true)
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:117:21: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
116 |     parameters: ChatParameters
117 |   ) async throws -> AsyncThrowingStream<String, any Error> {
    |                     `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
118 |     let streamParameters = parameters.withStream(true)
119 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:57:12: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 55 |     )
 56 |
 57 |     return AsyncThrowingStream { @Sendable continuation in
    |            |- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
 58 |       Task {
 59 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:58:7: error: 'Task' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 56 |
 57 |     return AsyncThrowingStream { @Sendable continuation in
 58 |       Task {
    |       |- error: 'Task' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:58:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 56 |
 57 |     return AsyncThrowingStream { @Sendable continuation in
 58 |       Task {
    |       |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:60:53: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 58 |       Task {
 59 |         do {
 60 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                     `- note: add 'if #available' version check
 61 |
 62 |           guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:81:39: error: 'lines' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
 42 |   }
 43 |
 44 |   public func fimCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
 45 |     messages: () -> [ChatMessageRequest],
 46 |     model: DeepSeekModel,
    :
 79 |           }
 80 |
 81 |           for try await line in bytes.lines {
    |                                       |- error: 'lines' is only available in macOS 12.0 or newer
    |                                       `- note: add 'if #available' version check
 82 |             guard !line.isEmpty else { continue }
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:126:12: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
124 |     )
125 |
126 |     return AsyncThrowingStream { @Sendable continuation in
    |            |- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
127 |       Task {
128 |         do {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:127:7: error: 'Task' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
125 |
126 |     return AsyncThrowingStream { @Sendable continuation in
127 |       Task {
    |       |- error: 'Task' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:127:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
125 |
126 |     return AsyncThrowingStream { @Sendable continuation in
127 |       Task {
    |       |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:129:53: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
127 |       Task {
128 |         do {
129 |           let (bytes, response) = try await session.bytes(for: request)
    |                                                     |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                     `- note: add 'if #available' version check
130 |
131 |           guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:150:39: error: 'lines' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
111 |
112 |   @available(iOS 15.0, *)
113 |   public func chatCompletionStream(
    |               `- note: add @available attribute to enclosing instance method
114 |     messages: () -> [ChatMessageRequest],
115 |     model: DeepSeekModel,
    :
148 |           }
149 |
150 |           for try await line in bytes.lines {
    |                                       |- error: 'lines' is only available in macOS 12.0 or newer
    |                                       `- note: add 'if #available' version check
151 |             guard !line.isEmpty else { continue }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:178:46: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
174 |   }
175 |
176 |   public func listModels() async throws -> DeepSeekModelsList {
    |               `- note: add @available attribute to enclosing instance method
177 |     let request = try serializer.serializeModelsRequest()
178 |     let (data, response) = try await session.data(for: request)
    |                                              |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                              `- note: add 'if #available' version check
179 |
180 |     guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:194:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
189 |   }
190 |
191 |   public func fetchUserBalance() async throws -> AvailabilityResponse {
    |               `- note: add @available attribute to enclosing instance method
192 |     let request = try serializer.serializeBalanceRequest()
193 |     do {
194 |       let (data, response) = try await session.data(for: request)
    |                                                |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                `- note: add 'if #available' version check
195 |
196 |       guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:222:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
208 |   }
209 |
210 |   public func fimCompletions(
    |               `- note: add @available attribute to enclosing instance method
211 |     messages: () -> [ChatMessageRequest],
212 |     model: DeepSeekModel,
    :
220 |
221 |     do {
222 |       let (data, response) = try await session.data(for: request)
    |                                                |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                `- note: add 'if #available' version check
223 |
224 |       guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/DeepSwiftSeek/DeepSeekService.swift:253:48: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 31 | /// TODO: Need to add streaming support
 32 | @available(iOS 15.0, *)
 33 | public final class DeepSeekClient: DeepSeekService, Sendable {
    |                    `- note: add @available attribute to enclosing class
 34 |   private let configuration: Configuration
 35 |   private let session: URLSession
    :
239 |   }
240 |
241 |   public func chatCompletions(
    |               `- note: add @available attribute to enclosing instance method
242 |     messages: () -> [ChatMessageRequest],
243 |     model: DeepSeekModel,
    :
251 |
252 |     do {
253 |       let (data, response) = try await session.data(for: request)
    |                                                |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                `- note: add 'if #available' version check
254 |
255 |       guard let httpResponse = response as? HTTPURLResponse else {
BUILD FAILURE 6.0 macosSpm