The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenAPILoggingMiddleware, reference main (edfc42), with Swift 6.0 for Linux on 27 Apr 2026 17:11:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelamj/OpenAPILoggingMiddleware.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at edfc42d docs: trim README to brief thread-safety note + add CHANGELOG.md reconstructed from git history
Cloned https://github.com/mihaelamj/OpenAPILoggingMiddleware.git
Revision (git rev-parse @):
edfc42d680bb725dd4fe23e4379f18a864648cd9
SUCCESS checkout https://github.com/mihaelamj/OpenAPILoggingMiddleware.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mihaelamj/OpenAPILoggingMiddleware.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-log
[1/6607] Fetching swift-openapi-runtime
[4296/13278] Fetching swift-openapi-runtime, swift-log
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.42s)
Fetched https://github.com/apple/swift-log from cache (0.51s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.11.0 (0.59s)
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.29s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.78s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.70s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.0
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-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-24593BA9C3E375BF.txt
[6/20] Emitting module Logging
[7/20] Compiling HTTPTypes HTTPField.swift
[8/20] Compiling HTTPTypes HTTPFieldName.swift
[9/20] Emitting module HTTPTypes
[10/21] Compiling HTTPTypes ISOLatin1String.swift
[11/21] Compiling HTTPTypes HTTPResponse.swift
[12/21] Compiling HTTPTypes HTTPRequest.swift
[13/21] Compiling Logging Locks.swift
[14/21] Compiling Logging MetadataProvider.swift
[15/21] Compiling HTTPTypes NIOLock.swift
[16/21] Compiling HTTPTypes HTTPParsedFields.swift
[17/21] Compiling HTTPTypes HTTPRequest+URL.swift
[18/21] Compiling Logging Logging.swift
[19/21] Compiling Logging LogHandler.swift
[20/21] Compiling Logging LogEvent.swift
[22/22] Compiling HTTPTypes HTTPFields.swift
[24/86] Emitting module OpenAPIRuntime
[25/94] Compiling OpenAPIRuntime ErrorExtensions.swift
[26/94] Compiling OpenAPIRuntime FoundationExtensions.swift
[27/94] Compiling OpenAPIRuntime ParameterStyles.swift
[28/94] Compiling OpenAPIRuntime ServerVariable.swift
[29/94] Compiling OpenAPIRuntime URLExtensions.swift
[30/94] Compiling OpenAPIRuntime Deprecated.swift
[31/94] Compiling OpenAPIRuntime ClientError.swift
[32/94] Compiling OpenAPIRuntime CodingErrors.swift
[33/94] Compiling OpenAPIRuntime RuntimeError.swift
[34/94] Compiling OpenAPIRuntime UndocumentedPayload.swift
[35/94] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[36/94] Compiling OpenAPIRuntime CodableExtensions.swift
[37/94] Compiling OpenAPIRuntime Configuration.swift
[38/94] Compiling OpenAPIRuntime Converter+Client.swift
[39/94] Compiling OpenAPIRuntime Converter+Common.swift
[40/94] Compiling OpenAPIRuntime Converter+Server.swift
[41/94] Compiling OpenAPIRuntime Converter.swift
[42/94] Compiling OpenAPIRuntime CurrencyExtensions.swift
[43/94] Compiling OpenAPIRuntime ServerError.swift
[44/94] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[45/94] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[46/94] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[47/94] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[48/94] Compiling OpenAPIRuntime ServerSentEvents.swift
[49/94] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[50/94] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[51/94] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[52/94] Compiling OpenAPIRuntime Acceptable.swift
[53/94] Compiling OpenAPIRuntime Base64EncodedData.swift
[54/94] Compiling OpenAPIRuntime ByteUtilities.swift
[55/94] Compiling OpenAPIRuntime ContentDisposition.swift
[56/94] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[57/94] Compiling OpenAPIRuntime Lock.swift
[58/94] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[59/94] Compiling OpenAPIRuntime OpenAPIValue.swift
[60/94] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[61/94] Compiling OpenAPIRuntime URICodeCodingKey.swift
[62/94] Compiling OpenAPIRuntime URICoderConfiguration.swift
[63/94] Compiling OpenAPIRuntime URIEncodedNode.swift
[64/94] Compiling OpenAPIRuntime URIParsedTypes.swift
[65/94] Compiling OpenAPIRuntime URIDecoder.swift
[66/94] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[67/94] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[68/94] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[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 ClientTransport.swift
[79/94] Compiling OpenAPIRuntime CurrencyTypes.swift
[80/94] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[81/94] Compiling OpenAPIRuntime HTTPBody.swift
[82/94] Compiling OpenAPIRuntime SendableMetatype.swift
[83/94] Compiling OpenAPIRuntime ServerTransport.swift
[84/94] Compiling OpenAPIRuntime UniversalClient.swift
[85/94] Compiling OpenAPIRuntime UniversalServer.swift
[86/94] Compiling OpenAPIRuntime MultipartBoundaryGenerator.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 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
[97/104] 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
[98/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
[99/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
[100/105] 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)
[101/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
[102/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
[103/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
[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.0 linux