The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftLogFireCloud, reference 1.0.0 (f74e15), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 13:07:53 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/swiftlogfirecloud.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/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
Fetching https://github.com/apple/swift-log.git
[1/3660] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftlogfirecloud",
      "name": "SwiftLogFireCloud",
      "url": "https://github.com/google/swiftlogfirecloud.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftlogfirecloud",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/google/swiftlogfirecloud.git
[1/1040] Fetching swiftlogfirecloud
Fetched https://github.com/google/swiftlogfirecloud.git from cache (1.88s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (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.6.1
Creating working copy for https://github.com/google/swiftlogfirecloud.git
Working copy of https://github.com/google/swiftlogfirecloud.git resolved at 1.0.0 (f74e151)
warning: '.resolve-product-dependencies': dependency 'swiftlogfirecloud' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/google/swiftlogfirecloud.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Emitting module Logging
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging Logging.swift
[9/15] Compiling SwiftLogFireCloud SwiftLogManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
 25 |   internal var localLogFile: LocalLogFile?
 26 |
 27 |   private let localLogQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 28 |     label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
 29 |   internal var writeTimer: Timer?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
 26 |
 27 |   private let localLogQueue = DispatchQueue(
 28 |     label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
    |                                                                 `- error: cannot infer contextual base in reference to member 'background'
 29 |   internal var writeTimer: Timer?
 30 |   private var cloudLogfileManager: CloudLogFileManagerProtocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
 27 |   private let localLogQueue = DispatchQueue(
 28 |     label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
 29 |   internal var writeTimer: Timer?
    |                            `- error: cannot find type 'Timer' in scope
 30 |   private var cloudLogfileManager: CloudLogFileManagerProtocol
 31 |   internal let label: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
 31 |   internal let label: String
 32 |
 33 |   internal var firstFileWrite: Date?
    |                                `- error: cannot find type 'Date' in scope
 34 |   internal var lastFileWriteAttempt: Date?
 35 |   internal var lastFileWrite: Date?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
 32 |
 33 |   internal var firstFileWrite: Date?
 34 |   internal var lastFileWriteAttempt: Date?
    |                                      `- error: cannot find type 'Date' in scope
 35 |   internal var lastFileWrite: Date?
 36 |   internal var successiveWriteFailures: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
 33 |   internal var firstFileWrite: Date?
 34 |   internal var lastFileWriteAttempt: Date?
 35 |   internal var lastFileWrite: Date?
    |                               `- error: cannot find type 'Date' in scope
 36 |   internal var successiveWriteFailures: Int = 0
 37 |   private let strandedFilesDelay: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
 35 |   internal var lastFileWrite: Date?
 36 |   internal var successiveWriteFailures: Int = 0
 37 |   private let strandedFilesDelay: TimeInterval
    |                                   `- error: cannot find type 'TimeInterval' in scope
 38 |   private var impairedMessages: Data?
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
 36 |   internal var successiveWriteFailures: Int = 0
 37 |   private let strandedFilesDelay: TimeInterval
 38 |   private var impairedMessages: Data?
    |                                 `- error: cannot find type 'Data' in scope
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
 37 |   private let strandedFilesDelay: TimeInterval
 38 |   private var impairedMessages: Data?
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
    |                                  `- error: cannot find 'UIBackgroundTaskIdentifier' in scope
 40 |
 41 |   private func startWriteTimer(interval: TimeInterval) -> Timer {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
 40 |
 41 |   private func startWriteTimer(interval: TimeInterval) -> Timer {
    |                                                           `- error: cannot find type 'Timer' in scope
 42 |     return Timer.scheduledTimer(
 43 |       timeInterval: interval, target: self, selector: #selector(timedAttemptToWriteToCloud),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
 40 |
 41 |   private func startWriteTimer(interval: TimeInterval) -> Timer {
    |                                          `- error: cannot find type 'TimeInterval' in scope
 42 |     return Timer.scheduledTimer(
 43 |       timeInterval: interval, target: self, selector: #selector(timedAttemptToWriteToCloud),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: @objc attribute used without importing module 'Foundation'
 80 |   }
 81 |
 82 |   @objc internal func appWillResumeActive() {
    |    `- error: @objc attribute used without importing module 'Foundation'
 83 |     if !(writeTimer?.isValid ?? false) {
 84 |       writeTimer = startWriteTimer(interval: config.localFileBufferWriteInterval)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
 85 |     }
 86 |   }
 87 |   @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
    |                                                          `- error: cannot find type 'UIApplication' in scope
 88 |     let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
 89 |     switch backgroundEntitlementStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: @objc attribute used without importing module 'Foundation'
 85 |     }
 86 |   }
 87 |   @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
    |    `- error: @objc attribute used without importing module 'Foundation'
 88 |     let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
 89 |     switch backgroundEntitlementStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: @objc attribute used without importing module 'Foundation'
165 |   /// - Parameter completionForTesting: Completion used to report back completion of processing for testing only.  Otherwise its
166 |   ///   a fire and forget prcoess.
167 |   @objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
    |    `- error: @objc attribute used without importing module 'Foundation'
168 |     localLogQueue.async {
169 |       for localFoundFile in self.retrieveLocalLogFileListOnDisk()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: @objc attribute used without importing module 'Foundation'
182 |   }
183 |
184 |   @objc private func timedAttemptToWriteToCloud() {
    |    `- error: @objc attribute used without importing module 'Foundation'
185 |     localLogQueue.async {
186 |       self.queueLocalFileForCloud()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
276 |   /// Adds a log message to the list of messages logged but not successfully written to the log file.
277 |   /// - Parameter msg: message to be logged.
278 |   internal func addMessageToImpaired(_ msg: Data) {
    |                                             `- error: cannot find type 'Data' in scope
279 |     if impairedMessages == nil {
280 |       impairedMessages = Data()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:63:30: error: cannot find 'NotificationCenter' in scope
 61 |     writeTimer = startWriteTimer(interval: config.localFileBufferWriteInterval)
 62 |
 63 |     let notificationCenter = NotificationCenter.default
    |                              `- error: cannot find 'NotificationCenter' in scope
 64 |     notificationCenter.addObserver(
 65 |       self, selector: #selector(appWillResignActive),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:66:13: error: cannot find 'UIApplication' in scope
 64 |     notificationCenter.addObserver(
 65 |       self, selector: #selector(appWillResignActive),
 66 |       name: UIApplication.willResignActiveNotification, object: nil)
    |             `- error: cannot find 'UIApplication' in scope
 67 |     notificationCenter.addObserver(
 68 |       self, selector: #selector(appWillResumeActive),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:66:65: error: 'nil' requires a contextual type
 64 |     notificationCenter.addObserver(
 65 |       self, selector: #selector(appWillResignActive),
 66 |       name: UIApplication.willResignActiveNotification, object: nil)
    |                                                                 `- error: 'nil' requires a contextual type
 67 |     notificationCenter.addObserver(
 68 |       self, selector: #selector(appWillResumeActive),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:69:13: error: cannot find 'UIApplication' in scope
 67 |     notificationCenter.addObserver(
 68 |       self, selector: #selector(appWillResumeActive),
 69 |       name: UIApplication.willEnterForegroundNotification, object: nil)
    |             `- error: cannot find 'UIApplication' in scope
 70 |
 71 |     //wait 15s after startup, then attempt to push any files from previous runs up to cloud
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:69:68: error: 'nil' requires a contextual type
 67 |     notificationCenter.addObserver(
 68 |       self, selector: #selector(appWillResumeActive),
 69 |       name: UIApplication.willEnterForegroundNotification, object: nil)
    |                                                                    `- error: 'nil' requires a contextual type
 70 |
 71 |     //wait 15s after startup, then attempt to push any files from previous runs up to cloud
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:72:5: error: cannot find 'DispatchQueue' in scope
 70 |
 71 |     //wait 15s after startup, then attempt to push any files from previous runs up to cloud
 72 |     DispatchQueue.main.asyncAfter(deadline: .now() + strandedFilesDelay) {
    |     `- error: cannot find 'DispatchQueue' in scope
 73 |       self.processStrandedFilesAtStartup()
 74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:88:39: error: cannot find 'UIApplication' in scope
 86 |   }
 87 |   @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
 88 |     let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
    |                                       `- error: cannot find 'UIApplication' in scope
 89 |     switch backgroundEntitlementStatus {
 90 |     case .available:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:91:31: error: cannot find 'UIApplication' in scope
 89 |     switch backgroundEntitlementStatus {
 90 |     case .available:
 91 |       self.backgroundTaskID = UIApplication.shared.beginBackgroundTask(withName: "com.google.firebase.swiftlogfirecloud.willresignactive") {
    |                               `- error: cannot find 'UIApplication' in scope
 92 |         if self.backgroundTaskID != .invalid {
 93 |           UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:93:11: error: cannot find 'UIApplication' in scope
 91 |       self.backgroundTaskID = UIApplication.shared.beginBackgroundTask(withName: "com.google.firebase.swiftlogfirecloud.willresignactive") {
 92 |         if self.backgroundTaskID != .invalid {
 93 |           UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
    |           `- error: cannot find 'UIApplication' in scope
 94 |         }
 95 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:92:38: error: cannot infer contextual base in reference to member 'invalid'
 90 |     case .available:
 91 |       self.backgroundTaskID = UIApplication.shared.beginBackgroundTask(withName: "com.google.firebase.swiftlogfirecloud.willresignactive") {
 92 |         if self.backgroundTaskID != .invalid {
    |                                      `- error: cannot infer contextual base in reference to member 'invalid'
 93 |           UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
 94 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:98:11: error: cannot find 'DispatchQueue' in scope
 96 |       localLogQueue.async {
 97 |         self.forceFlushLogToCloud() {
 98 |           DispatchQueue.main.async {
    |           `- error: cannot find 'DispatchQueue' in scope
 99 |             if self.backgroundTaskID != .invalid {
100 |               UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:100:15: error: cannot find 'UIApplication' in scope
 98 |           DispatchQueue.main.async {
 99 |             if self.backgroundTaskID != .invalid {
100 |               UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
    |               `- error: cannot find 'UIApplication' in scope
101 |             }
102 |           }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:99:42: error: cannot infer contextual base in reference to member 'invalid'
 97 |         self.forceFlushLogToCloud() {
 98 |           DispatchQueue.main.async {
 99 |             if self.backgroundTaskID != .invalid {
    |                                          `- error: cannot infer contextual base in reference to member 'invalid'
100 |               UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
101 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:17: error: cannot find 'FileManager' in scope
121 |   internal func createLocalLogDirectory() {
122 |     guard config.logDirectoryName.count > 0 else { return }
123 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                 `- error: cannot find 'FileManager' in scope
124 |
125 |     let pathURL = paths[0].appendingPathComponent(config.logDirectoryName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:48: error: cannot infer contextual base in reference to member 'documentDirectory'
121 |   internal func createLocalLogDirectory() {
122 |     guard config.logDirectoryName.count > 0 else { return }
123 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                                                `- error: cannot infer contextual base in reference to member 'documentDirectory'
124 |
125 |     let pathURL = paths[0].appendingPathComponent(config.logDirectoryName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:72: error: cannot infer contextual base in reference to member 'userDomainMask'
121 |   internal func createLocalLogDirectory() {
122 |     guard config.logDirectoryName.count > 0 else { return }
123 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                                                                        `- error: cannot infer contextual base in reference to member 'userDomainMask'
124 |
125 |     let pathURL = paths[0].appendingPathComponent(config.logDirectoryName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:127:11: error: cannot find 'FileManager' in scope
125 |     let pathURL = paths[0].appendingPathComponent(config.logDirectoryName)
126 |     do {
127 |       try FileManager.default.createDirectory(
    |           `- error: cannot find 'FileManager' in scope
128 |         at: pathURL, withIntermediateDirectories: true, attributes: nil)
129 |     } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:128:69: error: 'nil' requires a contextual type
126 |     do {
127 |       try FileManager.default.createDirectory(
128 |         at: pathURL, withIntermediateDirectories: true, attributes: nil)
    |                                                                     `- error: 'nil' requires a contextual type
129 |     } catch {
130 |       config.logDirectoryName = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:17: error: cannot find 'FileManager' in scope
136 |   /// - Returns: Array of `LocalLogFile` objects representing the files on disk.
137 |   internal func retrieveLocalLogFileListOnDisk() -> [LocalLogFile] {
138 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                 `- error: cannot find 'FileManager' in scope
139 |
140 |     let pathURL = paths[0].appendingPathComponent(self.config.logDirectoryName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:48: error: cannot infer contextual base in reference to member 'documentDirectory'
136 |   /// - Returns: Array of `LocalLogFile` objects representing the files on disk.
137 |   internal func retrieveLocalLogFileListOnDisk() -> [LocalLogFile] {
138 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                                                `- error: cannot infer contextual base in reference to member 'documentDirectory'
139 |
140 |     let pathURL = paths[0].appendingPathComponent(self.config.logDirectoryName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:72: error: cannot infer contextual base in reference to member 'userDomainMask'
136 |   /// - Returns: Array of `LocalLogFile` objects representing the files on disk.
137 |   internal func retrieveLocalLogFileListOnDisk() -> [LocalLogFile] {
138 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                                                                        `- error: cannot infer contextual base in reference to member 'userDomainMask'
139 |
140 |     let pathURL = paths[0].appendingPathComponent(self.config.logDirectoryName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:143:23: error: cannot find 'FileManager' in scope
141 |     var localLogFilesOnDisk = [LocalLogFile]()
142 |     do {
143 |       let files = try FileManager.default.contentsOfDirectory(
    |                       `- error: cannot find 'FileManager' in scope
144 |         at: pathURL, includingPropertiesForKeys: nil
145 |       )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:144:50: error: 'nil' requires a contextual type
142 |     do {
143 |       let files = try FileManager.default.contentsOfDirectory(
144 |         at: pathURL, includingPropertiesForKeys: nil
    |                                                  `- error: 'nil' requires a contextual type
145 |       )
146 |       .filter { $0.pathExtension == "log" }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
 73 |   ///   - config: The loggers `SwiftLogFilreCloudConfig` object, for which the local log file uses the log directory and other aspects.
 74 |   ///   - queue: The dispatch queue used for writing to the local disk.
 75 |   init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
    |                                                               `- error: cannot find type 'DispatchQueue' in scope
 76 |     self.config = config
 77 |     self.label = label
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
 31 |
 32 |   /// The URL of the file on the local file system.
 33 |   public var fileURL: URL
    |                       `- error: cannot find type 'URL' in scope
 34 |
 35 |   internal var bytesWritten: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:235:41: error: cannot find 'FileManager' in scope
233 |     do {
234 |       guard
235 |         let totalDiskSpaceInBytes = try FileManager.default.attributesOfFileSystem(
    |                                         `- error: cannot find 'FileManager' in scope
236 |           forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
237 |       else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:20: error: cannot find 'NSHomeDirectory' in scope
234 |       guard
235 |         let totalDiskSpaceInBytes = try FileManager.default.attributesOfFileSystem(
236 |           forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
    |                    `- error: cannot find 'NSHomeDirectory' in scope
237 |       else {
238 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:39: error: cannot find 'FileAttributeKey' in scope
234 |       guard
235 |         let totalDiskSpaceInBytes = try FileManager.default.attributesOfFileSystem(
236 |           forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
    |                                       `- error: cannot find 'FileAttributeKey' in scope
237 |       else {
238 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
175 |   /// Writes the logfile to the disk.
176 |   /// - Parameter completion: closure called upon successful write
177 |   internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
    |                                     `- error: cannot find type 'Data' in scope
178 |
179 |     // DispatchIO.write() appears to require a file to exist before writing to it
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:280:26: error: cannot find 'Data' in scope
278 |   internal func addMessageToImpaired(_ msg: Data) {
279 |     if impairedMessages == nil {
280 |       impairedMessages = Data()
    |                          `- error: cannot find 'Data' in scope
281 |     }
282 |     impairedMessages?.append(msg)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:306:35: error: cannot find 'Date' in scope
304 |       let logability = self.assessLocalLogability()
305 |
306 |       self.lastFileWriteAttempt = Date()
    |                                   `- error: cannot find 'Date' in scope
307 |
308 |       guard let localLogFile = self.localLogFile else { return }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/15] Compiling SwiftLogFireCloud SwiftLogFireCloudConfig.swift
[11/15] Compiling SwiftLogFireCloud CloudLogFileManagerProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManagerProtocol.swift:29:8: warning: associated value 'failedToUpload' of 'Sendable'-conforming enum 'CloudUploadError' has non-sendable type 'LocalLogFile'; this is an error in the Swift 6 language mode
27 | /// Error type that the clieint object conforming to `CloudLogFileManagerClientProtocol` uses to report its upload failure.
28 | public enum CloudUploadError : Error {
29 |   case failedToUpload(LocalLogFile)
   |        `- warning: associated value 'failedToUpload' of 'Sendable'-conforming enum 'CloudUploadError' has non-sendable type 'LocalLogFile'; this is an error in the Swift 6 language mode
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:27:14: note: class 'LocalLogFile' does not conform to the 'Sendable' protocol
 25 |
 26 | /// Class object representing the logging buffer and metadata for writing the buffer to the device local disk.
 27 | public class LocalLogFile {
    |              `- note: class 'LocalLogFile' does not conform to the 'Sendable' protocol
 28 |
 29 |   private let writeResponseQueue: DispatchQueue
/Users/admin/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
31 |
32 | /// Protocol the client object must conform to which has the Firebase Storage references and requests the upload and reports back status.
33 | public protocol CloudFileUploaderProtocol: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |
35 |   func uploadFile(from localFile: LocalLogFile, to cloudPath: String, completion: @escaping (Result<LocalLogFile, CloudUploadError>)->Void)
[12/15] Emitting module SwiftLogFireCloud
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
 26 |
 27 |   internal var logability: Logability = .normal
 28 |   internal var lastWriteAttempt: Date?
    |                                  `- error: cannot find type 'Date' in scope
 29 |   internal var lastWriteSuccess: Date?
 30 |   internal var successiveFails: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
 27 |   internal var logability: Logability = .normal
 28 |   internal var lastWriteAttempt: Date?
 29 |   internal var lastWriteSuccess: Date?
    |                                  `- error: cannot find type 'Date' in scope
 30 |   internal var successiveFails: Int = 0
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
 30 |   internal var successiveFails: Int = 0
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
 32 |   internal var strandedFileTimer: Timer?
    |                                   `- error: cannot find type 'Timer' in scope
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
 34 |   private var cloudFileNameDateFormatter: DateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
 32 |   internal var strandedFileTimer: Timer?
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
    |                                                `- error: cannot find type 'DateFormatter' in scope
 34 |   private var cloudFileNameDateFormatter: DateFormatter
 35 |   private let config: SwiftLogFireCloudConfig
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
 32 |   internal var strandedFileTimer: Timer?
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
 34 |   private var cloudFileNameDateFormatter: DateFormatter
    |                                           `- error: cannot find type 'DateFormatter' in scope
 35 |   private let config: SwiftLogFireCloudConfig
 36 |   private let label: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
 38 |   private let pendingWriteMaxRetries: Int
 39 |
 40 |   private let cloudLogQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 41 |     label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
 39 |
 40 |   private let cloudLogQueue = DispatchQueue(
 41 |     label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
    |                                                                 `- error: cannot infer contextual base in reference to member 'background'
 42 |
 43 |   init(label: String, config: SwiftLogFireCloudConfig) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
 57 |   }
 58 |
 59 |   private func createCloundFilePathAndName(date: Date?) -> String {
    |                                                  `- error: cannot find type 'Date' in scope
 60 |     var cloudFilePath = "\(self.config.logDirectoryName)"
 61 |     if cloudFilePath.count != 0 { cloudFilePath += "/" }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: @objc attribute used without importing module 'Foundation'
198 |   }
199 |
200 |   @objc private func processCloudPushQueue() {
    |    `- error: @objc attribute used without importing module 'Foundation'
201 |     cloudLogQueue.async {
202 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManagerProtocol.swift:29:8: warning: associated value 'failedToUpload' of 'Sendable'-conforming enum 'CloudUploadError' has non-sendable type 'LocalLogFile'; this is an error in the Swift 6 language mode
27 | /// Error type that the clieint object conforming to `CloudLogFileManagerClientProtocol` uses to report its upload failure.
28 | public enum CloudUploadError : Error {
29 |   case failedToUpload(LocalLogFile)
   |        `- warning: associated value 'failedToUpload' of 'Sendable'-conforming enum 'CloudUploadError' has non-sendable type 'LocalLogFile'; this is an error in the Swift 6 language mode
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:27:14: note: class 'LocalLogFile' does not conform to the 'Sendable' protocol
 25 |
 26 | /// Class object representing the logging buffer and metadata for writing the buffer to the device local disk.
 27 | public class LocalLogFile {
    |              `- note: class 'LocalLogFile' does not conform to the 'Sendable' protocol
 28 |
 29 |   private let writeResponseQueue: DispatchQueue
/Users/admin/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
31 |
32 | /// Protocol the client object must conform to which has the Firebase Storage references and requests the upload and reports back status.
33 | public protocol CloudFileUploaderProtocol: class {
   |                                            `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |
35 |   func uploadFile(from localFile: LocalLogFile, to cloudPath: String, completion: @escaping (Result<LocalLogFile, CloudUploadError>)->Void)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
 42 |   private let bufferSizeToGiveUp: Int
 43 |   private let label: String
 44 |   private lazy var fileHandle: FileHandle? = {
    |                                `- error: cannot find type 'FileHandle' in scope
 45 |     try? FileHandle(forWritingTo: fileURL)
 46 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
 45 |     try? FileHandle(forWritingTo: fileURL)
 46 |   }()
 47 |   private lazy var dispatchIO: DispatchIO? = {
    |                                `- error: cannot find type 'DispatchIO' in scope
 48 |     guard let fileDescriptor = fileHandle?.fileDescriptor else { return nil }
 49 |     return DispatchIO(type: .stream, fileDescriptor: fileDescriptor, queue: writeWorkQueue, cleanupHandler: { errorNo in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
 27 | public class LocalLogFile {
 28 |
 29 |   private let writeResponseQueue: DispatchQueue
    |                                   `- error: cannot find type 'DispatchQueue' in scope
 30 |   private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
 28 |
 29 |   private let writeResponseQueue: DispatchQueue
 30 |   private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
    |                               `- error: cannot find type 'DispatchQueue' in scope
 31 |
 32 |   /// The URL of the file on the local file system.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
 31 |
 32 |   /// The URL of the file on the local file system.
 33 |   public var fileURL: URL
    |                       `- error: cannot find type 'URL' in scope
 34 |
 35 |   internal var bytesWritten: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
 34 |
 35 |   internal var bytesWritten: Int = 0
 36 |   internal var firstFileWrite: Date?
    |                                `- error: cannot find type 'Date' in scope
 37 |   internal var pendingWriteCount = 0
 38 |   internal var pendingWriteWaitCount = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
 55 |   }()
 56 |
 57 |   private static let dateFormatter: DateFormatter = {
    |                                     `- error: cannot find type 'DateFormatter' in scope
 58 |     let dateFormatter = DateFormatter()
 59 |     dateFormatter.timeZone = TimeZone.current
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
 73 |   ///   - config: The loggers `SwiftLogFilreCloudConfig` object, for which the local log file uses the log directory and other aspects.
 74 |   ///   - queue: The dispatch queue used for writing to the local disk.
 75 |   init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
    |                                                               `- error: cannot find type 'DispatchQueue' in scope
 76 |     self.config = config
 77 |     self.label = label
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
130 |   ///   - label: the SwiiftLog label specified by the client
131 |   /// - Returns: `URL` representation of the log file name.
132 |   private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
    |                                                                                                                  `- error: cannot find type 'URL' in scope
133 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
134 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
164 |   /// Retrieves attributs of the log file as it sits on the file system.
165 |   /// - Returns: tuple  of `fileSize` and `creationDate` of the file.
166 |   internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
    |                                                                                  `- error: cannot find type 'Date' in scope
167 |     do {
168 |       let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
175 |   /// Writes the logfile to the disk.
176 |   /// - Parameter completion: closure called upon successful write
177 |   internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
    |                                     `- error: cannot find type 'Data' in scope
178 |
179 |     // DispatchIO.write() appears to require a file to exist before writing to it
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:81:16: warning: non-final class 'SwiftLogFireCloud' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 79 |
 80 | /// SwiftLog handler coordinating the management of the local and cloud logs.
 81 | internal class SwiftLogFireCloud: LogHandler {
    |                `- warning: non-final class 'SwiftLogFireCloud' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 82 |
 83 |   private var label: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:83:15: warning: stored property 'label' of 'Sendable'-conforming class 'SwiftLogFireCloud' is mutable; this is an error in the Swift 6 language mode
 81 | internal class SwiftLogFireCloud: LogHandler {
 82 |
 83 |   private var label: String
    |               `- warning: stored property 'label' of 'Sendable'-conforming class 'SwiftLogFireCloud' is mutable; this is an error in the Swift 6 language mode
 84 |   internal var config: SwiftLogFireCloudConfig
 85 |   internal var localFileLogManager: SwiftLogManager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:81:16: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 79 |
 80 | /// SwiftLog handler coordinating the management of the local and cloud logs.
 81 | internal class SwiftLogFireCloud: LogHandler {
    |                `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 82 |
 83 |   private var label: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 |     ///     - function: The function the log line was emitted from.
134 |     ///     - line: The line the log message was emitted from.
135 |     func log(level: Logger.Level,
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |              message: Logger.Message,
137 |              metadata: Logger.Metadata?,
    :
189 | extension LogHandler {
190 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 |     public func log(level: Logger.Level,
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 |                     message: Logger.Message,
193 |                     metadata: Logger.Metadata?,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
 25 |   internal var localLogFile: LocalLogFile?
 26 |
 27 |   private let localLogQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 28 |     label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
 29 |   internal var writeTimer: Timer?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
 26 |
 27 |   private let localLogQueue = DispatchQueue(
 28 |     label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
    |                                                                 `- error: cannot infer contextual base in reference to member 'background'
 29 |   internal var writeTimer: Timer?
 30 |   private var cloudLogfileManager: CloudLogFileManagerProtocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
 27 |   private let localLogQueue = DispatchQueue(
 28 |     label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
 29 |   internal var writeTimer: Timer?
    |                            `- error: cannot find type 'Timer' in scope
 30 |   private var cloudLogfileManager: CloudLogFileManagerProtocol
 31 |   internal let label: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
 31 |   internal let label: String
 32 |
 33 |   internal var firstFileWrite: Date?
    |                                `- error: cannot find type 'Date' in scope
 34 |   internal var lastFileWriteAttempt: Date?
 35 |   internal var lastFileWrite: Date?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
 32 |
 33 |   internal var firstFileWrite: Date?
 34 |   internal var lastFileWriteAttempt: Date?
    |                                      `- error: cannot find type 'Date' in scope
 35 |   internal var lastFileWrite: Date?
 36 |   internal var successiveWriteFailures: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
 33 |   internal var firstFileWrite: Date?
 34 |   internal var lastFileWriteAttempt: Date?
 35 |   internal var lastFileWrite: Date?
    |                               `- error: cannot find type 'Date' in scope
 36 |   internal var successiveWriteFailures: Int = 0
 37 |   private let strandedFilesDelay: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
 35 |   internal var lastFileWrite: Date?
 36 |   internal var successiveWriteFailures: Int = 0
 37 |   private let strandedFilesDelay: TimeInterval
    |                                   `- error: cannot find type 'TimeInterval' in scope
 38 |   private var impairedMessages: Data?
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
 36 |   internal var successiveWriteFailures: Int = 0
 37 |   private let strandedFilesDelay: TimeInterval
 38 |   private var impairedMessages: Data?
    |                                 `- error: cannot find type 'Data' in scope
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
 37 |   private let strandedFilesDelay: TimeInterval
 38 |   private var impairedMessages: Data?
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
    |                                  `- error: cannot find 'UIBackgroundTaskIdentifier' in scope
 40 |
 41 |   private func startWriteTimer(interval: TimeInterval) -> Timer {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
 40 |
 41 |   private func startWriteTimer(interval: TimeInterval) -> Timer {
    |                                                           `- error: cannot find type 'Timer' in scope
 42 |     return Timer.scheduledTimer(
 43 |       timeInterval: interval, target: self, selector: #selector(timedAttemptToWriteToCloud),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
 40 |
 41 |   private func startWriteTimer(interval: TimeInterval) -> Timer {
    |                                          `- error: cannot find type 'TimeInterval' in scope
 42 |     return Timer.scheduledTimer(
 43 |       timeInterval: interval, target: self, selector: #selector(timedAttemptToWriteToCloud),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: @objc attribute used without importing module 'Foundation'
 80 |   }
 81 |
 82 |   @objc internal func appWillResumeActive() {
    |    `- error: @objc attribute used without importing module 'Foundation'
 83 |     if !(writeTimer?.isValid ?? false) {
 84 |       writeTimer = startWriteTimer(interval: config.localFileBufferWriteInterval)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
 85 |     }
 86 |   }
 87 |   @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
    |                                                          `- error: cannot find type 'UIApplication' in scope
 88 |     let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
 89 |     switch backgroundEntitlementStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: @objc attribute used without importing module 'Foundation'
 85 |     }
 86 |   }
 87 |   @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
    |    `- error: @objc attribute used without importing module 'Foundation'
 88 |     let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
 89 |     switch backgroundEntitlementStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: @objc attribute used without importing module 'Foundation'
165 |   /// - Parameter completionForTesting: Completion used to report back completion of processing for testing only.  Otherwise its
166 |   ///   a fire and forget prcoess.
167 |   @objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
    |    `- error: @objc attribute used without importing module 'Foundation'
168 |     localLogQueue.async {
169 |       for localFoundFile in self.retrieveLocalLogFileListOnDisk()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: @objc attribute used without importing module 'Foundation'
182 |   }
183 |
184 |   @objc private func timedAttemptToWriteToCloud() {
    |    `- error: @objc attribute used without importing module 'Foundation'
185 |     localLogQueue.async {
186 |       self.queueLocalFileForCloud()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
276 |   /// Adds a log message to the list of messages logged but not successfully written to the log file.
277 |   /// - Parameter msg: message to be logged.
278 |   internal func addMessageToImpaired(_ msg: Data) {
    |                                             `- error: cannot find type 'Data' in scope
279 |     if impairedMessages == nil {
280 |       impairedMessages = Data()
[13/15] Compiling SwiftLogFireCloud SwiftLogFireCloud.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:81:16: warning: non-final class 'SwiftLogFireCloud' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 79 |
 80 | /// SwiftLog handler coordinating the management of the local and cloud logs.
 81 | internal class SwiftLogFireCloud: LogHandler {
    |                `- warning: non-final class 'SwiftLogFireCloud' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 82 |
 83 |   private var label: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:83:15: warning: stored property 'label' of 'Sendable'-conforming class 'SwiftLogFireCloud' is mutable; this is an error in the Swift 6 language mode
 81 | internal class SwiftLogFireCloud: LogHandler {
 82 |
 83 |   private var label: String
    |               `- warning: stored property 'label' of 'Sendable'-conforming class 'SwiftLogFireCloud' is mutable; this is an error in the Swift 6 language mode
 84 |   internal var config: SwiftLogFireCloudConfig
 85 |   internal var localFileLogManager: SwiftLogManager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:81:16: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 79 |
 80 | /// SwiftLog handler coordinating the management of the local and cloud logs.
 81 | internal class SwiftLogFireCloud: LogHandler {
    |                `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 82 |
 83 |   private var label: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 |     ///     - function: The function the log line was emitted from.
134 |     ///     - line: The line the log message was emitted from.
135 |     func log(level: Logger.Level,
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |              message: Logger.Message,
137 |              metadata: Logger.Metadata?,
    :
189 | extension LogHandler {
190 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 |     public func log(level: Logger.Level,
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 |                     message: Logger.Message,
193 |                     metadata: Logger.Metadata?,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
 25 |   internal var localLogFile: LocalLogFile?
 26 |
 27 |   private let localLogQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 28 |     label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
 29 |   internal var writeTimer: Timer?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
 26 |
 27 |   private let localLogQueue = DispatchQueue(
 28 |     label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
    |                                                                 `- error: cannot infer contextual base in reference to member 'background'
 29 |   internal var writeTimer: Timer?
 30 |   private var cloudLogfileManager: CloudLogFileManagerProtocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
 27 |   private let localLogQueue = DispatchQueue(
 28 |     label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
 29 |   internal var writeTimer: Timer?
    |                            `- error: cannot find type 'Timer' in scope
 30 |   private var cloudLogfileManager: CloudLogFileManagerProtocol
 31 |   internal let label: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
 31 |   internal let label: String
 32 |
 33 |   internal var firstFileWrite: Date?
    |                                `- error: cannot find type 'Date' in scope
 34 |   internal var lastFileWriteAttempt: Date?
 35 |   internal var lastFileWrite: Date?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
 32 |
 33 |   internal var firstFileWrite: Date?
 34 |   internal var lastFileWriteAttempt: Date?
    |                                      `- error: cannot find type 'Date' in scope
 35 |   internal var lastFileWrite: Date?
 36 |   internal var successiveWriteFailures: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
 33 |   internal var firstFileWrite: Date?
 34 |   internal var lastFileWriteAttempt: Date?
 35 |   internal var lastFileWrite: Date?
    |                               `- error: cannot find type 'Date' in scope
 36 |   internal var successiveWriteFailures: Int = 0
 37 |   private let strandedFilesDelay: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
 35 |   internal var lastFileWrite: Date?
 36 |   internal var successiveWriteFailures: Int = 0
 37 |   private let strandedFilesDelay: TimeInterval
    |                                   `- error: cannot find type 'TimeInterval' in scope
 38 |   private var impairedMessages: Data?
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
 36 |   internal var successiveWriteFailures: Int = 0
 37 |   private let strandedFilesDelay: TimeInterval
 38 |   private var impairedMessages: Data?
    |                                 `- error: cannot find type 'Data' in scope
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
 37 |   private let strandedFilesDelay: TimeInterval
 38 |   private var impairedMessages: Data?
 39 |   private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
    |                                  `- error: cannot find 'UIBackgroundTaskIdentifier' in scope
 40 |
 41 |   private func startWriteTimer(interval: TimeInterval) -> Timer {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
 85 |     }
 86 |   }
 87 |   @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
    |                                                          `- error: cannot find type 'UIApplication' in scope
 88 |     let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
 89 |     switch backgroundEntitlementStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
 26 |
 27 |   internal var logability: Logability = .normal
 28 |   internal var lastWriteAttempt: Date?
    |                                  `- error: cannot find type 'Date' in scope
 29 |   internal var lastWriteSuccess: Date?
 30 |   internal var successiveFails: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
 27 |   internal var logability: Logability = .normal
 28 |   internal var lastWriteAttempt: Date?
 29 |   internal var lastWriteSuccess: Date?
    |                                  `- error: cannot find type 'Date' in scope
 30 |   internal var successiveFails: Int = 0
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
 30 |   internal var successiveFails: Int = 0
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
 32 |   internal var strandedFileTimer: Timer?
    |                                   `- error: cannot find type 'Timer' in scope
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
 34 |   private var cloudFileNameDateFormatter: DateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
 32 |   internal var strandedFileTimer: Timer?
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
    |                                                `- error: cannot find type 'DateFormatter' in scope
 34 |   private var cloudFileNameDateFormatter: DateFormatter
 35 |   private let config: SwiftLogFireCloudConfig
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
 32 |   internal var strandedFileTimer: Timer?
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
 34 |   private var cloudFileNameDateFormatter: DateFormatter
    |                                           `- error: cannot find type 'DateFormatter' in scope
 35 |   private let config: SwiftLogFireCloudConfig
 36 |   private let label: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
 38 |   private let pendingWriteMaxRetries: Int
 39 |
 40 |   private let cloudLogQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 41 |     label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
 39 |
 40 |   private let cloudLogQueue = DispatchQueue(
 41 |     label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
    |                                                                 `- error: cannot infer contextual base in reference to member 'background'
 42 |
 43 |   init(label: String, config: SwiftLogFireCloudConfig) {
[14/15] Compiling SwiftLogFireCloud CloudLogFileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
 26 |
 27 |   internal var logability: Logability = .normal
 28 |   internal var lastWriteAttempt: Date?
    |                                  `- error: cannot find type 'Date' in scope
 29 |   internal var lastWriteSuccess: Date?
 30 |   internal var successiveFails: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
 27 |   internal var logability: Logability = .normal
 28 |   internal var lastWriteAttempt: Date?
 29 |   internal var lastWriteSuccess: Date?
    |                                  `- error: cannot find type 'Date' in scope
 30 |   internal var successiveFails: Int = 0
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
 30 |   internal var successiveFails: Int = 0
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
 32 |   internal var strandedFileTimer: Timer?
    |                                   `- error: cannot find type 'Timer' in scope
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
 34 |   private var cloudFileNameDateFormatter: DateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
 32 |   internal var strandedFileTimer: Timer?
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
    |                                                `- error: cannot find type 'DateFormatter' in scope
 34 |   private var cloudFileNameDateFormatter: DateFormatter
 35 |   private let config: SwiftLogFireCloudConfig
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
 32 |   internal var strandedFileTimer: Timer?
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
 34 |   private var cloudFileNameDateFormatter: DateFormatter
    |                                           `- error: cannot find type 'DateFormatter' in scope
 35 |   private let config: SwiftLogFireCloudConfig
 36 |   private let label: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
 38 |   private let pendingWriteMaxRetries: Int
 39 |
 40 |   private let cloudLogQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 41 |     label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
 39 |
 40 |   private let cloudLogQueue = DispatchQueue(
 41 |     label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
    |                                                                 `- error: cannot infer contextual base in reference to member 'background'
 42 |
 43 |   init(label: String, config: SwiftLogFireCloudConfig) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
 57 |   }
 58 |
 59 |   private func createCloundFilePathAndName(date: Date?) -> String {
    |                                                  `- error: cannot find type 'Date' in scope
 60 |     var cloudFilePath = "\(self.config.logDirectoryName)"
 61 |     if cloudFilePath.count != 0 { cloudFilePath += "/" }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: @objc attribute used without importing module 'Foundation'
198 |   }
199 |
200 |   @objc private func processCloudPushQueue() {
    |    `- error: @objc attribute used without importing module 'Foundation'
201 |     cloudLogQueue.async {
202 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:47:39: error: cannot find 'DateFormatter' in scope
 45 |     self.config = config
 46 |
 47 |     cloudDirectoryNameDateFormatter = DateFormatter()
    |                                       `- error: cannot find 'DateFormatter' in scope
 48 |     cloudDirectoryNameDateFormatter.timeZone = TimeZone.current
 49 |     cloudDirectoryNameDateFormatter.dateFormat = "yyyy-MM-dd"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:48:48: error: cannot find 'TimeZone' in scope
 46 |
 47 |     cloudDirectoryNameDateFormatter = DateFormatter()
 48 |     cloudDirectoryNameDateFormatter.timeZone = TimeZone.current
    |                                                `- error: cannot find 'TimeZone' in scope
 49 |     cloudDirectoryNameDateFormatter.dateFormat = "yyyy-MM-dd"
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:51:34: error: cannot find 'DateFormatter' in scope
 49 |     cloudDirectoryNameDateFormatter.dateFormat = "yyyy-MM-dd"
 50 |
 51 |     cloudFileNameDateFormatter = DateFormatter()
    |                                  `- error: cannot find 'DateFormatter' in scope
 52 |     cloudFileNameDateFormatter.timeZone = TimeZone.current
 53 |     cloudFileNameDateFormatter.dateFormat = "yyyy-MM-dd'T'HH-mm-ss.SSSZ'"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:52:43: error: cannot find 'TimeZone' in scope
 50 |
 51 |     cloudFileNameDateFormatter = DateFormatter()
 52 |     cloudFileNameDateFormatter.timeZone = TimeZone.current
    |                                           `- error: cannot find 'TimeZone' in scope
 53 |     cloudFileNameDateFormatter.dateFormat = "yyyy-MM-dd'T'HH-mm-ss.SSSZ'"
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:63:20: error: cannot find 'Date' in scope
 61 |     if cloudFilePath.count != 0 { cloudFilePath += "/" }
 62 |
 63 |     var fileDate = Date()
    |                    `- error: cannot find 'Date' in scope
 64 |     if let date = date {
 65 |       fileDate = date
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:71:27: error: cannot find 'Bundle' in scope
 69 |     cloudFilePath += "\(directoryDateString)/"
 70 |
 71 |     if let bundleString = Bundle.main.bundleIdentifier {
    |                           `- error: cannot find 'Bundle' in scope
 72 |       cloudFilePath += "\(bundleString)/"
 73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:75:28: error: cannot find 'Bundle' in scope
 73 |     }
 74 |
 75 |     if let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")
    |                            `- error: cannot find 'Bundle' in scope
 76 |       as? String,
 77 |       let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:77:25: error: cannot find 'Bundle' in scope
 75 |     if let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")
 76 |       as? String,
 77 |       let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
    |                         `- error: cannot find 'Bundle' in scope
 78 |     {
 79 |       cloudFilePath += "v\(versionNumber)b\(buildNumber)/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:85:25: error: cannot find 'UIDevice' in scope
 83 |       cloudFilePath += "\(deviceIDForFilename)/"
 84 |     } else {
 85 |       if let deviceID = UIDevice.current.identifierForVendor?.uuidString {
    |                         `- error: cannot find 'UIDevice' in scope
 86 |         cloudFilePath += "\(deviceID)/"
 87 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:165:35: error: cannot find 'Date' in scope
163 |         case .success(let logFile):
164 |           self.successiveFails = 0
165 |           self.lastWriteSuccess = Date()
    |                                   `- error: cannot find 'Date' in scope
166 |           logFile.delete()
167 |         case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:176:31: error: cannot find 'Date' in scope
174 |         completion?()
175 |       }
176 |       self.lastWriteAttempt = Date()
    |                               `- error: cannot find 'Date' in scope
177 |     }
178 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:138:52: error: type 'Double' has no member 'now'
136 |         case true:
137 |           localLogFile.pendingWriteWaitCount += 1
138 |           self.cloudLogQueue.asyncAfter(deadline: .now() + self.pendingWriteRetryDelay) {
    |                                                    `- error: type 'Double' has no member 'now'
139 |             self.writeLogFileToCloud(localLogFile: localLogFile, completion: completion)
140 |           }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:7: error: cannot find 'DispatchQueue' in scope
190 |     }
191 |     if strandedFilesToPush?.count == 1 {
192 |       DispatchQueue.main.async {
    |       `- error: cannot find 'DispatchQueue' in scope
193 |         self.strandedFileTimer = Timer.scheduledTimer(
194 |           timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:193:34: error: cannot find 'Timer' in scope
191 |     if strandedFilesToPush?.count == 1 {
192 |       DispatchQueue.main.async {
193 |         self.strandedFileTimer = Timer.scheduledTimer(
    |                                  `- error: cannot find 'Timer' in scope
194 |           timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
195 |           userInfo: nil, repeats: true)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:195:21: error: 'nil' requires a contextual type
193 |         self.strandedFileTimer = Timer.scheduledTimer(
194 |           timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
195 |           userInfo: nil, repeats: true)
    |                     `- error: 'nil' requires a contextual type
196 |       }
197 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:225:26: error: cannot find 'Date' in scope
223 |     case .success(let logFile):
224 |       successiveFails = 0
225 |       lastWriteSuccess = Date()
    |                          `- error: cannot find 'Date' in scope
226 |       logFile.delete()
227 |     case .failure(let error):
[15/15] Compiling SwiftLogFireCloud LocalLogFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
 42 |   private let bufferSizeToGiveUp: Int
 43 |   private let label: String
 44 |   private lazy var fileHandle: FileHandle? = {
    |                                `- error: cannot find type 'FileHandle' in scope
 45 |     try? FileHandle(forWritingTo: fileURL)
 46 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
 45 |     try? FileHandle(forWritingTo: fileURL)
 46 |   }()
 47 |   private lazy var dispatchIO: DispatchIO? = {
    |                                `- error: cannot find type 'DispatchIO' in scope
 48 |     guard let fileDescriptor = fileHandle?.fileDescriptor else { return nil }
 49 |     return DispatchIO(type: .stream, fileDescriptor: fileDescriptor, queue: writeWorkQueue, cleanupHandler: { errorNo in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
 27 | public class LocalLogFile {
 28 |
 29 |   private let writeResponseQueue: DispatchQueue
    |                                   `- error: cannot find type 'DispatchQueue' in scope
 30 |   private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
 28 |
 29 |   private let writeResponseQueue: DispatchQueue
 30 |   private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
    |                               `- error: cannot find type 'DispatchQueue' in scope
 31 |
 32 |   /// The URL of the file on the local file system.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
 31 |
 32 |   /// The URL of the file on the local file system.
 33 |   public var fileURL: URL
    |                       `- error: cannot find type 'URL' in scope
 34 |
 35 |   internal var bytesWritten: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
 34 |
 35 |   internal var bytesWritten: Int = 0
 36 |   internal var firstFileWrite: Date?
    |                                `- error: cannot find type 'Date' in scope
 37 |   internal var pendingWriteCount = 0
 38 |   internal var pendingWriteWaitCount = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
 55 |   }()
 56 |
 57 |   private static let dateFormatter: DateFormatter = {
    |                                     `- error: cannot find type 'DateFormatter' in scope
 58 |     let dateFormatter = DateFormatter()
 59 |     dateFormatter.timeZone = TimeZone.current
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
 73 |   ///   - config: The loggers `SwiftLogFilreCloudConfig` object, for which the local log file uses the log directory and other aspects.
 74 |   ///   - queue: The dispatch queue used for writing to the local disk.
 75 |   init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
    |                                                               `- error: cannot find type 'DispatchQueue' in scope
 76 |     self.config = config
 77 |     self.label = label
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
130 |   ///   - label: the SwiiftLog label specified by the client
131 |   /// - Returns: `URL` representation of the log file name.
132 |   private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
    |                                                                                                                  `- error: cannot find type 'URL' in scope
133 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
134 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
164 |   /// Retrieves attributs of the log file as it sits on the file system.
165 |   /// - Returns: tuple  of `fileSize` and `creationDate` of the file.
166 |   internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
    |                                                                                  `- error: cannot find type 'Date' in scope
167 |     do {
168 |       let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
175 |   /// Writes the logfile to the disk.
176 |   /// - Parameter completion: closure called upon successful write
177 |   internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
    |                                     `- error: cannot find type 'Data' in scope
178 |
179 |     // DispatchIO.write() appears to require a file to exist before writing to it
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:94:29: error: cannot find 'UIDevice' in scope
 92 |     var deviceIdForFileName = deviceId
 93 |     if deviceId == nil || deviceId?.count == 0 {
 94 |       deviceIdForFileName = UIDevice.current.identifierForVendor?.uuidString
    |                             `- error: cannot find 'UIDevice' in scope
 95 |     }
 96 |     let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:96:66: error: cannot find 'Date' in scope
 94 |       deviceIdForFileName = UIDevice.current.identifierForVendor?.uuidString
 95 |     }
 96 |     let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
    |                                                                  `- error: cannot find 'Date' in scope
 97 |     let bundleString = Bundle.main.bundleIdentifier
 98 |     let versionNumber =
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:97:24: error: cannot find 'Bundle' in scope
 95 |     }
 96 |     let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
 97 |     let bundleString = Bundle.main.bundleIdentifier
    |                        `- error: cannot find 'Bundle' in scope
 98 |     let versionNumber =
 99 |       Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:99:7: error: cannot find 'Bundle' in scope
 97 |     let bundleString = Bundle.main.bundleIdentifier
 98 |     let versionNumber =
 99 |       Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
    |       `- error: cannot find 'Bundle' in scope
100 |     let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:100:23: error: cannot find 'Bundle' in scope
 98 |     let versionNumber =
 99 |       Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
100 |     let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
    |                       `- error: cannot find 'Bundle' in scope
101 |
102 |     var fileString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:17: error: cannot find 'FileManager' in scope
131 |   /// - Returns: `URL` representation of the log file name.
132 |   private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
133 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                 `- error: cannot find 'FileManager' in scope
134 |
135 |     if localLogDirectoryName.count != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:48: error: cannot infer contextual base in reference to member 'documentDirectory'
131 |   /// - Returns: `URL` representation of the log file name.
132 |   private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
133 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                                                `- error: cannot infer contextual base in reference to member 'documentDirectory'
134 |
135 |     if localLogDirectoryName.count != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:72: error: cannot infer contextual base in reference to member 'userDomainMask'
131 |   /// - Returns: `URL` representation of the log file name.
132 |   private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
133 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                                                                        `- error: cannot infer contextual base in reference to member 'userDomainMask'
134 |
135 |     if localLogDirectoryName.count != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:147:11: error: cannot find 'FileManager' in scope
145 |     // Close the DispatchIO if it hasn't been closed?
146 |     do {
147 |       try FileManager.default.removeItem(at: fileURL)
    |           `- error: cannot find 'FileManager' in scope
148 |     } catch {
149 |       //do nothing if it fails, it will get retried on next restart.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:22: error: cannot find 'FileManager' in scope
166 |   internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
167 |     do {
168 |       let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
    |                      `- error: cannot find 'FileManager' in scope
169 |       return (attr.fileSize(), attr.fileCreationDate())
170 |     } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:84: error: cannot find type 'NSDictionary' in scope
166 |   internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
167 |     do {
168 |       let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
    |                                                                                    `- error: cannot find type 'NSDictionary' in scope
169 |       return (attr.fileSize(), attr.fileCreationDate())
170 |     } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:190:7: error: cannot find 'DispatchData' in scope
188 |     //TODO: is the closure called immediately and sync
189 |     let dispatchData = msg.withUnsafeBytes {
190 |       DispatchData(bytes: UnsafeRawBufferPointer(start: $0, count: msg.count))
    |       `- error: cannot find 'DispatchData' in scope
191 |     }
192 |     pendingWriteCount += 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:206:58: error: cannot find 'Date' in scope
204 |       }
205 |
206 |       self.firstFileWrite = self.firstFileWrite == nil ? Date() : self.firstFileWrite
    |                                                          `- error: cannot find 'Date' in scope
207 |       self.bytesWritten += (msg.count - (dataRemaining?.count ?? 0))
208 |       completion?(.success(self.bytesWritten))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:105: error: cannot infer type of closure parameter 'done' without a type annotation
191 |     }
192 |     pendingWriteCount += 1
193 |     dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
    |                                                                                                         `- error: cannot infer type of closure parameter 'done' without a type annotation
194 |
195 |       guard let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:111: error: cannot infer type of closure parameter 'dataRemaining' without a type annotation
191 |     }
192 |     pendingWriteCount += 1
193 |     dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
    |                                                                                                               `- error: cannot infer type of closure parameter 'dataRemaining' without a type annotation
194 |
195 |       guard let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:126: error: cannot infer type of closure parameter 'errorNo' without a type annotation
191 |     }
192 |     pendingWriteCount += 1
193 |     dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
    |                                                                                                                              `- error: cannot infer type of closure parameter 'errorNo' without a type annotation
194 |
195 |       guard let self = self else { return }
BUILD FAILURE 6.0 macosSpm