The Swift Package Index logo.Swift Package Index

Build Information

Successful build of OpenAPILoggingMiddleware, reference main (f5c187), with Swift 6.1 for macOS (SPM) on 20 Sep 2026 09:27:12 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/diyamantina/OpenAPILoggingMiddleware.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/diyamantina/OpenAPILoggingMiddleware
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f5c1879 Fix repo/package URLs to point at diyamantina mirror and Codeberg canonical
Cloned https://github.com/diyamantina/OpenAPILoggingMiddleware.git
Revision (git rev-parse @):
f5c1879ffa3e05877655e47914c392d348ad5fb8
SUCCESS checkout https://github.com/diyamantina/OpenAPILoggingMiddleware.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/diyamantina/OpenAPILoggingMiddleware.git
https://github.com/diyamantina/OpenAPILoggingMiddleware.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/28] Compiling Logging Logger+Attributes.swift
[9/29] Compiling Logging Logger.swift
[10/29] Compiling Logging LoggingSystem.swift
[11/29] Compiling Logging MetadataProvider.swift
[12/29] Compiling Logging LogEvent.swift
[13/29] Emitting module Logging
unable to find node: pound
unable to find node: pound
[14/29] Compiling Logging MultiplexLogHandler.swift
[15/29] Compiling Logging StreamLogHandler.swift
[16/29] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[17/29] Compiling Logging SwiftLogNoOpLogHandler.swift
[18/29] Compiling Logging LogHandler.swift
[19/29] Compiling Logging Locks.swift
[20/29] Compiling HTTPTypes HTTPRequest.swift
[21/30] Compiling HTTPTypes HTTPFieldName.swift
[22/30] Compiling HTTPTypes HTTP3ErrorCode.swift
[23/30] Compiling HTTPTypes HTTPField.swift
[24/30] Compiling HTTPTypes HTTP2ErrorCode.swift
[25/30] Emitting module HTTPTypes
[26/30] Compiling HTTPTypes HTTPResponse.swift
[27/30] Compiling HTTPTypes HTTPFieldValue.swift
[28/30] Compiling HTTPTypes HTTPFields.swift
[29/30] Compiling HTTPTypes HTTPParsedFields.swift
[30/30] Compiling HTTPTypes HTTPRequest+URL.swift
[31/95] Emitting module OpenAPIRuntime
[32/102] Compiling OpenAPIRuntime ClientTransport.swift
[33/102] Compiling OpenAPIRuntime CurrencyTypes.swift
[34/102] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[35/102] Compiling OpenAPIRuntime HTTPBody.swift
[36/102] Compiling OpenAPIRuntime QuerySpaceNormalizingMiddleware.swift
[37/102] Compiling OpenAPIRuntime SendableMetatype.swift
[38/102] Compiling OpenAPIRuntime ServerTransport.swift
[39/102] Compiling OpenAPIRuntime URIEncodedNode.swift
[40/102] Compiling OpenAPIRuntime URIParsedTypes.swift
[41/102] Compiling OpenAPIRuntime URIDecoder.swift
[42/102] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[43/102] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[44/102] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[45/102] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[46/102] Compiling OpenAPIRuntime Converter+Server.swift
[47/102] Compiling OpenAPIRuntime Converter.swift
[48/102] Compiling OpenAPIRuntime CurrencyExtensions.swift
[49/102] Compiling OpenAPIRuntime ErrorExtensions.swift
[50/102] Compiling OpenAPIRuntime FoundationExtensions.swift
[51/102] Compiling OpenAPIRuntime ParameterStyles.swift
[52/102] Compiling OpenAPIRuntime ServerVariable.swift
[53/102] Compiling OpenAPIRuntime URLExtensions.swift
[54/102] Compiling OpenAPIRuntime Deprecated.swift
[55/102] Compiling OpenAPIRuntime ClientError.swift
[56/102] Compiling OpenAPIRuntime CodingErrors.swift
[57/102] Compiling OpenAPIRuntime RuntimeError.swift
[58/102] Compiling OpenAPIRuntime ServerError.swift
[59/102] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[60/102] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[61/102] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[62/102] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[63/102] Compiling OpenAPIRuntime MultipartValidation.swift
[64/102] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[65/102] Compiling OpenAPIRuntime URICodeCodingKey.swift
[66/102] Compiling OpenAPIRuntime URICoderConfiguration.swift
[67/102] Compiling OpenAPIRuntime UniversalClient.swift
[68/102] Compiling OpenAPIRuntime UniversalServer.swift
[69/102] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[70/102] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[71/102] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[72/102] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[73/102] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[74/102] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[75/102] Compiling OpenAPIRuntime UndocumentedPayload.swift
[76/102] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[77/102] Compiling OpenAPIRuntime CodableExtensions.swift
[78/102] Compiling OpenAPIRuntime Configuration.swift
[79/102] Compiling OpenAPIRuntime Converter+Client.swift
[80/102] Compiling OpenAPIRuntime Converter+Common.swift
[81/102] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[82/102] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[83/102] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[84/102] Compiling OpenAPIRuntime ServerSentEvents.swift
[85/102] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[86/102] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[87/102] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[88/102] Compiling OpenAPIRuntime Acceptable.swift
[89/102] Compiling OpenAPIRuntime Base64EncodedData.swift
[90/102] Compiling OpenAPIRuntime ByteUtilities.swift
[91/102] Compiling OpenAPIRuntime ContentDisposition.swift
[92/102] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[93/102] Compiling OpenAPIRuntime Lock.swift
[94/102] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[95/102] Compiling OpenAPIRuntime OpenAPIValue.swift
[96/102] Compiling OpenAPIRuntime URIEncoder.swift
[97/102] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[98/102] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[99/102] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[100/102] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[101/102] Compiling OpenAPIRuntime URIParser.swift
[102/102] Compiling OpenAPIRuntime URISerializer.swift
[103/112] Compiling OpenAPILoggingMiddleware PrefixedStreamLogHandler.swift
/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
 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
 32 |     private let label: String
 33 |     nonisolated(unsafe) private var _logLevel: Logger.Level = .info
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[104/112] Compiling OpenAPILoggingMiddleware StateLock.swift
[105/112] Compiling OpenAPILoggingMiddleware ObserverLogHandler.swift
/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
 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
 23 |     /// Immutable snapshot of a single log event handed to the observer closure.
 24 |     public struct Event: Sendable {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[106/112] Compiling OpenAPILoggingMiddleware LogMetadataKey.swift
[107/112] Compiling OpenAPILoggingMiddleware LoggingMiddleware.swift
[108/112] Compiling OpenAPILoggingMiddleware HTTPFields+Extension.swift
[109/112] Compiling OpenAPILoggingMiddleware BodyLoggingPolicy.swift
[110/112] Emitting module OpenAPILoggingMiddleware
/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
 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
 35 |
 36 |     private let label: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/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
 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
 36 |     private let osLogger: os.Logger
 37 |     private let label: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/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
 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
 23 |     /// Immutable snapshot of a single log event handed to the observer closure.
 24 |     public struct Event: Sendable {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
/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
 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
 32 |     private let label: String
 33 |     nonisolated(unsafe) private var _logLevel: Logger.Level = .info
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[111/112] Compiling OpenAPILoggingMiddleware JSONFileLogHandler.swift
/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
 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
 35 |
 36 |     private let label: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[112/112] Compiling OpenAPILoggingMiddleware OSLogHandler.swift
/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
 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
 36 |     private let osLogger: os.Logger
 37 |     private let label: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[113/113] Compiling OpenAPILoggingMiddleware String+Extension.swift
Build complete! (31.74s)
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-log from cache
[1/6938] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.29s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.30s)
Fetched https://github.com/apple/swift-log from cache (1.34s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (5.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.09s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.86s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (0.50s)
Fetching https://github.com/apple/swift-http-types from cache
Fetched https://github.com/apple/swift-http-types from cache (0.98s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (1.54s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.49s)
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/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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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.