The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LogDog with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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: 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:             5.10
Building package at path:  $workDir
https://github.com/luoxiu/LogDog.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.0 (0.44s)
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] Emitting module Logging
[7/13] Compiling Logging Locks.swift
[8/13] Compiling Logging Logging.swift
[9/14] Wrapping AST for Logging for debugging
[11/50] Emitting module LogDog
[12/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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[13/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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[14/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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[15/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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[16/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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[17/54] Compiling LogDog AnyLogAppender.swift
[18/54] Compiling LogDog MemoryLogAppender.swift
[19/54] Compiling LogDog MultiplexLogAppender.swift
[20/54] Compiling LogDog OSLogAppender.swift
[21/54] Compiling LogDog TextLogAppender.swift
[22/54] Compiling LogDog Compress.swift
[23/54] Compiling LogDog Crypto.swift
[24/54] Compiling LogDog Encode.swift
[25/54] Compiling LogDog Format.swift
[26/54] Compiling LogDog Prefix.swift
[27/54] Compiling LogDog LogRecord.swift
[28/54] Compiling LogDog LogScheduler.swift
[29/54] Compiling LogDog LogSink.swift
[30/54] Compiling LogDog Logging+.swift
[31/54] Compiling LogDog AnyLogSink.swift
[32/54] Compiling LogDog export.swift
[33/54] Compiling LogDog AnyEncodable.swift
[34/54] Compiling LogDog Lazy.swift
[35/54] Compiling LogDog unwrap.swift
[36/54] Compiling LogDog Suffix.swift
[37/54] Compiling LogDog Hook.swift
[38/54] Compiling LogDog LogSinks.swift
[39/54] Compiling LogDog SinkOn.swift
[40/54] Compiling LogDog SugarLogHandler.swift
[41/54] Compiling LogDog Concat.swift
[42/54] Compiling LogDog Debug.swift
[43/54] Compiling LogDog Filter.swift
[44/54] Compiling LogDog Match.swift
[45/54] Compiling LogDog BuiltIn.swift
[46/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)
                                               ^
[47/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)
                                               ^
[48/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)
                                               ^
[49/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)
                                               ^
[50/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)
                                               ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling LogDog LogParameters.swift
[3/20] Compiling LogDog LogError.swift
[4/20] Compiling LogDog LogEntry.swift
[5/20] 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)
                                               ^
[6/27] Compiling LogDog AnyLogSink.swift
[7/27] Compiling LogDog Concat.swift
[8/27] Compiling LogDog Debug.swift
[9/29] Compiling LogDog TextLogAppender.swift
[10/29] Compiling LogDog LogRecord.swift
[11/29] Compiling LogDog LogSink.swift
[12/31] Compiling LogDog AnyLogAppender.swift
[13/31] Compiling LogDog MemoryLogAppender.swift
[14/31] Compiling LogDog MultiplexLogAppender.swift
[15/31] Compiling LogDog Prefix.swift
[16/31] Compiling LogDog Suffix.swift
[17/31] Compiling LogDog Encode.swift
[18/31] Compiling LogDog Format.swift
[19/31] Compiling LogDog LogEncoder.swift
[20/31] Emitting module LogDog
[21/31] Compiling LogDog Hook.swift
[22/31] Compiling LogDog LogSinks.swift
[23/31] Compiling LogDog SinkOn.swift
[24/31] Compiling LogDog SugarLogHandler.swift
[25/31] Compiling LogDog Filter.swift
[26/31] Compiling LogDog Match.swift
[27/31] Compiling LogDog BuiltIn.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2