The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build UnifiedLogHandler, reference 1.0.0 (7b4bfa), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 20:55:56 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/gonzalezreal/UnifiedLogging.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Locks.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module UnifiedLogHandler
/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 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:5:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 3 | import os.log
 4 |
 5 | public struct UnifiedLogHandler: LogHandler {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 6 |     public var metadata: Logger.Metadata {
 7 |         get { formatter.metadata }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 |     ///     - function: The function the log line was emitted from.
134 |     ///     - line: The line the log message was emitted from.
135 |     func log(
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |         level: Logger.Level,
137 |         message: Logger.Message,
    :
207 | extension LogHandler {
208 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 |     public func log(
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 |         level: Logger.Level,
211 |         message: Logger.Message,
/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:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/11] Compiling UnifiedLogHandler LogFormatter.swift
[11/11] Compiling UnifiedLogHandler UnifiedLogHandler.swift
/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 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/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 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:5:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 3 | import os.log
 4 |
 5 | public struct UnifiedLogHandler: LogHandler {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
 6 |     public var metadata: Logger.Metadata {
 7 |         get { formatter.metadata }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 |     ///     - function: The function the log line was emitted from.
134 |     ///     - line: The line the log message was emitted from.
135 |     func log(
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |         level: Logger.Level,
137 |         message: Logger.Message,
    :
207 | extension LogHandler {
208 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 |     public func log(
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 |         level: Logger.Level,
211 |         message: Logger.Message,
/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:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:47:15: note: found this candidate
  45 | /// logger.info("Hello World!")
  46 | /// ```
  47 | public struct Logger {
     |               `- note: found this candidate
  48 |     /// Storage class to hold the label and log handler
  49 |     // The storage implements CoW to become Sendable
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 init(subsystem: String, category: String)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:26:55: error: extraneous argument label 'logLevel:' in call
24 |
25 |     public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file _: String, function _: String, line _: UInt) {
26 |         os_log("%{PUBLIC}@", log: log, type: OSLogType(logLevel: level), formatter.format(message: message, metadata: metadata))
   |                                                       `- error: extraneous argument label 'logLevel:' in call
27 |     }
28 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/swift-log
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.14s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.54s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
BUILD FAILURE 6.2 macosSpm