Build Information
Failed to build SwiftLogFireCloud with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/swiftlogfirecloud.git
Reference: 1.0.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/google/swiftlogfirecloud
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at f74e151 Update README.md
Cloned https://github.com/google/swiftlogfirecloud.git
Revision (git rev-parse @):
f74e151e8cf15d478f9aa595f4fb16564dd1deea
SUCCESS checkout https://github.com/google/swiftlogfirecloud.git at 1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/google/swiftlogfirecloud.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/8] Compiling Logging Locks.swift
[5/8] Emitting module Logging
[6/8] Compiling Logging LogHandler.swift
[7/8] Compiling Logging MetadataProvider.swift
[8/8] Compiling Logging Logging.swift
[9/15] Compiling SwiftLogFireCloud SwiftLogManager.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:92:38: error: cannot infer contextual base in reference to member 'invalid'
if self.backgroundTaskID != .invalid {
~^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:98:11: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.async {
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:99:42: error: cannot infer contextual base in reference to member 'invalid'
if self.backgroundTaskID != .invalid {
~^~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:280:26: error: cannot find 'Data' in scope
impairedMessages = Data()
^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:306:35: error: cannot find 'Date' in scope
self.lastFileWriteAttempt = Date()
^~~~
[10/15] Compiling SwiftLogFireCloud CloudLogFileManager.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:47:39: error: cannot find 'DateFormatter' in scope
cloudDirectoryNameDateFormatter = DateFormatter()
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:51:34: error: cannot find 'DateFormatter' in scope
cloudFileNameDateFormatter = DateFormatter()
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:63:20: error: cannot find 'Date' in scope
var fileDate = Date()
^~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:165:35: error: cannot find 'Date' in scope
self.lastWriteSuccess = Date()
^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:176:31: error: cannot find 'Date' in scope
self.lastWriteAttempt = Date()
^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:138:52: error: type 'Double' has no member 'now'
self.cloudLogQueue.asyncAfter(deadline: .now() + self.pendingWriteRetryDelay) {
~^~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:7: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.async {
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:195:21: error: 'nil' requires a contextual type
userInfo: nil, repeats: true)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:225:26: error: cannot find 'Date' in scope
lastWriteSuccess = Date()
^~~~
/Users/builder/builds/TDmZkXJm/2/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?) {
^~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Compiling SwiftLogFireCloud SwiftLogFireCloudConfig.swift
[12/15] Emitting module SwiftLogFireCloud
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
internal func addMessageToImpaired(_ msg: Data) {
^~~~
[13/15] Compiling SwiftLogFireCloud CloudLogFileManagerProtocol.swift
/Users/builder/builds/TDmZkXJm/2/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
[14/15] Compiling SwiftLogFireCloud LocalLogFile.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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
^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:105: error: cannot infer type of closure parameter 'done' without a type annotation
dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:111: error: cannot infer type of closure parameter 'dataRemaining' without a type annotation
dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:126: error: cannot infer type of closure parameter 'errorNo' without a type annotation
dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
^
[15/15] Compiling SwiftLogFireCloud SwiftLogFireCloud.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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)
~^~~~~~~~~~
error: fatalError
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (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.4
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling SwiftLogFireCloud SwiftLogFireCloud.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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)
~^~~~~~~~~~
[3/6] Compiling SwiftLogFireCloud CloudLogFileManager.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:47:39: error: cannot find 'DateFormatter' in scope
cloudDirectoryNameDateFormatter = DateFormatter()
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:51:34: error: cannot find 'DateFormatter' in scope
cloudFileNameDateFormatter = DateFormatter()
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:63:20: error: cannot find 'Date' in scope
var fileDate = Date()
^~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:165:35: error: cannot find 'Date' in scope
self.lastWriteSuccess = Date()
^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:176:31: error: cannot find 'Date' in scope
self.lastWriteAttempt = Date()
^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:138:52: error: type 'Double' has no member 'now'
self.cloudLogQueue.asyncAfter(deadline: .now() + self.pendingWriteRetryDelay) {
~^~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:7: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.async {
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:195:21: error: 'nil' requires a contextual type
userInfo: nil, repeats: true)
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:225:26: error: cannot find 'Date' in scope
lastWriteSuccess = Date()
^~~~
/Users/builder/builds/TDmZkXJm/2/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?) {
^~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module SwiftLogFireCloud
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
internal func addMessageToImpaired(_ msg: Data) {
^~~~
[5/6] Compiling SwiftLogFireCloud SwiftLogManager.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:92:38: error: cannot infer contextual base in reference to member 'invalid'
if self.backgroundTaskID != .invalid {
~^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:98:11: error: cannot find 'DispatchQueue' in scope
DispatchQueue.main.async {
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:99:42: error: cannot infer contextual base in reference to member 'invalid'
if self.backgroundTaskID != .invalid {
~^~~~~~~
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:280:26: error: cannot find 'Data' in scope
impairedMessages = Data()
^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:306:35: error: cannot find 'Date' in scope
self.lastFileWriteAttempt = Date()
^~~~
[6/6] Compiling SwiftLogFireCloud LocalLogFile.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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
^~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:105: error: cannot infer type of closure parameter 'done' without a type annotation
dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:111: error: cannot infer type of closure parameter 'dataRemaining' without a type annotation
dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:126: error: cannot infer type of closure parameter 'errorNo' without a type annotation
dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
^
error: fatalError
BUILD FAILURE 5.10 macosSpm