The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoogleAPISwiftSDK, reference master (a8c7e7), with Swift 6.4 for Linux on 22 Sep 2026 21:42:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/GoogleAPISwiftSDK.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/GoogleAPISwiftSDK
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a8c7e78 Initial setup
Cloned https://github.com/ShenghaiWang/GoogleAPISwiftSDK.git
Revision (git rev-parse @):
a8c7e7894551b784ae67352dc85e2998cdc1c801
SUCCESS checkout https://github.com/ShenghaiWang/GoogleAPISwiftSDK.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ShenghaiWang/GoogleAPISwiftSDK.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/ShenghaiWang/GoogleAPITokenManager.git
[1/114] Fetching googleapitokenmanager
Fetched https://github.com/ShenghaiWang/GoogleAPITokenManager.git (0.47s)
Computing version for https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Computed https://github.com/ShenghaiWang/GoogleAPITokenManager.git at 0.1.3 (0.64s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/vapor/jwt-kit.git
[1/18549] Fetching swift-crypto
[1856/28782] Fetching swift-crypto, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git (0.89s)
[8348/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.19s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (2.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.27s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.57s)
Creating working copy for https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Working copy of https://github.com/ShenghaiWang/GoogleAPITokenManager.git resolved at 0.1.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 304]
[Planning deferred tasks]
[Starting]
[63 / 886] CJWTKitBoringSSL
[75 / 886] CJWTKitBoringSSL
[83 / 886] CJWTKitBoringSSL
[90 / 886] CJWTKitBoringSSL
[100 / 886] CJWTKitBoringSSL
[114 / 886] CJWTKitBoringSSL
[121 / 886] CJWTKitBoringSSL
[130 / 886] CJWTKitBoringSSL
[147 / 886] CJWTKitBoringSSL
[156 / 886] CJWTKitBoringSSL
[172 / 886] CJWTKitBoringSSL
[197 / 886] CJWTKitBoringSSL
[210 / 886] CJWTKitBoringSSL
[225 / 886] CJWTKitBoringSSL
[229 / 886] CJWTKitBoringSSL
[238 / 886] CJWTKitBoringSSL
[251 / 886] CJWTKitBoringSSL
[266 / 886] CJWTKitBoringSSL
[276 / 886] CJWTKitBoringSSL
[291 / 886] CJWTKitBoringSSL
[309 / 886] CJWTKitBoringSSL
[327 / 886] CJWTKitBoringSSL
[342 / 886] CJWTKitBoringSSL
[356 / 886] CJWTKitBoringSSL
[365 / 886] CJWTKitBoringSSL
[379 / 886] CJWTKitBoringSSL
[391 / 886] CJWTKitBoringSSL
[407 / 886] CJWTKitBoringSSL
[422 / 886] CJWTKitBoringSSL
[435 / 886] CJWTKitBoringSSL
[454 / 886] CJWTKitBoringSSL
[466 / 886] CJWTKitBoringSSL
[481 / 887] CCryptoBoringSSL
[485 / 895] CCryptoBoringSSL
[487 / 895] CCryptoBoringSSL
[492 / 895] CCryptoBoringSSL
[493 / 895] CCryptoBoringSSL
[496 / 895] CCryptoBoringSSL
[500 / 895] CCryptoBoringSSL
[504 / 895] CCryptoBoringSSL
[506 / 895] CCryptoBoringSSL
[508 / 895] CCryptoBoringSSL
[511 / 895] CCryptoBoringSSL
[514 / 895] CryptoBoringWrapper
[515 / 895] CCryptoBoringSSL
[521 / 895] CCryptoBoringSSL
[525 / 895] CCryptoBoringSSL
[530 / 895] CCryptoBoringSSL
[538 / 895] CCryptoBoringSSL
[540 / 895] CCryptoBoringSSL
[541 / 895] CCryptoBoringSSL
[545 / 895] CCryptoBoringSSL
[548 / 895] CCryptoBoringSSL
[551 / 895] CCryptoBoringSSL
[553 / 895] CCryptoBoringSSL
[556 / 895] CCryptoBoringSSL
[560 / 895] CCryptoBoringSSL
[561 / 895] CCryptoBoringSSL
[566 / 895] CCryptoBoringSSL
[570 / 895] CCryptoBoringSSL
[572 / 895] CCryptoBoringSSL
[577 / 895] CCryptoBoringSSL
[578 / 895] CCryptoBoringSSL
[581 / 895] CCryptoBoringSSL
[582 / 895] CCryptoBoringSSL
[592 / 895] CCryptoBoringSSL
[603 / 895] CCryptoBoringSSL
[617 / 895] CCryptoBoringSSL
[619 / 895] CCryptoBoringSSL
[623 / 895] CCryptoBoringSSL
[625 / 895] CCryptoBoringSSL
[629 / 895] CCryptoBoringSSL
[633 / 895] CCryptoBoringSSL
[636 / 895] CCryptoBoringSSL
[639 / 895] CCryptoBoringSSL
[641 / 895] CCryptoBoringSSL
[643 / 895] CCryptoBoringSSL
[647 / 895] CCryptoBoringSSL
[650 / 895] CCryptoBoringSSL
[652 / 895] CCryptoBoringSSL
[657 / 895] CCryptoBoringSSL
[660 / 895] CCryptoBoringSSL
[666 / 895] CCryptoBoringSSL
[671 / 895] CCryptoBoringSSL
[677 / 895] CCryptoBoringSSL
[678 / 895] CCryptoBoringSSL
[680 / 895] CCryptoBoringSSL
[686 / 895] CCryptoBoringSSL
[688 / 895] CCryptoBoringSSL
[692 / 895] CCryptoBoringSSL
[695 / 895] CCryptoBoringSSL
[698 / 895] CCryptoBoringSSL
[708 / 895] CCryptoBoringSSL
[714 / 895] CCryptoBoringSSL
[722 / 895] CCryptoBoringSSL
[727 / 895] CCryptoBoringSSL
[731 / 895] CCryptoBoringSSL
[732 / 895] CCryptoBoringSSL
[738 / 895] CCryptoBoringSSL
[741 / 895] CCryptoBoringSSL
[742 / 895] CCryptoBoringSSL
[747 / 895] CCryptoBoringSSL
[748 / 895] CCryptoBoringSSL
[753 / 895] CCryptoBoringSSL
[755 / 895] CCryptoBoringSSL
[758 / 895] CCryptoBoringSSL
[760 / 895] CCryptoBoringSSL
[765 / 895] CCryptoBoringSSL
[771 / 895] CCryptoBoringSSL
[781 / 895] CCryptoBoringSSL
[788 / 895] CCryptoBoringSSL
[789 / 895] CCryptoBoringSSL
[792 / 895] CCryptoBoringSSL
[797 / 895] CCryptoBoringSSL
[799 / 895] CCryptoBoringSSL
[801 / 895] CCryptoBoringSSL
[804 / 895] CCryptoBoringSSL
[808 / 895] CCryptoBoringSSL
[814 / 895] CCryptoBoringSSL
[820 / 895] CCryptoBoringSSL
[828 / 895] CCryptoBoringSSL
[835 / 895] CCryptoBoringSSL
[837 / 895] CCryptoBoringSSL
[838 / 895] CCryptoBoringSSL
[840 / 895] CCryptoBoringSSL
[842 / 895] CCryptoBoringSSL
[847 / 895] CCryptoBoringSSL
[851 / 895] CryptoBoringWrapper
[853 / 895] CCryptoBoringSSL
[854 / 895] CCryptoBoringSSL
[857 / 895] CryptoBoringWrapper
[857 / 895] Crypto
[859 / 897] Crypto
[862 / 905] Crypto
[863 / 905] Crypto
[866 / 905] Crypto
[872 / 906] Crypto
[875 / 906] Crypto-product
[877 / 907]
[880 / 916] JWTKit
[883 / 916] JWTKit
[885 / 916] JWTKit
[887 / 916] JWTKit
[895 / 927] GoogleAPITokenManager
[896 / 927] JWTKit
[899 / 927] GoogleAPITokenManager
[900 / 927] GoogleAPITokenManager
[901 / 927] GoogleAPITokenManager
[902 / 928] JWTKit
[911 / 928] GoogleAPITokenManager-product
[918 / 938] GoogleSheetsSDK
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/GoogleSheetsSDK/GoogleSheetsLogger.swift:297:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
295 |
296 |     /// Log HTTP response details
297 |     public func logHTTPResponse(_ response: HTTPURLResponse, data: Data, context: LoggingContext) {
    |                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
298 |         guard isEnabled(for: .debug) else { return }
299 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GoogleSheetsSDK/GoogleSheetsLogger.swift:369:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
367 |     }
368 |
369 |     public func logResponse(_ response: HTTPURLResponse, data: Data) async {
    |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
370 |         guard await logger.isEnabled(for: .debug) else { return }
371 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GoogleSheetsSDK/GoogleSheetsLogger.swift:346:14: error: type 'LoggingHTTPClientAdapter' does not conform to protocol 'HTTPLogger'
344 |
345 | /// Adapter to bridge GoogleSheetsLogger with HTTPLogger protocol
346 | public actor LoggingHTTPClientAdapter: HTTPLogger {
    |              |- error: type 'LoggingHTTPClientAdapter' does not conform to protocol 'HTTPLogger'
    |              `- note: add stubs for conformance
347 |     private let logger: GoogleSheetsLogger
348 |
    :
367 |     }
368 |
369 |     public func logResponse(_ response: HTTPURLResponse, data: Data) async {
    |                 `- note: candidate has non-matching type '(HTTPURLResponse, Data) async -> ()' (aka '(AnyObject, Data) async -> ()')
370 |         guard await logger.isEnabled(for: .debug) else { return }
371 |
/host/spi-builder-workspace/.build/checkouts/GoogleAPITokenManager/Sources/GoogleAPITokenManager/Protocols/HTTPLogger.swift:9:10: note: protocol requires function 'logResponse(_:data:)' with type '(HTTPURLResponse, Data) async -> ()'
 7 | public protocol HTTPLogger: Actor {
 8 |     func logRequest(_ request: HTTPRequest) async
 9 |     func logResponse(_ response: HTTPURLResponse, data: Data) async
   |          `- note: protocol requires function 'logResponse(_:data:)' with type '(HTTPURLResponse, Data) async -> ()'
10 |     func logError(_ error: Swift.Error, for request: HTTPRequest) async
11 | }
/host/spi-builder-workspace/Sources/GoogleSheetsSDK/GoogleSheetsLogger.swift:137:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
135 |         // Create file if it doesn't exist
136 |         if !FileManager.default.fileExists(atPath: fileURL.path) {
137 |             FileManager.default.createFile(atPath: fileURL.path, contents: nil, attributes: nil)
    |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
138 |         }
139 |
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Cache/ResponseCache.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/GoogleSheetsClient.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/GoogleSheetsError.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/GoogleSheetsLogger.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Models/AnyCodable.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Models/Enums.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Models/SpreadsheetModels.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Models/ValueModels.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Performance/BatchOptimizer.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Performance/MemoryEfficientDataHandler.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/RequestBuilder.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Services/BaseService.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Services/SpreadsheetsService.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Services/SpreadsheetsServiceProtocol.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Services/ValuesService.swift /host/spi-builder-workspace/Sources/GoogleSheetsSDK/Services/ValuesServiceProtocol.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/jwt-kit/Sources/CJWTKitBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GoogleSheetsSDK -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/Objects-normal/x86_64/GoogleSheetsSDK_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/Objects-normal/x86_64/Modules/GoogleSheetsSDK.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/Objects-normal/x86_64/Modules/GoogleSheetsSDK.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/Objects-normal/x86_64/GoogleSheetsSDK-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/Objects-normal/x86_64/GoogleSheetsSDK-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/Objects-normal/x86_64/GoogleSheetsSDK-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleAPISwiftSDK.build/Debug-linux-x86_64/GoogleSheetsSDK-t.build/Objects-normal/x86_64/Modules/GoogleSheetsSDK.swiftmodule
[920 / 938] GoogleSheetsSDK
error: Build failed
BUILD FAILURE 6.4 linux