Build Information
Failed to build CommandShell with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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: 6.0
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-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/elegantchaos/Matchable.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/565] Fetching xctestextensions
[550/717] Fetching xctestextensions, semanticversion
[718/2564] Fetching xctestextensions, semanticversion, logger
[2565/2677] Fetching xctestextensions, semanticversion, logger, matchable
[722/830] Fetching xctestextensions, semanticversion, matchable
Fetched https://github.com/elegantchaos/Logger.git from cache (0.24s)
[831/12544] Fetching xctestextensions, semanticversion, matchable, swift-argument-parser
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.66s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.66s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.66s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.9 (0.43s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.1 (0.44s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.0 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.45s)
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/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/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 NSLogHandler.swift
[12/30] Compiling Logger OSLogHandler.swift
[13/30] Compiling Logger PrintHandler.swift
[13/30] Wrapping AST for SemanticVersion for debugging
[15/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/30] Emitting module ArgumentParserToolInfo
[17/31] Wrapping AST for ArgumentParserToolInfo for debugging
[19/65] Emitting module ArgumentParser
[20/69] Compiling Logger UserDefaultsManagerSettings.swift
[21/69] Compiling Logger Handler.swift
[22/69] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/69] Compiling ArgumentParser CompletionsGenerator.swift
[24/69] Emitting module Logger
[27/69] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/69] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/69] Compiling ArgumentParser Argument.swift
[30/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'
63 | /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
64 | /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
65 | let dictionary = Thread.main.threadDictionary
| `- error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
66 | if let manager = dictionary["Logger.Manager"] {
67 | return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
[31/69] Compiling Logger ManagerSettings.swift
[32/69] Compiling ArgumentParser CollectionExtensions.swift
[33/69] Compiling ArgumentParser SequenceExtensions.swift
[34/69] Compiling ArgumentParser StringExtensions.swift
[35/69] Compiling ArgumentParser Tree.swift
[36/69] Compiling ArgumentParser ArgumentSet.swift
[37/69] Compiling ArgumentParser CommandParser.swift
[38/69] Compiling ArgumentParser InputOrigin.swift
[39/69] Compiling ArgumentParser Name.swift
[40/69] Compiling ArgumentParser Parsed.swift
[41/69] Compiling ArgumentParser Option.swift
[42/69] Compiling ArgumentParser OptionGroup.swift
[43/69] Compiling ArgumentParser CommandConfiguration.swift
[44/69] Compiling ArgumentParser EnumerableFlag.swift
[45/69] Compiling ArgumentParser ExpressibleByArgument.swift
[46/69] Compiling ArgumentParser ArgumentHelp.swift
[47/69] Compiling ArgumentParser CompletionKind.swift
[48/69] Compiling ArgumentParser Errors.swift
[49/69] Compiling ArgumentParser Flag.swift
[50/69] Compiling ArgumentParser NameSpecification.swift
[51/69] Compiling ArgumentParser ParsedValues.swift
[52/69] Compiling ArgumentParser ParserError.swift
[53/69] Compiling ArgumentParser SplitArguments.swift
[54/69] Compiling ArgumentParser DumpHelpGenerator.swift
BUILD FAILURE 6.0 linux