The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CommandShell with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/CommandShell.git
Reference: v2.1.5
Cloned https://github.com/elegantchaos/CommandShell.git into spi-builder-workspace
SUCCESS checkout https://github.com/elegantchaos/CommandShell.git at v2.1.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
[114/1960] Fetching matchable, logger
Fetched https://github.com/elegantchaos/Matchable.git (0.22s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetched https://github.com/elegantchaos/Logger.git (0.22s)
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/10844] Fetching swift-argument-parser
[2712/11409] Fetching swift-argument-parser, xctestextensions
[3678/11561] Fetching swift-argument-parser, xctestextensions, semanticversion
Fetched https://github.com/elegantchaos/SemanticVersion.git (0.20s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git (0.20s)
[7158/10844] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.59s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.9 (0.25s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.1 (0.25s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.0 (0.29s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.28s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.30s)
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/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/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
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Building for debugging...
[1/20] Emitting module SemanticVersion
[2/20] Compiling SemanticVersion SemanticVersion.swift
[4/22] Wrapping AST for SemanticVersion for debugging
[6/22] Compiling Logger NSLogHandler.swift
[7/22] Compiling Logger OSLogHandler.swift
[8/22] Compiling Logger PrintHandler.swift
[9/23] Emitting module ArgumentParserToolInfo
[10/23] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/25] Wrapping AST for ArgumentParserToolInfo for debugging
[14/59] Emitting module Logger
[15/59] Compiling ArgumentParser BashCompletionsGenerator.swift
[16/59] Compiling ArgumentParser CompletionsGenerator.swift
[17/59] Compiling Logger ManagerSettings.swift
[18/59] 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
                         ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:66:36: error: type of expression is ambiguous without more context
        if let manager = dictionary["Logger.Manager"] {
                         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[19/59] Compiling Logger Handler.swift
[20/59] Compiling Logger UserDefaultsManagerSettings.swift
[21/59] Emitting module ArgumentParser
BUILD FAILURE 5.7 linux

Build Machine: Linux 1