Build Information
Failed to build SwiftLogFireCloud 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/google/swiftlogfirecloud.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/google/swiftlogfirecloud
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0b1d90e Revert "Initial support for macOS."
Cloned https://github.com/google/swiftlogfirecloud.git
Revision (git rev-parse @):
0b1d90eefa81866038f6321f2c50b29b926aa2a3
SUCCESS checkout https://github.com/google/swiftlogfirecloud.git at master
========================================
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 MetadataProvider.swift
[2/5] Compiling Logging LogHandler.swift
[3/5] Compiling Logging Locks.swift
[4/5] Emitting module Logging
[5/5] Compiling Logging Logging.swift
[6/12] Compiling SwiftLogFireCloud SwiftLogManager.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
private let localLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
internal var writeTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
internal var lastFileWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
internal var lastFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
private let strandedFilesDelay: TimeInterval
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
private var impairedMessages: Data?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
private func startWriteTimer(interval: TimeInterval) -> Timer {
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
private func startWriteTimer(interval: TimeInterval) -> Timer {
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func appWillResumeActive() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: @objc attribute used without importing module 'Foundation'
@objc private func timedAttemptToWriteToCloud() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
internal func addMessageToImpaired(_ msg: Data) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:63:30: error: cannot find 'NotificationCenter' in scope
let notificationCenter = NotificationCenter.default
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:66:13: error: cannot find 'UIApplication' in scope
name: UIApplication.willResignActiveNotification, object: nil)
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:66:65: error: 'nil' requires a contextual type
name: UIApplication.willResignActiveNotification, object: nil)
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:69:13: error: cannot find 'UIApplication' in scope
name: UIApplication.willEnterForegroundNotification, object: nil)
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:69:68: error: 'nil' requires a contextual type
name: UIApplication.willEnterForegroundNotification, object: nil)
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:72:5: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.asyncAfter(deadline: .now() + strandedFilesDelay) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:88:39: error: cannot find 'UIApplication' in scope
let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:91:31: error: cannot find 'UIApplication' in scope
self.backgroundTaskID = UIApplication.shared.beginBackgroundTask(withName: "com.google.firebase.swiftlogfirecloud.willresignactive") {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:93:11: error: cannot find 'UIApplication' in scope
UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:98:11: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.async {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:100:15: error: cannot find 'UIApplication' in scope
UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:17: error: cannot find 'FileManager' in scope
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:48: error: cannot infer contextual base in reference to member 'documentDirectory'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:72: error: cannot infer contextual base in reference to member 'userDomainMask'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:127:11: error: cannot find 'FileManager' in scope
try FileManager.default.createDirectory(
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:128:69: error: 'nil' requires a contextual type
at: pathURL, withIntermediateDirectories: true, attributes: nil)
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:17: error: cannot find 'FileManager' in scope
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:48: error: cannot infer contextual base in reference to member 'documentDirectory'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:72: error: cannot infer contextual base in reference to member 'userDomainMask'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:143:23: error: cannot find 'FileManager' in scope
let files = try FileManager.default.contentsOfDirectory(
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:144:50: error: 'nil' requires a contextual type
at: pathURL, includingPropertiesForKeys: nil
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
public var fileURL: URL
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:235:41: error: cannot find 'FileManager' in scope
let totalDiskSpaceInBytes = try FileManager.default.attributesOfFileSystem(
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:20: error: cannot find 'NSHomeDirectory' in scope
forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
^~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:39: error: cannot find 'FileAttributeKey' in scope
forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
^~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:280:26: error: cannot find 'Data' in scope
impairedMessages = Data()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:306:35: error: cannot find 'Date' in scope
self.lastFileWriteAttempt = Date()
^~~~
[7/12] Compiling SwiftLogFireCloud CloudLogFileManager.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
internal var lastWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
internal var lastWriteSuccess: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
internal var strandedFileTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
private var cloudDirectoryNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
private var cloudFileNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
private let cloudLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
private func createCloundFilePathAndName(date: Date?) -> String {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: @objc attribute used without importing module 'Foundation'
@objc private func processCloudPushQueue() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:47:39: error: cannot find 'DateFormatter' in scope
cloudDirectoryNameDateFormatter = DateFormatter()
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:48:48: error: cannot find 'TimeZone' in scope
cloudDirectoryNameDateFormatter.timeZone = TimeZone.current
^~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:51:34: error: cannot find 'DateFormatter' in scope
cloudFileNameDateFormatter = DateFormatter()
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:52:43: error: cannot find 'TimeZone' in scope
cloudFileNameDateFormatter.timeZone = TimeZone.current
^~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:63:20: error: cannot find 'Date' in scope
var fileDate = Date()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:71:27: error: cannot find 'Bundle' in scope
if let bundleString = Bundle.main.bundleIdentifier {
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:75:28: error: cannot find 'Bundle' in scope
if let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:77:25: error: cannot find 'Bundle' in scope
let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:85:25: error: cannot find 'UIDevice' in scope
if let deviceID = UIDevice.current.identifierForVendor?.uuidString {
^~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:165:35: error: cannot find 'Date' in scope
self.lastWriteSuccess = Date()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:176:31: error: cannot find 'Date' in scope
self.lastWriteAttempt = Date()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:7: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.async {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:193:34: error: cannot find 'Timer' in scope
self.strandedFileTimer = Timer.scheduledTimer(
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:225:26: error: cannot find 'Date' in scope
lastWriteSuccess = Date()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
^~~~
[8/12] Compiling SwiftLogFireCloud LocalLogFile.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
private lazy var fileHandle: FileHandle? = {
^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
private lazy var dispatchIO: DispatchIO? = {
^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
private let writeResponseQueue: DispatchQueue
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
public var fileURL: URL
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
private static let dateFormatter: DateFormatter = {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:94:29: error: cannot find 'UIDevice' in scope
deviceIdForFileName = UIDevice.current.identifierForVendor?.uuidString
^~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:96:66: error: cannot find 'Date' in scope
let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:97:24: error: cannot find 'Bundle' in scope
let bundleString = Bundle.main.bundleIdentifier
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:99:7: error: cannot find 'Bundle' in scope
Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:100:23: error: cannot find 'Bundle' in scope
let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:17: error: cannot find 'FileManager' in scope
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:48: error: cannot infer contextual base in reference to member 'documentDirectory'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:72: error: cannot infer contextual base in reference to member 'userDomainMask'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:147:11: error: cannot find 'FileManager' in scope
try FileManager.default.removeItem(at: fileURL)
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:22: error: cannot find 'FileManager' in scope
let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:84: error: cannot find type 'NSDictionary' in scope
let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:190:7: error: cannot find 'DispatchData' in scope
DispatchData(bytes: UnsafeRawBufferPointer(start: $0, count: msg.count))
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:206:58: error: cannot find 'Date' in scope
self.firstFileWrite = self.firstFileWrite == nil ? Date() : self.firstFileWrite
^~~~
[9/12] Compiling SwiftLogFireCloud CloudLogFileManagerProtocol.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManagerProtocol.swift:33:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol CloudFileUploaderProtocol: class {
^~~~~
AnyObject
[10/12] Compiling SwiftLogFireCloud SwiftLogFireCloudConfig.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/12] Emitting module SwiftLogFireCloud
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
internal var lastWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
internal var lastWriteSuccess: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
internal var strandedFileTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
private var cloudDirectoryNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
private var cloudFileNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
private let cloudLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
private func createCloundFilePathAndName(date: Date?) -> String {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: @objc attribute used without importing module 'Foundation'
@objc private func processCloudPushQueue() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManagerProtocol.swift:33:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol CloudFileUploaderProtocol: class {
^~~~~
AnyObject
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
private lazy var fileHandle: FileHandle? = {
^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
private lazy var dispatchIO: DispatchIO? = {
^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
private let writeResponseQueue: DispatchQueue
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
public var fileURL: URL
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
private static let dateFormatter: DateFormatter = {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
private let localLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
internal var writeTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
internal var lastFileWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
internal var lastFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
private let strandedFilesDelay: TimeInterval
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
private var impairedMessages: Data?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
private func startWriteTimer(interval: TimeInterval) -> Timer {
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
private func startWriteTimer(interval: TimeInterval) -> Timer {
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func appWillResumeActive() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: @objc attribute used without importing module 'Foundation'
@objc private func timedAttemptToWriteToCloud() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
internal func addMessageToImpaired(_ msg: Data) {
^~~~
[12/12] Compiling SwiftLogFireCloud SwiftLogFireCloud.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
private let localLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
internal var writeTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
internal var lastFileWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
internal var lastFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
private let strandedFilesDelay: TimeInterval
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
private var impairedMessages: Data?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
internal var lastWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
internal var lastWriteSuccess: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
internal var strandedFileTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
private var cloudDirectoryNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
private var cloudFileNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
private let cloudLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
~^~~~~~~~~~
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.02s)
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...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Emitting module SwiftLogFireCloud
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
internal var lastWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
internal var lastWriteSuccess: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
internal var strandedFileTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
private var cloudDirectoryNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
private var cloudFileNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
private let cloudLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
private func createCloundFilePathAndName(date: Date?) -> String {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: @objc attribute used without importing module 'Foundation'
@objc private func processCloudPushQueue() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManagerProtocol.swift:33:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol CloudFileUploaderProtocol: class {
^~~~~
AnyObject
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
private lazy var fileHandle: FileHandle? = {
^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
private lazy var dispatchIO: DispatchIO? = {
^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
private let writeResponseQueue: DispatchQueue
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
public var fileURL: URL
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
private static let dateFormatter: DateFormatter = {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
private let localLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
internal var writeTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
internal var lastFileWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
internal var lastFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
private let strandedFilesDelay: TimeInterval
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
private var impairedMessages: Data?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
private func startWriteTimer(interval: TimeInterval) -> Timer {
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
private func startWriteTimer(interval: TimeInterval) -> Timer {
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func appWillResumeActive() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: @objc attribute used without importing module 'Foundation'
@objc private func timedAttemptToWriteToCloud() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
internal func addMessageToImpaired(_ msg: Data) {
^~~~
[2/5] Compiling SwiftLogFireCloud LocalLogFile.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
private lazy var fileHandle: FileHandle? = {
^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
private lazy var dispatchIO: DispatchIO? = {
^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
private let writeResponseQueue: DispatchQueue
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
public var fileURL: URL
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
private static let dateFormatter: DateFormatter = {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:94:29: error: cannot find 'UIDevice' in scope
deviceIdForFileName = UIDevice.current.identifierForVendor?.uuidString
^~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:96:66: error: cannot find 'Date' in scope
let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:97:24: error: cannot find 'Bundle' in scope
let bundleString = Bundle.main.bundleIdentifier
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:99:7: error: cannot find 'Bundle' in scope
Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:100:23: error: cannot find 'Bundle' in scope
let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:17: error: cannot find 'FileManager' in scope
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:48: error: cannot infer contextual base in reference to member 'documentDirectory'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:72: error: cannot infer contextual base in reference to member 'userDomainMask'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:147:11: error: cannot find 'FileManager' in scope
try FileManager.default.removeItem(at: fileURL)
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:22: error: cannot find 'FileManager' in scope
let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:84: error: cannot find type 'NSDictionary' in scope
let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:190:7: error: cannot find 'DispatchData' in scope
DispatchData(bytes: UnsafeRawBufferPointer(start: $0, count: msg.count))
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:206:58: error: cannot find 'Date' in scope
self.firstFileWrite = self.firstFileWrite == nil ? Date() : self.firstFileWrite
^~~~
[3/5] Compiling SwiftLogFireCloud SwiftLogManager.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
private let localLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
internal var writeTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
internal var lastFileWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
internal var lastFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
private let strandedFilesDelay: TimeInterval
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
private var impairedMessages: Data?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
private func startWriteTimer(interval: TimeInterval) -> Timer {
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
private func startWriteTimer(interval: TimeInterval) -> Timer {
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func appWillResumeActive() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: @objc attribute used without importing module 'Foundation'
@objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: @objc attribute used without importing module 'Foundation'
@objc private func timedAttemptToWriteToCloud() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
internal func addMessageToImpaired(_ msg: Data) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:63:30: error: cannot find 'NotificationCenter' in scope
let notificationCenter = NotificationCenter.default
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:66:13: error: cannot find 'UIApplication' in scope
name: UIApplication.willResignActiveNotification, object: nil)
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:66:65: error: 'nil' requires a contextual type
name: UIApplication.willResignActiveNotification, object: nil)
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:69:13: error: cannot find 'UIApplication' in scope
name: UIApplication.willEnterForegroundNotification, object: nil)
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:69:68: error: 'nil' requires a contextual type
name: UIApplication.willEnterForegroundNotification, object: nil)
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:72:5: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.asyncAfter(deadline: .now() + strandedFilesDelay) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:88:39: error: cannot find 'UIApplication' in scope
let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:91:31: error: cannot find 'UIApplication' in scope
self.backgroundTaskID = UIApplication.shared.beginBackgroundTask(withName: "com.google.firebase.swiftlogfirecloud.willresignactive") {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:93:11: error: cannot find 'UIApplication' in scope
UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:98:11: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.async {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:100:15: error: cannot find 'UIApplication' in scope
UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:17: error: cannot find 'FileManager' in scope
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:48: error: cannot infer contextual base in reference to member 'documentDirectory'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:72: error: cannot infer contextual base in reference to member 'userDomainMask'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:127:11: error: cannot find 'FileManager' in scope
try FileManager.default.createDirectory(
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:128:69: error: 'nil' requires a contextual type
at: pathURL, withIntermediateDirectories: true, attributes: nil)
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:17: error: cannot find 'FileManager' in scope
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:48: error: cannot infer contextual base in reference to member 'documentDirectory'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:72: error: cannot infer contextual base in reference to member 'userDomainMask'
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
~^~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:143:23: error: cannot find 'FileManager' in scope
let files = try FileManager.default.contentsOfDirectory(
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:144:50: error: 'nil' requires a contextual type
at: pathURL, includingPropertiesForKeys: nil
^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
public var fileURL: URL
^~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:235:41: error: cannot find 'FileManager' in scope
let totalDiskSpaceInBytes = try FileManager.default.attributesOfFileSystem(
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:20: error: cannot find 'NSHomeDirectory' in scope
forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
^~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:39: error: cannot find 'FileAttributeKey' in scope
forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
^~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:280:26: error: cannot find 'Data' in scope
impairedMessages = Data()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:306:35: error: cannot find 'Date' in scope
self.lastFileWriteAttempt = Date()
^~~~
[4/5] Compiling SwiftLogFireCloud CloudLogFileManager.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
internal var lastWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
internal var lastWriteSuccess: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
internal var strandedFileTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
private var cloudDirectoryNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
private var cloudFileNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
private let cloudLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
private func createCloundFilePathAndName(date: Date?) -> String {
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: @objc attribute used without importing module 'Foundation'
@objc private func processCloudPushQueue() {
~^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:47:39: error: cannot find 'DateFormatter' in scope
cloudDirectoryNameDateFormatter = DateFormatter()
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:48:48: error: cannot find 'TimeZone' in scope
cloudDirectoryNameDateFormatter.timeZone = TimeZone.current
^~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:51:34: error: cannot find 'DateFormatter' in scope
cloudFileNameDateFormatter = DateFormatter()
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:52:43: error: cannot find 'TimeZone' in scope
cloudFileNameDateFormatter.timeZone = TimeZone.current
^~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:63:20: error: cannot find 'Date' in scope
var fileDate = Date()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:71:27: error: cannot find 'Bundle' in scope
if let bundleString = Bundle.main.bundleIdentifier {
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:75:28: error: cannot find 'Bundle' in scope
if let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:77:25: error: cannot find 'Bundle' in scope
let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
^~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:85:25: error: cannot find 'UIDevice' in scope
if let deviceID = UIDevice.current.identifierForVendor?.uuidString {
^~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:165:35: error: cannot find 'Date' in scope
self.lastWriteSuccess = Date()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:176:31: error: cannot find 'Date' in scope
self.lastWriteAttempt = Date()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:7: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.async {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:193:34: error: cannot find 'Timer' in scope
self.strandedFileTimer = Timer.scheduledTimer(
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:225:26: error: cannot find 'Date' in scope
lastWriteSuccess = Date()
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
^~~~
[5/5] Compiling SwiftLogFireCloud SwiftLogFireCloud.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
@objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
private let localLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
internal var writeTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
internal var firstFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
internal var lastFileWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
internal var lastFileWrite: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
private let strandedFilesDelay: TimeInterval
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
private var impairedMessages: Data?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
internal var lastWriteAttempt: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
internal var lastWriteSuccess: Date?
^~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
internal var strandedFileTimer: Timer?
^~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
private var cloudDirectoryNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
private var cloudFileNameDateFormatter: DateFormatter
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
private let cloudLogQueue = DispatchQueue(
^~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
~^~~~~~~~~~
BUILD FAILURE 5.8 macosSpm