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 arm64Build 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: [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m public struct UnifiedLogHandler: LogHandler {
[0;36m6 |[0;0m public var metadata: [4;39mLogger[0;0m.Metadata {
[0;36m|[0;0m `- [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m7 |[0;0m get { formatter.metadata }
[0;36m8 |[0;0m set { formatter.metadata = newValue }
Logging.Logger:1:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m public struct Logger {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m2 |[0;0m public var label: String { get }
[0;36m3 |[0;0m @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
[0;36m2 |[0;0m public struct Logger : @unchecked Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m3 |[0;0m public static var disabled: Logger { get }
[0;36m4 |[0;0m public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:11:26: [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m9 |[0;0m }
[0;36m10 |[0;0m
[0;36m11 |[0;0m public var logLevel: [4;39mLogger[0;0m.Level = .info
[0;36m|[0;0m `- [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m private let log: OSLog
Logging.Logger:1:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m public struct Logger {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m2 |[0;0m public var label: String { get }
[0;36m3 |[0;0m @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
[0;36m2 |[0;0m public struct Logger : @unchecked Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m3 |[0;0m public static var disabled: Logger { get }
[0;36m4 |[0;0m public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:20:50: [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m18 |[0;0m }
[0;36m19 |[0;0m
[0;36m20 |[0;0m public subscript(metadataKey key: String) -> [4;39mLogger[0;0m.Metadata.Value? {
[0;36m|[0;0m `- [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m21 |[0;0m get { formatter.metadata[key] }
[0;36m22 |[0;0m set { formatter.metadata[key] = newValue }
Logging.Logger:1:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m public struct Logger {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m2 |[0;0m public var label: String { get }
[0;36m3 |[0;0m @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
[0;36m2 |[0;0m public struct Logger : @unchecked Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m3 |[0;0m public static var disabled: Logger { get }
[0;36m4 |[0;0m public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:28: [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func log(level: [4;39mLogger[0;0m.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
[0;36m|[0;0m `- [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m26 |[0;0m os_log("%{PUBLIC}@", log: log, type: OSLogType(logLevel: level), formatter.format(message: message, metadata: metadata))
[0;36m27 |[0;0m }
Logging.Logger:1:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m public struct Logger {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m2 |[0;0m public var label: String { get }
[0;36m3 |[0;0m @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
[0;36m2 |[0;0m public struct Logger : @unchecked Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m3 |[0;0m public static var disabled: Logger { get }
[0;36m4 |[0;0m public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:51: [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func log(level: Logger.Level, message: [4;39mLogger[0;0m.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
[0;36m|[0;0m `- [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m26 |[0;0m os_log("%{PUBLIC}@", log: log, type: OSLogType(logLevel: level), formatter.format(message: message, metadata: metadata))
[0;36m27 |[0;0m }
Logging.Logger:1:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m public struct Logger {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m2 |[0;0m public var label: String { get }
[0;36m3 |[0;0m @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
[0;36m2 |[0;0m public struct Logger : @unchecked Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m3 |[0;0m public static var disabled: Logger { get }
[0;36m4 |[0;0m public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:77: [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func log(level: Logger.Level, message: Logger.Message, metadata: [4;39mLogger[0;0m.Metadata?, file _: String, function _: String, line _: UInt) {
[0;36m|[0;0m `- [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m26 |[0;0m os_log("%{PUBLIC}@", log: log, type: OSLogType(logLevel: level), formatter.format(message: message, metadata: metadata))
[0;36m27 |[0;0m }
Logging.Logger:1:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m public struct Logger {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m2 |[0;0m public var label: String { get }
[0;36m3 |[0;0m @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
[0;36m2 |[0;0m public struct Logger : @unchecked Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m3 |[0;0m public static var disabled: Logger { get }
[0;36m4 |[0;0m public init(subsystem: String, category: String)
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:5:15: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m3 |[0;0m import os.log
[0;36m4 |[0;0m
[0;36m5 |[0;0m public struct UnifiedLogHandler: LogHandler {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m6 |[0;0m public var metadata: Logger.Metadata {
[0;36m7 |[0;0m get { formatter.metadata }
Logging.LogHandler.log:3:15: [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m1 |[0;0m protocol LogHandler {
[0;36m2 |[0;0m @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
[0;36m3 |[0;0m public func log(event: Logging.LogEvent)}
[0;36m|[0;0m `- [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m4 |[0;0m
Logging.LogHandler.log:2:6: [1;39mnote: [1;39mrequirement 'log(event:)' declared here[0;0m
[0;36m1 |[0;0m protocol LogHandler {
[0;36m2 |[0;0m func log(event: Logging.LogEvent)}
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'log(event:)' declared here[0;0m
[0;36m3 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:31:20: [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m private extension OSLogType {
[0;36m31 |[0;0m init(logLevel: [4;39mLogger[0;0m.Level) {
[0;36m|[0;0m `- [1;31merror: [1;39m'Logger' is ambiguous for type lookup in this context[0;0m
[0;36m32 |[0;0m switch logLevel {
[0;36m33 |[0;0m case .trace, .debug:
Logging.Logger:1:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m public struct Logger {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m2 |[0;0m public var label: String { get }
[0;36m3 |[0;0m @inlinable public var handler: any Logging.LogHandler { get set }
os.Logger:2:15: [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m1 |[0;0m @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
[0;36m2 |[0;0m public struct Logger : @unchecked Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate[0;0m
[0;36m3 |[0;0m public static var disabled: Logger { get }
[0;36m4 |[0;0m 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