The Swift Package Index logo.Swift Package Index

Build Information

Failed to build logging-middleware-oslog, reference 1.1.0 (c66068), with Swift 6.4 for Wasm on 29 Sep 2026 00:31:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/laconicman/OSLogLoggingMiddleware.git
Reference: 1.1.0
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/laconicman/OSLogLoggingMiddleware
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at c660680 FEAT: level and publicBodies knobs for field diagnostics
Cloned https://github.com/laconicman/OSLogLoggingMiddleware.git
Revision (git rev-parse @):
c66068020740e4c872157da696c0f4f999df7e74
SUCCESS checkout https://github.com/laconicman/OSLogLoggingMiddleware.git at 1.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/laconicman/OSLogLoggingMiddleware.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/apple/swift-http-types
[1/1184] Fetching swift-openapi-urlsession
[653/3123] Fetching swift-openapi-urlsession, swift-http-types
Fetched https://github.com/apple/swift-openapi-urlsession (0.49s)
[737/1939] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.52s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.3.1 (1.64s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-openapi-runtime
[1/6958] Fetching swift-openapi-runtime
[6959/34737] Fetching swift-openapi-runtime, swift-collections
Fetched https://github.com/apple/swift-openapi-runtime (1.34s)
Fetched https://github.com/apple/swift-collections (1.35s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (1.54s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.20s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.29s)
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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.3.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 244]
[Constructing 1 / 536]
[57 / 109] InternalCollectionsUtilities
[58 / 117] InternalCollectionsUtilities
[70 / 117] InternalCollectionsUtilities
[72 / 117] SpanPreview
[74 / 117] InternalCollectionsUtilities
[77 / 117] HTTPTypes-product
[83 / 122] SpanPreview
[91 / 125]
[95 / 143] OpenAPIRuntime
[98 / 143] OpenAPIRuntime
[99 / 144] OpenAPIRuntime
[100 / 145] OpenAPIRuntime
[101 / 145] OpenAPIRuntime
[106 / 145] OpenAPIRuntime
[112 / 145] InternalCollectionsUtilities
[115 / 145] HTTPTypes
[116 / 145] HTTPTypes
[119 / 145] DequeModule
[121 / 145] SpanPreview
[121 / 145] OpenAPIRuntime
[124 / 146] DequeModule
[137 / 154] OpenAPIURLSession
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:67:29: error: cannot find type 'URLSession' in scope
 65 |
 66 |         /// The URLSession used for performing HTTP operations.
 67 |         public var session: URLSession
    |                             `- error: cannot find type 'URLSession' in scope
 68 |
 69 |         /// Creates a new configuration with the provided session.
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:74:30: error: cannot find type 'URLSession' in scope
 72 |         ///     If none is provided, the system uses the shared URLSession.
 73 |         ///   - httpBodyProcessingMode: The mode used to process HTTP request and response bodies.
 74 |         public init(session: URLSession = .shared, httpBodyProcessingMode: HTTPBodyProcessingMode = .platformDefault) {
    |                              `- error: cannot find type 'URLSession' in scope
 75 |             let implementation = httpBodyProcessingMode.implementation
 76 |             self.init(session: session, implementation: implementation)
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:81:30: error: cannot find type 'URLSession' in scope
 79 |         /// - Parameter session: The URLSession used for performing HTTP operations.
 80 |         ///   If none is provided, the system uses the shared URLSession.
 81 |         public init(session: URLSession = .shared) { self.init(session: session, implementation: .platformDefault) }
    |                              `- error: cannot find type 'URLSession' in scope
 82 |         /// Specifies the mode in which HTTP request and response bodies are processed.
 83 |         public struct HTTPBodyProcessingMode: Sendable {
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:103:23: error: cannot find type 'URLSession' in scope
101 |         var implementation: Implementation
102 |
103 |         init(session: URLSession = .shared, implementation: Implementation = .platformDefault) {
    |                       `- error: cannot find type 'URLSession' in scope
104 |             self.session = session
105 |             if case .streaming = implementation {
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:157:28: error: cannot find type 'URLResponse' in scope
155 |
156 | extension HTTPBody.Length {
157 |     init(from urlResponse: URLResponse) {
    |                            `- error: cannot find type 'URLResponse' in scope
158 |         if urlResponse.expectedContentLength == -1 {
159 |             self = .unknown
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:173:26: error: cannot find type 'URLResponse' in scope
171 |
172 |     /// Returned `URLResponse` could not be converted to `HTTPURLResponse`.
173 |     case notHTTPResponse(URLResponse)
    |                          `- error: cannot find type 'URLResponse' in scope
174 |
175 |     /// Returned `HTTPURLResponse` has an invalid status code
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:176:36: error: cannot find type 'HTTPURLResponse' in scope
174 |
175 |     /// Returned `HTTPURLResponse` has an invalid status code
176 |     case invalidResponseStatusCode(HTTPURLResponse)
    |                                    `- error: cannot find type 'HTTPURLResponse' in scope
177 |
178 |     /// Returned `URLResponse` was nil
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:186:25: error: cannot find type 'URLResponse' in scope
184 |
185 | extension HTTPResponse {
186 |     init(_ urlResponse: URLResponse) throws {
    |                         `- error: cannot find type 'URLResponse' in scope
187 |         guard let httpResponse = urlResponse as? HTTPURLResponse else {
188 |             throw URLSessionTransportError.notHTTPResponse(urlResponse)
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:205:11: error: cannot find type 'URLRequest' in scope
203 | }
204 |
205 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
206 |     init(_ request: HTTPRequest, baseURL: URL) throws {
207 |         guard var baseUrlComponents = URLComponents(string: baseURL.absoluteString),
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift:315:11: error: cannot find type 'URLSession' in scope
313 | }
314 |
315 | extension URLSession {
    |           `- error: cannot find type 'URLSession' in scope
316 |     func bufferedRequest(for request: HTTPRequest, baseURL: URL, requestBody: HTTPBody?) async throws -> (
317 |         HTTPResponse, HTTPBody?
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/BufferedStream.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/BidirectionalStreamingURLSessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/HTTPBodyOutputStreamBridge.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/URLSession+Extensions.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 1.3.1 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OpenAPIURLSession -package-name swift_openapi_urlsession -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/Objects-normal/wasm32/OpenAPIURLSession_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/Objects-normal/wasm32/Modules/OpenAPIURLSession.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/Objects-normal/wasm32/Modules/OpenAPIURLSession.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/Objects-normal/wasm32/OpenAPIURLSession-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/Objects-normal/wasm32/OpenAPIURLSession-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/Objects-normal/wasm32/OpenAPIURLSession-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-openapi-urlsession.build/Debug-webassembly-wasm32/OpenAPIURLSession-t.build/Objects-normal/wasm32/Modules/OpenAPIURLSession.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm