Build Information
Failed to build GoogleSheetsSwift, reference master (14bbd7
), with Swift 5.10 for Linux on 24 Aug 2025 15:19:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/GoogleSheetsSwift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/ShenghaiWang/GoogleSheetsSwift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 14bbd79 Linux fixes(WIP)
Cloned https://github.com/ShenghaiWang/GoogleSheetsSwift.git
Revision (git rev-parse @):
14bbd79b0356423060da2f3d0050a8d20f082ae0
SUCCESS checkout https://github.com/ShenghaiWang/GoogleSheetsSwift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/ShenghaiWang/GoogleSheetsSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/25] Emitting module GoogleSheetsSwift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:315:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logHTTPResponse(_ response: HTTPURLResponse, data: Data, context: LoggingContext) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:387:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logResponse(_ response: HTTPURLResponse, data: Data) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:341:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func logResponse(_ response: HTTPURLResponse, data: Data)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:359:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logResponse(_ response: HTTPURLResponse, data: Data) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
session: URLSessionProtocol = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:443:79: error: cannot find type 'SecKey' in scope
private static func parsePrivateKey(_ privateKeyString: String) throws -> SecKey {
^~~~~~
[5/27] Compiling GoogleSheetsSwift ValuesService.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
[6/27] Compiling GoogleSheetsSwift ValuesServiceProtocol.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
[7/27] Compiling GoogleSheetsSwift ResponseCache.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
session: URLSessionProtocol = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsClient.swift:496:21: error: cannot find 'parseA1Range' in scope
_ = try parseA1Range(range)
^~~~~~~~~~~~
[8/27] Compiling GoogleSheetsSwift GoogleSheetsClient.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
session: URLSessionProtocol = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsClient.swift:496:21: error: cannot find 'parseA1Range' in scope
_ = try parseA1Range(range)
^~~~~~~~~~~~
[9/27] Compiling GoogleSheetsSwift GoogleSheetsError.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
session: URLSessionProtocol = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsClient.swift:496:21: error: cannot find 'parseA1Range' in scope
_ = try parseA1Range(range)
^~~~~~~~~~~~
[10/27] Compiling GoogleSheetsSwift RetryConfiguration.swift
[11/27] Compiling GoogleSheetsSwift BaseService.swift
[12/27] Compiling GoogleSheetsSwift SpreadsheetsService.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Services/SpreadsheetsService.swift:194:13: warning: initialization of immutable value 'requestBuilder' was never used; consider replacing with assignment to '_' or removing it
let requestBuilder = RequestBuilder(accessToken: accessToken)
~~~~^~~~~~~~~~~~~~
_
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
[13/27] Compiling GoogleSheetsSwift SpreadsheetsServiceProtocol.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Services/SpreadsheetsService.swift:194:13: warning: initialization of immutable value 'requestBuilder' was never used; consider replacing with assignment to '_' or removing it
let requestBuilder = RequestBuilder(accessToken: accessToken)
~~~~^~~~~~~~~~~~~~
_
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
[14/27] Compiling GoogleSheetsSwift BatchOptimizer.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/BatchOptimizer.swift:133:14: warning: immutable value 'majorDimension' was never used; consider replacing with '_' or removing it
for (majorDimension, ops) in groupedOperations {
^~~~~~~~~~~~~~
_
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:357:20: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:358:21: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:358:57: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:360:19: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:369:20: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
[15/27] Compiling GoogleSheetsSwift MemoryEfficientDataHandler.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/BatchOptimizer.swift:133:14: warning: immutable value 'majorDimension' was never used; consider replacing with '_' or removing it
for (majorDimension, ops) in groupedOperations {
^~~~~~~~~~~~~~
_
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:357:20: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:358:21: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:358:57: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:360:19: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift:369:20: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
[16/27] Compiling GoogleSheetsSwift ValueModels.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:443:79: error: cannot find type 'SecKey' in scope
private static func parsePrivateKey(_ privateKeyString: String) throws -> SecKey {
^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:426:30: error: cannot find type 'CFError' in scope
var error: Unmanaged<CFError>?
^~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:428:31: error: cannot find 'SecKeyCreateSignature' in scope
guard let signature = SecKeyCreateSignature(
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:431:27: error: cannot find type 'CFData' in scope
dataToSign as CFData,
^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:430:14: error: cannot infer contextual base in reference to member 'rsaSignatureMessagePKCS1v15SHA256'
.rsaSignatureMessagePKCS1v15SHA256,
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:459:28: error: cannot find 'SecItemImportExportKeyParameters' in scope
var importParams = SecItemImportExportKeyParameters()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:460:39: error: cannot find 'SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION' in scope
importParams.version = UInt32(SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:461:30: error: cannot find 'SecKeyImportExportFlags' in scope
importParams.flags = SecKeyImportExportFlags(rawValue: 0)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:462:35: error: 'nil' requires a contextual type
importParams.passphrase = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:463:35: error: 'nil' requires a contextual type
importParams.alertTitle = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:464:36: error: 'nil' requires a contextual type
importParams.alertPrompt = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:465:34: error: 'nil' requires a contextual type
importParams.accessRef = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:466:33: error: 'nil' requires a contextual type
importParams.keyUsage = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:467:38: error: 'nil' requires a contextual type
importParams.keyAttributes = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:469:23: error: cannot find type 'CFArray' in scope
var outItems: CFArray?
^~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:470:28: error: cannot find 'SecItemImport' in scope
let importStatus = SecItemImport(
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:475:13: error: cannot find 'SecItemImportExportFlags' in scope
SecItemImportExportFlags(rawValue: 0),
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:471:24: error: cannot find type 'CFData' in scope
keyData as CFData,
^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:472:13: error: 'nil' requires a contextual type
nil, // filename
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:473:13: error: 'nil' requires a contextual type
nil, // inputFormat (let system determine)
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:474:13: error: 'nil' requires a contextual type
nil, // itemType (let system determine)
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:477:13: error: 'nil' requires a contextual type
nil, // keychain (use default)
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:481:28: error: cannot find 'errSecSuccess' in scope
if importStatus == errSecSuccess, let items = outItems as? [Any], !items.isEmpty {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:485:20: error: cannot find 'CFGetTypeID' in scope
if CFGetTypeID(firstItem as CFTypeRef) == SecKeyGetTypeID() {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:485:59: error: cannot find 'SecKeyGetTypeID' in scope
if CFGetTypeID(firstItem as CFTypeRef) == SecKeyGetTypeID() {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:485:45: error: cannot find type 'CFTypeRef' in scope
if CFGetTypeID(firstItem as CFTypeRef) == SecKeyGetTypeID() {
^~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:492:30: error: cannot find type 'CFError' in scope
var error: Unmanaged<CFError>?
^~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:496:13: error: cannot find 'kSecAttrKeyType' in scope
kSecAttrKeyType as String: kSecAttrKeyTypeRSA,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:496:40: error: cannot find 'kSecAttrKeyTypeRSA' in scope
kSecAttrKeyType as String: kSecAttrKeyTypeRSA,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:497:13: error: cannot find 'kSecAttrKeyClass' in scope
kSecAttrKeyClass as String: kSecAttrKeyClassPrivate
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:497:41: error: cannot find 'kSecAttrKeyClassPrivate' in scope
kSecAttrKeyClass as String: kSecAttrKeyClassPrivate
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:500:25: error: cannot find 'SecKeyCreateWithData' in scope
if let secKey = SecKeyCreateWithData(keyData as CFData, attributes as CFDictionary, &error) {
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:500:57: error: cannot find type 'CFData' in scope
if let secKey = SecKeyCreateWithData(keyData as CFData, attributes as CFDictionary, &error) {
^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:500:79: error: cannot find type 'CFDictionary' in scope
if let secKey = SecKeyCreateWithData(keyData as CFData, attributes as CFDictionary, &error) {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:508:36: error: cannot find 'CFErrorCopyDescription' in scope
let errorDescription = CFErrorCopyDescription(error)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
session: URLSessionProtocol = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
[17/27] Compiling GoogleSheetsSwift OAuth2TokenManager.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:443:79: error: cannot find type 'SecKey' in scope
private static func parsePrivateKey(_ privateKeyString: String) throws -> SecKey {
^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:426:30: error: cannot find type 'CFError' in scope
var error: Unmanaged<CFError>?
^~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:428:31: error: cannot find 'SecKeyCreateSignature' in scope
guard let signature = SecKeyCreateSignature(
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:431:27: error: cannot find type 'CFData' in scope
dataToSign as CFData,
^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:430:14: error: cannot infer contextual base in reference to member 'rsaSignatureMessagePKCS1v15SHA256'
.rsaSignatureMessagePKCS1v15SHA256,
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:459:28: error: cannot find 'SecItemImportExportKeyParameters' in scope
var importParams = SecItemImportExportKeyParameters()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:460:39: error: cannot find 'SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION' in scope
importParams.version = UInt32(SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:461:30: error: cannot find 'SecKeyImportExportFlags' in scope
importParams.flags = SecKeyImportExportFlags(rawValue: 0)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:462:35: error: 'nil' requires a contextual type
importParams.passphrase = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:463:35: error: 'nil' requires a contextual type
importParams.alertTitle = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:464:36: error: 'nil' requires a contextual type
importParams.alertPrompt = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:465:34: error: 'nil' requires a contextual type
importParams.accessRef = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:466:33: error: 'nil' requires a contextual type
importParams.keyUsage = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:467:38: error: 'nil' requires a contextual type
importParams.keyAttributes = nil
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:469:23: error: cannot find type 'CFArray' in scope
var outItems: CFArray?
^~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:470:28: error: cannot find 'SecItemImport' in scope
let importStatus = SecItemImport(
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:475:13: error: cannot find 'SecItemImportExportFlags' in scope
SecItemImportExportFlags(rawValue: 0),
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:471:24: error: cannot find type 'CFData' in scope
keyData as CFData,
^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:472:13: error: 'nil' requires a contextual type
nil, // filename
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:473:13: error: 'nil' requires a contextual type
nil, // inputFormat (let system determine)
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:474:13: error: 'nil' requires a contextual type
nil, // itemType (let system determine)
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:477:13: error: 'nil' requires a contextual type
nil, // keychain (use default)
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:481:28: error: cannot find 'errSecSuccess' in scope
if importStatus == errSecSuccess, let items = outItems as? [Any], !items.isEmpty {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:485:20: error: cannot find 'CFGetTypeID' in scope
if CFGetTypeID(firstItem as CFTypeRef) == SecKeyGetTypeID() {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:485:59: error: cannot find 'SecKeyGetTypeID' in scope
if CFGetTypeID(firstItem as CFTypeRef) == SecKeyGetTypeID() {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:485:45: error: cannot find type 'CFTypeRef' in scope
if CFGetTypeID(firstItem as CFTypeRef) == SecKeyGetTypeID() {
^~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:492:30: error: cannot find type 'CFError' in scope
var error: Unmanaged<CFError>?
^~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:496:13: error: cannot find 'kSecAttrKeyType' in scope
kSecAttrKeyType as String: kSecAttrKeyTypeRSA,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:496:40: error: cannot find 'kSecAttrKeyTypeRSA' in scope
kSecAttrKeyType as String: kSecAttrKeyTypeRSA,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:497:13: error: cannot find 'kSecAttrKeyClass' in scope
kSecAttrKeyClass as String: kSecAttrKeyClassPrivate
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:497:41: error: cannot find 'kSecAttrKeyClassPrivate' in scope
kSecAttrKeyClass as String: kSecAttrKeyClassPrivate
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:500:25: error: cannot find 'SecKeyCreateWithData' in scope
if let secKey = SecKeyCreateWithData(keyData as CFData, attributes as CFDictionary, &error) {
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:500:57: error: cannot find type 'CFData' in scope
if let secKey = SecKeyCreateWithData(keyData as CFData, attributes as CFDictionary, &error) {
^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:500:79: error: cannot find type 'CFDictionary' in scope
if let secKey = SecKeyCreateWithData(keyData as CFData, attributes as CFDictionary, &error) {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:508:36: error: cannot find 'CFErrorCopyDescription' in scope
let errorDescription = CFErrorCopyDescription(error)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
session: URLSessionProtocol = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
[18/27] Compiling GoogleSheetsSwift AnyCodable.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/AnyCodable.swift:39:16: error: cannot find 'CFGetTypeID' in scope
if CFGetTypeID(number) == CFBooleanGetTypeID() {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/AnyCodable.swift:39:39: error: cannot find 'CFBooleanGetTypeID' in scope
if CFGetTypeID(number) == CFBooleanGetTypeID() {
^~~~~~~~~~~~~~~~~~
[19/27] Compiling GoogleSheetsSwift Enums.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/AnyCodable.swift:39:16: error: cannot find 'CFGetTypeID' in scope
if CFGetTypeID(number) == CFBooleanGetTypeID() {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/AnyCodable.swift:39:39: error: cannot find 'CFBooleanGetTypeID' in scope
if CFGetTypeID(number) == CFBooleanGetTypeID() {
^~~~~~~~~~~~~~~~~~
[20/27] Compiling GoogleSheetsSwift SpreadsheetModels.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/AnyCodable.swift:39:16: error: cannot find 'CFGetTypeID' in scope
if CFGetTypeID(number) == CFBooleanGetTypeID() {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/AnyCodable.swift:39:39: error: cannot find 'CFBooleanGetTypeID' in scope
if CFGetTypeID(number) == CFBooleanGetTypeID() {
^~~~~~~~~~~~~~~~~~
[21/27] Compiling GoogleSheetsSwift GoogleSheetsLogger.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:315:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logHTTPResponse(_ response: HTTPURLResponse, data: Data, context: LoggingContext) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:387:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logResponse(_ response: HTTPURLResponse, data: Data) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:319:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
metadata["statusCode"] = response.statusCode
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:320:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
metadata["responseHeaders"] = response.allHeaderFields
~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:391:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
"statusCode": response.statusCode,
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:392:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
"url": response.url?.absoluteString ?? "unknown",
~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:393:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
"headers": response.allHeaderFields
~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:341:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func logResponse(_ response: HTTPURLResponse, data: Data)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:359:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logResponse(_ response: HTTPURLResponse, data: Data) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
session: URLSessionProtocol = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:360:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
print("✅ HTTP Response: \(response.statusCode) from \(response.url?.absoluteString ?? "unknown")")
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:431:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: request.url)
^~~~~~~~~~
[22/27] Compiling GoogleSheetsSwift GoogleSheetsSwift.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:315:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logHTTPResponse(_ response: HTTPURLResponse, data: Data, context: LoggingContext) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:387:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logResponse(_ response: HTTPURLResponse, data: Data) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:319:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
metadata["statusCode"] = response.statusCode
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:320:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
metadata["responseHeaders"] = response.allHeaderFields
~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:391:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
"statusCode": response.statusCode,
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:392:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
"url": response.url?.absoluteString ?? "unknown",
~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:393:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
"headers": response.allHeaderFields
~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:341:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func logResponse(_ response: HTTPURLResponse, data: Data)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:359:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logResponse(_ response: HTTPURLResponse, data: Data) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
session: URLSessionProtocol = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:360:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
print("✅ HTTP Response: \(response.statusCode) from \(response.url?.absoluteString ?? "unknown")")
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:431:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: request.url)
^~~~~~~~~~
[23/27] Compiling GoogleSheetsSwift HTTPClient.swift
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:315:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logHTTPResponse(_ response: HTTPURLResponse, data: Data, context: LoggingContext) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:387:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logResponse(_ response: HTTPURLResponse, data: Data) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:319:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
metadata["statusCode"] = response.statusCode
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:320:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
metadata["responseHeaders"] = response.allHeaderFields
~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:391:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
"statusCode": response.statusCode,
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:392:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
"url": response.url?.absoluteString ?? "unknown",
~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:393:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
"headers": response.allHeaderFields
~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:341:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func logResponse(_ response: HTTPURLResponse, data: Data)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:359:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func logResponse(_ response: HTTPURLResponse, data: Data) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
session: URLSessionProtocol = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:360:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
print("✅ HTTP Response: \(response.statusCode) from \(response.url?.absoluteString ?? "unknown")")
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:431:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: request.url)
^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux