The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LogDog with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/luoxiu/LogDog.git
Reference: 0.3.0
Cloned https://github.com/luoxiu/LogDog.git into spi-builder-workspace
SUCCESS checkout https://github.com/luoxiu/LogDog.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-log.git
[1/3079] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.0 (0.37s)
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...
[1/8] Compiling Logging LogHandler.swift
[2/8] Compiling Logging Locks.swift
[3/8] Emitting module Logging
[4/8] Compiling Logging Logging.swift
[6/10] Wrapping AST for Logging for debugging
[8/46] Emitting module LogDog
[9/50] 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)
                                               ^
[10/50] 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)
                                               ^
[11/50] 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)
                                               ^
[12/50] 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)
                                               ^
[13/50] 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)
                                               ^
[14/50] Compiling LogDog Compress.swift
[15/50] Compiling LogDog Crypto.swift
[16/50] Compiling LogDog Encode.swift
[17/50] Compiling LogDog Format.swift
[18/50] Compiling LogDog Prefix.swift
[19/50] Compiling LogDog Concat.swift
[20/50] Compiling LogDog Debug.swift
[21/50] Compiling LogDog Filter.swift
[22/50] Compiling LogDog Match.swift
[23/50] Compiling LogDog BuiltIn.swift
[24/50] Compiling LogDog AnyLogAppender.swift
[25/50] Compiling LogDog MemoryLogAppender.swift
[26/50] Compiling LogDog MultiplexLogAppender.swift
[27/50] Compiling LogDog OSLogAppender.swift
[28/50] Compiling LogDog TextLogAppender.swift
[29/50] Compiling LogDog export.swift
[30/50] Compiling LogDog AnyEncodable.swift
[31/50] Compiling LogDog Lazy.swift
[32/50] Compiling LogDog unwrap.swift
[33/50] Compiling LogDog LogRecord.swift
[34/50] Compiling LogDog LogScheduler.swift
[35/50] Compiling LogDog LogSink.swift
[36/50] Compiling LogDog Logging+.swift
[37/50] Compiling LogDog AnyLogSink.swift
[38/50] 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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[39/50] 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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[40/50] 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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[41/50] 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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[42/50] 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
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[43/50] Compiling LogDog Suffix.swift
[44/50] Compiling LogDog Hook.swift
[45/50] Compiling LogDog LogSinks.swift
[46/50] Compiling LogDog SinkOn.swift
[47/50] Compiling LogDog SugarLogHandler.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2