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>&1Build 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: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m32 |[0;0m /// ### Creating the handler
[0;36m33 |[0;0m /// - ``init(label:logFileURL:logPrefix:)``
[0;36m34 |[0;0m public final class JSONFileLogHandler: LogHandler {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m35 |[0;0m
[0;36m36 |[0;0m private let label: String
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m136 |[0;0m ///
[0;36m137 |[0;0m /// - Parameter event: The log event containing the level, message, metadata, and source location.
[0;36m138 |[0;0m func log(event: LogEvent)
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'log(event:)' declared here[0;0m
[0;36m139 |[0;0m
[0;36m140 |[0;0m /// Please do _not_ implement this method when you create a `LogHandler` implementation.
[0;36m:[0;0m
[0;36m247 |[0;0m /// Implement ``log(event:)`` in your ``LogHandler`` instead.
[0;36m248 |[0;0m @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
[0;36m249 |[0;0m public func log(event: LogEvent) {
[0;36m|[0;0m `- [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m250 |[0;0m self.log(
[0;36m251 |[0;0m level: event.level,
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:22:20: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m20 |[0;0m /// let middleware = LoggingMiddleware(logger: logger, ...)
[0;36m21 |[0;0m /// ```
[0;36m22 |[0;0m public final class ObserverLogHandler: LogHandler {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m23 |[0;0m /// Immutable snapshot of a single log event handed to the observer closure.
[0;36m24 |[0;0m public struct Event: Sendable {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m136 |[0;0m ///
[0;36m137 |[0;0m /// - Parameter event: The log event containing the level, message, metadata, and source location.
[0;36m138 |[0;0m func log(event: LogEvent)
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'log(event:)' declared here[0;0m
[0;36m139 |[0;0m
[0;36m140 |[0;0m /// Please do _not_ implement this method when you create a `LogHandler` implementation.
[0;36m:[0;0m
[0;36m247 |[0;0m /// Implement ``log(event:)`` in your ``LogHandler`` instead.
[0;36m248 |[0;0m @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
[0;36m249 |[0;0m public func log(event: LogEvent) {
[0;36m|[0;0m `- [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m250 |[0;0m self.log(
[0;36m251 |[0;0m level: event.level,
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/PrefixedStreamLogHandler.swift:31:20: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m29 |[0;0m /// ### Companion stream
[0;36m30 |[0;0m /// - ``StandardOutputStream``
[0;36m31 |[0;0m public final class PrefixedStreamLogHandler: LogHandler {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m32 |[0;0m private let label: String
[0;36m33 |[0;0m nonisolated(unsafe) private var _logLevel: Logger.Level = .info
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m136 |[0;0m ///
[0;36m137 |[0;0m /// - Parameter event: The log event containing the level, message, metadata, and source location.
[0;36m138 |[0;0m func log(event: LogEvent)
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'log(event:)' declared here[0;0m
[0;36m139 |[0;0m
[0;36m140 |[0;0m /// Please do _not_ implement this method when you create a `LogHandler` implementation.
[0;36m:[0;0m
[0;36m247 |[0;0m /// Implement ``log(event:)`` in your ``LogHandler`` instead.
[0;36m248 |[0;0m @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
[0;36m249 |[0;0m public func log(event: LogEvent) {
[0;36m|[0;0m `- [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m250 |[0;0m self.log(
[0;36m251 |[0;0m 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: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m20 |[0;0m /// let middleware = LoggingMiddleware(logger: logger, ...)
[0;36m21 |[0;0m /// ```
[0;36m22 |[0;0m public final class ObserverLogHandler: LogHandler {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m23 |[0;0m /// Immutable snapshot of a single log event handed to the observer closure.
[0;36m24 |[0;0m public struct Event: Sendable {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m136 |[0;0m ///
[0;36m137 |[0;0m /// - Parameter event: The log event containing the level, message, metadata, and source location.
[0;36m138 |[0;0m func log(event: LogEvent)
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'log(event:)' declared here[0;0m
[0;36m139 |[0;0m
[0;36m140 |[0;0m /// Please do _not_ implement this method when you create a `LogHandler` implementation.
[0;36m:[0;0m
[0;36m247 |[0;0m /// Implement ``log(event:)`` in your ``LogHandler`` instead.
[0;36m248 |[0;0m @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
[0;36m249 |[0;0m public func log(event: LogEvent) {
[0;36m|[0;0m `- [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m250 |[0;0m self.log(
[0;36m251 |[0;0m 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: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m29 |[0;0m /// ### Companion stream
[0;36m30 |[0;0m /// - ``StandardOutputStream``
[0;36m31 |[0;0m public final class PrefixedStreamLogHandler: LogHandler {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m32 |[0;0m private let label: String
[0;36m33 |[0;0m nonisolated(unsafe) private var _logLevel: Logger.Level = .info
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m136 |[0;0m ///
[0;36m137 |[0;0m /// - Parameter event: The log event containing the level, message, metadata, and source location.
[0;36m138 |[0;0m func log(event: LogEvent)
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'log(event:)' declared here[0;0m
[0;36m139 |[0;0m
[0;36m140 |[0;0m /// Please do _not_ implement this method when you create a `LogHandler` implementation.
[0;36m:[0;0m
[0;36m247 |[0;0m /// Implement ``log(event:)`` in your ``LogHandler`` instead.
[0;36m248 |[0;0m @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
[0;36m249 |[0;0m public func log(event: LogEvent) {
[0;36m|[0;0m `- [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m250 |[0;0m self.log(
[0;36m251 |[0;0m 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: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m32 |[0;0m /// ### Creating the handler
[0;36m33 |[0;0m /// - ``init(label:logFileURL:logPrefix:)``
[0;36m34 |[0;0m public final class JSONFileLogHandler: LogHandler {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m35 |[0;0m
[0;36m36 |[0;0m private let label: String
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m136 |[0;0m ///
[0;36m137 |[0;0m /// - Parameter event: The log event containing the level, message, metadata, and source location.
[0;36m138 |[0;0m func log(event: LogEvent)
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'log(event:)' declared here[0;0m
[0;36m139 |[0;0m
[0;36m140 |[0;0m /// Please do _not_ implement this method when you create a `LogHandler` implementation.
[0;36m:[0;0m
[0;36m247 |[0;0m /// Implement ``log(event:)`` in your ``LogHandler`` instead.
[0;36m248 |[0;0m @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
[0;36m249 |[0;0m public func log(event: LogEvent) {
[0;36m|[0;0m `- [1;39mnote: [1;39m'log(event:)' declared here[0;0m
[0;36m250 |[0;0m self.log(
[0;36m251 |[0;0m level: event.level,
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/JSONFileLogHandler.swift:71:33: [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m69 |[0;0m // Open or create the log file.
[0;36m70 |[0;0m if !FileManager.default.fileExists(atPath: logFileURL.path) {
[0;36m71 |[0;0m FileManager.default.createFile(atPath: logFileURL.path, contents: nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m72 |[0;0m }
[0;36m73 |[0;0m
[#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.