The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build GoogleCloudLogging, reference master (8787f7), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 14:26:48 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DnV1eX/GoogleCloudLogging.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DnV1eX/GoogleCloudLogging
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8787f77 Update README.md
Cloned https://github.com/DnV1eX/GoogleCloudLogging.git
Revision (git rev-parse @):
8787f77000cdd89c080cb6ac0b71552805ce86f4
SUCCESS checkout https://github.com/DnV1eX/GoogleCloudLogging.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DnV1eX/GoogleCloudLogging.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Locks.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Logging.swift
[9/11] Emitting module GoogleCloudLogging
/Users/admin/builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:25:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 23 |
 24 | /// Customizable SwiftLog logging backend for Google Cloud Logging via REST API v2 with offline functionality.
 25 | public struct GoogleCloudLogHandler: LogHandler {
    |               `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 26 |
 27 |     /// Predefined metadata key strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 |     ///     - function: The function the log line was emitted from.
134 |     ///     - line: The line the log message was emitted from.
135 |     func log(
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |         level: Logger.Level,
137 |         message: Logger.Message,
    :
207 | extension LogHandler {
208 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 |     public func log(
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 |         level: Logger.Level,
211 |         message: Logger.Message,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/11] Compiling GoogleCloudLogging GoogleCloudLogging.swift
[11/11] Compiling GoogleCloudLogging GoogleCloudLogHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:25:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 23 |
 24 | /// Customizable SwiftLog logging backend for Google Cloud Logging via REST API v2 with offline functionality.
 25 | public struct GoogleCloudLogHandler: LogHandler {
    |               `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 26 |
 27 |     /// Predefined metadata key strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 |     ///     - function: The function the log line was emitted from.
134 |     ///     - line: The line the log message was emitted from.
135 |     func log(
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |         level: Logger.Level,
137 |         message: Logger.Message,
    :
207 | extension LogHandler {
208 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 |     public func log(
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 |         level: Logger.Level,
211 |         message: Logger.Message,
/Users/admin/builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:463:24: error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
461 |     func legacySeekToEnd() throws -> UInt64 {
462 |         if #available(OSX 10.15, iOS 13.4, watchOS 6.2, tvOS 13.4, *) {
463 |             return try seekToEnd()
    |                        `- error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
464 |         } else {
465 |             return seekToEndOfFile()
/Users/admin/builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:471:17: error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
469 |     func legacyWrite<T>(contentsOf data: T) throws where T : DataProtocol {
470 |         if #available(OSX 10.15, iOS 13.4, watchOS 6.2, tvOS 13.4, *) {
471 |             try write(contentsOf: data)
    |                 `- error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
472 |         } else {
473 |             write(Data(data))
/Users/admin/builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:479:24: error: 'readToEnd()' is only available in macOS 10.15.4 or newer
477 |     func legacyReadToEnd() throws -> Data? {
478 |         if #available(OSX 10.15, iOS 13.4, watchOS 6.2, tvOS 13.4, *) {
479 |             return try readToEnd()
    |                        `- error: 'readToEnd()' is only available in macOS 10.15.4 or newer
480 |         } else {
481 |             return readDataToEndOfFile()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.54s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
BUILD FAILURE 6.2 macosSpm