Build Information
Successful build of OpenAPILoggingMiddleware, reference 1.3.1 (ad1bf0), with Swift 6.3 for macOS (SPM) on 20 Sep 2026 06:59:21 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build 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
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-openapi-runtime
[1/2345] Fetching swift-docc-plugin
[2/9283] Fetching swift-docc-plugin, swift-openapi-runtime
[167/17379] Fetching swift-docc-plugin, swift-openapi-runtime, swift-log
Fetched https://github.com/apple/swift-log from cache (1.96s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.96s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.97s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (4.80s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.08s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (0.56s)
Fetching https://github.com/apple/swift-http-types
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (1.05s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (1.65s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.57s)
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
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-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-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
========================================
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": "openapiloggingmiddleware",
"name": "OpenAPILoggingMiddleware",
"url": "https://github.com/diyamantina/OpenAPILoggingMiddleware.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAPILoggingMiddleware",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-openapi-runtime",
"name": "swift-openapi-runtime",
"url": "https://github.com/apple/swift-openapi-runtime",
"version": "1.12.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-openapi-runtime",
"traits": [
"FullFoundation"
],
"dependencies": [
{
"identity": "swift-http-types",
"name": "swift-http-types",
"url": "https://github.com/apple/swift-http-types",
"version": "1.8.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-http-types",
"traits": [
"FoundationURL"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log",
"version": "1.15.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/diyamantina/OpenAPILoggingMiddleware.git
[1/218] Fetching openapiloggingmiddleware
Fetched https://github.com/diyamantina/OpenAPILoggingMiddleware.git from cache (0.90s)
Fetching https://github.com/apple/swift-openapi-runtime from cache
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.61s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.62s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (0.67s)
Fetching https://github.com/apple/swift-http-types from cache
Fetched https://github.com/apple/swift-http-types from cache (0.49s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.56s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.04s)
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/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/diyamantina/OpenAPILoggingMiddleware.git
Working copy of https://github.com/diyamantina/OpenAPILoggingMiddleware.git resolved at 1.3.1 (ad1bf00)
warning: '.resolve-product-dependencies': dependency 'openapiloggingmiddleware' is not used by any target
Found 2 product dependencies
- swift-openapi-runtime
- swift-log
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/diyamantina/OpenAPILoggingMiddleware.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[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-69A768CDF2A0BEE1.txt
[8/28] Compiling Logging Logger+Attributes.swift
[9/28] Compiling Logging LogHandler.swift
[10/28] Compiling Logging Logger.swift
[11/28] Compiling Logging LogEvent.swift
[12/28] Compiling Logging LoggingSystem.swift
[13/28] Compiling Logging Logger+With.swift
[14/29] Compiling Logging MetadataProvider.swift
[15/29] Compiling Logging SwiftLogNoOpLogHandler.swift
[16/29] Emitting module Logging
[17/29] Compiling Logging Locks.swift
[18/29] Compiling Logging MultiplexLogHandler.swift
[19/29] Compiling Logging StreamLogHandler.swift
[20/29] Compiling HTTPTypes HTTPFieldValue.swift
[21/29] Compiling HTTPTypes HTTPField.swift
[22/29] Compiling HTTPTypes HTTP2ErrorCode.swift
[23/29] Compiling HTTPTypes HTTP3ErrorCode.swift
[24/29] Emitting module HTTPTypes
[25/29] Compiling HTTPTypes HTTPFields.swift
[26/29] Compiling HTTPTypes HTTPRequest+URL.swift
[27/29] Compiling HTTPTypes HTTPParsedFields.swift
[28/29] Compiling HTTPTypes HTTPFieldName.swift
[29/29] Compiling HTTPTypes HTTPRequest.swift
[30/30] Compiling HTTPTypes HTTPResponse.swift
[31/95] Emitting module OpenAPIRuntime
[32/102] Compiling OpenAPIRuntime URLExtensions.swift
[33/102] Compiling OpenAPIRuntime Deprecated.swift
[34/102] Compiling OpenAPIRuntime ClientError.swift
[35/102] Compiling OpenAPIRuntime CodingErrors.swift
[36/102] Compiling OpenAPIRuntime RuntimeError.swift
[37/102] Compiling OpenAPIRuntime ServerError.swift
[38/102] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[39/102] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[40/102] Compiling OpenAPIRuntime UndocumentedPayload.swift
[41/102] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[42/102] Compiling OpenAPIRuntime CodableExtensions.swift
[43/102] Compiling OpenAPIRuntime Configuration.swift
[44/102] Compiling OpenAPIRuntime Converter+Client.swift
[45/102] Compiling OpenAPIRuntime Converter+Common.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 Acceptable.swift
[54/102] Compiling OpenAPIRuntime Base64EncodedData.swift
[55/102] Compiling OpenAPIRuntime ByteUtilities.swift
[56/102] Compiling OpenAPIRuntime ContentDisposition.swift
[57/102] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[58/102] Compiling OpenAPIRuntime Lock.swift
[59/102] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[60/102] Compiling OpenAPIRuntime OpenAPIValue.swift
[61/102] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[62/102] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[63/102] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[64/102] Compiling OpenAPIRuntime ServerSentEvents.swift
[65/102] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[66/102] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[67/102] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[68/102] Compiling OpenAPIRuntime ClientTransport.swift
[69/102] Compiling OpenAPIRuntime CurrencyTypes.swift
[70/102] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[71/102] Compiling OpenAPIRuntime HTTPBody.swift
[72/102] Compiling OpenAPIRuntime QuerySpaceNormalizingMiddleware.swift
[73/102] Compiling OpenAPIRuntime SendableMetatype.swift
[74/102] Compiling OpenAPIRuntime ServerTransport.swift
[75/102] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[76/102] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[77/102] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[78/102] Compiling OpenAPIRuntime MultipartValidation.swift
[79/102] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[80/102] Compiling OpenAPIRuntime URICodeCodingKey.swift
[81/102] Compiling OpenAPIRuntime URICoderConfiguration.swift
[82/102] Compiling OpenAPIRuntime URIEncodedNode.swift
[83/102] Compiling OpenAPIRuntime URIParsedTypes.swift
[84/102] Compiling OpenAPIRuntime URIDecoder.swift
[85/102] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[86/102] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[87/102] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[88/102] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[89/102] Compiling OpenAPIRuntime UniversalClient.swift
[90/102] Compiling OpenAPIRuntime UniversalServer.swift
[91/102] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[92/102] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[93/102] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[94/102] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[95/102] Compiling OpenAPIRuntime MultipartInternalTypes.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 StateLock.swift
[104/113] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[105/113] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[106/113] Compiling OpenAPILoggingMiddleware LogMetadataKey.swift
[107/113] Compiling OpenAPILoggingMiddleware LoggingMiddleware.swift
[108/113] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[109/113] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[110/113] Compiling OpenAPILoggingMiddleware HTTPFields+Extension.swift
[111/113] Compiling OpenAPILoggingMiddleware BodyLoggingPolicy.swift
[112/113] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[113/113] Compiling OpenAPILoggingMiddleware String+Extension.swift
Build complete! (16.51s)
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.