The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenAPILoggingMiddleware, reference 1.2.2 (1b7ed1), with Swift 6.2 for Android on 27 Apr 2026 17:02:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelamj/OpenAPILoggingMiddleware.git
Reference: 1.2.2
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/mihaelamj/OpenAPILoggingMiddleware
 * tag               1.2.2      -> FETCH_HEAD
HEAD is now at 1b7ed19 fix: protect ObserverLogHandler state with OSAllocatedUnfairLock to stop SIGABRT under concurrent metadata writes
Cloned https://github.com/mihaelamj/OpenAPILoggingMiddleware.git
Revision (git rev-parse @):
1b7ed1963ccd6ea90f7a3aeb977c834e013dd840
SUCCESS checkout https://github.com/mihaelamj/OpenAPILoggingMiddleware.git at 1.2.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mihaelamj/OpenAPILoggingMiddleware.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-log
[1/6607] Fetching swift-openapi-runtime
[1653/13278] Fetching swift-openapi-runtime, swift-log
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.83s)
Fetched https://github.com/apple/swift-log from cache (0.83s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.11.0 (1.29s)
Fetching https://github.com/apple/swift-http-types
[1/1043] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.28s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.70s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.43s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.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.11.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--11D90AFD9DD3AB2.txt
[6/20] Emitting module Logging
[7/20] Emitting module HTTPTypes
[8/21] Compiling HTTPTypes HTTPResponse.swift
[9/21] Compiling HTTPTypes HTTPRequest.swift
[10/21] Compiling HTTPTypes ISOLatin1String.swift
[11/21] Compiling HTTPTypes NIOLock.swift
[12/21] Compiling Logging MetadataProvider.swift
[13/21] Compiling HTTPTypes HTTPRequest+URL.swift
[14/21] Compiling HTTPTypes HTTPParsedFields.swift
[15/21] Compiling Logging LogHandler.swift
[16/21] Compiling Logging Locks.swift
[17/21] Compiling Logging Logging.swift
[18/21] Compiling Logging LogEvent.swift
[20/22] Compiling HTTPTypes HTTPFields.swift
[21/22] Compiling HTTPTypes HTTPField.swift
[22/22] Compiling HTTPTypes HTTPFieldName.swift
[24/86] Compiling OpenAPIRuntime URICodeCodingKey.swift
[25/86] Compiling OpenAPIRuntime URICoderConfiguration.swift
[26/86] Compiling OpenAPIRuntime URIEncodedNode.swift
[27/86] Compiling OpenAPIRuntime URIParsedTypes.swift
[28/86] Compiling OpenAPIRuntime URIDecoder.swift
[29/86] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[30/86] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[31/86] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[32/94] Compiling OpenAPIRuntime ClientTransport.swift
[33/94] Compiling OpenAPIRuntime CurrencyTypes.swift
[34/94] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[35/94] Compiling OpenAPIRuntime HTTPBody.swift
[36/94] Compiling OpenAPIRuntime SendableMetatype.swift
[37/94] Compiling OpenAPIRuntime ServerTransport.swift
[38/94] Compiling OpenAPIRuntime UniversalClient.swift
[39/94] Compiling OpenAPIRuntime UniversalServer.swift
[40/94] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[41/94] Compiling OpenAPIRuntime ServerError.swift
[42/94] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[43/94] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[44/94] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[45/94] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[46/94] Compiling OpenAPIRuntime ServerSentEvents.swift
[47/94] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[48/94] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[49/94] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[50/94] Compiling OpenAPIRuntime Acceptable.swift
[51/94] Compiling OpenAPIRuntime Base64EncodedData.swift
[52/94] Compiling OpenAPIRuntime ByteUtilities.swift
[53/94] Compiling OpenAPIRuntime ContentDisposition.swift
[54/94] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[55/94] Compiling OpenAPIRuntime Lock.swift
[56/94] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[57/94] Compiling OpenAPIRuntime OpenAPIValue.swift
[58/94] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[59/94] Compiling OpenAPIRuntime UndocumentedPayload.swift
[60/94] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[61/94] Compiling OpenAPIRuntime CodableExtensions.swift
[62/94] Compiling OpenAPIRuntime Configuration.swift
[63/94] Compiling OpenAPIRuntime Converter+Client.swift
[64/94] Compiling OpenAPIRuntime Converter+Common.swift
[65/94] Compiling OpenAPIRuntime Converter+Server.swift
[66/94] Compiling OpenAPIRuntime Converter.swift
[67/94] Compiling OpenAPIRuntime CurrencyExtensions.swift
[68/94] Emitting module OpenAPIRuntime
[69/94] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[70/94] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[71/94] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[72/94] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[73/94] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[74/94] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[75/94] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[76/94] Compiling OpenAPIRuntime MultipartValidation.swift
[77/94] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[78/94] Compiling OpenAPIRuntime ErrorExtensions.swift
[79/94] Compiling OpenAPIRuntime FoundationExtensions.swift
[80/94] Compiling OpenAPIRuntime ParameterStyles.swift
[81/94] Compiling OpenAPIRuntime ServerVariable.swift
[82/94] Compiling OpenAPIRuntime URLExtensions.swift
[83/94] Compiling OpenAPIRuntime Deprecated.swift
[84/94] Compiling OpenAPIRuntime ClientError.swift
[85/94] Compiling OpenAPIRuntime CodingErrors.swift
[86/94] Compiling OpenAPIRuntime RuntimeError.swift
[87/94] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[88/94] Compiling OpenAPIRuntime URIEncoder.swift
[89/94] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[90/94] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[91/94] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[92/94] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[93/94] Compiling OpenAPIRuntime URIParser.swift
[94/94] Compiling OpenAPIRuntime URISerializer.swift
[96/104] Compiling OpenAPILoggingMiddleware OSLogHandler.swift
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/105] Emitting module OpenAPILoggingMiddleware
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
[98/105] Compiling OpenAPILoggingMiddleware PrefixedStreamLogHandler.swift
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
[99/105] Compiling OpenAPILoggingMiddleware ObserverLogHandler.swift
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
[100/105] Compiling OpenAPILoggingMiddleware LogMetadataKey.swift
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
[101/105] Compiling OpenAPILoggingMiddleware LoggingMiddleware.swift
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
[102/105] Compiling OpenAPILoggingMiddleware BodyLoggingPolicy.swift
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
[103/105] Compiling OpenAPILoggingMiddleware HTTPFields+Extension.swift
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
[104/105] Compiling OpenAPILoggingMiddleware JSONFileLogHandler.swift
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
[105/105] Compiling OpenAPILoggingMiddleware String+Extension.swift
/host/spi-builder-workspace/Sources/OpenAPILoggingMiddleware/ObserverLogHandler.swift:6:15: error: no such module 'os'
  4 | // with `os.Logger` (Apple's unified logging) which would shadow swift-log's
  5 | // `Logging.Logger` if the whole `os` module were imported.
  6 | import struct os.OSAllocatedUnfairLock
    |               `- error: no such module 'os'
  7 |
  8 | /// A generic `LogHandler` that forwards every log event to a user-supplied
BUILD FAILURE 6.2 android