The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LogDog with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/luoxiu/LogDog.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/luoxiu/LogDog.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-log.git
[1/3169] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.32s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.0 (0.39s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/13] Compiling Logging LogHandler.swift
[6/13] Compiling Logging Logging.swift
[7/13] Emitting module Logging
[8/13] Compiling Logging Locks.swift
[9/14] Wrapping AST for Logging for debugging
[11/50] Emitting module LogDog
[12/54] Compiling LogDog AnyLogAppender.swift
[13/54] Compiling LogDog MemoryLogAppender.swift
[14/54] Compiling LogDog MultiplexLogAppender.swift
[15/54] Compiling LogDog OSLogAppender.swift
[16/54] Compiling LogDog TextLogAppender.swift
[17/54] Compiling LogDog Compress.swift
[18/54] Compiling LogDog Crypto.swift
[19/54] Compiling LogDog Encode.swift
[20/54] Compiling LogDog Format.swift
[21/54] Compiling LogDog Prefix.swift
[22/54] Compiling LogDog LogRecord.swift
[23/54] Compiling LogDog LogScheduler.swift
[24/54] Compiling LogDog LogSink.swift
[25/54] Compiling LogDog Logging+.swift
[26/54] Compiling LogDog AnyLogSink.swift
[27/54] 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
    NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[28/54] 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
    NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[29/54] 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
    NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[30/54] 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
    NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[31/54] 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
    NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[32/54] Compiling LogDog Suffix.swift
[33/54] Compiling LogDog Hook.swift
[34/54] Compiling LogDog LogSinks.swift
[35/54] Compiling LogDog SinkOn.swift
[36/54] Compiling LogDog SugarLogHandler.swift
[37/54] Compiling LogDog Concat.swift
[38/54] Compiling LogDog Debug.swift
[39/54] Compiling LogDog Filter.swift
[40/54] Compiling LogDog Match.swift
[41/54] Compiling LogDog BuiltIn.swift
[42/54] Compiling LogDog LogEncoder.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
        let label = __dispatch_queue_get_label(nil)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
        let label = __dispatch_queue_get_label(nil)
                                               ^
[43/54] Compiling LogDog LogEntry.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
        let label = __dispatch_queue_get_label(nil)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
        let label = __dispatch_queue_get_label(nil)
                                               ^
[44/54] Compiling LogDog LogError.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
        let label = __dispatch_queue_get_label(nil)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
        let label = __dispatch_queue_get_label(nil)
                                               ^
[45/54] Compiling LogDog LogHelper.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
        let label = __dispatch_queue_get_label(nil)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
        let label = __dispatch_queue_get_label(nil)
                                               ^
[46/54] Compiling LogDog LogParameters.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
        let label = __dispatch_queue_get_label(nil)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
        let label = __dispatch_queue_get_label(nil)
                                               ^
[47/54] Compiling LogDog export.swift
[48/54] Compiling LogDog AnyEncodable.swift
[49/54] Compiling LogDog Lazy.swift
[50/54] Compiling LogDog unwrap.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling LogDog LogError.swift
[3/12] Compiling LogDog LogEncoder.swift
[4/12] Compiling LogDog LogEntry.swift
[5/21] Compiling LogDog LogParameters.swift
[6/21] Compiling LogDog LogHelper.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
        let label = __dispatch_queue_get_label(nil)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
        let label = __dispatch_queue_get_label(nil)
                                               ^
[7/25] Compiling LogDog MultiplexLogAppender.swift
[8/27] Compiling LogDog Concat.swift
[9/27] Compiling LogDog Debug.swift
[10/27] Compiling LogDog LogRecord.swift
[11/27] Compiling LogDog LogSink.swift
[12/27] Compiling LogDog AnyLogSink.swift
[13/31] Compiling LogDog AnyLogAppender.swift
[14/31] Compiling LogDog MemoryLogAppender.swift
[15/31] Compiling LogDog TextLogAppender.swift
[16/31] Compiling LogDog Encode.swift
[17/31] Compiling LogDog Prefix.swift
[18/31] Compiling LogDog Suffix.swift
[19/31] Emitting module LogDog
[20/31] Compiling LogDog Filter.swift
[21/31] Compiling LogDog Match.swift
[22/31] Compiling LogDog BuiltIn.swift
[23/31] Compiling LogDog Format.swift
[24/31] Compiling LogDog Hook.swift
[25/31] Compiling LogDog LogSinks.swift
[26/31] Compiling LogDog SinkOn.swift
[27/31] Compiling LogDog SugarLogHandler.swift
error: fatalError
BUILD FAILURE 5.10 linux