The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoogleCloudLogging, reference 1.1.2 (4c0d40), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 14:26:59 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: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DnV1eX/GoogleCloudLogging
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at 4c0d407 Precise available OS version conditions in FileHandle throwing legacy functions.
Cloned https://github.com/DnV1eX/GoogleCloudLogging.git
Revision (git rev-parse @):
4c0d4076a7532c2177a6b3d0e964dfc36436695d
SUCCESS checkout https://github.com/DnV1eX/GoogleCloudLogging.git at 1.1.2
========================================
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 Locks.swift
[6/8] Compiling Logging LogHandler.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Logging.swift
[9/11] Compiling GoogleCloudLogging GoogleCloudLogging.swift
[10/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>
[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 (2.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.99s)
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