Build Information
Failed to build UnifiedLogHandler with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/UKfvDsi8u/3/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
Revision (git rev-parse @):
7b4bfa24ba7af8ff819d777cf7acc22450ca68b6
SUCCESS checkout https://github.com/gonzalezreal/UnifiedLogging.git at 1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/gonzalezreal/UnifiedLogging.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/7] Compiling Logging LogHandler.swift
[5/7] Compiling Logging Locks.swift
[6/7] Compiling Logging Logging.swift
[7/7] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Compiling UnifiedLogHandler LogFormatter.swift
[9/10] Emitting module UnifiedLogHandler
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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 {
^
[10/10] Compiling UnifiedLogHandler UnifiedLogHandler.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.18s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.2.0 (0.33s)
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-log-ba8887eb is not valid git repository for 'https://github.com/apple/swift-log', will fetch again.
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.00s)
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-log-ba8887eb is not valid git repository for 'https://github.com/apple/swift-log', will fetch again.
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.00s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.2.0
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module UnifiedLogHandler
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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 {
^
[3/3] Compiling UnifiedLogHandler UnifiedLogHandler.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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
BUILD FAILURE 5.10 macosSpm