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 clt-logger with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.38.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/clt-logger.git
Reference: 0.9.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/xcode-actions/clt-logger
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at d2d2be7 Use a better Xcode detection
Cloned https://github.com/xcode-actions/clt-logger.git
Revision (git rev-parse @):
d2d2be799fde3e564f6f2c35b708403bf609a0fb
SUCCESS checkout https://github.com/xcode-actions/clt-logger.git at 0.9.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/xcode-actions/clt-logger.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/3212] Fetching swift-log
[2250/6593] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git (0.34s)
Fetched https://github.com/apple/swift-system.git (0.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.1 (0.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.30s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.1
Building for debugging...
[0/1] Compiling CSystem shims.c
[2/27] Emitting module SystemPackage
[3/29] Compiling SystemPackage Util.swift
[4/29] Compiling SystemPackage UtilConsumers.swift
[5/29] Compiling SystemPackage PlatformString.swift
[6/29] Compiling SystemPackage SystemString.swift
[7/29] Compiling SystemPackage FilePathComponents.swift
[8/29] Compiling SystemPackage FilePathParsing.swift
[9/29] Compiling SystemPackage FilePathString.swift
[10/29] Compiling SystemPackage CInterop.swift
[11/29] Compiling SystemPackage Constants.swift
[12/29] Compiling SystemPackage Exports.swift
[13/29] Emitting module Logging
[14/29] Compiling Logging MetadataProvider.swift
[15/29] Compiling SystemPackage Errno.swift
[16/29] Compiling SystemPackage FileDescriptor.swift
[17/29] Compiling SystemPackage FileHelpers.swift
[18/29] Compiling SystemPackage FileOperations.swift
[19/29] Compiling SystemPackage FilePath.swift
[20/29] Compiling SystemPackage FilePathComponentView.swift
[21/29] Compiling SystemPackage FilePathSyntax.swift
[22/29] Compiling SystemPackage FilePathWindows.swift
[23/29] Compiling SystemPackage FilePermissions.swift
[24/29] Compiling SystemPackage Mocking.swift
[25/29] Compiling SystemPackage Syscalls.swift
[26/29] Compiling SystemPackage WindowsSyscallAdapters.swift
[29/31] Compiling Logging LogHandler.swift
[30/31] Compiling Logging Locks.swift
[31/31] Compiling Logging Logging.swift
[34/38] Emitting module CLTLogger
[35/38] Compiling CLTLogger CLTLogger.swift
/host/spi-builder-workspace/Sources/CLTLogger.swift:439:9: error: consecutive statements on a line must be separated by ';'
                return switch v {
                      ^
                      ;
/host/spi-builder-workspace/Sources/CLTLogger.swift:439:3: error: non-void function should return a value
                return switch v {
                ^
/host/spi-builder-workspace/Sources/CLTLogger.swift:440:166: warning: expression of type 'String' is unused
                        case .string(let str):      str.processForLogging(escapingMode: .escapeScalars(asASCII: true, octothorpLevel: nil, showQuotes: true), newLineProcessing: .escape).string
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Sources/CLTLogger.swift:441:101: warning: result of operator '+' is unused
                        case .array(let array):     #"["# + array.map{ prettyMetadataValue($0) }.joined(separator: ", ") + #"]"#
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~
/host/spi-builder-workspace/Sources/CLTLogger.swift:442:101: warning: result of operator '+' is unused
                        case .dictionary(let dict): #"["# +              flatMetadataArray(dict).joined(separator: ", ") + #"]"#
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~
/host/spi-builder-workspace/Sources/CLTLogger.swift:443:36: warning: result of call to 'prettyMetadataValue' is unused
                        case .stringConvertible(let c): prettyMetadataValue(.string(c.description))
                                                        ^                  ~~~~~~~~~~~~~~~~~~~~~~~~
[36/38] Compiling CLTLogger NSLock+Linux.swift
[37/38] Compiling CLTLogger SGR.swift
[38/38] Compiling CLTLogger String+Utils.swift
BUILD FAILURE 5.8 linux