The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Lingua, reference main (00c8f6), with Swift 6.2 for Wasm on 25 Jun 2026 22:12:07 UTC.

Build Command

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

Build Log

 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | }
 9 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:11:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     try await fetchData(with: .init(url: url))
13 |   }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:32: error: no exact matches in call to initializer
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                                |- error: no exact matches in call to initializer
   |                                |- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
   |                                |- note: candidate expects value of type 'any Decoder' for parameter #1 (got 'URL')
   |                                `- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:24: error: incorrect argument label in call (have 'with:', expected 'from:')
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                        `- error: incorrect argument label in call (have 'with:', expected 'from:')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:7:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | class URLSessionHTTPClient: HTTPClient {
 7 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     self.urlSession = urlSession
11 |   }
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:32: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                `- error: cannot find type 'URLRequest' in scope
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:30: error: cannot find type 'URLRequest' in scope
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                              `- error: cannot find type 'URLRequest' in scope
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:17:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
15 |     return try await makeData(for: request)
16 | #else
17 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
18 |     guard let httpResponse = response as? HTTPURLResponse else {
19 |       throw InvalidHTTPResponseError(statusCode: 0, data: data)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:29:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
30 |         if let error = error {
31 |           continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:35:52: error: cannot find type 'URLRequest' in scope
33 |   }
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
   |                                                    `- error: cannot find type 'URLRequest' in scope
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
37 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:36:62: error: incorrect argument label in call (have 'with:', expected 'from:')
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
   |                                                              `- error: incorrect argument label in call (have 'with:', expected 'from:')
37 |
38 |     guard validStatusCodes.contains(httpResponse.statusCode) else {
[98/140] Compiling LinguaLib HTTPClient.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:32: error: cannot find type 'URLRequest' in scope
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | }
 9 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:11:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     try await fetchData(with: .init(url: url))
13 |   }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:32: error: no exact matches in call to initializer
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                                |- error: no exact matches in call to initializer
   |                                |- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
   |                                |- note: candidate expects value of type 'any Decoder' for parameter #1 (got 'URL')
   |                                `- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:24: error: incorrect argument label in call (have 'with:', expected 'from:')
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                        `- error: incorrect argument label in call (have 'with:', expected 'from:')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:7:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | class URLSessionHTTPClient: HTTPClient {
 7 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     self.urlSession = urlSession
11 |   }
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:32: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                `- error: cannot find type 'URLRequest' in scope
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:30: error: cannot find type 'URLRequest' in scope
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                              `- error: cannot find type 'URLRequest' in scope
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:17:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
15 |     return try await makeData(for: request)
16 | #else
17 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
18 |     guard let httpResponse = response as? HTTPURLResponse else {
19 |       throw InvalidHTTPResponseError(statusCode: 0, data: data)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:29:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
30 |         if let error = error {
31 |           continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:35:52: error: cannot find type 'URLRequest' in scope
33 |   }
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
   |                                                    `- error: cannot find type 'URLRequest' in scope
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
37 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:36:62: error: incorrect argument label in call (have 'with:', expected 'from:')
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
   |                                                              `- error: incorrect argument label in call (have 'with:', expected 'from:')
37 |
38 |     guard validStatusCodes.contains(httpResponse.statusCode) else {
[99/140] Compiling LinguaLib HTTPMethod.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:32: error: cannot find type 'URLRequest' in scope
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | }
 9 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:11:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     try await fetchData(with: .init(url: url))
13 |   }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:32: error: no exact matches in call to initializer
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                                |- error: no exact matches in call to initializer
   |                                |- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
   |                                |- note: candidate expects value of type 'any Decoder' for parameter #1 (got 'URL')
   |                                `- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:24: error: incorrect argument label in call (have 'with:', expected 'from:')
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                        `- error: incorrect argument label in call (have 'with:', expected 'from:')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:7:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | class URLSessionHTTPClient: HTTPClient {
 7 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     self.urlSession = urlSession
11 |   }
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:32: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                `- error: cannot find type 'URLRequest' in scope
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:30: error: cannot find type 'URLRequest' in scope
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                              `- error: cannot find type 'URLRequest' in scope
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:17:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
15 |     return try await makeData(for: request)
16 | #else
17 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
18 |     guard let httpResponse = response as? HTTPURLResponse else {
19 |       throw InvalidHTTPResponseError(statusCode: 0, data: data)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:29:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
30 |         if let error = error {
31 |           continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:35:52: error: cannot find type 'URLRequest' in scope
33 |   }
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
   |                                                    `- error: cannot find type 'URLRequest' in scope
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
37 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:36:62: error: incorrect argument label in call (have 'with:', expected 'from:')
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
   |                                                              `- error: incorrect argument label in call (have 'with:', expected 'from:')
37 |
38 |     guard validStatusCodes.contains(httpResponse.statusCode) else {
[100/140] Compiling LinguaLib InvalidHTTPResponseError.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:32: error: cannot find type 'URLRequest' in scope
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | }
 9 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:11:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     try await fetchData(with: .init(url: url))
13 |   }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:32: error: no exact matches in call to initializer
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                                |- error: no exact matches in call to initializer
   |                                |- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
   |                                |- note: candidate expects value of type 'any Decoder' for parameter #1 (got 'URL')
   |                                `- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:24: error: incorrect argument label in call (have 'with:', expected 'from:')
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                        `- error: incorrect argument label in call (have 'with:', expected 'from:')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:7:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | class URLSessionHTTPClient: HTTPClient {
 7 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     self.urlSession = urlSession
11 |   }
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:32: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                `- error: cannot find type 'URLRequest' in scope
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:30: error: cannot find type 'URLRequest' in scope
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                              `- error: cannot find type 'URLRequest' in scope
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:17:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
15 |     return try await makeData(for: request)
16 | #else
17 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
18 |     guard let httpResponse = response as? HTTPURLResponse else {
19 |       throw InvalidHTTPResponseError(statusCode: 0, data: data)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:29:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
30 |         if let error = error {
31 |           continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:35:52: error: cannot find type 'URLRequest' in scope
33 |   }
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
   |                                                    `- error: cannot find type 'URLRequest' in scope
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
37 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:36:62: error: incorrect argument label in call (have 'with:', expected 'from:')
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
   |                                                              `- error: incorrect argument label in call (have 'with:', expected 'from:')
37 |
38 |     guard validStatusCodes.contains(httpResponse.statusCode) else {
[101/140] Compiling LinguaLib URLSessionHTTPClient.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:32: error: cannot find type 'URLRequest' in scope
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | }
 9 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:11:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     try await fetchData(with: .init(url: url))
13 |   }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:32: error: no exact matches in call to initializer
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                                |- error: no exact matches in call to initializer
   |                                |- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
   |                                |- note: candidate expects value of type 'any Decoder' for parameter #1 (got 'URL')
   |                                `- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:24: error: incorrect argument label in call (have 'with:', expected 'from:')
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                        `- error: incorrect argument label in call (have 'with:', expected 'from:')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:7:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | class URLSessionHTTPClient: HTTPClient {
 7 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     self.urlSession = urlSession
11 |   }
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:32: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                `- error: cannot find type 'URLRequest' in scope
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:30: error: cannot find type 'URLRequest' in scope
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                              `- error: cannot find type 'URLRequest' in scope
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:17:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
15 |     return try await makeData(for: request)
16 | #else
17 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
18 |     guard let httpResponse = response as? HTTPURLResponse else {
19 |       throw InvalidHTTPResponseError(statusCode: 0, data: data)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:29:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
30 |         if let error = error {
31 |           continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:35:52: error: cannot find type 'URLRequest' in scope
33 |   }
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
   |                                                    `- error: cannot find type 'URLRequest' in scope
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
37 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:36:62: error: incorrect argument label in call (have 'with:', expected 'from:')
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
   |                                                              `- error: incorrect argument label in call (have 'with:', expected 'from:')
37 |
38 |     guard validStatusCodes.contains(httpResponse.statusCode) else {
[102/140] Compiling LinguaLib APIError.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:32: error: cannot find type 'URLRequest' in scope
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | }
 9 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:11:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     try await fetchData(with: .init(url: url))
13 |   }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:32: error: no exact matches in call to initializer
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                                |- error: no exact matches in call to initializer
   |                                |- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
   |                                |- note: candidate expects value of type 'any Decoder' for parameter #1 (got 'URL')
   |                                `- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:24: error: incorrect argument label in call (have 'with:', expected 'from:')
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                        `- error: incorrect argument label in call (have 'with:', expected 'from:')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:7:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | class URLSessionHTTPClient: HTTPClient {
 7 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     self.urlSession = urlSession
11 |   }
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:32: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                `- error: cannot find type 'URLRequest' in scope
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:30: error: cannot find type 'URLRequest' in scope
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                              `- error: cannot find type 'URLRequest' in scope
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:17:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
15 |     return try await makeData(for: request)
16 | #else
17 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
18 |     guard let httpResponse = response as? HTTPURLResponse else {
19 |       throw InvalidHTTPResponseError(statusCode: 0, data: data)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:29:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
30 |         if let error = error {
31 |           continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:35:52: error: cannot find type 'URLRequest' in scope
33 |   }
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
   |                                                    `- error: cannot find type 'URLRequest' in scope
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
37 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:36:62: error: incorrect argument label in call (have 'with:', expected 'from:')
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
   |                                                              `- error: incorrect argument label in call (have 'with:', expected 'from:')
37 |
38 |     guard validStatusCodes.contains(httpResponse.statusCode) else {
[103/140] Compiling LinguaLib APIErrorHandler.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:32: error: cannot find type 'URLRequest' in scope
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | }
 9 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:11:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     try await fetchData(with: .init(url: url))
13 |   }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:32: error: no exact matches in call to initializer
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                                |- error: no exact matches in call to initializer
   |                                |- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
   |                                |- note: candidate expects value of type 'any Decoder' for parameter #1 (got 'URL')
   |                                `- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:24: error: incorrect argument label in call (have 'with:', expected 'from:')
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                        `- error: incorrect argument label in call (have 'with:', expected 'from:')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:7:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | class URLSessionHTTPClient: HTTPClient {
 7 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     self.urlSession = urlSession
11 |   }
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:32: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                `- error: cannot find type 'URLRequest' in scope
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:30: error: cannot find type 'URLRequest' in scope
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                              `- error: cannot find type 'URLRequest' in scope
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:17:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
15 |     return try await makeData(for: request)
16 | #else
17 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
18 |     guard let httpResponse = response as? HTTPURLResponse else {
19 |       throw InvalidHTTPResponseError(statusCode: 0, data: data)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:29:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
30 |         if let error = error {
31 |           continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:35:52: error: cannot find type 'URLRequest' in scope
33 |   }
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
   |                                                    `- error: cannot find type 'URLRequest' in scope
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
37 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:36:62: error: incorrect argument label in call (have 'with:', expected 'from:')
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
   |                                                              `- error: incorrect argument label in call (have 'with:', expected 'from:')
37 |
38 |     guard validStatusCodes.contains(httpResponse.statusCode) else {
[104/140] Compiling LinguaLib APIRequestExecutor.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:32: error: cannot find type 'URLRequest' in scope
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:7:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | protocol HTTPClient {
 7 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | }
 9 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:11:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
   |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     try await fetchData(with: .init(url: url))
13 |   }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:32: error: no exact matches in call to initializer
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                                |- error: no exact matches in call to initializer
   |                                |- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
   |                                |- note: candidate expects value of type 'any Decoder' for parameter #1 (got 'URL')
   |                                `- note: candidate expects value of type 'String' for parameter #1 (got 'URL')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/HTTPClient.swift:12:24: error: incorrect argument label in call (have 'with:', expected 'from:')
10 | extension HTTPClient {
11 |   func fetchData(from url: URL) async throws -> (Data, HTTPURLResponse) {
12 |     try await fetchData(with: .init(url: url))
   |                        `- error: incorrect argument label in call (have 'with:', expected 'from:')
13 |   }
14 | }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:7:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | class URLSessionHTTPClient: HTTPClient {
 7 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     self.urlSession = urlSession
11 |   }
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/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:32: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                `- error: cannot find type 'URLRequest' in scope
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:13:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |   }
12 |
13 |   func fetchData(with request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #if canImport(FoundationNetworking)
15 |     return try await makeData(for: request)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:30: error: cannot find type 'URLRequest' in scope
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                              `- error: cannot find type 'URLRequest' in scope
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:27:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 | private extension URLSessionHTTPClient {
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:17:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
15 |     return try await makeData(for: request)
16 | #else
17 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
18 |     guard let httpResponse = response as? HTTPURLResponse else {
19 |       throw InvalidHTTPResponseError(statusCode: 0, data: data)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/HTTPClient/URLSessionHTTPClient.swift:29:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
27 |   func makeData(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
28 |     try await withCheckedThrowingContinuation { continuation in
29 |       let task = urlSession.dataTask(with: request) { data, response, error in
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
30 |         if let error = error {
31 |           continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:35:52: error: cannot find type 'URLRequest' in scope
33 |   }
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
   |                                                    `- error: cannot find type 'URLRequest' in scope
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
37 |
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/APIRequestExecutor.swift:36:62: error: incorrect argument label in call (have 'with:', expected 'from:')
34 |
35 |   private func execute<T: Decodable>(with request: URLRequest) async throws -> T {
36 |     let (data, httpResponse) = try await httpClient.fetchData(with: request)
   |                                                              `- error: incorrect argument label in call (have 'with:', expected 'from:')
37 |
38 |     guard validStatusCodes.contains(httpResponse.statusCode) else {
[105/140] Compiling LinguaLib ServiceAccountKey.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[106/140] Compiling LinguaLib ServiceAccountTokenProvider.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[107/140] Compiling LinguaLib ContentFileCreatable.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[108/140] Compiling LinguaLib ContentWritable.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[109/140] Compiling LinguaLib DirectoryOperable.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[110/140] Compiling LinguaLib DirectoryOperationError.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[111/140] Compiling LinguaLib FileManagerProvider.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[112/140] Compiling LinguaLib FileReader.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[113/140] Compiling LinguaLib LocalizationModule.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[114/140] Compiling LinguaLib LocalizationModuleFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[115/140] Compiling LinguaLib FileCleanupFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[116/140] Compiling LinguaLib LocalizedContentGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[117/140] Compiling LinguaLib LocalizedFilesGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[118/140] Compiling LinguaLib PlatformFilesNameGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[119/140] Compiling LinguaLib PlatformLocalizationGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[120/140] Compiling LinguaLib ConfigInitialFileGenerator.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
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/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[121/140] Compiling LinguaLib Request.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[122/140] Compiling LinguaLib RequestExecutor.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[123/140] Compiling LinguaLib URLRequestBuilder.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[124/140] Compiling LinguaLib DefaultLocalizedSwiftCodeOutputStringBuilder.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[125/140] Compiling LinguaLib LocalizedSwiftCodeGenerator.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[126/140] Compiling LinguaLib LocalizedSwiftFileGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[127/140] Compiling LinguaLib NullLocalizedCodeFileGenerator.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[128/140] Compiling LinguaLib SwiftLocalizedCodeFileGenerator.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[129/140] Compiling LinguaLib NSRegularExpressionPlaceholderExtractor.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[130/140] Compiling LinguaLib Placeholder.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[131/140] Compiling LinguaLib PlaceholderExtractor.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[132/140] Compiling LinguaLib PlaceholderExtractorStrategy.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[133/140] Compiling LinguaLib RegexPlaceholderExtractor.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[134/140] Compiling LinguaLib FileSectionAndTranslationProcessor.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[135/140] Compiling LinguaLib StringsDictFileProcessor.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
[136/140] Compiling LinguaLib StringsFileProcessor.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:13:53: error: cannot find type 'URLRequest' in scope
11 |   }
12 |
13 |   func build<R: Request>(from request: R) throws -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
14 |     guard let url = URL(string: baseURLString)?.appendingPathComponent(request.path) else {
15 |       throw APIError.invalidRequest
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Networking/RequestExecutor/URLRequestBuilder.swift:20:22: error: cannot find 'URLRequest' in scope
18 |     let finalURL = try buildURL(url: url, queryItems: request.queryItems)
19 |
20 |     var urlRequest = URLRequest(url: finalURL)
   |                      `- error: cannot find 'URLRequest' in scope
21 |     urlRequest.httpMethod = request.method.rawValue
22 |     urlRequest.httpBody = request.body
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsDictFileProcessor.swift:20:51: error: argument passed to call that takes no arguments
18 |
19 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
20 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: NSDictionary] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
21 |     var translations: [String: String] = [:]
22 |     var sections: Set<String> = []
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/SwiftLocalizeGenerator/Processor/StringsFileProcessor.swift:15:51: error: argument passed to call that takes no arguments
13 |
14 |   func processFile(section: String, path: String) -> (translations: [String: String], sections: Set<String>) {
15 |     guard let dict = NSDictionary(contentsOfFile: path) as? [String: String] else { return ([:], []) }
   |                                                   `- error: argument passed to call that takes no arguments
16 |     let sections = Set(dict.keys)
17 |     return (dict, sections)
BUILD FAILURE 6.2 wasm