Build Information
Failed to build GoogleSheetsSwift, reference master (14bbd7), with Swift 6.4 for Android on 22 Sep 2026 21:30:17 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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
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: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/ShenghaiWang/GoogleSheetsSwift.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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning 70 / 124]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:315:45: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m313 |[0;0m
[0;36m314 |[0;0m /// Log HTTP response details
[0;36m315 |[0;0m public func logHTTPResponse(_ response: [4;39mHTTPURLResponse[0;0m, data: Data, context: LoggingContext) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m316 |[0;0m guard isEnabled(for: .debug) else { return }
[0;36m317 |[0;0m
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift:387:41: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m385 |[0;0m }
[0;36m386 |[0;0m
[0;36m387 |[0;0m public func logResponse(_ response: [4;39mHTTPURLResponse[0;0m, data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m388 |[0;0m guard logger.isEnabled(for: .debug) else { return }
[0;36m389 |[0;0m
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m /// Protocol for URLSession abstraction to enable testing
[0;36m12 |[0;0m public protocol URLSessionProtocol {
[0;36m13 |[0;0m func data(for request: [4;39mURLRequest[0;0m) async throws -> (Data, URLResponse)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m14 |[0;0m }
[0;36m15 |[0;0m
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:13:63: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m /// Protocol for URLSession abstraction to enable testing
[0;36m12 |[0;0m public protocol URLSessionProtocol {
[0;36m13 |[0;0m func data(for request: URLRequest) async throws -> (Data, [4;39mURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m }
[0;36m15 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:17:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Extension to make URLSession conform to URLSessionProtocol
[0;36m17 |[0;0m extension [4;39mURLSession[0;0m: URLSessionProtocol {}
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m18 |[0;0m
[0;36m19 |[0;0m /// Request builder for constructing Google Sheets API requests
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:341:34: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m339 |[0;0m public protocol HTTPLogger {
[0;36m340 |[0;0m func logRequest(_ request: HTTPRequest)
[0;36m341 |[0;0m func logResponse(_ response: [4;39mHTTPURLResponse[0;0m, data: Data)
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m342 |[0;0m func logError(_ error: Error, for request: HTTPRequest)
[0;36m343 |[0;0m }
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:359:41: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m357 |[0;0m }
[0;36m358 |[0;0m
[0;36m359 |[0;0m public func logResponse(_ response: [4;39mHTTPURLResponse[0;0m, data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m360 |[0;0m print("✅ HTTP Response: \(response.statusCode) from \(response.url?.absoluteString ?? "unknown")")
[0;36m361 |[0;0m if let responseString = String(data: data, encoding: .utf8) {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift:379:50: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m377 |[0;0m
[0;36m378 |[0;0m public init(
[0;36m379 |[0;0m session: URLSessionProtocol = [4;39mURLSession[0;0m.[4;39mshared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m380 |[0;0m logger: HTTPLogger? = nil,
[0;36m381 |[0;0m retryConfiguration: RetryConfiguration = .default,
/host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift:443:79: [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m441 |[0;0m }
[0;36m442 |[0;0m
[0;36m443 |[0;0m private static func parsePrivateKey(_ privateKeyString: String) throws -> [4;39mSecKey[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SecKey' in scope[0;0m
[0;36m444 |[0;0m // Remove PEM headers and whitespace
[0;36m445 |[0;0m let cleanKey = privateKeyString
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Cache/ResponseCache.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsClient.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsError.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsLogger.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/GoogleSheetsSwift.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/HTTPClient.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/AnyCodable.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/Enums.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/SpreadsheetModels.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Models/ValueModels.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/OAuth2TokenManager.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/BatchOptimizer.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Performance/MemoryEfficientDataHandler.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/RetryConfiguration.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Services/BaseService.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Services/SpreadsheetsService.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Services/SpreadsheetsServiceProtocol.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Services/ValuesService.swift /host/spi-builder-workspace/Sources/GoogleSheetsSwift/Services/ValuesServiceProtocol.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 5 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GoogleSheetsSwift -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/Objects-normal/aarch64/GoogleSheetsSwift_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/Objects-normal/aarch64/Modules/GoogleSheetsSwift.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/Objects-normal/aarch64/Modules/GoogleSheetsSwift.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/Objects-normal/aarch64/GoogleSheetsSwift-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/Objects-normal/aarch64/GoogleSheetsSwift-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/Objects-normal/aarch64/GoogleSheetsSwift-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GoogleSheetsSwift.build/Debug-android-aarch64/GoogleSheetsSwift-t.build/Objects-normal/aarch64/Modules/GoogleSheetsSwift.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android