The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UnifiedLogHandler, reference 1.0.0 (7b4bfa), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 06:29:31 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/gonzalezreal/UnifiedLogging.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gonzalezreal/UnifiedLogging
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 7b4bfa2 Add LICENSE
Cloned https://github.com/gonzalezreal/UnifiedLogging.git
Revision (git rev-parse @):
7b4bfa24ba7af8ff819d777cf7acc22450ca68b6
SUCCESS checkout https://github.com/gonzalezreal/UnifiedLogging.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/gonzalezreal/UnifiedLogging.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
[71 / 110]
[74 / 110]
[80 / 110]
[82 / 110]
[86 / 110]
[88 / 110]
[91 / 110]
[95 / 110]
[97 / 110]
[98 / 110]
Fetching https://github.com/apple/swift-log
[1/8083] Fetching swift-log
Fetched https://github.com/apple/swift-log (1.29s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (1.96s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:6:26: error: 'Logger' is ambiguous for type lookup in this context
 4 |
 5 | public struct UnifiedLogHandler: LogHandler {
 6 |     public var metadata: Logger.Metadata {
   |                          `- error: 'Logger' is ambiguous for type lookup in this context
 7 |         get { formatter.metadata }
 8 |         set { formatter.metadata = newValue }
Logging.Logger:1:15: note: found this candidate
1 | public struct Logger {
  |               `- note: found this candidate
2 |     public var label: String { get }
3 |     @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: note: found this candidate
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger : @unchecked Sendable {
   |               `- note: found this candidate
 3 |     public static var disabled: Logger { get }
 4 |     public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:11:26: error: 'Logger' is ambiguous for type lookup in this context
 9 |     }
10 |
11 |     public var logLevel: Logger.Level = .info
   |                          `- error: 'Logger' is ambiguous for type lookup in this context
12 |
13 |     private let log: OSLog
Logging.Logger:1:15: note: found this candidate
1 | public struct Logger {
  |               `- note: found this candidate
2 |     public var label: String { get }
3 |     @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: note: found this candidate
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger : @unchecked Sendable {
   |               `- note: found this candidate
 3 |     public static var disabled: Logger { get }
 4 |     public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:20:50: error: 'Logger' is ambiguous for type lookup in this context
18 |     }
19 |
20 |     public subscript(metadataKey key: String) -> Logger.Metadata.Value? {
   |                                                  `- error: 'Logger' is ambiguous for type lookup in this context
21 |         get { formatter.metadata[key] }
22 |         set { formatter.metadata[key] = newValue }
Logging.Logger:1:15: note: found this candidate
1 | public struct Logger {
  |               `- note: found this candidate
2 |     public var label: String { get }
3 |     @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: note: found this candidate
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger : @unchecked Sendable {
   |               `- note: found this candidate
 3 |     public static var disabled: Logger { get }
 4 |     public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:28: error: 'Logger' is ambiguous for type lookup in this context
23 |     }
24 |
25 |     public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
   |                            `- error: 'Logger' is ambiguous for type lookup in this context
26 |         os_log("%{PUBLIC}@", log: log, type: OSLogType(logLevel: level), formatter.format(message: message, metadata: metadata))
27 |     }
Logging.Logger:1:15: note: found this candidate
1 | public struct Logger {
  |               `- note: found this candidate
2 |     public var label: String { get }
3 |     @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: note: found this candidate
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger : @unchecked Sendable {
   |               `- note: found this candidate
 3 |     public static var disabled: Logger { get }
 4 |     public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:51: error: 'Logger' is ambiguous for type lookup in this context
23 |     }
24 |
25 |     public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
   |                                                   `- error: 'Logger' is ambiguous for type lookup in this context
26 |         os_log("%{PUBLIC}@", log: log, type: OSLogType(logLevel: level), formatter.format(message: message, metadata: metadata))
27 |     }
Logging.Logger:1:15: note: found this candidate
1 | public struct Logger {
  |               `- note: found this candidate
2 |     public var label: String { get }
3 |     @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: note: found this candidate
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger : @unchecked Sendable {
   |               `- note: found this candidate
 3 |     public static var disabled: Logger { get }
 4 |     public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:77: error: 'Logger' is ambiguous for type lookup in this context
23 |     }
24 |
25 |     public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
   |                                                                             `- error: 'Logger' is ambiguous for type lookup in this context
26 |         os_log("%{PUBLIC}@", log: log, type: OSLogType(logLevel: level), formatter.format(message: message, metadata: metadata))
27 |     }
Logging.Logger:1:15: note: found this candidate
1 | public struct Logger {
  |               `- note: found this candidate
2 |     public var label: String { get }
3 |     @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: note: found this candidate
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger : @unchecked Sendable {
   |               `- note: found this candidate
 3 |     public static var disabled: Logger { get }
 4 |     public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:5:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 3 | import os.log
 4 |
 5 | public struct UnifiedLogHandler: LogHandler {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 6 |     public var metadata: Logger.Metadata {
 7 |         get { formatter.metadata }
Logging.LogHandler.log:3:15: note: 'log(event:)' declared here
1 | protocol LogHandler {
2 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
3 |   public func log(event: Logging.LogEvent)}
  |               `- note: 'log(event:)' declared here
4 |
Logging.LogHandler.log:2:6: note: requirement 'log(event:)' declared here
1 | protocol LogHandler {
2 | func log(event: Logging.LogEvent)}
  |      `- note: requirement 'log(event:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:31:20: error: 'Logger' is ambiguous for type lookup in this context
29 |
30 | private extension OSLogType {
31 |     init(logLevel: Logger.Level) {
   |                    `- error: 'Logger' is ambiguous for type lookup in this context
32 |         switch logLevel {
33 |         case .trace, .debug:
Logging.Logger:1:15: note: found this candidate
1 | public struct Logger {
  |               `- note: found this candidate
2 |     public var label: String { get }
3 |     @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: note: found this candidate
 1 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 2 | public struct Logger : @unchecked Sendable {
   |               `- note: found this candidate
 3 |     public static var disabled: Logger { get }
 4 |     public init(subsystem: String, category: String)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/LogFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift -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/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/Objects-normal/arm64/UnifiedLogHandler-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/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name UnifiedLogHandler -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/Objects-normal/arm64/UnifiedLogHandler_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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/Objects-normal/arm64/UnifiedLogHandler.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/Objects-normal/arm64/UnifiedLogHandler.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/Objects-normal/arm64/UnifiedLogHandler-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/Objects-normal/arm64/UnifiedLogHandler-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/Objects-normal/arm64/UnifiedLogHandler-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/Objects-normal/arm64/UnifiedLogHandler.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UnifiedLogHandler.build/Debug/UnifiedLogHandler-t.build/Objects-normal/arm64/UnifiedLogHandler.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm