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 swift-format with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-format.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/SDGGiesbrecht/swift-format
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e0d014c Merge pull request #506 from allevato/prep-5.8-release
Cloned https://github.com/SDGGiesbrecht/swift-format.git
Revision (git rev-parse @):
e0d014cf729a43d4023304204f7c478a75bd4e8e
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-format.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
https://github.com/SDGGiesbrecht/swift-format.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-syntax.git
[1/54515] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (4.74s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/5993] Fetching swift-tools-support-core
[5994/17384] Fetching swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git (0.45s)
[1937/11391] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.71s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.4.0 (0.47s)
Fetching https://github.com/apple/swift-system.git
[1/2972] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.41s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.36s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.37s)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at main
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.3
[1/1] Compiling plugin Format Source Code
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Lint Source Code
Building for debugging...
[3/30] Compiling TSCclibc libc.c
[4/30] Compiling CSystem shims.c
[5/30] Compiling TSCclibc process.c
[7/65] Emitting module SwiftSyntax511
[8/65] Compiling SwiftSyntax511 Empty.swift
[9/66] Compiling SwiftFormatConfiguration RuleRegistry+Generated.swift
[11/67] Emitting module SystemPackage
[13/69] Emitting module SwiftSyntax509
[14/69] Compiling SwiftSyntax509 Empty.swift
[15/70] Compiling SystemPackage FileOperations.swift
[16/70] Compiling SystemPackage FilePath.swift
[17/70] Compiling SystemPackage FilePathComponentView.swift
[18/70] Compiling SystemPackage FilePathComponents.swift
[19/70] Compiling SystemPackage FilePathParsing.swift
[20/70] Compiling SystemPackage FilePathString.swift
[21/70] Compiling SystemPackage Errno.swift
[22/70] Compiling SystemPackage FileDescriptor.swift
[23/70] Compiling SystemPackage FileHelpers.swift
[24/70] Compiling SystemPackage FilePathSyntax.swift
[25/70] Compiling SystemPackage FilePathWindows.swift
[26/70] Compiling SystemPackage FilePermissions.swift
[28/71] Compiling SwiftFormatConfiguration Indent.swift
[29/71] Wrapping AST for SwiftSyntax511 for debugging
[31/71] Emitting module SwiftSyntax510
[32/71] Compiling SwiftSyntax510 Empty.swift
[33/72] Compiling SystemPackage PlatformString.swift
[34/72] Compiling SystemPackage SystemString.swift
[34/72] Wrapping AST for SwiftSyntax509 for debugging
[37/73] Emitting module ArgumentParserToolInfo
[38/73] Compiling ArgumentParserToolInfo ToolInfo.swift
[41/75] Wrapping AST for SwiftSyntax510 for debugging
[43/75] Compiling SystemPackage Util.swift
[44/75] Compiling SystemPackage UtilConsumers.swift
[44/75] Wrapping AST for ArgumentParserToolInfo for debugging
[46/172] Compiling ArgumentParser EnumerableFlag.swift
[47/172] Compiling ArgumentParser ExpressibleByArgument.swift
[48/172] Compiling ArgumentParser ParsableArguments.swift
[49/172] Compiling ArgumentParser OptionGroup.swift
[50/172] Compiling ArgumentParser AsyncParsableCommand.swift
[51/172] Compiling ArgumentParser CommandConfiguration.swift
[52/173] Compiling TSCLibc libc.swift
[53/173] Emitting module TSCLibc
[58/176] Emitting module SwiftFormatConfiguration
[59/176] Compiling SwiftFormatConfiguration Configuration.swift
[59/177] Wrapping AST for SystemPackage for debugging
[60/177] Wrapping AST for TSCLibc for debugging
[63/218] Wrapping AST for SwiftFormatConfiguration for debugging
[65/218] Compiling TSCBasic Await.swift
[66/218] Compiling TSCBasic Base64URL.swift
[67/218] Compiling TSCBasic ByteString.swift
[68/218] Compiling TSCBasic CStringArray.swift
[69/218] Compiling TSCBasic CacheableSequence.swift
[70/223] Emitting module ArgumentParser
[71/223] Compiling TSCBasic CodableResult.swift
[72/223] Compiling TSCBasic CollectionAlgorithms.swift
[73/223] Compiling TSCBasic CollectionExtensions.swift
[74/223] Compiling TSCBasic Condition.swift
[75/223] Compiling TSCBasic DeltaAlgorithm.swift
[76/223] Compiling TSCBasic DiagnosticsEngine.swift
[77/223] Compiling TSCBasic Result.swift
[78/223] Compiling TSCBasic SortedArray.swift
[79/223] Compiling ArgumentParser CollectionExtensions.swift
[80/223] Compiling ArgumentParser Platform.swift
[81/223] Compiling ArgumentParser SequenceExtensions.swift
[88/228] Compiling TSCBasic Closable.swift
[89/228] Compiling TSCBasic DictionaryExtensions.swift
[90/228] Compiling TSCBasic DictionaryLiteralExtensions.swift
[91/228] Compiling TSCBasic EditDistance.swift
[92/228] Compiling TSCBasic FileInfo.swift
[93/228] Compiling TSCBasic FileSystem.swift
[94/228] Compiling TSCBasic GraphAlgorithms.swift
[95/228] Compiling TSCBasic HashAlgorithms.swift
[96/228] Compiling TSCBasic JSON.swift
[97/228] Compiling TSCBasic JSONMapper.swift
[98/228] Compiling TSCBasic KeyedPair.swift
[99/228] Compiling TSCBasic LazyCache.swift
[100/228] Compiling TSCBasic Lock.swift
[101/228] Compiling TSCBasic OSLog.swift
[102/228] Compiling TSCBasic ObjectIdentifierProtocol.swift
[103/228] Emitting module TSCBasic
[107/228] Compiling TSCBasic TerminalController.swift
[108/228] Compiling TSCBasic Thread.swift
[111/228] Compiling TSCBasic OrderedDictionary.swift
[112/228] Compiling TSCBasic OrderedSet.swift
[113/228] Compiling TSCBasic Path.swift
[114/228] Compiling TSCBasic ProcessEnv.swift
[115/228] Compiling TSCBasic ProcessSet.swift
[116/228] Compiling TSCBasic RegEx.swift
[122/228] Compiling TSCBasic PathShims.swift
[123/228] Compiling TSCBasic Process.swift
[166/238] Wrapping AST for ArgumentParser for debugging
[170/238] Compiling TSCBasic Tuple.swift
[171/238] Compiling TSCBasic WritableByteStream.swift
[172/238] Compiling TSCBasic misc.swift
[174/240] Wrapping AST for TSCBasic for debugging
[193/240] Emitting module SwiftSyntax
[202/240] Compiling SwiftSyntax SyntaxTraits.swift
[203/240] Compiling SwiftSyntax SyntaxVisitor.swift
[204/240] Compiling SwiftSyntax TokenKind.swift
[205/240] Compiling SwiftSyntax Tokens.swift
[206/240] Compiling SwiftSyntax TriviaPieces.swift
[207/240] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[208/240] Compiling SwiftSyntax RawSyntaxNodesC.swift
[209/240] Compiling SwiftSyntax RawSyntaxNodesD.swift
[211/240] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[212/240] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[213/240] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[214/240] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[215/240] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[216/240] Compiling SwiftSyntax RawSyntaxValidation.swift
[217/240] Compiling SwiftSyntax SyntaxNodesAB.swift
[218/240] Compiling SwiftSyntax SyntaxNodesC.swift
[219/240] Compiling SwiftSyntax SyntaxNodesD.swift
[220/240] Compiling SwiftSyntax SyntaxNodesEF.swift
[221/240] Compiling SwiftSyntax SyntaxNodesGHI.swift
[222/240] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[223/240] Compiling SwiftSyntax SyntaxNodesOP.swift
[224/240] Compiling SwiftSyntax SyntaxNodesQRS.swift
[225/240] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[227/242] Wrapping AST for SwiftSyntax for debugging
[229/295] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[230/295] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[231/295] Emitting module SwiftDiagnostics
[232/296] Compiling SwiftDiagnostics Note.swift
[233/296] Compiling SwiftDiagnostics FixIt.swift
[234/296] Compiling SwiftDiagnostics Message.swift
[235/296] Compiling SwiftParser Attributes.swift
[236/296] Compiling SwiftParser Availability.swift
[237/296] Compiling SwiftBasicFormat Syntax+Extensions.swift
[238/296] Compiling SwiftBasicFormat BasicFormat.swift
[239/296] Emitting module SwiftBasicFormat
[240/297] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[241/297] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[242/297] Compiling SwiftParser CharacterInfo.swift
[243/297] Compiling SwiftParser CollectionNodes+Parsable.swift
[246/298] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[246/299] Wrapping AST for SwiftBasicFormat for debugging
[249/300] Wrapping AST for SwiftDiagnostics for debugging
[251/300] Compiling SwiftParser RegexLiteralLexer.swift
[252/300] Compiling SwiftParser UnicodeScalarExtensions.swift
[253/300] Compiling SwiftParser Lookahead.swift
[254/300] Compiling SwiftParser LoopProgressCondition.swift
[255/300] Compiling SwiftParser Modifiers.swift
[256/305] Compiling SwiftParser Names.swift
[257/305] Compiling SwiftParser Nominals.swift
[258/305] Compiling SwiftParser Parameters.swift
[259/305] Compiling SwiftParser ParseSourceFile.swift
[260/305] Compiling SwiftParser Parser.swift
[261/305] Compiling SwiftParser Patterns.swift
[262/305] Compiling SwiftParser Recovery.swift
[263/305] Compiling SwiftParser Specifiers.swift
[264/305] Compiling SwiftParser Statements.swift
[265/305] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[266/305] Compiling SwiftParser StringLiterals.swift
[267/305] Compiling SwiftParser SwiftParserCompatibility.swift
[268/305] Compiling SwiftParser SyntaxUtils.swift
[269/305] Compiling SwiftParser TokenConsumer.swift
[270/305] Compiling SwiftParser TokenPrecedence.swift
[271/305] Compiling SwiftParser TokenSpec.swift
[272/305] Compiling SwiftParser TokenSpecSet.swift
[273/305] Compiling SwiftParser TopLevel.swift
[274/305] Compiling SwiftParser TriviaParser.swift
[275/305] Compiling SwiftParser Types.swift
[276/305] Emitting module SwiftParser
[281/305] Compiling SwiftParser Declarations.swift
[282/305] Compiling SwiftParser Directives.swift
[283/305] Compiling SwiftParser Expressions.swift
[284/305] Compiling SwiftParser IncrementalParseTransition.swift
[285/305] Compiling SwiftParser Cursor.swift
[286/305] Compiling SwiftParser Lexeme.swift
[287/305] Compiling SwiftParser LexemeSequence.swift
[288/305] Compiling SwiftParser Lexer.swift
[289/305] Compiling SwiftParser ExperimentalFeatures.swift
[290/305] Compiling SwiftParser IsLexerClassified.swift
[291/305] Compiling SwiftParser LayoutNodes+Parsable.swift
[292/305] Compiling SwiftParser Parser+TokenSpecSet.swift
[293/305] Compiling SwiftParser TokenSpecStaticMembers.swift
[295/307] Wrapping AST for SwiftParser for debugging
[297/330] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[298/331] Compiling SwiftOperators PrecedenceGroup.swift
[299/332] Emitting module SwiftOperators
[300/332] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[301/332] Compiling SwiftOperators OperatorTable.swift
[302/332] Compiling SwiftOperators PrecedenceGraph.swift
[303/332] Compiling SwiftOperators SyntaxSynthesis.swift
[304/332] Compiling SwiftOperators OperatorTable+Semantics.swift
[305/332] Compiling SwiftOperators OperatorError.swift
[306/332] Compiling SwiftOperators OperatorTable+Defaults.swift
[307/332] Compiling SwiftOperators Operator.swift
[308/332] Compiling SwiftOperators OperatorError+Diagnostics.swift
[309/332] Compiling SwiftOperators OperatorTable+Folding.swift
[312/334] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[313/334] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[314/334] Compiling SwiftParserDiagnostics Utils.swift
[314/334] Wrapping AST for SwiftOperators for debugging
[316/348] Compiling SwiftFormatCore Context.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/Context.swift:78:20: warning: 'init(file:source:)' is deprecated: Use init(fileName:tree:) instead
      source.map { SourceLocationConverter(file: fileURL.relativePath, source: $0) }
                   ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/Context.swift:79:10: warning: 'init(file:tree:)' is deprecated: Use init(fileName:tree:) instead
      ?? SourceLocationConverter(file: fileURL.relativePath, tree: sourceFileSyntax)
         ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:22:7: error: initializer for conditional binding must have Optional type, not 'String'
      let file = sourceLocation.file,
      ^          ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:23:7: error: initializer for conditional binding must have Optional type, not 'Int'
      let line = sourceLocation.line,
      ^          ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:24:7: error: initializer for conditional binding must have Optional type, not 'Int'
      let column = sourceLocation.column
      ^            ~~~~~~~~~~~~~~~~~~~~~
[317/348] Compiling SwiftFormatCore Finding+Convenience.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/Context.swift:78:20: warning: 'init(file:source:)' is deprecated: Use init(fileName:tree:) instead
      source.map { SourceLocationConverter(file: fileURL.relativePath, source: $0) }
                   ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/Context.swift:79:10: warning: 'init(file:tree:)' is deprecated: Use init(fileName:tree:) instead
      ?? SourceLocationConverter(file: fileURL.relativePath, tree: sourceFileSyntax)
         ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:22:7: error: initializer for conditional binding must have Optional type, not 'String'
      let file = sourceLocation.file,
      ^          ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:23:7: error: initializer for conditional binding must have Optional type, not 'Int'
      let line = sourceLocation.line,
      ^          ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:24:7: error: initializer for conditional binding must have Optional type, not 'Int'
      let column = sourceLocation.column
      ^            ~~~~~~~~~~~~~~~~~~~~~
[318/349] Emitting module SwiftFormatCore
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
  override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
                              ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: note: use 'MemberBlockItemSyntax' instead
  override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
                              ^~~~~~~~~~~~~~~~~~~~~~~~
                              MemberBlockItemSyntax
[319/349] Compiling SwiftFormatCore Finding.swift
[320/349] Compiling SwiftFormatCore FindingCategorizing.swift
[321/349] Compiling SwiftFormatCore FindingEmitter.swift
[322/349] Compiling SwiftFormatCore LegacyTriviaBehavior.swift
[323/349] Compiling SwiftFormatCore SyntaxProtocol+Convenience.swift
[324/349] Compiling SwiftFormatCore SyntaxFormatRule.swift
[325/349] Compiling SwiftFormatCore SyntaxLintRule.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/LegacyTriviaBehavior.swift:23:14: warning: 'nextToken' is deprecated: Use nextToken(viewMode:) instead
    if token.nextToken != nil,
             ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/LegacyTriviaBehavior.swift:23:14: warning: 'nextToken' is deprecated: Use nextToken(viewMode:) instead
    if token.nextToken != nil,
             ^
[328/349] Compiling SwiftFormatCore Trivia+Convenience.swift
[329/349] Compiling SwiftFormatCore Rule.swift
[330/349] Compiling SwiftFormatCore RuleBasedFindingCategory.swift
[331/349] Compiling SwiftFormatCore RuleMask.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
  override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
                              ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: note: use 'MemberBlockItemSyntax' instead
  override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
                              ^~~~~~~~~~~~~~~~~~~~~~~~
                              MemberBlockItemSyntax
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:139:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
    guard let firstToken = node.firstToken else {
                                ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:162:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
    guard let firstToken = node.firstToken else {
                                ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:169:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
    guard let firstToken = node.firstToken else {
                                ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:186:31: warning: 'previousToken' is deprecated: Use previousToken(viewMode:) instead
    let isFirstInFile = token.previousToken == nil
                              ^
[332/349] Compiling SwiftFormatCore RuleState.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
  override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
                              ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: note: use 'MemberBlockItemSyntax' instead
  override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
                              ^~~~~~~~~~~~~~~~~~~~~~~~
                              MemberBlockItemSyntax
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:139:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
    guard let firstToken = node.firstToken else {
                                ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:162:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
    guard let firstToken = node.firstToken else {
                                ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:169:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
    guard let firstToken = node.firstToken else {
                                ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:186:31: warning: 'previousToken' is deprecated: Use previousToken(viewMode:) instead
    let isFirstInFile = token.previousToken == nil
                              ^
error: fatalError
[337/349] Emitting module SwiftParserDiagnostics
[0/1] Planning build
[1/1] Compiling plugin Format Source Code
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Lint Source Code
Building for debugging...
[3/29] Compiling TSCclibc process.c
[4/29] Compiling CSystem shims.c
[6/34] Emitting module SwiftSyntax511
[7/34] Emitting module TSCLibc
[8/36] Emitting module SwiftSyntax510
[9/36] Emitting module SwiftSyntax509
[18/40] Emitting module ArgumentParserToolInfo
[19/41] Emitting module SwiftFormatConfiguration
[23/43] Wrapping AST for ArgumentParserToolInfo for debugging
[25/44] Emitting module SystemPackage
[27/47] Wrapping AST for SystemPackage for debugging
[29/48] Emitting module ArgumentParser
[32/49] Emitting module TSCBasic
[34/51] Wrapping AST for TSCBasic for debugging
[36/51] Emitting module SwiftSyntax
[39/55] Emitting module SwiftDiagnostics
[40/56] Emitting module SwiftBasicFormat
[45/57] Emitting module SwiftParser
[48/64] Emitting module SwiftOperators
[51/66] Emitting module SwiftParserDiagnostics
[52/68] Emitting module SwiftFormatCore
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
  override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
                              ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: note: use 'MemberBlockItemSyntax' instead
  override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
                              ^~~~~~~~~~~~~~~~~~~~~~~~
                              MemberBlockItemSyntax
[53/68] Compiling SwiftFormatCore Context.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/Context.swift:78:20: warning: 'init(file:source:)' is deprecated: Use init(fileName:tree:) instead
      source.map { SourceLocationConverter(file: fileURL.relativePath, source: $0) }
                   ^
/host/spi-builder-workspace/Sources/SwiftFormatCore/Context.swift:79:10: warning: 'init(file:tree:)' is deprecated: Use init(fileName:tree:) instead
      ?? SourceLocationConverter(file: fileURL.relativePath, tree: sourceFileSyntax)
         ^
[54/68] Compiling SwiftFormatCore Finding+Convenience.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:22:7: error: initializer for conditional binding must have Optional type, not 'String'
      let file = sourceLocation.file,
      ^          ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:23:7: error: initializer for conditional binding must have Optional type, not 'Int'
      let line = sourceLocation.line,
      ^          ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:24:7: error: initializer for conditional binding must have Optional type, not 'Int'
      let column = sourceLocation.column
      ^            ~~~~~~~~~~~~~~~~~~~~~
[55/72] Compiling SwiftFormatCore SyntaxFormatRule.swift
[56/72] Compiling SwiftFormatCore RuleBasedFindingCategory.swift
[57/72] Compiling SwiftFormatCore Rule.swift
[58/72] Compiling SwiftFormatCore SyntaxLintRule.swift
error: fatalError
[59/72] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[60/72] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[61/72] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
BUILD FAILURE 5.9 linux