This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/UnifiedLogging.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gonzalezreal/UnifiedLogging
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/gonzalezreal/UnifiedLogging.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/7] Compiling Logging LogHandler.swift
[5/7] Compiling Logging Logging.swift
[6/7] Compiling Logging Locks.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/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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- note: found this candidate
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
/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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- note: found this candidate
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
[10/10] 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- note: found this candidate
 3 |     public init(subsystem: String, category: String)
 4 |     public init()
/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:28:15: note: found this candidate
 26 | ///     logger.info("Hello World!")
 27 | ///
 28 | public struct Logger {
    |               `- note: found this candidate
 29 |     @usableFromInline
 30 |     var handler: LogHandler
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 {
   |               `- 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 | }
Fetching https://github.com/apple/swift-log
[1/3361] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.15s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.2.0 (0.67s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.2.0
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.