The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
[48/138] Compiling LinguaLib PluralCategory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
[49/138] Compiling LinguaLib AddTranslationUseCase.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
[50/138] Compiling LinguaLib AgentModuleFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/138] Compiling LinguaLib LocalizedContentGenerating.swift
[52/138] Compiling LinguaLib LocalizedFilesGenerating.swift
[53/138] Compiling LinguaLib LocalizedOutputGenerating.swift
[54/138] Compiling LinguaLib LocalizedSwiftCodeGenerating.swift
[55/138] Compiling LinguaLib LocalizedSwiftCodeOutputStringBuilder.swift
[56/138] Compiling LinguaLib MergableFileProcessor.swift
[57/138] Compiling LinguaLib PlatformFilesGenerating.swift
[58/138] Compiling LinguaLib PlatformFilesNameGenerating.swift
[59/138] Compiling LinguaLib PlatformLocalizationGenerating.swift
[60/138] Compiling LinguaLib SheetDataLoader.swift
[61/138] Compiling LinguaLib StringEscaping.swift
[62/138] Compiling LinguaLib Config+Default.swift
[63/138] Compiling LinguaLib ConfigDto.swift
[64/138] Compiling LinguaLib ConfigDtoTransformer.swift
[65/138] Compiling LinguaLib ConfigTransformer.swift
[66/138] Compiling LinguaLib EntityFileLoader.swift
[67/138] Compiling LinguaLib EntityLoaderFactory.swift
[68/138] Emitting module LinguaLib
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/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/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/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
[69/138] Compiling LinguaLib LocalizedContentGenerator.swift
[70/138] Compiling LinguaLib LocalizedFilesGenerator.swift
[71/138] Compiling LinguaLib LocalizedPlatformFilesGenerator.swift
[72/138] Compiling LinguaLib PlatformLocalizationGenerator.swift
[73/138] Compiling LinguaLib AndroidFileCleanupStrategy.swift
[74/138] Compiling LinguaLib AndroidNonPluralFormatter.swift
[75/138] Compiling LinguaLib AndroidPlaceholderMapper.swift
[76/138] Compiling LinguaLib AndroidPlatformFilesNameGenerator.swift
[77/138] Compiling LinguaLib AndroidPluralFormatter.swift
[78/138] Compiling LinguaLib AndroidStringEscaper.swift
[79/138] Compiling LinguaLib LocalizationEntry+Android.swift
[80/138] Compiling LinguaLib LocalizationPlaceholderMapping.swift
[81/138] Compiling LinguaLib LocalizedOutputGenerator.swift
[82/138] Compiling LinguaLib IOSFileCleanupStrategy.swift
[83/138] Compiling LinguaLib IOSNonPluralFormatter.swift
[84/138] Compiling LinguaLib IOSPlaceholderMapper.swift
[85/138] 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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[86/138] 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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[87/138] 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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[88/138] 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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[89/138] 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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[90/138] 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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[91/138] 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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[92/138] Compiling LinguaLib GoogleSheetsFetchable.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[93/138] Compiling LinguaLib GoogleSheetsFetcher.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[94/138] Compiling LinguaLib SheetDataRequest.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[95/138] Compiling LinguaLib SheetNamesRequest.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[96/138] Compiling LinguaLib GoogleSheetErrorResponse.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[97/138] Compiling LinguaLib GoogleSheetsError.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[98/138] Compiling LinguaLib SheetDataResponse.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[99/138] Compiling LinguaLib SheetMetadata.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[100/138] Compiling LinguaLib GoogleSheetsWriter.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[101/138] Compiling LinguaLib RSAPrivateKey.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 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:70:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |   private let sheetId: String
 69 |   private let tokenProvider: AccessTokenProviding
 70 |   private let urlSession: URLSession
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:73:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:253:32: error: cannot find type 'URLRequest' in scope
251 |   }
252 |
253 |   private func send(_ request: URLRequest) async throws {
    |                                `- error: cannot find type 'URLRequest' in scope
254 |     let (data, response) = try await urlSession.data(for: request)
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:113:19: error: cannot find 'URLRequest' in scope
111 |       throw AgentError(code: "invalid_url", message: "Could not build append URL.")
112 |     }
113 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
114 |     request.httpMethod = "POST"
115 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:230:19: error: cannot find 'URLRequest' in scope
228 |       throw AgentError(code: "invalid_url", message: "Could not build values.update URL.")
229 |     }
230 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
231 |     request.httpMethod = "PUT"
232 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:245:19: error: cannot find 'URLRequest' in scope
243 |       throw AgentError(code: "invalid_url", message: "Could not build batchUpdate URL.")
244 |     }
245 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
246 |     request.httpMethod = "POST"
247 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:254:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
252 |
253 |   private func send(_ request: URLRequest) async throws {
254 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
255 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
256 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:272:19: error: cannot find 'URLRequest' in scope
270 |       throw AgentError(code: "invalid_url", message: "Could not build metadata URL.")
271 |     }
272 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/GoogleSheetsWriter.swift:274:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
272 |     var request = URLRequest(url: url)
273 |     request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
274 |     let (data, response) = try await urlSession.data(for: request)
    |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
275 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
276 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[102/138] Compiling LinguaLib ServiceAccountKey.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[103/138] Compiling LinguaLib ServiceAccountTokenProvider.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[104/138] Compiling LinguaLib ContentFileCreatable.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[105/138] Compiling LinguaLib ContentWritable.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[106/138] Compiling LinguaLib DirectoryOperable.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[107/138] Compiling LinguaLib DirectoryOperationError.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[108/138] Compiling LinguaLib FileManagerProvider.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[109/138] Compiling LinguaLib FileReader.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[110/138] Compiling LinguaLib LocalizationModule.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[111/138] Compiling LinguaLib LocalizationModuleFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[112/138] Compiling LinguaLib FileCleanupFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[113/138] Compiling LinguaLib LocalizedContentGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[114/138] Compiling LinguaLib LocalizedFilesGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[115/138] Compiling LinguaLib PlatformFilesNameGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[116/138] Compiling LinguaLib PlatformLocalizationGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[117/138] Compiling LinguaLib ConfigInitialFileGenerator.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[118/138] Compiling LinguaLib CanonicalSheetSelector.swift
[119/138] Compiling LinguaLib DeleteTranslationUseCase.swift
[120/138] Compiling LinguaLib DoctorUseCase.swift
[121/138] Compiling LinguaLib FindTranslationUseCase.swift
[122/138] Compiling LinguaLib ListSectionsUseCase.swift
[123/138] Compiling LinguaLib ListTranslationsUseCase.swift
[124/138] Compiling LinguaLib PluralColumnLayout.swift
[125/138] Compiling LinguaLib SectionSummary.swift
[126/138] Compiling LinguaLib UpdateTranslationUseCase.swift
[127/138] Compiling LinguaLib DataParsing.swift
[128/138] Compiling LinguaLib FileReading.swift
[129/138] Compiling LinguaLib Transformable.swift
[130/138] Compiling LinguaLib ConfigInitialFileGenerating.swift
[131/138] Compiling LinguaLib FileCleanupStrategy.swift
[132/138] Compiling LinguaLib FileProcessor.swift
[133/138] Compiling LinguaLib LocalizedCodeFileGenerating.swift
[134/138] Compiling LinguaLib LocalizedContentFormatting.swift
BUILD FAILURE 6.1 wasm