The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UnifiedLogHandler with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/UnifiedLogging.git
Reference: 1.0.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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 into spi-builder-workspace
7b4bfa24ba7af8ff819d777cf7acc22450ca68b6
SUCCESS checkout https://github.com/gonzalezreal/UnifiedLogging.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log (0.22s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.2.0 (0.40s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.2.0
Building for debugging...
[1/4] Compiling Logging LogHandler.swift
[2/4] Emitting module Logging
[3/4] Compiling Logging Logging.swift
[4/4] Compiling Logging Locks.swift
[5/7] Compiling UnifiedLogHandler UnifiedLogHandler.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:6:26: error: 'Logger' is ambiguous for type lookup in this context
    public var metadata: Logger.Metadata {
                         ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:11:26: error: 'Logger' is ambiguous for type lookup in this context
    public var logLevel: Logger.Level = .info
                         ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:20:50: error: 'Logger' is ambiguous for type lookup in this context
    public subscript(metadataKey key: String) -> Logger.Metadata.Value? {
                                                 ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:28: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                           ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:51: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                                                  ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:77: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                                                                            ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:31:20: error: 'Logger' is ambiguous for type lookup in this context
    init(logLevel: Logger.Level) {
                   ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:26:55: error: extraneous argument label 'logLevel:' in call
        os_log("%{PUBLIC}@", log: log, type: OSLogType(logLevel: level), formatter.format(message: message, metadata: metadata))
                                                      ^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Compiling UnifiedLogHandler LogFormatter.swift
[7/7] Emitting module UnifiedLogHandler
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:6:26: error: 'Logger' is ambiguous for type lookup in this context
    public var metadata: Logger.Metadata {
                         ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:11:26: error: 'Logger' is ambiguous for type lookup in this context
    public var logLevel: Logger.Level = .info
                         ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:20:50: error: 'Logger' is ambiguous for type lookup in this context
    public subscript(metadataKey key: String) -> Logger.Metadata.Value? {
                                                 ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:28: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                           ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:51: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                                                  ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:77: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                                                                            ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:31:20: error: 'Logger' is ambiguous for type lookup in this context
    init(logLevel: Logger.Level) {
                   ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module UnifiedLogHandler
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:6:26: error: 'Logger' is ambiguous for type lookup in this context
    public var metadata: Logger.Metadata {
                         ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:11:26: error: 'Logger' is ambiguous for type lookup in this context
    public var logLevel: Logger.Level = .info
                         ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:20:50: error: 'Logger' is ambiguous for type lookup in this context
    public subscript(metadataKey key: String) -> Logger.Metadata.Value? {
                                                 ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:28: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                           ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:51: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                                                  ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:77: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                                                                            ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:31:20: error: 'Logger' is ambiguous for type lookup in this context
    init(logLevel: Logger.Level) {
                   ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
[2/2] Compiling UnifiedLogHandler UnifiedLogHandler.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:6:26: error: 'Logger' is ambiguous for type lookup in this context
    public var metadata: Logger.Metadata {
                         ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:11:26: error: 'Logger' is ambiguous for type lookup in this context
    public var logLevel: Logger.Level = .info
                         ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:20:50: error: 'Logger' is ambiguous for type lookup in this context
    public subscript(metadataKey key: String) -> Logger.Metadata.Value? {
                                                 ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:28: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                           ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:51: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                                                  ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:25:77: error: 'Logger' is ambiguous for type lookup in this context
    public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
                                                                            ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:31:20: error: 'Logger' is ambiguous for type lookup in this context
    init(logLevel: Logger.Level) {
                   ^~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:15: note: found this candidate
public struct Logger {
              ^
os.Logger:2:15: note: found this candidate
public struct Logger {
              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:26:55: error: extraneous argument label 'logLevel:' in call
        os_log("%{PUBLIC}@", log: log, type: OSLogType(logLevel: level), formatter.format(message: message, metadata: metadata))
                                                      ^~~~~~~~~~~
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm