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 Lithium 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/e-sites/Lithium.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/e-sites/Lithium
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0ebe10f Swift-versions
Cloned https://github.com/e-sites/Lithium.git
Revision (git rev-parse @):
0ebe10fb24251fdc6ef2b4efcd4f8fd137de1323
SUCCESS checkout https://github.com/e-sites/Lithium.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/e-sites/Lithium.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/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.3.0 (0.60s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.3.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Logging LogHandler.swift
[5/7] Compiling Logging Locks.swift
[6/7] Emitting module Logging
[7/7] Compiling Logging Logging.swift
[9/15] Compiling Lithium LogTheme.swift
[10/15] Compiling Lithium LogStyle.swift
[11/15] Compiling Lithium EmojiLogTheme.swift
[12/15] Compiling Lithium DefaultLogTheme.swift
[13/15] Emitting module Lithium
[14/15] Compiling Lithium LithiumLogger.swift
[15/15] Compiling Lithium LogFormatter.swift
/host/spi-builder-workspace/Sources/Styling/LogFormatter.swift:87:40: error: value of type 'Thread' has no member 'value'
                let n = context.thread.value(forKeyPath: "private.seqNum") as? NSNumber {
                        ~~~~~~~~~~~~~~ ^~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module Lithium
[3/3] Compiling Lithium LogFormatter.swift
/host/spi-builder-workspace/Sources/Styling/LogFormatter.swift:87:40: error: value of type 'Thread' has no member 'value'
                let n = context.thread.value(forKeyPath: "private.seqNum") as? NSNumber {
                        ~~~~~~~~~~~~~~ ^~~~~
error: fatalError
BUILD FAILURE 5.10 linux