The Swift Package Index logo.Swift Package Index

Build Information

Successful build of OpenAPILoggingMiddleware, reference 1.3.1 (ad1bf0), with Swift 6.4 for Android on 20 Sep 2026 09:05:59 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/diyamantina/OpenAPILoggingMiddleware.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-log
[1/8096] Fetching swift-log
[1864/15034] Fetching swift-log, swift-openapi-runtime
[2917/17379] Fetching swift-log, swift-openapi-runtime, swift-docc-plugin
Fetched https://github.com/apple/swift-openapi-runtime (0.55s)
Fetched https://github.com/apple/swift-log (0.55s)
Fetched https://github.com/swiftlang/swift-docc-plugin (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.84s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (0.19s)
Fetching https://github.com/apple/swift-http-types
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.47s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.69s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.19s)
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
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[47 / 85] Logging
[59 / 85] Logging
[63 / 85] Logging
[65 / 85] Logging-product
[70 / 95] OpenAPIRuntime
[71 / 95] OpenAPIRuntime
[72 / 95] OpenAPIRuntime
[74 / 95] Logging
[84 / 97] OpenAPIRuntime-product
[88 / 98] OpenAPILoggingMiddleware
[90 / 107] OpenAPILoggingMiddleware
/host/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
/host/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,
/host/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 {
/host/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,
/host/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
/host/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>
[92 / 107] OpenAPILoggingMiddleware
/host/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 {
/host/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>
[99 / 107] OpenAPILoggingMiddleware
[101 / 107] OpenAPILoggingMiddleware-product
/host/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
/host/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>
[102 / 107] OpenAPILoggingMiddleware
/host/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
/host/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,
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/JSONFileLogHandler.swift:71:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 69 |         // Open or create the log file.
 70 |         if !FileManager.default.fileExists(atPath: logFileURL.path) {
 71 |             FileManager.default.createFile(atPath: logFileURL.path, contents: nil)
    |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 72 |         }
 73 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[103 / 108] OpenAPILoggingMiddleware
[104 / 108] OpenAPIRuntime
[109 / 109] OpenAPILoggingMiddleware-product
Build complete! (8.21 secs)
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" : "/host/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"
}
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Done.