The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftCustomLogger, reference master (c60ca9), with Swift 6.4 for macOS (SPM) on 25 Nov 2026 13:44:17 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerzh/swift-custom-logger.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerzh/swift-custom-logger
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c60ca9b Fix standard stream handling on Android
Cloned https://github.com/nerzh/swift-custom-logger.git
Revision (git rev-parse @):
c60ca9befd6fec3e09378ba1fe1af0159efb760a
SUCCESS checkout https://github.com/nerzh/swift-custom-logger.git at master
Fetching https://github.com/apple/swift-log
[1/8584] Fetching swift-log
Fetched https://github.com/apple/swift-log (0.64s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.2 (1.11s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.2
========================================
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": "swift-custom-logger",
      "name": "SwiftCustomLogger",
      "url": "https://github.com/nerzh/swift-custom-logger.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-custom-logger",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log",
          "version": "1.17.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "traits": [
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nerzh/swift-custom-logger.git
[2/43] Fetching swift-custom-logger
Fetched https://github.com/nerzh/swift-custom-logger.git (0.54s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.34s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.2 (0.41s)
Creating working copy for https://github.com/nerzh/swift-custom-logger.git
Working copy of https://github.com/nerzh/swift-custom-logger.git resolved at master (c60ca9b)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.2
warning: '.resolve-product-dependencies': dependency 'swift-custom-logger' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nerzh/swift-custom-logger.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] Logging
[35 / 70]
[39 / 70]
[41 / 70]
[42 / 70]
[53 / 70] Logging
[54 / 70] Logging
[60 / 71] Logging
[62 / 71] SwiftCustomLogger
[72 / 110]
[77 / 110]
[80 / 110]
[81 / 110]
[85 / 110]
[88 / 110]
[90 / 110]
[93 / 110]
[95 / 110]
[96 / 110]
[101 / 110] SwiftCustomLogger
[107 / 110] SwiftCustomLogger
Build complete! (8.49 sec)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 2 | import Logging
 3 |
 4 | public struct CustomHandler: LogHandler {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 5 |
 6 |     public let formatter: LogFormatter
Logging.LogHandler.log:3:15: note: 'log(event:)' declared here
1 | protocol LogHandler {
2 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
3 |   public func log(event: Logging.LogEvent)}
  |               `- note: 'log(event:)' declared here
4 |
Logging.LogHandler.log:2:6: note: requirement 'log(event:)' declared here
1 | protocol LogHandler {
2 | func log(event: Logging.LogEvent)}
  |      `- note: requirement 'log(event:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 2 | import Logging
 3 |
 4 | public struct CustomHandler: LogHandler {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 5 |
 6 |     public let formatter: LogFormatter
Logging.LogHandler.log:3:15: note: 'log(event:)' declared here
1 | protocol LogHandler {
2 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
3 |   public func log(event: Logging.LogEvent)}
  |               `- note: 'log(event:)' declared here
4 |
Logging.LogHandler.log:2:6: note: requirement 'log(event:)' declared here
1 | protocol LogHandler {
2 | func log(event: Logging.LogEvent)}
  |      `- note: requirement 'log(event:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "SwiftCustomLogger",
  "name" : "SwiftCustomLogger",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftCustomLogger",
      "targets" : [
        "SwiftCustomLogger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCustomLogger",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCustomLogger",
      "path" : "Sources/SwiftCustomLogger",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "SwiftCustomLogger"
      ],
      "sources" : [
        "BasicFormatter.swift",
        "CustomHandler.swift",
        "LogFormatter.swift",
        "Printer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.