The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Chronicle, reference main (5427bc), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 05:25:38 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Aeastr/Chronicle.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Aeastr/Chronicle
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5427bc4 WIP
Cloned https://github.com/Aeastr/Chronicle.git
Revision (git rev-parse @):
5427bc4832081a95e835805b9e2cdca55e932b00
SUCCESS checkout https://github.com/Aeastr/Chronicle.git at main
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.81s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "chronicle",
      "name": "Chronicle",
      "url": "https://github.com/Aeastr/Chronicle.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Chronicle",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.12.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "traits": [
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Aeastr/Chronicle.git
[1/375] Fetching chronicle
Fetched https://github.com/Aeastr/Chronicle.git from cache (1.29s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.25s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/Aeastr/Chronicle.git
Working copy of https://github.com/Aeastr/Chronicle.git resolved at main (5427bc4)
warning: '.resolve-product-dependencies': dependency 'chronicle' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Aeastr/Chronicle.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version--6988338F2F200930.txt
[7/19] Compiling Logging Logging.swift
[8/19] Compiling Logging MetadataProvider.swift
[9/19] Emitting module Logging
[10/19] Compiling Logging LogHandler.swift
[11/19] Compiling Logging Locks.swift
[12/19] Compiling Chronicle Tag.swift
[13/19] Compiling Chronicle LogOutputOptions.swift
[14/19] Compiling Chronicle LogMetadata.swift
[15/19] Compiling Chronicle LogEntry.swift
[16/19] Compiling Chronicle Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chronicle/Logger.swift:321:15: warning: result of call to 'sync(flags:execute:)' is unused [#no-usage]
319 |
320 |     public func removeEventSink(_ token: LogEventSinkToken) {
321 |         queue.sync(flags: .barrier) {
    |               `- warning: result of call to 'sync(flags:execute:)' is unused [#no-usage]
322 |             eventSinks.removeValue(forKey: token.rawValue)
323 |         }
[17/19] Emitting module Chronicle
[18/19] Compiling Chronicle LogLevel.swift
[19/19] Compiling Chronicle LogEventSink.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/25] Emitting module ChronicleSwiftLogBridge
/Users/admin/builder/spi-builder-workspace/Sources/ChronicleSwiftLogBridge/SwiftLogIntegration.swift:14:26: error: 'Logger' is ambiguous for type lookup in this context
 12 | /// A `swift-log` compatible handler that forwards messages into `Chronicle`.
 13 | public struct ChronicleLogHandler: LogHandler {
 14 |     private var backend: Logger
    |                          `- error: 'Logger' is ambiguous for type lookup in this context
 15 |     public var metadata: Logging.Logger.Metadata
 16 |     public var logLevel: Logging.Logger.Level {
/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
/Users/admin/builder/spi-builder-workspace/Sources/Chronicle/Logger.swift:29:20: note: found this candidate
 27 | /// ```
 28 | /// Logger is @unchecked Sendable because all mutable state is protected by a concurrent queue or is immutable.
 29 | public final class Logger: @unchecked Sendable {
    |                    `- note: found this candidate
 30 |     // MARK: - Registry for Named Shared Logger Instances (Concurrency-safe for Swift 6)
 31 |     // The registry is encapsulated in a final class and marked @unchecked Sendable.
[21/25] Compiling ChronicleSwiftLogBridge SwiftLogIntegration.swift
/Users/admin/builder/spi-builder-workspace/Sources/ChronicleSwiftLogBridge/SwiftLogIntegration.swift:14:26: error: 'Logger' is ambiguous for type lookup in this context
 12 | /// A `swift-log` compatible handler that forwards messages into `Chronicle`.
 13 | public struct ChronicleLogHandler: LogHandler {
 14 |     private var backend: Logger
    |                          `- error: 'Logger' is ambiguous for type lookup in this context
 15 |     public var metadata: Logging.Logger.Metadata
 16 |     public var logLevel: Logging.Logger.Level {
/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
/Users/admin/builder/spi-builder-workspace/Sources/Chronicle/Logger.swift:29:20: note: found this candidate
 27 | /// ```
 28 | /// Logger is @unchecked Sendable because all mutable state is protected by a concurrent queue or is immutable.
 29 | public final class Logger: @unchecked Sendable {
    |                    `- note: found this candidate
 30 |     // MARK: - Registry for Named Shared Logger Instances (Concurrency-safe for Swift 6)
 31 |     // The registry is encapsulated in a final class and marked @unchecked Sendable.
[22/25] Compiling ChronicleConsole Logger+Console.swift
BUILD FAILURE 6.3 macosSpm