The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LogDog, reference 0.3.0 (ee6748), with Swift 6.4 for Linux on 18 Sep 2026 12:07:29 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/luoxiu/LogDog.git
Reference: 0.3.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/luoxiu/LogDog
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at ee67485 if the metadata value is encodable, encode it
Cloned https://github.com/luoxiu/LogDog.git
Revision (git rev-parse @):
ee67485708a0204a7932e5e46616ad530724af4d
SUCCESS checkout https://github.com/luoxiu/LogDog.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/luoxiu/LogDog.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-3":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-log.git
[1/8096] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.15s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 125]
[Planning deferred tasks]
[29 / 48] Logging
[38 / 57] Logging
[39 / 57] Logging
[44 / 58] LogDog
[48 / 67] Logging
[49 / 67] LogDog
[50 / 67] LogDog
[52 / 67] LogDog
[53 / 68] Logging
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:14: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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |               `- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
15 |     public var logLevel: Logger.Level = .trace
16 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[56 / 68] LogDog
[62 / 69] LogDogApp-product
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:14: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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |               `- 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
15 |     public var logLevel: Logger.Level = .trace
16 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 |     ///
137 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
139 |
140 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
247 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
248 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
250 |         self.log(
251 |             level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[64 / 71] LogDog
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
51 |                     }
52 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
15 |         callback()
16 |     }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/LogDog/LogHelper.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile LogHelper.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                     `- error: cannot find '__dispatch_queue_get_label' in scope
152 |         return String(cString: label)
153 |     }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/LogDog/Appenders/AnyLogAppender.swift /host/spi-builder-workspace/Sources/LogDog/Appenders/MemoryLogAppender.swift /host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift /host/spi-builder-workspace/Sources/LogDog/Appenders/OSLogAppender.swift /host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift /host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift /host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringifyCompatible.swift /host/spi-builder-workspace/Sources/LogDog/Features/Stringify/Logger.MetadataValue+Any.swift /host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift /host/spi-builder-workspace/Sources/LogDog/LogAppender.swift -primary-file /host/spi-builder-workspace/Sources/LogDog/LogEncoder.swift -primary-file /host/spi-builder-workspace/Sources/LogDog/LogEntry.swift -primary-file /host/spi-builder-workspace/Sources/LogDog/LogError.swift -primary-file /host/spi-builder-workspace/Sources/LogDog/LogHelper.swift -primary-file /host/spi-builder-workspace/Sources/LogDog/LogParameters.swift /host/spi-builder-workspace/Sources/LogDog/LogRecord.swift /host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift /host/spi-builder-workspace/Sources/LogDog/LogSink.swift /host/spi-builder-workspace/Sources/LogDog/Logging+.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Concat.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Filters/Debug.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Filters/Filter.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Filters/Match.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/Compress.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/Crypto.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/Encode.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/Format.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/Prefix.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/Suffix.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/LogSinks.swift /host/spi-builder-workspace/Sources/LogDog/Sinks/SinkOn.swift /host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift /host/spi-builder-workspace/Sources/LogDog/export.swift /host/spi-builder-workspace/Sources/LogDog/internal/AnyEncodable.swift /host/spi-builder-workspace/Sources/LogDog/internal/Lazy.swift /host/spi-builder-workspace/Sources/LogDog/internal/unwrap.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/supplementaryOutputs-3 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LogDog -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogDog_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogEncoder.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogEntry.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogError.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogHelper.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogParameters.o -index-unit-output-path /LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogEncoder.o -index-unit-output-path /LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogEntry.o -index-unit-output-path /LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogError.o -index-unit-output-path /LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogHelper.o -index-unit-output-path /LogDog.build/Debug-linux-x86_64/LogDog-t.build/Objects-normal/x86_64/LogParameters.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux