Build Information
Failed to build Loggie, reference 1.1.3 (58a02f), with Swift 6.0 for macOS (SPM) on 15 Jul 2025 14:00:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kvngwxxk/Loggie.git
Reference: 1.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kvngwxxk/Loggie
* tag 1.1.3 -> FETCH_HEAD
HEAD is now at 58a02fa Merge pull request #9 from kvngwxxk/develop
Cloned https://github.com/kvngwxxk/Loggie.git
Revision (git rev-parse @):
58a02fa4614b3a50e0189e88e5f2359f96753210
SUCCESS checkout https://github.com/kvngwxxk/Loggie.git at 1.1.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kvngwxxk/Loggie.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[3/8] Copying Localizable.xcstrings
[4/8] Copying Info.plist
[5/8] Copying PrivacyInfo.xcprivacy
[6/8] Copying LoggieNetworkLogModel.xcdatamodeld
[7/8] Write swift-version-5BDAB9E9C0126B9D.txt
[9/52] Compiling Loggie LoggieVersion.swift
[10/52] Emitting module Alamofire
[11/56] Compiling Alamofire HTTPHeaders.swift
[12/56] Compiling Alamofire HTTPMethod.swift
[13/56] Compiling Alamofire Notifications.swift
[14/56] Compiling Alamofire ParameterEncoder.swift
[15/56] Compiling Alamofire ParameterEncoding.swift
[16/56] Compiling Alamofire URLRequest+Alamofire.swift
[17/56] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[18/56] Compiling Alamofire AlamofireExtended.swift
[19/56] Compiling Alamofire AuthenticationInterceptor.swift
[20/56] Compiling Alamofire Protected.swift
[21/56] Compiling Alamofire Request.swift
[22/56] Compiling Alamofire RequestTaskMap.swift
[23/56] Compiling Alamofire Response.swift
[24/56] Compiling Alamofire Session.swift
[25/56] Compiling Alamofire SessionDelegate.swift
[26/56] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[27/56] Compiling Alamofire UploadRequest.swift
[28/56] Compiling Alamofire WebSocketRequest.swift
[29/56] Compiling Alamofire Alamofire.swift
[30/56] Compiling Alamofire AFError.swift
[31/56] Compiling Alamofire DataRequest.swift
[32/56] Compiling Alamofire DataStreamRequest.swift
[33/56] Compiling Alamofire DownloadRequest.swift
[34/56] Compiling Alamofire ServerTrustEvaluation.swift
[35/56] Compiling Alamofire URLEncodedFormEncoder.swift
[36/56] Compiling Alamofire Validation.swift
[37/56] Compiling Alamofire resource_bundle_accessor.swift
[38/56] Compiling Alamofire DispatchQueue+Alamofire.swift
[39/56] Compiling Alamofire OperationQueue+Alamofire.swift
[40/56] Compiling Alamofire Result+Alamofire.swift
[41/56] Compiling Alamofire StringEncoding+Alamofire.swift
[42/56] Compiling Alamofire RequestCompression.swift
[43/56] Compiling Alamofire RequestInterceptor.swift
[44/56] Compiling Alamofire ResponseSerialization.swift
[45/56] Compiling Alamofire RetryPolicy.swift
[46/56] Compiling Alamofire CachedResponseHandler.swift
[47/56] Compiling Alamofire Combine.swift
[48/56] Compiling Alamofire Concurrency.swift
[49/56] Compiling Alamofire EventMonitor.swift
[50/56] Compiling Alamofire MultipartFormData.swift
[51/56] Compiling Alamofire MultipartUpload.swift
[52/56] Compiling Alamofire NetworkReachabilityManager.swift
[53/56] Compiling Alamofire RedirectHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/56] Compiling Loggie LogLevel.swift
[55/56] Emitting module Loggie
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:64:26: error: 'Logger' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
| `- error: 'Logger' is only available in macOS 11.0 or newer
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
66 | private let fileQueue = DispatchQueue(label: "com.loggie.file")
[56/56] Compiling Loggie Loggie.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:64:26: error: 'Logger' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
| `- error: 'Logger' is only available in macOS 11.0 or newer
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
66 | private let fileQueue = DispatchQueue(label: "com.loggie.file")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:129:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
127 | switch level {
128 | case .debug:
129 | logger.debug("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:129:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
127 | switch level {
128 | case .debug:
129 | logger.debug("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:131:31: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
129 | logger.debug("\(text, privacy: .public)")
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:131:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
129 | logger.debug("\(text, privacy: .public)")
130 | case .log:
131 | logger.notice("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:133:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
131 | logger.notice("\(text, privacy: .public)")
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:133:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
131 | logger.notice("\(text, privacy: .public)")
132 | case .info:
133 | logger.info("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:135:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
133 | logger.info("\(text, privacy: .public)")
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:135:34: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
133 | logger.info("\(text, privacy: .public)")
134 | case .warning:
135 | logger.warning("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:137:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
135 | logger.warning("\(text, privacy: .public)")
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
138 | }
139 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:137:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
135 | logger.warning("\(text, privacy: .public)")
136 | case .error:
137 | logger.fault("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
138 | }
139 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:148:37: error: 'close()' is only available in macOS 10.15 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
146 | let handle = try? FileHandle(forWritingTo: url)
147 | else { return }
148 | defer { try? handle.close() }
| |- error: 'close()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | _ = try? handle.seekToEnd()
150 | try? handle.write(contentsOf: data)
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:149:33: error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
147 | else { return }
148 | defer { try? handle.close() }
149 | _ = try? handle.seekToEnd()
| |- error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
150 | try? handle.write(contentsOf: data)
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:150:29: error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
117 |
118 | @usableFromInline
119 | internal func log(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
120 | guard Self.enabledLevels.contains(level) else { return }
121 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
148 | defer { try? handle.close() }
149 | _ = try? handle.seekToEnd()
150 | try? handle.write(contentsOf: data)
| |- error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
151 | }
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:166:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
164 | switch level {
165 | case .debug:
166 | logger.debug("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:166:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
164 | switch level {
165 | case .debug:
166 | logger.debug("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:168:31: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
166 | logger.debug("\(text, privacy: .public)")
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:168:33: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
166 | logger.debug("\(text, privacy: .public)")
167 | case .log:
168 | logger.notice("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:170:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
168 | logger.notice("\(text, privacy: .public)")
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:170:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
168 | logger.notice("\(text, privacy: .public)")
169 | case .info:
170 | logger.info("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:172:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
170 | logger.info("\(text, privacy: .public)")
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:172:34: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
170 | logger.info("\(text, privacy: .public)")
171 | case .warning:
172 | logger.warning("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:174:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
172 | logger.warning("\(text, privacy: .public)")
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
175 | }
176 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:174:32: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
172 | logger.warning("\(text, privacy: .public)")
173 | case .error:
174 | logger.fault("\(text, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
175 | }
176 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:185:37: error: 'close()' is only available in macOS 10.15 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
183 | let handle = try? FileHandle(forWritingTo: url)
184 | else { return }
185 | defer { try? handle.close() }
| |- error: 'close()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | _ = try? handle.seekToEnd()
187 | try? handle.write(contentsOf: data)
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:186:33: error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
184 | else { return }
185 | defer { try? handle.close() }
186 | _ = try? handle.seekToEnd()
| |- error: 'seekToEnd()' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
187 | try? handle.write(contentsOf: data)
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/Loggie/Loggie.swift:187:29: error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
61 |
62 | /// The main logging utility class that manages console and file logging.
63 | public final class Loggie {
| `- note: add @available attribute to enclosing class
64 | private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.loggie", category: "Loggie")
65 | private let printQueue = DispatchQueue(label: "com.loggie.print")
:
154 |
155 | @usableFromInline
156 | internal func logFixedFormat(_ message: String, level: LogLevel, file: String, function: String, line: Int) {
| `- note: add @available attribute to enclosing instance method
157 | guard Self.enabledLevels.contains(level) else { return }
158 | let fileName = URL(fileURLWithPath: file).lastPathComponent.replacingOccurrences(of: ".swift", with: "")
:
185 | defer { try? handle.close() }
186 | _ = try? handle.seekToEnd()
187 | try? handle.write(contentsOf: data)
| |- error: 'write(contentsOf:)' is only available in macOS 10.15.4 or newer
| `- note: add 'if #available' version check
188 | }
189 | }
Fetching https://github.com/Alamofire/Alamofire.git
[1/30154] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.75s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.44s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
BUILD FAILURE 6.0 macosSpm