The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLogFireCloud, reference 1.0.0 (f74e15), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 12:05:08 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/swiftlogfirecloud.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/google/swiftlogfirecloud
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at f74e151 Update README.md
Cloned https://github.com/google/swiftlogfirecloud.git
Revision (git rev-parse @):
f74e151e8cf15d478f9aa595f4fb16564dd1deea
SUCCESS checkout https://github.com/google/swiftlogfirecloud.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/google/swiftlogfirecloud.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] Logging
[35 / 70]
[39 / 70]
[41 / 70]
[42 / 70]
[53 / 70] Logging
[54 / 70] Logging
[60 / 71] Logging
[62 / 91]
[72 / 112]
[77 / 112]
[80 / 112]
[81 / 112]
[85 / 112]
[87 / 112]
[90 / 112]
[93 / 112]
[95 / 112]
[96 / 112]
Fetching https://github.com/apple/swift-log.git
[1/8096] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (1.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.91s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftPerFileCompile CloudLogFileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:28:34: error: cannot find type 'Date' in scope
 26 |
 27 |   internal var logability: Logability = .normal
 28 |   internal var lastWriteAttempt: Date?
    |                                  `- error: cannot find type 'Date' in scope
 29 |   internal var lastWriteSuccess: Date?
 30 |   internal var successiveFails: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:29:34: error: cannot find type 'Date' in scope
 27 |   internal var logability: Logability = .normal
 28 |   internal var lastWriteAttempt: Date?
 29 |   internal var lastWriteSuccess: Date?
    |                                  `- error: cannot find type 'Date' in scope
 30 |   internal var successiveFails: Int = 0
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:32:35: error: cannot find type 'Timer' in scope
 30 |   internal var successiveFails: Int = 0
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
 32 |   internal var strandedFileTimer: Timer?
    |                                   `- error: cannot find type 'Timer' in scope
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
 34 |   private var cloudFileNameDateFormatter: DateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:33:48: error: cannot find type 'DateFormatter' in scope
 31 |   internal var strandedFilesToPush: [LocalLogFile]?
 32 |   internal var strandedFileTimer: Timer?
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
    |                                                `- error: cannot find type 'DateFormatter' in scope
 34 |   private var cloudFileNameDateFormatter: DateFormatter
 35 |   private let config: SwiftLogFireCloudConfig
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:34:43: error: cannot find type 'DateFormatter' in scope
 32 |   internal var strandedFileTimer: Timer?
 33 |   private var cloudDirectoryNameDateFormatter: DateFormatter
 34 |   private var cloudFileNameDateFormatter: DateFormatter
    |                                           `- error: cannot find type 'DateFormatter' in scope
 35 |   private let config: SwiftLogFireCloudConfig
 36 |   private let label: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:40:31: error: cannot find 'DispatchQueue' in scope
 38 |   private let pendingWriteMaxRetries: Int
 39 |
 40 |   private let cloudLogQueue = DispatchQueue(
    |                               `- error: cannot find 'DispatchQueue' in scope
 41 |     label: "com.google.firebase.swiftfirelogcloud-cloud", qos: .background)
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:59:50: error: cannot find type 'Date' in scope
 57 |   }
 58 |
 59 |   private func createCloundFilePathAndName(date: Date?) -> String {
    |                                                  `- error: cannot find type 'Date' in scope
 60 |     var cloudFilePath = "\(self.config.logDirectoryName)"
 61 |     if cloudFilePath.count != 0 { cloudFilePath += "/" }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:200:4: error: @objc attribute used without importing module 'Foundation'
198 |   }
199 |
200 |   @objc private func processCloudPushQueue() {
    |    `- error: @objc attribute used without importing module 'Foundation'
201 |     cloudLogQueue.async {
202 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:47:39: error: cannot find 'DateFormatter' in scope
 45 |     self.config = config
 46 |
 47 |     cloudDirectoryNameDateFormatter = DateFormatter()
    |                                       `- error: cannot find 'DateFormatter' in scope
 48 |     cloudDirectoryNameDateFormatter.timeZone = TimeZone.current
 49 |     cloudDirectoryNameDateFormatter.dateFormat = "yyyy-MM-dd"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:48:48: error: cannot find 'TimeZone' in scope
 46 |
 47 |     cloudDirectoryNameDateFormatter = DateFormatter()
 48 |     cloudDirectoryNameDateFormatter.timeZone = TimeZone.current
    |                                                `- error: cannot find 'TimeZone' in scope
 49 |     cloudDirectoryNameDateFormatter.dateFormat = "yyyy-MM-dd"
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:51:34: error: cannot find 'DateFormatter' in scope
 49 |     cloudDirectoryNameDateFormatter.dateFormat = "yyyy-MM-dd"
 50 |
 51 |     cloudFileNameDateFormatter = DateFormatter()
    |                                  `- error: cannot find 'DateFormatter' in scope
 52 |     cloudFileNameDateFormatter.timeZone = TimeZone.current
 53 |     cloudFileNameDateFormatter.dateFormat = "yyyy-MM-dd'T'HH-mm-ss.SSSZ'"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:52:43: error: cannot find 'TimeZone' in scope
 50 |
 51 |     cloudFileNameDateFormatter = DateFormatter()
 52 |     cloudFileNameDateFormatter.timeZone = TimeZone.current
    |                                           `- error: cannot find 'TimeZone' in scope
 53 |     cloudFileNameDateFormatter.dateFormat = "yyyy-MM-dd'T'HH-mm-ss.SSSZ'"
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:63:20: error: cannot find 'Date' in scope
 61 |     if cloudFilePath.count != 0 { cloudFilePath += "/" }
 62 |
 63 |     var fileDate = Date()
    |                    `- error: cannot find 'Date' in scope
 64 |     if let date = date {
 65 |       fileDate = date
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:71:27: error: cannot find 'Bundle' in scope
 69 |     cloudFilePath += "\(directoryDateString)/"
 70 |
 71 |     if let bundleString = Bundle.main.bundleIdentifier {
    |                           `- error: cannot find 'Bundle' in scope
 72 |       cloudFilePath += "\(bundleString)/"
 73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:75:28: error: cannot find 'Bundle' in scope
 73 |     }
 74 |
 75 |     if let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")
    |                            `- error: cannot find 'Bundle' in scope
 76 |       as? String,
 77 |       let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:77:25: error: cannot find 'Bundle' in scope
 75 |     if let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")
 76 |       as? String,
 77 |       let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
    |                         `- error: cannot find 'Bundle' in scope
 78 |     {
 79 |       cloudFilePath += "v\(versionNumber)b\(buildNumber)/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:85:25: error: cannot find 'UIDevice' in scope
 83 |       cloudFilePath += "\(deviceIDForFilename)/"
 84 |     } else {
 85 |       if let deviceID = UIDevice.current.identifierForVendor?.uuidString {
    |                         `- error: cannot find 'UIDevice' in scope
 86 |         cloudFilePath += "\(deviceID)/"
 87 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:165:35: error: cannot find 'Date' in scope
163 |         case .success(let logFile):
164 |           self.successiveFails = 0
165 |           self.lastWriteSuccess = Date()
    |                                   `- error: cannot find 'Date' in scope
166 |           logFile.delete()
167 |         case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:176:31: error: cannot find 'Date' in scope
174 |         completion?()
175 |       }
176 |       self.lastWriteAttempt = Date()
    |                               `- error: cannot find 'Date' in scope
177 |     }
178 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:192:7: error: cannot find 'DispatchQueue' in scope
190 |     }
191 |     if strandedFilesToPush?.count == 1 {
192 |       DispatchQueue.main.async {
    |       `- error: cannot find 'DispatchQueue' in scope
193 |         self.strandedFileTimer = Timer.scheduledTimer(
194 |           timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift:193:34: error: cannot find 'Timer' in scope
191 |     if strandedFilesToPush?.count == 1 {
192 |       DispatchQueue.main.async {
193 |         self.strandedFileTimer = Timer.scheduledTimer(
    |                                  `- error: cannot find 'Timer' in scope
194 |           timeInterval: (!self.config.isTesting ? 25 : 1), target: self, selector: #selector(self.processCloudPushQueue),
195 |           userInfo: nil, repeats: true)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift: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):
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManagerProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloudConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/CloudLogFileManager.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/CloudLogFileManager.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/CloudLogFileManager.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/CloudLogFileManager.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/SwiftLogFireCloud-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftLogFireCloud -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/SwiftLogFireCloud_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/CloudLogFileManager.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/SwiftLogFireCloud.swiftmodule -index-unit-output-path /SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/CloudLogFileManager.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftPerFileCompile LocalLogFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:44:32: error: cannot find type 'FileHandle' in scope
 42 |   private let bufferSizeToGiveUp: Int
 43 |   private let label: String
 44 |   private lazy var fileHandle: FileHandle? = {
    |                                `- error: cannot find type 'FileHandle' in scope
 45 |     try? FileHandle(forWritingTo: fileURL)
 46 |   }()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:47:32: error: cannot find type 'DispatchIO' in scope
 45 |     try? FileHandle(forWritingTo: fileURL)
 46 |   }()
 47 |   private lazy var dispatchIO: DispatchIO? = {
    |                                `- error: cannot find type 'DispatchIO' in scope
 48 |     guard let fileDescriptor = fileHandle?.fileDescriptor else { return nil }
 49 |     return DispatchIO(type: .stream, fileDescriptor: fileDescriptor, queue: writeWorkQueue, cleanupHandler: { errorNo in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:29:35: error: cannot find type 'DispatchQueue' in scope
 27 | public class LocalLogFile {
 28 |
 29 |   private let writeResponseQueue: DispatchQueue
    |                                   `- error: cannot find type 'DispatchQueue' in scope
 30 |   private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:31: error: cannot find type 'DispatchQueue' in scope
 28 |
 29 |   private let writeResponseQueue: DispatchQueue
 30 |   private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
    |                               `- error: cannot find type 'DispatchQueue' in scope
 31 |
 32 |   /// The URL of the file on the local file system.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:30:47: error: cannot find 'DispatchQueue' in scope
 28 |
 29 |   private let writeResponseQueue: DispatchQueue
 30 |   private let writeWorkQueue: DispatchQueue = DispatchQueue(label: "com.google.firebase.swiftlogfirecloud.localfilewrite")
    |                                               `- error: cannot find 'DispatchQueue' in scope
 31 |
 32 |   /// The URL of the file on the local file system.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:33:23: error: cannot find type 'URL' in scope
 31 |
 32 |   /// The URL of the file on the local file system.
 33 |   public var fileURL: URL
    |                       `- error: cannot find type 'URL' in scope
 34 |
 35 |   internal var bytesWritten: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:36:32: error: cannot find type 'Date' in scope
 34 |
 35 |   internal var bytesWritten: Int = 0
 36 |   internal var firstFileWrite: Date?
    |                                `- error: cannot find type 'Date' in scope
 37 |   internal var pendingWriteCount = 0
 38 |   internal var pendingWriteWaitCount = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:45:10: error: cannot find 'FileHandle' in scope
 43 |   private let label: String
 44 |   private lazy var fileHandle: FileHandle? = {
 45 |     try? FileHandle(forWritingTo: fileURL)
    |          `- error: cannot find 'FileHandle' in scope
 46 |   }()
 47 |   private lazy var dispatchIO: DispatchIO? = {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:49:12: error: cannot find 'DispatchIO' in scope
 47 |   private lazy var dispatchIO: DispatchIO? = {
 48 |     guard let fileDescriptor = fileHandle?.fileDescriptor else { return nil }
 49 |     return DispatchIO(type: .stream, fileDescriptor: fileDescriptor, queue: writeWorkQueue, cleanupHandler: { errorNo in
    |            `- error: cannot find 'DispatchIO' in scope
 50 |       if errorNo != 0 {
 51 |         // this should get reported as a write failure back to SwiftLogManager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:57:37: error: cannot find type 'DateFormatter' in scope
 55 |   }()
 56 |
 57 |   private static let dateFormatter: DateFormatter = {
    |                                     `- error: cannot find type 'DateFormatter' in scope
 58 |     let dateFormatter = DateFormatter()
 59 |     dateFormatter.timeZone = TimeZone.current
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:58:25: error: cannot find 'DateFormatter' in scope
 56 |
 57 |   private static let dateFormatter: DateFormatter = {
 58 |     let dateFormatter = DateFormatter()
    |                         `- error: cannot find 'DateFormatter' in scope
 59 |     dateFormatter.timeZone = TimeZone.current
 60 |     dateFormatter.dateFormat = "yyyy-MM-dd'T'HH-mm-ss.SSSZ'"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:59:30: error: cannot find 'TimeZone' in scope
 57 |   private static let dateFormatter: DateFormatter = {
 58 |     let dateFormatter = DateFormatter()
 59 |     dateFormatter.timeZone = TimeZone.current
    |                              `- error: cannot find 'TimeZone' in scope
 60 |     dateFormatter.dateFormat = "yyyy-MM-dd'T'HH-mm-ss.SSSZ'"
 61 |     return dateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:75:63: error: cannot find type 'DispatchQueue' in scope
 73 |   ///   - config: The loggers `SwiftLogFilreCloudConfig` object, for which the local log file uses the log directory and other aspects.
 74 |   ///   - queue: The dispatch queue used for writing to the local disk.
 75 |   init(label: String, config: SwiftLogFireCloudConfig, queue: DispatchQueue) {
    |                                                               `- error: cannot find type 'DispatchQueue' in scope
 76 |     self.config = config
 77 |     self.label = label
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:132:114: error: cannot find type 'URL' in scope
130 |   ///   - label: the SwiiftLog label specified by the client
131 |   /// - Returns: `URL` representation of the log file name.
132 |   private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
    |                                                                                                                  `- error: cannot find type 'URL' in scope
133 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
134 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:166:82: error: cannot find type 'Date' in scope
164 |   /// Retrieves attributs of the log file as it sits on the file system.
165 |   /// - Returns: tuple  of `fileSize` and `creationDate` of the file.
166 |   internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
    |                                                                                  `- error: cannot find type 'Date' in scope
167 |     do {
168 |       let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:177:37: error: cannot find type 'Data' in scope
175 |   /// Writes the logfile to the disk.
176 |   /// - Parameter completion: closure called upon successful write
177 |   internal func writeMessage(_ msg: Data, completion: ((Result<Int?, Error>) -> Void)? = nil) {
    |                                     `- error: cannot find type 'Data' in scope
178 |
179 |     // DispatchIO.write() appears to require a file to exist before writing to it
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:94:29: error: cannot find 'UIDevice' in scope
 92 |     var deviceIdForFileName = deviceId
 93 |     if deviceId == nil || deviceId?.count == 0 {
 94 |       deviceIdForFileName = UIDevice.current.identifierForVendor?.uuidString
    |                             `- error: cannot find 'UIDevice' in scope
 95 |     }
 96 |     let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:96:66: error: cannot find 'Date' in scope
 94 |       deviceIdForFileName = UIDevice.current.identifierForVendor?.uuidString
 95 |     }
 96 |     let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
    |                                                                  `- error: cannot find 'Date' in scope
 97 |     let bundleString = Bundle.main.bundleIdentifier
 98 |     let versionNumber =
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:97:24: error: cannot find 'Bundle' in scope
 95 |     }
 96 |     let fileDateString = LocalLogFile.dateFormatter.string(from: Date())
 97 |     let bundleString = Bundle.main.bundleIdentifier
    |                        `- error: cannot find 'Bundle' in scope
 98 |     let versionNumber =
 99 |       Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:99:7: error: cannot find 'Bundle' in scope
 97 |     let bundleString = Bundle.main.bundleIdentifier
 98 |     let versionNumber =
 99 |       Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
    |       `- error: cannot find 'Bundle' in scope
100 |     let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:100:23: error: cannot find 'Bundle' in scope
 98 |     let versionNumber =
 99 |       Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
100 |     let buildNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
    |                       `- error: cannot find 'Bundle' in scope
101 |
102 |     var fileString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:133:17: error: cannot find 'FileManager' in scope
131 |   /// - Returns: `URL` representation of the log file name.
132 |   private static func createLogFileURL(localLogDirectoryName: String, clientDeviceID: String?, label: String) -> URL {
133 |     let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    |                 `- error: cannot find 'FileManager' in scope
134 |
135 |     if localLogDirectoryName.count != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:147:11: error: cannot find 'FileManager' in scope
145 |     // Close the DispatchIO if it hasn't been closed?
146 |     do {
147 |       try FileManager.default.removeItem(at: fileURL)
    |           `- error: cannot find 'FileManager' in scope
148 |     } catch {
149 |       //do nothing if it fails, it will get retried on next restart.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:22: error: cannot find 'FileManager' in scope
166 |   internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
167 |     do {
168 |       let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
    |                      `- error: cannot find 'FileManager' in scope
169 |       return (attr.fileSize(), attr.fileCreationDate())
170 |     } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:168:84: error: cannot find type 'NSDictionary' in scope
166 |   internal func getLocalLogFileAttributes() -> (fileSize: UInt64?, creationDate: Date?) {
167 |     do {
168 |       let attr = try FileManager.default.attributesOfItem(atPath: fileURL.path) as NSDictionary
    |                                                                                    `- error: cannot find type 'NSDictionary' in scope
169 |       return (attr.fileSize(), attr.fileCreationDate())
170 |     } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:190:7: error: cannot find 'DispatchData' in scope
188 |     //TODO: is the closure called immediately and sync
189 |     let dispatchData = msg.withUnsafeBytes {
190 |       DispatchData(bytes: UnsafeRawBufferPointer(start: $0, count: msg.count))
    |       `- error: cannot find 'DispatchData' in scope
191 |     }
192 |     pendingWriteCount += 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:206:58: error: cannot find 'Date' in scope
204 |       }
205 |
206 |       self.firstFileWrite = self.firstFileWrite == nil ? Date() : self.firstFileWrite
    |                                                          `- error: cannot find 'Date' in scope
207 |       self.bytesWritten += (msg.count - (dataRemaining?.count ?? 0))
208 |       completion?(.success(self.bytesWritten))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:105: error: cannot infer type of closure parameter 'done' without a type annotation
191 |     }
192 |     pendingWriteCount += 1
193 |     dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
    |                                                                                                         `- error: cannot infer type of closure parameter 'done' without a type annotation
194 |
195 |       guard let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:111: error: cannot infer type of closure parameter 'dataRemaining' without a type annotation
191 |     }
192 |     pendingWriteCount += 1
193 |     dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
    |                                                                                                               `- error: cannot infer type of closure parameter 'dataRemaining' without a type annotation
194 |
195 |       guard let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift:193:126: error: cannot infer type of closure parameter 'errorNo' without a type annotation
191 |     }
192 |     pendingWriteCount += 1
193 |     dispatchIO?.write(offset: 0, data: dispatchData, queue: writeResponseQueue, ioHandler: {[weak self] done, dataRemaining, errorNo in
    |                                                                                                                              `- error: cannot infer type of closure parameter 'errorNo' without a type annotation
194 |
195 |       guard let self = self else { return }
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/CloudLogFileManagerProtocol.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/LocalLogFile.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloud.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogFireCloudConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftLogFireCloud/SwiftLogManager.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/LocalLogFile.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/LocalLogFile.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/LocalLogFile.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/LocalLogFile.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/SwiftLogFireCloud-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftLogFireCloud -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/SwiftLogFireCloud_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/LocalLogFile.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/SwiftLogFireCloud.swiftmodule -index-unit-output-path /SwiftLogFireCloud.build/Debug/SwiftLogFireCloud-t.build/Objects-normal/arm64/LocalLogFile.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm