The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Lingua, reference main (3b02ee), with Swift 6.1 for Wasm on 30 May 2025 11:59:33 UTC.

Build Command

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

Build Log

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)
[33/118] 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)
[34/118] 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)
[35/118] 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)
[36/118] 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)
[37/118] 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)
[38/118] 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)
[39/118] 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)
[40/118] 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)
[41/118] 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)
[42/118] 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)
[43/118] 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)
[44/118] 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)
[45/118] Compiling LinguaLib AndroidPlaceholderMapper.swift
[46/118] Compiling LinguaLib AndroidPlatformFilesNameGenerator.swift
[47/118] Compiling LinguaLib AndroidPluralFormatter.swift
[48/118] Compiling LinguaLib AndroidStringEscaper.swift
[49/118] Compiling LinguaLib LocalizationEntry+Android.swift
[50/118] Compiling LinguaLib LocalizationPlaceholderMapping.swift
[51/118] Compiling LinguaLib LocalizedOutputGenerator.swift
[52/118] Compiling LinguaLib IOSFileCleanupStrategy.swift
[53/118] Compiling LinguaLib IOSNonPluralFormatter.swift
[54/118] Compiling LinguaLib IOSPlaceholderMapper.swift
[55/118] Compiling LinguaLib IOSPlatformFilesNameGenerator.swift
[56/118] Compiling LinguaLib IOSPluralFormatter.swift
[57/118] Compiling LinguaLib IOSStringEscaper.swift
[58/118] Compiling LinguaLib ConsoleLogger.swift
[59/118] Compiling LinguaLib ConsolePrinter.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: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 {
[60/118] Compiling LinguaLib LogLevel.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: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 {
[61/118] Compiling LinguaLib Logger.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: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 {
[62/118] Compiling LinguaLib Printer.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: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 {
[63/118] Compiling LinguaLib URLComponentsProvider.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: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 {
[64/118] 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: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 {
[65/118] 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: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 {
[66/118] 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: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 {
[67/118] 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: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 {
[68/118] 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: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 {
[69/118] 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: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 {
[70/118] 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: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 {
[71/118] Compiling LinguaLib Request.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: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 {
[72/118] Compiling LinguaLib RequestExecutor.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: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 {
[73/118] Compiling LinguaLib StringEscaping.swift
/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 |   }
[74/118] Compiling LinguaLib Config+Default.swift
/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 |   }
[75/118] Compiling LinguaLib ConfigDto.swift
/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 |   }
[76/118] Compiling LinguaLib ConfigDtoTransformer.swift
/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 |   }
[77/118] Compiling LinguaLib ConfigTransformer.swift
/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 |   }
[78/118] Compiling LinguaLib EntityFileLoader.swift
/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 |   }
[79/118] Compiling LinguaLib EntityLoaderFactory.swift
/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 |   }
[80/118] Compiling LinguaLib JSONDataParser.swift
/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 |   }
[81/118] Compiling LinguaLib LocalizationSheetDataDecoder.swift
/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 |   }
[82/118] Compiling LinguaLib SheetTranslationBuilder.swift
/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 |   }
[83/118] Compiling LinguaLib GoogleSheetDataLoader.swift
/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 |   }
[84/118] Compiling LinguaLib GoogleSheetDataLoaderFactory.swift
/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 |   }
[85/118] Compiling LinguaLib GoogleSheetsAPIConfig.swift
/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 |   }
[86/118] Compiling LinguaLib GoogleSheetsErrorHandler.swift
/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 |   }
[87/118] Compiling LinguaLib FileCleanupStrategy.swift
[88/118] Compiling LinguaLib FileProcessor.swift
[89/118] Compiling LinguaLib LocalizedCodeFileGenerating.swift
[90/118] Compiling LinguaLib LocalizedContentFormatting.swift
[91/118] Compiling LinguaLib LocalizedContentGenerating.swift
[92/118] Compiling LinguaLib LocalizedFilesGenerating.swift
[93/118] Compiling LinguaLib LocalizedOutputGenerating.swift
[94/118] Compiling LinguaLib LocalizedSwiftCodeGenerating.swift
[95/118] Compiling LinguaLib LocalizedSwiftCodeOutputStringBuilder.swift
[96/118] Compiling LinguaLib MergableFileProcessor.swift
[97/118] Compiling LinguaLib PlatformFilesGenerating.swift
[98/118] Compiling LinguaLib PlatformFilesNameGenerating.swift
[99/118] Compiling LinguaLib PlatformLocalizationGenerating.swift
[100/118] Compiling LinguaLib SheetDataLoader.swift
[101/118] Compiling LinguaLib GoogleSheetsFetchable.swift
[102/118] Compiling LinguaLib GoogleSheetsFetcher.swift
[103/118] Compiling LinguaLib SheetDataRequest.swift
[104/118] Compiling LinguaLib SheetNamesRequest.swift
[105/118] Compiling LinguaLib GoogleSheetErrorResponse.swift
[106/118] Compiling LinguaLib GoogleSheetsError.swift
[107/118] Compiling LinguaLib SheetDataResponse.swift
[108/118] Compiling LinguaLib SheetMetadata.swift
[109/118] Compiling LinguaLib ContentFileCreatable.swift
[110/118] Compiling LinguaLib ContentWritable.swift
[111/118] Compiling LinguaLib DirectoryOperable.swift
[112/118] Compiling LinguaLib DirectoryOperationError.swift
[113/118] Compiling LinguaLib FileManagerProvider.swift
[114/118] Compiling LinguaLib FileReader.swift
BUILD FAILURE 6.1 wasm