The Swift Package Index logo.Swift Package Index

Build Information

Successful build of OpenAPILoggingMiddleware, reference 1.3.1 (ad1bf0), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 09:19:39 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/diyamantina/OpenAPILoggingMiddleware.git
Reference: 1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/diyamantina/OpenAPILoggingMiddleware
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at ad1bf00 docs(changelog): record 1.3.1 + reconstruct missing 1.3.0 entry
Cloned https://github.com/diyamantina/OpenAPILoggingMiddleware.git
Revision (git rev-parse @):
ad1bf0068ef01924058caf8d089fd5290756e74b
SUCCESS checkout https://github.com/diyamantina/OpenAPILoggingMiddleware.git at 1.3.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/diyamantina/OpenAPILoggingMiddleware.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[37 / 70]
[39 / 72] Logging
[48 / 99]
[54 / 128]
[57 / 128]
[58 / 128]
[71 / 128] Logging
[72 / 128]
[75 / 128] Logging
[82 / 128]
[84 / 128]
[89 / 128] Logging
[89 / 128]
[91 / 128]
[92 / 128]
[103 / 128] HTTPTypes
[110 / 129] OpenAPIRuntime
[120 / 140] OpenAPIRuntime
[121 / 140] OpenAPIRuntime
[123 / 140] OpenAPIRuntime
[130 / 141] OpenAPIRuntime
[133 / 155] OpenAPIRuntime
[135 / 155]
[146 / 155] OpenAPILoggingMiddleware
[152 / 155] OpenAPILoggingMiddleware
Build complete! (8.32 sec)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/8096] Fetching swift-log
[2/15034] Fetching swift-log, swift-openapi-runtime
[3/17379] Fetching swift-log, swift-openapi-runtime, swift-docc-plugin
Fetched https://github.com/apple/swift-openapi-runtime (1.61s)
Fetched https://github.com/swiftlang/swift-docc-plugin (1.61s)
Fetched https://github.com/apple/swift-log (1.61s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (4.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.12s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (0.58s)
Fetching https://github.com/apple/swift-http-types
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (1.06s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (1.72s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.60s)
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.12.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:22:20: 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;;\]
 20 | /// let middleware = LoggingMiddleware(logger: logger, ...)
 21 | /// ```
 22 | public final class ObserverLogHandler: 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;;\]
 23 |     /// Immutable snapshot of a single log event handed to the observer closure.
 24 |     public struct Event: Sendable {
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/OpenAPILoggingMiddleware/JSONFileLogHandler.swift:34:20: 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;;\]
 32 | /// ### Creating the handler
 33 | /// - ``init(label:logFileURL:logPrefix:)``
 34 | public final class JSONFileLogHandler: 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;;\]
 35 |
 36 |     private let label: String
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 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/OSLogHandler.swift:35:20: 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;;\]
 33 | /// - ``init(subsystem:category:logPrefix:)``
 34 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 35 | public final class OSLogHandler: 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;;\]
 36 |     private let osLogger: os.Logger
 37 |     private let label: String
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 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:22:20: 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;;\]
 20 | /// let middleware = LoggingMiddleware(logger: logger, ...)
 21 | /// ```
 22 | public final class ObserverLogHandler: 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;;\]
 23 |     /// Immutable snapshot of a single log event handed to the observer closure.
 24 |     public struct Event: Sendable {
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 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/PrefixedStreamLogHandler.swift:31:20: 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;;\]
 29 | /// ### Companion stream
 30 | /// - ``StandardOutputStream``
 31 | public final class PrefixedStreamLogHandler: 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;;\]
 32 |     private let label: String
 33 |     nonisolated(unsafe) private var _logLevel: Logger.Level = .info
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/OpenAPILoggingMiddleware/PrefixedStreamLogHandler.swift:31:20: 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;;\]
 29 | /// ### Companion stream
 30 | /// - ``StandardOutputStream``
 31 | public final class PrefixedStreamLogHandler: 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;;\]
 32 |     private let label: String
 33 |     nonisolated(unsafe) private var _logLevel: Logger.Level = .info
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/OpenAPILoggingMiddleware/JSONFileLogHandler.swift:34:20: 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;;\]
 32 | /// ### Creating the handler
 33 | /// - ``init(label:logFileURL:logPrefix:)``
 34 | public final class JSONFileLogHandler: 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;;\]
 35 |
 36 |     private let label: String
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/OpenAPILoggingMiddleware/OSLogHandler.swift:35:20: 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;;\]
 33 | /// - ``init(subsystem:category:logPrefix:)``
 34 | @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
 35 | public final class OSLogHandler: 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;;\]
 36 |     private let osLogger: os.Logger
 37 |     private let label: String
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-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "OpenAPILoggingMiddleware",
  "name" : "OpenAPILoggingMiddleware",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAPILoggingMiddleware",
      "targets" : [
        "OpenAPILoggingMiddleware"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAPILoggingMiddlewareTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPILoggingMiddlewareTests",
      "path" : "Tests/OpenAPILoggingMiddlewareTests",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "Logging"
      ],
      "sources" : [
        "BodyLoggingPolicyTests.swift",
        "DateExtensionTests.swift",
        "HTTPFieldsExtensionTests.swift",
        "IntegrationTests.swift",
        "JSONFileLogHandlerTests.swift",
        "LoggingMiddlewareTests.swift",
        "ObserverLogHandlerTests.swift",
        "PrefixedStreamLogHandlerTests.swift",
        "PublicApiTests.swift",
        "RobustnessTests.swift",
        "StringExtensionTests.swift"
      ],
      "target_dependencies" : [
        "OpenAPILoggingMiddleware"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAPILoggingMiddleware",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPILoggingMiddleware",
      "path" : "Sources/OpenAPILoggingMiddleware",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "Logging"
      ],
      "product_memberships" : [
        "OpenAPILoggingMiddleware"
      ],
      "sources" : [
        "BodyLoggingPolicy.swift",
        "HTTPFields+Extension.swift",
        "JSONFileLogHandler.swift",
        "LogMetadataKey.swift",
        "LoggingMiddleware.swift",
        "OSLogHandler.swift",
        "ObserverLogHandler.swift",
        "PrefixedStreamLogHandler.swift",
        "StateLock.swift",
        "String+Extension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.