The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Lingua, reference v1.1.1 (e5f78a), with Swift 6.2 for Wasm on 25 Jun 2026 22:13:59 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

    |                                `- 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>"
[105/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[106/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[107/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[108/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[109/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[110/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[111/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[112/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[113/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[114/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[115/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[116/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[117/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[118/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[119/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[120/140] 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/Networking/HTTPClient/URLSessionHTTPClient.swift:9:44: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 7 |   private let urlSession: URLSession
 8 |
 9 |   init(urlSession: URLSession = URLSession.shared) {
   |                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
10 |     self.urlSession = urlSession
11 |   }
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/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: value of type '_' expected to be instance of class or class-constrained type
 71 |   private var sheetGidCache: [String: Int] = [:]
 72 |
 73 |   init(sheetId: String, tokenProvider: AccessTokenProviding, urlSession: URLSession = .shared) {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 74 |     self.sheetId = sheetId
 75 |     self.tokenProvider = tokenProvider
/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>"
[121/140] Compiling LinguaLib ServiceAccountKey.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[122/140] Compiling LinguaLib ServiceAccountTokenProvider.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[123/140] Compiling LinguaLib ContentFileCreatable.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[124/140] Compiling LinguaLib ContentWritable.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[125/140] Compiling LinguaLib DirectoryOperable.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[126/140] Compiling LinguaLib DirectoryOperationError.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[127/140] Compiling LinguaLib FileManagerProvider.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[128/140] Compiling LinguaLib FileReader.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[129/140] Compiling LinguaLib LocalizationModule.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[130/140] Compiling LinguaLib LocalizationModuleFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[131/140] Compiling LinguaLib FileCleanupFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[132/140] Compiling LinguaLib LocalizedContentGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[133/140] Compiling LinguaLib LocalizedFilesGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[134/140] Compiling LinguaLib PlatformFilesNameGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[135/140] Compiling LinguaLib PlatformLocalizationGeneratorFactory.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
[136/140] Compiling LinguaLib ConfigInitialFileGenerator.swift
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:15:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |   private let key: ServiceAccountKey
14 |   private let scope: String
15 |   private let urlSession: URLSession
   |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |   private var cachedToken: String?
17 |   private var cachedExpiry: Date = .distantPast
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     self.key = key
23 |     self.scope = scope
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:21:34: error: value of type '_' expected to be instance of class or class-constrained type
19 |   init(key: ServiceAccountKey,
20 |        scope: String = "https://www.googleapis.com/auth/spreadsheets",
21 |        urlSession: URLSession = .shared) {
   |                                  `- error: value of type '_' expected to be instance of class or class-constrained type
22 |     self.key = key
23 |     self.scope = scope
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:55:19: error: cannot find 'URLRequest' in scope
53 |     let jwt = "\(signingInput).\(signature.base64URLEncodedString())"
54 |
55 |     var request = URLRequest(url: URL(string: key.tokenUri)!)
   |                   `- error: cannot find 'URLRequest' in scope
56 |     request.httpMethod = "POST"
57 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/LinguaLib/Infrastructure/Data/GoogleSheets/Writer/ServiceAccountTokenProvider.swift:61:49: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
59 |     request.httpBody = body.data(using: .utf8)
60 |
61 |     let (data, response) = try await urlSession.data(for: request)
   |                                                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
62 |     guard let http = response as? HTTPURLResponse, (200...299).contains(http.statusCode) else {
63 |       let bodyText = String(data: data, encoding: .utf8) ?? "<binary>"
BUILD FAILURE 6.2 wasm