The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LogDog, reference 0.3.0 (ee6748), with Swift 6.2 (beta) for Linux on 19 Jun 2025 14:24:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/luoxiu/LogDog.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.95s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/14] Compiling Logging LogHandler.swift
[6/14] Compiling Logging MetadataProvider.swift
[7/14] Compiling Logging Locks.swift
[8/14] Emitting module Logging
[9/14] Compiling Logging Logging.swift
[10/15] Wrapping AST for Logging for debugging
[12/51] Compiling LogDog LogStringify.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused [#no-usage]
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 [#no-usage]
15 |         callback()
16 |     }
[13/51] Compiling LogDog LogStringifyCompatible.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused [#no-usage]
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 [#no-usage]
15 |         callback()
16 |     }
[14/51] Compiling LogDog Logger.MetadataValue+Any.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused [#no-usage]
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 [#no-usage]
15 |         callback()
16 |     }
[15/51] Compiling LogDog atExit.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused [#no-usage]
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 [#no-usage]
15 |         callback()
16 |     }
[16/51] Compiling LogDog LogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused [#no-usage]
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 [#no-usage]
15 |         callback()
16 |     }
[17/55] Emitting module LogDog
[18/55] Compiling LogDog AnyLogAppender.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
51 |                     }
52 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[19/55] Compiling LogDog MemoryLogAppender.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
51 |                     }
52 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[20/55] Compiling LogDog MultiplexLogAppender.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
51 |                     }
52 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[21/55] Compiling LogDog OSLogAppender.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
51 |                     }
52 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[22/55] Compiling LogDog TextLogAppender.swift
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
51 |                     }
52 |                 }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[23/55] Compiling LogDog Concat.swift
[24/55] Compiling LogDog Debug.swift
[25/55] Compiling LogDog Filter.swift
[26/55] Compiling LogDog Match.swift
[27/55] Compiling LogDog BuiltIn.swift
[28/55] Compiling LogDog Suffix.swift
[29/55] Compiling LogDog Hook.swift
[30/55] Compiling LogDog LogSinks.swift
[31/55] Compiling LogDog SinkOn.swift
[32/55] Compiling LogDog SugarLogHandler.swift
[33/55] Compiling LogDog Compress.swift
[34/55] Compiling LogDog Crypto.swift
[35/55] Compiling LogDog Encode.swift
[36/55] Compiling LogDog Format.swift
[37/55] Compiling LogDog Prefix.swift
[38/55] Compiling LogDog LogRecord.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
33 |         addOperation(body)
   |                      `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
34 |     }
35 | }
[39/55] Compiling LogDog LogScheduler.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
33 |         addOperation(body)
   |                      `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
34 |     }
35 | }
[40/55] Compiling LogDog LogSink.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
33 |         addOperation(body)
   |                      `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
34 |     }
35 | }
[41/55] Compiling LogDog Logging+.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
33 |         addOperation(body)
   |                      `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
34 |     }
35 | }
[42/55] Compiling LogDog AnyLogSink.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-Sendable
33 |         addOperation(body)
   |                      `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
34 |     }
35 | }
[43/55] Compiling LogDog LogEncoder.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 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[44/55] Compiling LogDog LogEntry.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 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[45/55] Compiling LogDog LogError.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 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[46/55] Compiling LogDog 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 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[47/55] Compiling LogDog LogParameters.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 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[48/55] Compiling LogDog export.swift
[49/55] Compiling LogDog AnyEncodable.swift
[50/55] Compiling LogDog Lazy.swift
[51/55] Compiling LogDog unwrap.swift
BUILD FAILURE 6.2 linux