The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Lithium, reference v9.0.5 (0ebe10), with Swift 6.3 for Wasm on 16 Apr 2026 16:44:17 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: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/UnlockAgency/Lithium.git
Reference: v9.0.5
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/UnlockAgency/Lithium
 * tag               v9.0.5     -> FETCH_HEAD
HEAD is now at 0ebe10f Swift-versions
Cloned https://github.com/UnlockAgency/Lithium.git
Revision (git rev-parse @):
0ebe10fb24251fdc6ef2b4efcd4f8fd137de1323
SUCCESS checkout https://github.com/UnlockAgency/Lithium.git at v9.0.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/UnlockAgency/Lithium.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: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/6605] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.56s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Logging LogEvent.swift
[5/9] Emitting module Logging
[6/9] Compiling Logging Locks.swift
[7/9] Compiling Logging LogHandler.swift
[8/9] Compiling Logging MetadataProvider.swift
[9/9] Compiling Logging Logging.swift
[11/17] Compiling Lithium LogTheme.swift
[12/17] Compiling Lithium EmojiLogTheme.swift
[13/17] Compiling Lithium DefaultLogTheme.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/17] Compiling Lithium LogStyle.swift
[15/17] Emitting module Lithium
/host/spi-builder-workspace/Sources/LithiumLogger.swift:16:15: 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]
 14 | @available(tvOS 10.0, *)
 15 | @available(watchOS 3.0, *)
 16 | public struct LithiumLogger: 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]
 17 |     public var logLevel: Logger.Level = .trace
 18 |     public var theme: LogTheme = DefaultLogTheme()
/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/Styling/LogFormatter.swift:13:17: error: cannot find type 'Thread' in scope
 11 |
 12 | struct LogContext {
 13 |     let thread: Thread
    |                 `- error: cannot find type 'Thread' in scope
 14 |     let file: String
 15 |     let function: String
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/17] Compiling Lithium LogFormatter.swift
/host/spi-builder-workspace/Sources/Styling/LogFormatter.swift:13:17: error: cannot find type 'Thread' in scope
 11 |
 12 | struct LogContext {
 13 |     let thread: Thread
    |                 `- error: cannot find type 'Thread' in scope
 14 |     let file: String
 15 |     let function: String
[17/17] Compiling Lithium LithiumLogger.swift
/host/spi-builder-workspace/Sources/LithiumLogger.swift:16:15: 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]
 14 | @available(tvOS 10.0, *)
 15 | @available(watchOS 3.0, *)
 16 | public struct LithiumLogger: 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]
 17 |     public var logLevel: Logger.Level = .trace
 18 |     public var theme: LogTheme = DefaultLogTheme()
/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/LithiumLogger.swift:74:42: error: cannot find 'Thread' in scope
 72 |             metadataString = metadataStringTmp
 73 |         }
 74 |         let context = LogContext(thread: Thread.current, file: file, function: function, line: line)
    |                                          `- error: cannot find 'Thread' in scope
 75 |         print(theme.formatter.parse(style: style, message: logMessage, context: context, metadata: metadataString))
 76 |     }
/host/spi-builder-workspace/Sources/Styling/LogFormatter.swift:13:17: error: cannot find type 'Thread' in scope
 11 |
 12 | struct LogContext {
 13 |     let thread: Thread
    |                 `- error: cannot find type 'Thread' in scope
 14 |     let file: String
 15 |     let function: String
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 wasm