This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/swiftlogfirecloud.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/google/swiftlogfirecloud
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0b1d90e Revert "Initial support for macOS."
Cloned https://github.com/google/swiftlogfirecloud.git
Revision (git rev-parse @):
0b1d90eefa81866038f6321f2c50b29b926aa2a3
SUCCESS checkout https://github.com/google/swiftlogfirecloud.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/google/swiftlogfirecloud.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/apple/swift-log.git
[1/3353] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.52s)
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.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
[10/16] Compiling SwiftLogFireCloud LocalLogFile.swift
/host/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 |   }()
/host/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
/host/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 |
/host/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.
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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
/host/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
/host/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())
/host/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 =
/host/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
/host/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 |
/host/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 = ""
/host/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 {
/host/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 {
/host/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 {
/host/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.
/host/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 {
/host/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 {
/host/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
/host/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))
/host/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 }
/host/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 }
/host/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 }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/16] Emitting module SwiftLogFireCloud
/host/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
/host/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]?
/host/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
/host/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
/host/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
/host/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 |
/host/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) {
/host/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 += "/" }
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: Objective-C interoperability is disabled
198 |   }
199 |
200 |   @objc private func processCloudPushQueue() {
    |    `- error: Objective-C interoperability is disabled
201 |     cloudLogQueue.async {
202 |
/host/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 |
/host/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
/host/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)
/host/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 |   }()
/host/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
/host/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 |
/host/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.
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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
/host/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
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:123:18: error: cannot find 'kinfo_proc' in scope
121 |       // according to this post, this is essentially lazy and dispatched once.
122 |       // https://medium.com/@jmig/dispatch-once-in-swift-a-24-hours-journey-e18e370eac05
123 |       var info = kinfo_proc()
    |                  `- error: cannot find 'kinfo_proc' in scope
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
125 |       var size = MemoryLayout<kinfo_proc>.stride
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:27: error: cannot find 'CTL_KERN' in scope
122 |       // https://medium.com/@jmig/dispatch-once-in-swift-a-24-hours-journey-e18e370eac05
123 |       var info = kinfo_proc()
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
    |                           `- error: cannot find 'CTL_KERN' in scope
125 |       var size = MemoryLayout<kinfo_proc>.stride
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:37: error: cannot find 'KERN_PROC' in scope
122 |       // https://medium.com/@jmig/dispatch-once-in-swift-a-24-hours-journey-e18e370eac05
123 |       var info = kinfo_proc()
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
    |                                     `- error: cannot find 'KERN_PROC' in scope
125 |       var size = MemoryLayout<kinfo_proc>.stride
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:48: error: cannot find 'KERN_PROC_PID' in scope
122 |       // https://medium.com/@jmig/dispatch-once-in-swift-a-24-hours-journey-e18e370eac05
123 |       var info = kinfo_proc()
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
    |                                                `- error: cannot find 'KERN_PROC_PID' in scope
125 |       var size = MemoryLayout<kinfo_proc>.stride
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:125:31: error: cannot find type 'kinfo_proc' in scope
123 |       var info = kinfo_proc()
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
125 |       var size = MemoryLayout<kinfo_proc>.stride
    |                               `- error: cannot find type 'kinfo_proc' in scope
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
127 |       assert(junk == 0, "sysctl failed")
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:126:18: error: cannot find 'sysctl' in scope
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
125 |       var size = MemoryLayout<kinfo_proc>.stride
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
    |                  `- error: cannot find 'sysctl' in scope
127 |       assert(junk == 0, "sysctl failed")
128 |       return (info.kp_proc.p_flag & P_TRACED) != 0
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:128:37: error: cannot find 'P_TRACED' in scope
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
127 |       assert(junk == 0, "sysctl failed")
128 |       return (info.kp_proc.p_flag & P_TRACED) != 0
    |                                     `- error: cannot find 'P_TRACED' in scope
129 |     }()
130 |   #endif
/host/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
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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
/host/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
/host/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 |
/host/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 {
/host/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),
/host/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),
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: Objective-C interoperability is disabled
 80 |   }
 81 |
 82 |   @objc internal func appWillResumeActive() {
    |    `- error: Objective-C interoperability is disabled
 83 |     if !(writeTimer?.isValid ?? false) {
 84 |       writeTimer = startWriteTimer(interval: config.localFileBufferWriteInterval)
/host/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 {
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: Objective-C interoperability is disabled
 85 |     }
 86 |   }
 87 |   @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
    |    `- error: Objective-C interoperability is disabled
 88 |     let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
 89 |     switch backgroundEntitlementStatus {
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: Objective-C interoperability is disabled
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: Objective-C interoperability is disabled
168 |     localLogQueue.async {
169 |       for localFoundFile in self.retrieveLocalLogFileListOnDisk()
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: Objective-C interoperability is disabled
182 |   }
183 |
184 |   @objc private func timedAttemptToWriteToCloud() {
    |    `- error: Objective-C interoperability is disabled
185 |     localLogQueue.async {
186 |       self.queueLocalFileForCloud()
/host/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()
[12/16] Compiling SwiftLogFireCloud SwiftLogManager.swift
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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
/host/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
/host/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 |
/host/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 {
/host/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),
/host/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),
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: Objective-C interoperability is disabled
 80 |   }
 81 |
 82 |   @objc internal func appWillResumeActive() {
    |    `- error: Objective-C interoperability is disabled
 83 |     if !(writeTimer?.isValid ?? false) {
 84 |       writeTimer = startWriteTimer(interval: config.localFileBufferWriteInterval)
/host/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 {
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: Objective-C interoperability is disabled
 85 |     }
 86 |   }
 87 |   @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
    |    `- error: Objective-C interoperability is disabled
 88 |     let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
 89 |     switch backgroundEntitlementStatus {
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: Objective-C interoperability is disabled
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: Objective-C interoperability is disabled
168 |     localLogQueue.async {
169 |       for localFoundFile in self.retrieveLocalLogFileListOnDisk()
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: Objective-C interoperability is disabled
182 |   }
183 |
184 |   @objc private func timedAttemptToWriteToCloud() {
    |    `- error: Objective-C interoperability is disabled
185 |     localLogQueue.async {
186 |       self.queueLocalFileForCloud()
/host/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()
/host/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),
/host/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),
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:65:23: error: '#selector' can only be used with the Objective-C runtime
 63 |     let notificationCenter = NotificationCenter.default
 64 |     notificationCenter.addObserver(
 65 |       self, selector: #selector(appWillResignActive),
    |                       `- error: '#selector' can only be used with the Objective-C runtime
 66 |       name: UIApplication.willResignActiveNotification, object: nil)
 67 |     notificationCenter.addObserver(
/host/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
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:68:23: error: '#selector' can only be used with the Objective-C runtime
 66 |       name: UIApplication.willResignActiveNotification, object: nil)
 67 |     notificationCenter.addObserver(
 68 |       self, selector: #selector(appWillResumeActive),
    |                       `- error: '#selector' can only be used with the Objective-C runtime
 69 |       name: UIApplication.willEnterForegroundNotification, object: nil)
 70 |
/host/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 |     }
/host/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:
/host/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)
/host/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 |       }
/host/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 |         }
/host/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)
/host/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 |           }
/host/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 |             }
/host/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)
/host/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)
/host/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)
/host/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 {
/host/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 = ""
/host/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)
/host/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)
/host/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)
/host/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 |       )
/host/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" }
/host/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
/host/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
/host/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 {
/host/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
/host/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
/host/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
/host/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)
/host/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 }
[13/16] Compiling SwiftLogFireCloud CloudLogFileManagerProtocol.swift
/host/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 |
/host/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
/host/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)
[14/16] Compiling SwiftLogFireCloud CloudLogFileManager.swift
/host/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
/host/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]?
/host/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
/host/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
/host/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
/host/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 |
/host/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) {
/host/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 += "/" }
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: Objective-C interoperability is disabled
198 |   }
199 |
200 |   @objc private func processCloudPushQueue() {
    |    `- error: Objective-C interoperability is disabled
201 |     cloudLogQueue.async {
202 |
/host/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"
/host/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 |
/host/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'"
/host/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 |
/host/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
/host/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 |     }
/host/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
/host/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)/"
/host/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 |       }
/host/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):
/host/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 |   }
/host/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 |           }
/host/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),
/host/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)
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:194:84: error: '#selector' can only be used with the Objective-C runtime
192 |       DispatchQueue.main.async {
193 |         self.strandedFileTimer = Timer.scheduledTimer(
194 |           timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
    |                                                                                    `- error: '#selector' can only be used with the Objective-C runtime
195 |           userInfo: nil, repeats: true)
196 |       }
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:194:84: error: '#selector' can only be used with the Objective-C runtime
192 |       DispatchQueue.main.async {
193 |         self.strandedFileTimer = Timer.scheduledTimer(
194 |           timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
    |                                                                                    `- error: '#selector' can only be used with the Objective-C runtime
195 |           userInfo: nil, repeats: true)
196 |       }
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:26: error: type of expression is ambiguous without a type annotation
190 |     }
191 |     if strandedFilesToPush?.count == 1 {
192 |       DispatchQueue.main.async {
    |                          `- error: type of expression is ambiguous without a type annotation
193 |         self.strandedFileTimer = Timer.scheduledTimer(
194 |           timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
/host/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/16] Compiling SwiftLogFireCloud SwiftLogFireCloudConfig.swift
[16/16] Compiling SwiftLogFireCloud SwiftLogFireCloud.swift
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:123:18: error: cannot find 'kinfo_proc' in scope
121 |       // according to this post, this is essentially lazy and dispatched once.
122 |       // https://medium.com/@jmig/dispatch-once-in-swift-a-24-hours-journey-e18e370eac05
123 |       var info = kinfo_proc()
    |                  `- error: cannot find 'kinfo_proc' in scope
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
125 |       var size = MemoryLayout<kinfo_proc>.stride
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:27: error: cannot find 'CTL_KERN' in scope
122 |       // https://medium.com/@jmig/dispatch-once-in-swift-a-24-hours-journey-e18e370eac05
123 |       var info = kinfo_proc()
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
    |                           `- error: cannot find 'CTL_KERN' in scope
125 |       var size = MemoryLayout<kinfo_proc>.stride
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:37: error: cannot find 'KERN_PROC' in scope
122 |       // https://medium.com/@jmig/dispatch-once-in-swift-a-24-hours-journey-e18e370eac05
123 |       var info = kinfo_proc()
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
    |                                     `- error: cannot find 'KERN_PROC' in scope
125 |       var size = MemoryLayout<kinfo_proc>.stride
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:48: error: cannot find 'KERN_PROC_PID' in scope
122 |       // https://medium.com/@jmig/dispatch-once-in-swift-a-24-hours-journey-e18e370eac05
123 |       var info = kinfo_proc()
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
    |                                                `- error: cannot find 'KERN_PROC_PID' in scope
125 |       var size = MemoryLayout<kinfo_proc>.stride
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:125:31: error: cannot find type 'kinfo_proc' in scope
123 |       var info = kinfo_proc()
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
125 |       var size = MemoryLayout<kinfo_proc>.stride
    |                               `- error: cannot find type 'kinfo_proc' in scope
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
127 |       assert(junk == 0, "sysctl failed")
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:126:18: error: cannot find 'sysctl' in scope
124 |       var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
125 |       var size = MemoryLayout<kinfo_proc>.stride
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
    |                  `- error: cannot find 'sysctl' in scope
127 |       assert(junk == 0, "sysctl failed")
128 |       return (info.kp_proc.p_flag & P_TRACED) != 0
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:128:37: error: cannot find 'P_TRACED' in scope
126 |       let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
127 |       assert(junk == 0, "sysctl failed")
128 |       return (info.kp_proc.p_flag & P_TRACED) != 0
    |                                     `- error: cannot find 'P_TRACED' in scope
129 |     }()
130 |   #endif
/host/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
/host/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
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.