Build Information
Failed to build DeepSwiftSeek, reference 0.0.3 (73ed94
), with Swift 6.0 for Linux on 31 May 2025 20:53:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
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 /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
* 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: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/tornikegomareli/DeepSwiftSeek.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:eaa733228b13fb63f7b48fc0ae9a4552a427b7215d37e5caded5aa10021734d9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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 StreamOptions.swift
[5/30] Compiling DeepSwiftSeek Tool.swift
[6/30] Compiling DeepSwiftSeek ToolChoice.swift
[7/30] Compiling DeepSwiftSeek ContentLogProb.swift
[8/30] Compiling DeepSwiftSeek FunctionCall.swift
[9/30] Compiling DeepSwiftSeek LogProbs.swift
[10/30] Compiling DeepSwiftSeek ToolCall.swift
[11/30] Compiling DeepSwiftSeek ChatParameters.swift
[12/30] Compiling DeepSwiftSeek MessegingRole.swift
[13/30] Compiling DeepSwiftSeek ResponseFormat.swift
[14/30] Compiling DeepSwiftSeek ChatCompletionMessageResponse.swift
[15/30] Compiling DeepSwiftSeek ChatCompletionResponse.swift
[16/30] Compiling DeepSwiftSeek ChoiceResponse.swift
[17/30] Compiling DeepSwiftSeek CompletionTokensDetails.swift
[18/30] Compiling DeepSwiftSeek DeepSeekErrorResponse.swift
[19/30] Compiling DeepSwiftSeek Response->Error.swift
[20/30] Compiling DeepSwiftSeek ChatMessageRequest.swift
[21/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 {
[22/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 {
[23/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 {
[24/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 {
[25/30] Compiling DeepSwiftSeek DeepSeekModel.swift
[26/30] Compiling DeepSwiftSeek DeepSeekModelsList.swift
[27/30] Compiling DeepSwiftSeek DeepSeekError.swift
[28/30] Compiling DeepSwiftSeek TopLogProb.swift
[29/30] Compiling DeepSwiftSeek Usage.swift
[30/30] Compiling DeepSwiftSeek Configuration.swift
BUILD FAILURE 6.0 linux