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-1":/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: v2.1.5
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
 * tag               v2.1.5     -> FETCH_HEAD
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 v2.1.5
========================================
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-1":/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/apple/swift-argument-parser
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/Matchable.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/565] Fetching xctestextensions
[566/2412] Fetching xctestextensions, logger
[568/2525] Fetching xctestextensions, logger, matchable
[993/2677] Fetching xctestextensions, logger, matchable, semanticversion
[2678/14112] Fetching xctestextensions, logger, matchable, semanticversion, swift-argument-parser
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.71s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.71s)
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.71s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.71s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.9 (0.72s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.1 (0.40s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.0 (0.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.43s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.40s)
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
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/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/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.4.9
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/28] Emitting module SemanticVersion
[9/28] Compiling SemanticVersion SemanticVersion.swift
[11/29] Compiling Logger Handler.swift
[12/30] Compiling Logger OSLogHandler.swift
[13/30] Compiling Logger PrintHandler.swift
[13/30] Wrapping AST for SemanticVersion for debugging
[15/30] Compiling Logger NSLogHandler.swift
[16/30] Emitting module ArgumentParserToolInfo
[17/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/31] Wrapping AST for ArgumentParserToolInfo for debugging
[20/65] Compiling Logger UserDefaultsManagerSettings.swift
[21/65] 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
                         ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
[22/65] Compiling Logger ManagerSettings.swift
[23/65] Emitting module Logger
[24/65] Compiling ArgumentParser Option.swift
[25/65] Compiling ArgumentParser OptionGroup.swift
[28/65] Compiling ArgumentParser CommandConfiguration.swift
[29/65] Compiling ArgumentParser EnumerableFlag.swift
[30/65] Compiling ArgumentParser ExpressibleByArgument.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/38] Emitting module Logger
[3/38] 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
                         ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1