The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CommandShell 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/elegantchaos/CommandShell.git
Reference: main
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/elegantchaos/CommandShell
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 63f783a Added better version output, and --about command.
Cloned https://github.com/elegantchaos/CommandShell.git
Revision (git rev-parse @):
63f783a6546fed0723b2eb8b8fa12e27277b0ea2
SUCCESS checkout https://github.com/elegantchaos/CommandShell.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/elegantchaos/CommandShell.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/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/elegantchaos/Matchable.git
[6/565] Fetching xctestextensions
[566/717] Fetching xctestextensions, semanticversion
[718/2564] Fetching xctestextensions, semanticversion, logger
[2216/2677] Fetching xctestextensions, semanticversion, logger, matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.26s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.26s)
[1/11435] Fetching swift-argument-parser
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.67s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.67s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.68s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.9 (0.44s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.1 (0.59s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.0 (0.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.47s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.43s)
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.0
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.4.9
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/28] Emitting module ArgumentParserToolInfo
[9/28] Emitting module SemanticVersion
[10/28] Compiling SemanticVersion SemanticVersion.swift
[12/29] Compiling Logger PrintHandler.swift
[13/30] Compiling Logger OSLogHandler.swift
[14/30] Compiling Logger NSLogHandler.swift
[14/30] Wrapping AST for SemanticVersion for debugging
[16/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/31] Wrapping AST for ArgumentParserToolInfo for debugging
[19/65] Emitting module ArgumentParser
[20/69] Compiling Logger ManagerSettings.swift
[21/69] Compiling Logger Handler.swift
[22/69] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:65:38: error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
        let dictionary = Thread.main.threadDictionary
                         ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
[23/69] Emitting module Logger
[24/69] Compiling ArgumentParser ArgumentHelp.swift
[25/69] Compiling ArgumentParser CompletionKind.swift
[26/69] Compiling Logger UserDefaultsManagerSettings.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/43] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:65:38: error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
        let dictionary = Thread.main.threadDictionary
                         ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
[3/43] Emitting module Logger
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1