The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-matrix, reference 0.3.1 (fa678c), with Swift 6.3 for Wasm on 13 Apr 2026 14:01:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/swift-log-matrix.git
Reference: 0.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/kiliankoe/swift-log-matrix
 * tag               0.3.1      -> FETCH_HEAD
HEAD is now at fa678c2 reformat log output and allow custom timestamp format
Cloned https://github.com/kiliankoe/swift-log-matrix.git
Revision (git rev-parse @):
fa678c27fce234deece224245cd44c4dcc380982
SUCCESS checkout https://github.com/kiliankoe/swift-log-matrix.git at 0.3.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/kiliankoe/swift-log-matrix.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
[1/6552] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.87s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.80s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Logging MetadataProvider.swift
[5/9] Compiling Logging LogHandler.swift
[6/9] Compiling Logging Locks.swift
[7/9] Emitting module Logging
[8/9] Compiling Logging LogEvent.swift
[9/9] Compiling Logging Logging.swift
[11/16] Compiling LoggingMatrix Message.swift
[12/16] Compiling LoggingMatrix Metadata+merged.swift
[13/16] Compiling LoggingMatrix URLSession+async.swift
/host/spi-builder-workspace/Sources/LoggingMatrix/URLSession+async.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 5 | #endif
 6 |
 7 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 8 |     func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
 9 |         try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/LoggingMatrix/URLSession+async.swift:8:28: error: cannot find type 'URLRequest' in scope
 6 |
 7 | extension URLSession {
 8 |     func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
   |                            `- error: cannot find type 'URLRequest' in scope
 9 |         try await withCheckedThrowingContinuation { continuation in
10 |             let task = dataTask(with: request) { data, response, error in
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[14/16] Compiling LoggingMatrix LoggingMatrixError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/16] Emitting module LoggingMatrix
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:8:14: 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 [#DeprecatedDeclaration]
  6 | #endif
  7 |
  8 | public class MatrixLogHandler: 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 [#DeprecatedDeclaration]
  9 |     private var homeserver: URL
 10 |     private var roomID: String
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 |     ///
144 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
146 |
147 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
254 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
255 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
257 |         self.log(
258 |             level: event.level,
/host/spi-builder-workspace/Sources/LoggingMatrix/URLSession+async.swift:7:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 5 | #endif
 6 |
 7 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 8 |     func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
 9 |         try await withCheckedThrowingContinuation { continuation in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[16/16] Compiling LoggingMatrix MatrixLogHandler.swift
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:8:14: 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 [#DeprecatedDeclaration]
  6 | #endif
  7 |
  8 | public class MatrixLogHandler: 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 [#DeprecatedDeclaration]
  9 |     private var homeserver: URL
 10 |     private var roomID: String
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 |     ///
144 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
146 |
147 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
254 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
255 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
257 |         self.log(
258 |             level: event.level,
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:108:53: error: cannot find 'URLRequest' in scope
106 |         urlComponents.queryItems = [URLQueryItem(name: "access_token", value: self.accessToken)]
107 |
108 |         guard var request = urlComponents.url.map({ URLRequest(url: $0) }) else { throw LoggingMatrixError.invalidURL }
    |                                                     `- error: cannot find 'URLRequest' in scope
109 |         request.httpMethod = "POST"
110 |         request.httpBody = payload
/host/spi-builder-workspace/Sources/LoggingMatrix/MatrixLogHandler.swift:114:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
112 |         request.addValue("application/json", forHTTPHeaderField: "Accept")
113 |
114 |         let (data, response) = try await URLSession.shared.data(for: request)
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
115 |         do {
116 |             _ = try JSONDecoder().decode(EventResponse.self, from: data)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 wasm