The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-testing, reference 0.0.1 (8459ce), with Swift 6.3 for Wasm on 13 Apr 2026 05:22:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/neallester/swift-log-testing.git
Reference: 0.0.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/neallester/swift-log-testing
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 8459cec Added TestLogMessages.set(logLevel:, forLabel:)
Cloned https://github.com/neallester/swift-log-testing.git
Revision (git rev-parse @):
8459cec10d45da4c566aaec9052fa4a1bef3b861
SUCCESS checkout https://github.com/neallester/swift-log-testing.git at 0.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/neallester/swift-log-testing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/6521] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.12s)
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 LogEvent.swift
[7/9] Compiling Logging Locks.swift
[8/9] Emitting module Logging
[9/9] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/12] Emitting module SwiftLogTesting
/host/spi-builder-workspace/Sources/SwiftLogTesting/TestingLogHandler.swift:4:8: 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]
  2 | import Logging
  3 |
  4 | struct TestingLogHandler: 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]
  5 |
  6 |     init (label: 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/SwiftLogTesting/TestingLogHandler.swift:273:28: error: cannot find type 'DispatchQueue' in scope
271 |
272 |         private var _messages: [LogMessage] = []
273 |         private let queue: DispatchQueue
    |                            `- error: cannot find type 'DispatchQueue' in scope
274 |     }
275 |
/host/spi-builder-workspace/Sources/SwiftLogTesting/TestingLogHandler.swift:278:32: error: cannot find 'DispatchQueue' in scope
276 |     private static var _containers: [ String: Container ] = [:]
277 |     private static var _logLevels: [ String : Logger.Level] = [:]
278 |     private static let queue = DispatchQueue(label: "LogMessages")
    |                                `- error: cannot find 'DispatchQueue' in scope
279 |     private static var isInitialized = false
280 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[12/12] Compiling SwiftLogTesting TestingLogHandler.swift
/host/spi-builder-workspace/Sources/SwiftLogTesting/TestingLogHandler.swift:4:8: 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]
  2 | import Logging
  3 |
  4 | struct TestingLogHandler: 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]
  5 |
  6 |     init (label: 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/SwiftLogTesting/TestingLogHandler.swift:273:28: error: cannot find type 'DispatchQueue' in scope
271 |
272 |         private var _messages: [LogMessage] = []
273 |         private let queue: DispatchQueue
    |                            `- error: cannot find type 'DispatchQueue' in scope
274 |     }
275 |
/host/spi-builder-workspace/Sources/SwiftLogTesting/TestingLogHandler.swift:278:32: error: cannot find 'DispatchQueue' in scope
276 |     private static var _containers: [ String: Container ] = [:]
277 |     private static var _logLevels: [ String : Logger.Level] = [:]
278 |     private static let queue = DispatchQueue(label: "LogMessages")
    |                                `- error: cannot find 'DispatchQueue' in scope
279 |     private static var isInitialized = false
280 |
/host/spi-builder-workspace/Sources/SwiftLogTesting/TestingLogHandler.swift:219:26: error: cannot find 'DispatchQueue' in scope
217 |         init (label: String) {
218 |             self.label = label
219 |             self.queue = DispatchQueue(label: "LogMessages.Container:\(label)")
    |                          `- error: cannot find 'DispatchQueue' in scope
220 |         }
221 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 wasm