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 5.9 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/swiftlogfirecloud.git
Reference: 1.0.0
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
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at f74e151 Update README.md
Cloned https://github.com/google/swiftlogfirecloud.git
Revision (git rev-parse @):
f74e151e8cf15d478f9aa595f4fb16564dd1deea
SUCCESS checkout https://github.com/google/swiftlogfirecloud.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-log.git
[1/3152] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.40s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
Building for debugging...
[1/5] Compiling Logging MetadataProvider.swift
[2/5] Compiling Logging LogHandler.swift
[3/5] Emitting module Logging
[4/5] Compiling Logging Locks.swift
[5/5] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/14] Compiling SwiftLogFireCloud CloudLogFileManagerProtocol.swift
/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
public protocol CloudFileUploaderProtocol: class {
                                           ^~~~~
                                           AnyObject
[9/14] Emitting module SwiftLogFireCloud
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
  internal var lastWriteAttempt: Date?
                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
  internal var lastWriteSuccess: Date?
                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
  internal var strandedFileTimer: Timer?
                                  ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
  private var cloudDirectoryNameDateFormatter: DateFormatter
                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
  private var cloudFileNameDateFormatter: DateFormatter
                                          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
  private let cloudLogQueue = DispatchQueue(
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
    label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
                                                               ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
  private func createCloundFilePathAndName(date: Date?) -> String {
                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: Objective-C interoperability is disabled
  @objc private func processCloudPushQueue() {
  ~^~~~~

/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
public protocol CloudFileUploaderProtocol: class {
                                           ^~~~~
                                           AnyObject
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
  private lazy var fileHandle: FileHandle? = {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
  private lazy var dispatchIO: DispatchIO? = {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
  private let writeResponseQueue: DispatchQueue
                                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
  private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
  public var fileURL: URL
                      ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
  internal var firstFileWrite: Date?
                               ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
  private static let dateFormatter: DateFormatter = {
                                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
  init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
                                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
  private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
                                                                                                                 ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
  internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
                                                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
  internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
                                    ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:123:18: error: cannot find 'kinfo_proc' in scope
      var info = kinfo_proc()
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:27: error: cannot find 'CTL_KERN' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:37: error: cannot find 'KERN_PROC' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                                    ^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:48: error: cannot find 'KERN_PROC_PID' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:125:31: error: cannot find type 'kinfo_proc' in scope
      var size = MemoryLayout<kinfo_proc>.stride
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:126:18: error: cannot find 'sysctl' in scope
      let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
                 ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:128:37: error: cannot find 'P_TRACED' in scope
      return (info.kp_proc.p_flag & P_TRACED) != 0
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
  private let localLogQueue = DispatchQueue(
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
    label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
                                                               ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
  internal var writeTimer: Timer?
                           ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
  internal var firstFileWrite: Date?
                               ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
  internal var lastFileWriteAttempt: Date?
                                     ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
  internal var lastFileWrite: Date?
                              ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
  private let strandedFilesDelay: TimeInterval
                                  ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
  private var impairedMessages: Data?
                                ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
  private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
  private func startWriteTimer(interval: TimeInterval) -> Timer {
                                                          ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
  private func startWriteTimer(interval: TimeInterval) -> Timer {
                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: Objective-C interoperability is disabled
  @objc internal func appWillResumeActive() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
  @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
                                                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: Objective-C interoperability is disabled
  @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: Objective-C interoperability is disabled
  @objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: Objective-C interoperability is disabled
  @objc private func timedAttemptToWriteToCloud() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
  internal func addMessageToImpaired(_ msg: Data) {
                                            ^~~~
[10/14] Compiling SwiftLogFireCloud CloudLogFileManager.swift
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
  internal var lastWriteAttempt: Date?
                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
  internal var lastWriteSuccess: Date?
                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
  internal var strandedFileTimer: Timer?
                                  ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
  private var cloudDirectoryNameDateFormatter: DateFormatter
                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
  private var cloudFileNameDateFormatter: DateFormatter
                                          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
  private let cloudLogQueue = DispatchQueue(
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
    label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
                                                               ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
  private func createCloundFilePathAndName(date: Date?) -> String {
                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: Objective-C interoperability is disabled
  @objc private func processCloudPushQueue() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:47:39: error: cannot find 'DateFormatter' in scope
    cloudDirectoryNameDateFormatter = DateFormatter()
                                      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:48:48: error: cannot find 'TimeZone' in scope
    cloudDirectoryNameDateFormatter.timeZone = TimeZone.current
                                               ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:51:34: error: cannot find 'DateFormatter' in scope
    cloudFileNameDateFormatter = DateFormatter()
                                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:52:43: error: cannot find 'TimeZone' in scope
    cloudFileNameDateFormatter.timeZone = TimeZone.current
                                          ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:63:20: error: cannot find 'Date' in scope
    var fileDate = Date()
                   ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:71:27: error: cannot find 'Bundle' in scope
    if let bundleString = Bundle.main.bundleIdentifier {
                          ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:75:28: error: cannot find 'Bundle' in scope
    if let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")
                           ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:77:25: error: cannot find 'Bundle' in scope
      let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
                        ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:85:25: error: cannot find 'UIDevice' in scope
      if let deviceID = UIDevice.current.identifierForVendor?.uuidString {
                        ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:165:35: error: cannot find 'Date' in scope
          self.lastWriteSuccess = Date()
                                  ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:176:31: error: cannot find 'Date' in scope
      self.lastWriteAttempt = Date()
                              ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:138:52: error: type 'Double' has no member 'now'
          self.cloudLogQueue.asyncAfter(deadline: .now() + self.pendingWriteRetryDelay) {
                                                  ~^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:7: error: cannot find 'DispatchQueue' in scope
      DispatchQueue.main.async {
      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:193:34: error: cannot find 'Timer' in scope
        self.strandedFileTimer = Timer.scheduledTimer(
                                 ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:194:84: error: '#selector' can only be used with the Objective-C runtime
          timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
                                                                                   ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:194:84: error: '#selector' can only be used with the Objective-C runtime
          timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
                                                                                   ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:26: error: type of expression is ambiguous without a type annotation
      DispatchQueue.main.async {
      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:225:26: error: cannot find 'Date' in scope
      lastWriteSuccess = Date()
                         ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
  internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
                                                                                 ^~~~
[11/14] Compiling SwiftLogFireCloud SwiftLogFireCloudConfig.swift
[12/14] Compiling SwiftLogFireCloud SwiftLogManager.swift
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
  private let localLogQueue = DispatchQueue(
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
    label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
                                                               ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
  internal var writeTimer: Timer?
                           ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
  internal var firstFileWrite: Date?
                               ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
  internal var lastFileWriteAttempt: Date?
                                     ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
  internal var lastFileWrite: Date?
                              ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
  private let strandedFilesDelay: TimeInterval
                                  ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
  private var impairedMessages: Data?
                                ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
  private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
  private func startWriteTimer(interval: TimeInterval) -> Timer {
                                                          ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
  private func startWriteTimer(interval: TimeInterval) -> Timer {
                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: Objective-C interoperability is disabled
  @objc internal func appWillResumeActive() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
  @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
                                                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: Objective-C interoperability is disabled
  @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: Objective-C interoperability is disabled
  @objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: Objective-C interoperability is disabled
  @objc private func timedAttemptToWriteToCloud() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
  internal func addMessageToImpaired(_ msg: Data) {
                                            ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:63:30: error: cannot find 'NotificationCenter' in scope
    let notificationCenter = NotificationCenter.default
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:66:13: error: cannot find 'UIApplication' in scope
      name: UIApplication.willResignActiveNotification, object: nil)
            ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:65:23: error: '#selector' can only be used with the Objective-C runtime
      self, selector: #selector(appWillResignActive),
                      ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:69:13: error: cannot find 'UIApplication' in scope
      name: UIApplication.willEnterForegroundNotification, object: nil)
            ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:68:23: error: '#selector' can only be used with the Objective-C runtime
      self, selector: #selector(appWillResumeActive),
                      ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:72:5: error: cannot find 'DispatchQueue' in scope
    DispatchQueue.main.asyncAfter(deadline: .now() + strandedFilesDelay) {
    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:88:39: error: cannot find 'UIApplication' in scope
    let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
                                      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:91:31: error: cannot find 'UIApplication' in scope
      self.backgroundTaskID = UIApplication.shared.beginBackgroundTask(withName: "com.google.firebase.swiftlogfirecloud.willresignactive") {
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:93:11: error: cannot find 'UIApplication' in scope
          UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:92:38: error: cannot infer contextual base in reference to member 'invalid'
        if self.backgroundTaskID != .invalid {
                                    ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:98:11: error: cannot find 'DispatchQueue' in scope
          DispatchQueue.main.async {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:100:15: error: cannot find 'UIApplication' in scope
              UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:99:42: error: cannot infer contextual base in reference to member 'invalid'
            if self.backgroundTaskID != .invalid {
                                        ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:17: error: cannot find 'FileManager' in scope
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:48: error: cannot infer contextual base in reference to member 'documentDirectory'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                              ~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:72: error: cannot infer contextual base in reference to member 'userDomainMask'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:127:11: error: cannot find 'FileManager' in scope
      try FileManager.default.createDirectory(
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:128:69: error: 'nil' requires a contextual type
        at: pathURL, withIntermediateDirectories: true, attributes: nil)
                                                                    ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:17: error: cannot find 'FileManager' in scope
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:48: error: cannot infer contextual base in reference to member 'documentDirectory'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                              ~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:72: error: cannot infer contextual base in reference to member 'userDomainMask'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:143:23: error: cannot find 'FileManager' in scope
      let files = try FileManager.default.contentsOfDirectory(
                      ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:144:50: error: 'nil' requires a contextual type
        at: pathURL, includingPropertiesForKeys: nil
                                                 ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
  init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
                                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
  public var fileURL: URL
                      ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:235:41: error: cannot find 'FileManager' in scope
        let totalDiskSpaceInBytes = try FileManager.default.attributesOfFileSystem(
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:20: error: cannot find 'NSHomeDirectory' in scope
          forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
                   ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:39: error: cannot find 'FileAttributeKey' in scope
          forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
                                      ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
  internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
                                    ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:280:26: error: cannot find 'Data' in scope
      impairedMessages = Data()
                         ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:306:35: error: cannot find 'Date' in scope
      self.lastFileWriteAttempt = Date()
                                  ^~~~
[13/14] Compiling SwiftLogFireCloud SwiftLogFireCloud.swift
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:123:18: error: cannot find 'kinfo_proc' in scope
      var info = kinfo_proc()
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:27: error: cannot find 'CTL_KERN' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:37: error: cannot find 'KERN_PROC' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                                    ^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:48: error: cannot find 'KERN_PROC_PID' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:125:31: error: cannot find type 'kinfo_proc' in scope
      var size = MemoryLayout<kinfo_proc>.stride
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:126:18: error: cannot find 'sysctl' in scope
      let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
                 ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:128:37: error: cannot find 'P_TRACED' in scope
      return (info.kp_proc.p_flag & P_TRACED) != 0
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:126:64: error: 'nil' requires a contextual type
      let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
                                                               ^
[14/14] Compiling SwiftLogFireCloud LocalLogFile.swift
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
  private lazy var fileHandle: FileHandle? = {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
  private lazy var dispatchIO: DispatchIO? = {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
  private let writeResponseQueue: DispatchQueue
                                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
  private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
  public var fileURL: URL
                      ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
  internal var firstFileWrite: Date?
                               ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
  private static let dateFormatter: DateFormatter = {
                                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
  init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
                                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
  private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
                                                                                                                 ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
  internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
                                                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
  internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
                                    ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:94:29: error: cannot find 'UIDevice' in scope
      deviceIdForFileName = UIDevice.current.identifierForVendor?.uuidString
                            ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:96:66: error: cannot find 'Date' in scope
    let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
                                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:97:24: error: cannot find 'Bundle' in scope
    let bundleString = Bundle.main.bundleIdentifier
                       ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:99:7: error: cannot find 'Bundle' in scope
      Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:100:23: error: cannot find 'Bundle' in scope
    let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:17: error: cannot find 'FileManager' in scope
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:48: error: cannot infer contextual base in reference to member 'documentDirectory'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                              ~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:72: error: cannot infer contextual base in reference to member 'userDomainMask'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:147:11: error: cannot find 'FileManager' in scope
      try FileManager.default.removeItem(at: fileURL)
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:22: error: cannot find 'FileManager' in scope
      let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
                     ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:84: error: cannot find type 'NSDictionary' in scope
      let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
                                                                                   ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:190:7: error: cannot find 'DispatchData' in scope
      DispatchData(bytes: UnsafeRawBufferPointer(start: $0, count: msg.count))
      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:206:58: error: cannot find 'Date' in scope
      self.firstFileWrite = self.firstFileWrite == nil ? Date() : self.firstFileWrite
                                                         ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:105: error: cannot infer type of closure parameter 'done' without a type annotation
    dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
                                                                                                        ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:111: error: cannot infer type of closure parameter 'dataRemaining' without a type annotation
    dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
                                                                                                              ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:126: error: cannot infer type of closure parameter 'errorNo' without a type annotation
    dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
                                                                                                                             ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/1] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module SwiftLogFireCloud
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
  internal var lastWriteAttempt: Date?
                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
  internal var lastWriteSuccess: Date?
                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
  internal var strandedFileTimer: Timer?
                                  ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
  private var cloudDirectoryNameDateFormatter: DateFormatter
                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
  private var cloudFileNameDateFormatter: DateFormatter
                                          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
  private let cloudLogQueue = DispatchQueue(
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
    label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
                                                               ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
  private func createCloundFilePathAndName(date: Date?) -> String {
                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: Objective-C interoperability is disabled
  @objc private func processCloudPushQueue() {
  ~^~~~~

/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
public protocol CloudFileUploaderProtocol: class {
                                           ^~~~~
                                           AnyObject
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
  private lazy var fileHandle: FileHandle? = {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
  private lazy var dispatchIO: DispatchIO? = {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
  private let writeResponseQueue: DispatchQueue
                                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
  private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
  public var fileURL: URL
                      ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
  internal var firstFileWrite: Date?
                               ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
  private static let dateFormatter: DateFormatter = {
                                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
  init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
                                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
  private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
                                                                                                                 ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
  internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
                                                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
  internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
                                    ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:123:18: error: cannot find 'kinfo_proc' in scope
      var info = kinfo_proc()
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:27: error: cannot find 'CTL_KERN' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:37: error: cannot find 'KERN_PROC' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                                    ^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:48: error: cannot find 'KERN_PROC_PID' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:125:31: error: cannot find type 'kinfo_proc' in scope
      var size = MemoryLayout<kinfo_proc>.stride
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:126:18: error: cannot find 'sysctl' in scope
      let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
                 ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:128:37: error: cannot find 'P_TRACED' in scope
      return (info.kp_proc.p_flag & P_TRACED) != 0
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
  private let localLogQueue = DispatchQueue(
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
    label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
                                                               ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
  internal var writeTimer: Timer?
                           ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
  internal var firstFileWrite: Date?
                               ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
  internal var lastFileWriteAttempt: Date?
                                     ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
  internal var lastFileWrite: Date?
                              ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
  private let strandedFilesDelay: TimeInterval
                                  ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
  private var impairedMessages: Data?
                                ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
  private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
  private func startWriteTimer(interval: TimeInterval) -> Timer {
                                                          ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
  private func startWriteTimer(interval: TimeInterval) -> Timer {
                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: Objective-C interoperability is disabled
  @objc internal func appWillResumeActive() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
  @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
                                                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: Objective-C interoperability is disabled
  @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: Objective-C interoperability is disabled
  @objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: Objective-C interoperability is disabled
  @objc private func timedAttemptToWriteToCloud() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
  internal func addMessageToImpaired(_ msg: Data) {
                                            ^~~~
[5/8] Compiling SwiftLogFireCloud LocalLogFile.swift
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
  private lazy var fileHandle: FileHandle? = {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
  private lazy var dispatchIO: DispatchIO? = {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
  private let writeResponseQueue: DispatchQueue
                                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
  private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
  public var fileURL: URL
                      ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
  internal var firstFileWrite: Date?
                               ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
  private static let dateFormatter: DateFormatter = {
                                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
  init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
                                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
  private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
                                                                                                                 ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
  internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
                                                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
  internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
                                    ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:94:29: error: cannot find 'UIDevice' in scope
      deviceIdForFileName = UIDevice.current.identifierForVendor?.uuidString
                            ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:96:66: error: cannot find 'Date' in scope
    let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
                                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:97:24: error: cannot find 'Bundle' in scope
    let bundleString = Bundle.main.bundleIdentifier
                       ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:99:7: error: cannot find 'Bundle' in scope
      Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:100:23: error: cannot find 'Bundle' in scope
    let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:17: error: cannot find 'FileManager' in scope
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:48: error: cannot infer contextual base in reference to member 'documentDirectory'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                              ~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:72: error: cannot infer contextual base in reference to member 'userDomainMask'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:147:11: error: cannot find 'FileManager' in scope
      try FileManager.default.removeItem(at: fileURL)
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:22: error: cannot find 'FileManager' in scope
      let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
                     ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:84: error: cannot find type 'NSDictionary' in scope
      let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
                                                                                   ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:190:7: error: cannot find 'DispatchData' in scope
      DispatchData(bytes: UnsafeRawBufferPointer(start: $0, count: msg.count))
      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:206:58: error: cannot find 'Date' in scope
      self.firstFileWrite = self.firstFileWrite == nil ? Date() : self.firstFileWrite
                                                         ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:105: error: cannot infer type of closure parameter 'done' without a type annotation
    dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
                                                                                                        ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:111: error: cannot infer type of closure parameter 'dataRemaining' without a type annotation
    dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
                                                                                                              ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:126: error: cannot infer type of closure parameter 'errorNo' without a type annotation
    dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
                                                                                                                             ^
[6/8] Compiling SwiftLogFireCloud CloudLogFileManager.swift
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
  internal var lastWriteAttempt: Date?
                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
  internal var lastWriteSuccess: Date?
                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
  internal var strandedFileTimer: Timer?
                                  ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
  private var cloudDirectoryNameDateFormatter: DateFormatter
                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
  private var cloudFileNameDateFormatter: DateFormatter
                                          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
  private let cloudLogQueue = DispatchQueue(
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:41:65: error: cannot infer contextual base in reference to member 'background'
    label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
                                                               ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
  private func createCloundFilePathAndName(date: Date?) -> String {
                                                 ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: Objective-C interoperability is disabled
  @objc private func processCloudPushQueue() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:47:39: error: cannot find 'DateFormatter' in scope
    cloudDirectoryNameDateFormatter = DateFormatter()
                                      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:48:48: error: cannot find 'TimeZone' in scope
    cloudDirectoryNameDateFormatter.timeZone = TimeZone.current
                                               ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:51:34: error: cannot find 'DateFormatter' in scope
    cloudFileNameDateFormatter = DateFormatter()
                                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:52:43: error: cannot find 'TimeZone' in scope
    cloudFileNameDateFormatter.timeZone = TimeZone.current
                                          ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:63:20: error: cannot find 'Date' in scope
    var fileDate = Date()
                   ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:71:27: error: cannot find 'Bundle' in scope
    if let bundleString = Bundle.main.bundleIdentifier {
                          ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:75:28: error: cannot find 'Bundle' in scope
    if let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")
                           ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:77:25: error: cannot find 'Bundle' in scope
      let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
                        ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:85:25: error: cannot find 'UIDevice' in scope
      if let deviceID = UIDevice.current.identifierForVendor?.uuidString {
                        ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:165:35: error: cannot find 'Date' in scope
          self.lastWriteSuccess = Date()
                                  ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:176:31: error: cannot find 'Date' in scope
      self.lastWriteAttempt = Date()
                              ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:138:52: error: type 'Double' has no member 'now'
          self.cloudLogQueue.asyncAfter(deadline: .now() + self.pendingWriteRetryDelay) {
                                                  ~^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:7: error: cannot find 'DispatchQueue' in scope
      DispatchQueue.main.async {
      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:193:34: error: cannot find 'Timer' in scope
        self.strandedFileTimer = Timer.scheduledTimer(
                                 ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:194:84: error: '#selector' can only be used with the Objective-C runtime
          timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
                                                                                   ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:194:84: error: '#selector' can only be used with the Objective-C runtime
          timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
                                                                                   ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:26: error: type of expression is ambiguous without a type annotation
      DispatchQueue.main.async {
      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:225:26: error: cannot find 'Date' in scope
      lastWriteSuccess = Date()
                         ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
  internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
                                                                                 ^~~~
[7/8] Compiling SwiftLogFireCloud SwiftLogFireCloud.swift
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:123:18: error: cannot find 'kinfo_proc' in scope
      var info = kinfo_proc()
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:27: error: cannot find 'CTL_KERN' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:37: error: cannot find 'KERN_PROC' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                                    ^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:124:48: error: cannot find 'KERN_PROC_PID' in scope
      var mib: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:125:31: error: cannot find type 'kinfo_proc' in scope
      var size = MemoryLayout<kinfo_proc>.stride
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:126:18: error: cannot find 'sysctl' in scope
      let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
                 ^~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:128:37: error: cannot find 'P_TRACED' in scope
      return (info.kp_proc.p_flag & P_TRACED) != 0
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift:126:64: error: 'nil' requires a contextual type
      let junk = sysctl(&mib, UInt32(mib.count), &info, &size, nil, 0)
                                                               ^
[8/8] Compiling SwiftLogFireCloud SwiftLogManager.swift
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:27:31: error: cannot find 'DispatchQueue' in scope
  private let localLogQueue = DispatchQueue(
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:28:65: error: cannot infer contextual base in reference to member 'background'
    label: "com.google.firebase.swiftfirelogcloud-local", qos: .background)
                                                               ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:29:28: error: cannot find type 'Timer' in scope
  internal var writeTimer: Timer?
                           ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:33:32: error: cannot find type 'Date' in scope
  internal var firstFileWrite: Date?
                               ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:34:38: error: cannot find type 'Date' in scope
  internal var lastFileWriteAttempt: Date?
                                     ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:35:31: error: cannot find type 'Date' in scope
  internal var lastFileWrite: Date?
                              ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:37:35: error: cannot find type 'TimeInterval' in scope
  private let strandedFilesDelay: TimeInterval
                                  ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:38:33: error: cannot find type 'Data' in scope
  private var impairedMessages: Data?
                                ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:39:34: error: cannot find 'UIBackgroundTaskIdentifier' in scope
  private var backgroundTaskID = UIBackgroundTaskIdentifier.invalid
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:59: error: cannot find type 'Timer' in scope
  private func startWriteTimer(interval: TimeInterval) -> Timer {
                                                          ^~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:41:42: error: cannot find type 'TimeInterval' in scope
  private func startWriteTimer(interval: TimeInterval) -> Timer {
                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:82:4: error: Objective-C interoperability is disabled
  @objc internal func appWillResumeActive() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:58: error: cannot find type 'UIApplication' in scope
  @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
                                                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:87:4: error: Objective-C interoperability is disabled
  @objc internal func appWillResignActive(_ application: UIApplication) { //}, _ completionForTesting: (() -> Void)? = nil) {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:167:4: error: Objective-C interoperability is disabled
  @objc internal func processStrandedFilesAtStartup(_ completionForTesting: (() -> Void)? = nil) {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:184:4: error: Objective-C interoperability is disabled
  @objc private func timedAttemptToWriteToCloud() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:278:45: error: cannot find type 'Data' in scope
  internal func addMessageToImpaired(_ msg: Data) {
                                            ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:63:30: error: cannot find 'NotificationCenter' in scope
    let notificationCenter = NotificationCenter.default
                             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:66:13: error: cannot find 'UIApplication' in scope
      name: UIApplication.willResignActiveNotification, object: nil)
            ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:65:23: error: '#selector' can only be used with the Objective-C runtime
      self, selector: #selector(appWillResignActive),
                      ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:69:13: error: cannot find 'UIApplication' in scope
      name: UIApplication.willEnterForegroundNotification, object: nil)
            ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:68:23: error: '#selector' can only be used with the Objective-C runtime
      self, selector: #selector(appWillResumeActive),
                      ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:72:5: error: cannot find 'DispatchQueue' in scope
    DispatchQueue.main.asyncAfter(deadline: .now() + strandedFilesDelay) {
    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:88:39: error: cannot find 'UIApplication' in scope
    let backgroundEntitlementStatus = UIApplication.shared.backgroundRefreshStatus
                                      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:91:31: error: cannot find 'UIApplication' in scope
      self.backgroundTaskID = UIApplication.shared.beginBackgroundTask(withName: "com.google.firebase.swiftlogfirecloud.willresignactive") {
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:93:11: error: cannot find 'UIApplication' in scope
          UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:92:38: error: cannot infer contextual base in reference to member 'invalid'
        if self.backgroundTaskID != .invalid {
                                    ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:98:11: error: cannot find 'DispatchQueue' in scope
          DispatchQueue.main.async {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:100:15: error: cannot find 'UIApplication' in scope
              UIApplication.shared.endBackgroundTask(self.backgroundTaskID)
              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:99:42: error: cannot infer contextual base in reference to member 'invalid'
            if self.backgroundTaskID != .invalid {
                                        ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:17: error: cannot find 'FileManager' in scope
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:48: error: cannot infer contextual base in reference to member 'documentDirectory'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                              ~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:123:72: error: cannot infer contextual base in reference to member 'userDomainMask'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:127:11: error: cannot find 'FileManager' in scope
      try FileManager.default.createDirectory(
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:128:69: error: 'nil' requires a contextual type
        at: pathURL, withIntermediateDirectories: true, attributes: nil)
                                                                    ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:17: error: cannot find 'FileManager' in scope
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:48: error: cannot infer contextual base in reference to member 'documentDirectory'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                              ~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:138:72: error: cannot infer contextual base in reference to member 'userDomainMask'
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:143:23: error: cannot find 'FileManager' in scope
      let files = try FileManager.default.contentsOfDirectory(
                      ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:144:50: error: 'nil' requires a contextual type
        at: pathURL, includingPropertiesForKeys: nil
                                                 ^
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
  init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
                                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
  public var fileURL: URL
                      ^~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:235:41: error: cannot find 'FileManager' in scope
        let totalDiskSpaceInBytes = try FileManager.default.attributesOfFileSystem(
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:20: error: cannot find 'NSHomeDirectory' in scope
          forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
                   ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:236:39: error: cannot find 'FileAttributeKey' in scope
          forPath: NSHomeDirectory())[FileAttributeKey.systemFreeSize] as? Int64
                                      ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
  internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
                                    ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:280:26: error: cannot find 'Data' in scope
      impairedMessages = Data()
                         ^~~~
/host/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift:306:35: error: cannot find 'Date' in scope
      self.lastFileWriteAttempt = Date()
                                  ^~~~
error: fatalError
BUILD FAILURE 5.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.