Build Information
Failed to build Loggie, reference master (b3ff67), with Swift 6.2 for macOS (SPM) on 15 Oct 2025 08:18:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kvngwxxk/Loggie.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kvngwxxk/Loggie
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b3ff67b Merge pull request #10 from kvngwxxk/develop
Cloned https://github.com/kvngwxxk/Loggie.git
Revision (git rev-parse @):
b3ff67b1cf43d3c2c89aa1d38197d347006055ec
SUCCESS checkout https://github.com/kvngwxxk/Loggie.git at master
Fetching https://github.com/Alamofire/Alamofire.git
[1/30470] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.90s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (3.49s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "loggie",
"name": "Loggie",
"url": "https://github.com/kvngwxxk/Loggie.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Loggie",
"dependencies": [
{
"identity": "alamofire",
"name": "Alamofire",
"url": "https://github.com/Alamofire/Alamofire.git",
"version": "5.10.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kvngwxxk/Loggie.git
[1/279] Fetching loggie
Fetched https://github.com/kvngwxxk/Loggie.git from cache (0.71s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.61s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.68s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/kvngwxxk/Loggie.git
Working copy of https://github.com/kvngwxxk/Loggie.git resolved at master (b3ff67b)
warning: '.resolve-product-dependencies': dependency 'loggie' is not used by any target
Found 1 product dependencies
- Alamofire
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/kvngwxxk/Loggie.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[3/8] Copying Info.plist
[3/8] Copying PrivacyInfo.xcprivacy
[5/8] Copying Localizable.xcstrings
[6/8] Copying LoggieNetworkLogModel.xcdatamodeld
[7/8] Write swift-version-49B95AFC49DCD68C.txt
[9/52] Compiling Loggie LoggieVersion.swift
[10/52] Emitting module Alamofire
[11/56] Compiling Alamofire DispatchQueue+Alamofire.swift
[12/56] Compiling Alamofire OperationQueue+Alamofire.swift
[13/56] Compiling Alamofire Result+Alamofire.swift
[14/56] Compiling Alamofire StringEncoding+Alamofire.swift
[15/56] Compiling Alamofire URLRequest+Alamofire.swift
[16/56] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[17/56] Compiling Alamofire AlamofireExtended.swift
[18/56] Compiling Alamofire AuthenticationInterceptor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/56] Compiling Loggie LogLevel.swift
[20/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")
[21/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 | }
BUILD FAILURE 6.2 macosSpm