Build Information
Failed to build GoogleCloudLogging with Swift 5.8 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DnV1eX/GoogleCloudLogging.git
Reference: 1.1.2
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-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: 5.8
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/5] Compiling Logging Locks.swift
[2/5] Compiling Logging MetadataProvider.swift
[3/5] Compiling Logging LogHandler.swift
[4/5] Compiling Logging Logging.swift
[5/5] Emitting module Logging
[6/8] Compiling GoogleCloudLogging GoogleCloudLogging.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogging.swift:133:30: warning: heterogeneous collection literal could only be inferred to '[CFString : Any]'; add explicit type annotation if this is intentional
let attributes = [kSecAttrKeyType: kSecAttrKeyTypeRSA, kSecAttrKeyClass: kSecAttrKeyClassPrivate, kSecAttrKeySizeInBits: 256] as CFDictionary
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [CFString : Any]
[7/8] Emitting module GoogleCloudLogging
[8/8] Compiling GoogleCloudLogging GoogleCloudLogHandler.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:463:24: error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
return try seekToEnd()
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:471:17: error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
try write(contentsOf: data)
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:479:24: error: 'readToEnd()' is only available in macOS 10.15.4 or newer
return try readToEnd()
^
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.04s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
[0/1] Planning build
Building for debugging...
[1/2] Emitting module GoogleCloudLogging
[2/2] Compiling GoogleCloudLogging GoogleCloudLogHandler.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:463:24: error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
return try seekToEnd()
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:471:17: error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
try write(contentsOf: data)
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GoogleCloudLogging/GoogleCloudLogHandler.swift:479:24: error: 'readToEnd()' is only available in macOS 10.15.4 or newer
return try readToEnd()
^
BUILD FAILURE 5.8 macosSpm