Build Information
Failed to build swift-format with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path: $PWD/checkout
https://github.com/SDGGiesbrecht/swift-format.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-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 (3.81s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser.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.50s)
[9341/11391] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.75s)
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.41s)
Fetching https://github.com/apple/swift-system.git
[1/2972] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.32s)
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.44s)
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
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
[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 process.c
[4/30] Compiling TSCclibc libc.c
[5/30] Compiling CSystem shims.c
[7/65] Emitting module TSCLibc
[8/65] Emitting module SwiftSyntax509
[9/65] Compiling SwiftSyntax509 Empty.swift
[10/66] Emitting module SwiftSyntax510
[11/66] Compiling SwiftSyntax510 Empty.swift
[14/68] Compiling SystemPackage FilePathSyntax.swift
[15/68] Compiling SystemPackage FilePathWindows.swift
[16/68] Compiling SystemPackage FilePermissions.swift
[18/68] Compiling SystemPackage FilePathComponents.swift
[19/68] Compiling SystemPackage FilePathParsing.swift
[20/68] Compiling SystemPackage FilePathString.swift
[21/68] Emitting module SwiftSyntax511
[22/71] Compiling SystemPackage FileOperations.swift
[23/71] Compiling SystemPackage FilePath.swift
[24/71] Compiling SystemPackage FilePathComponentView.swift
[25/71] Compiling SwiftSyntax511 Empty.swift
[26/72] Compiling SwiftFormatConfiguration RuleRegistry+Generated.swift
[28/72] Compiling SwiftFormatConfiguration Indent.swift
[29/72] Wrapping AST for SwiftSyntax509 for debugging
[32/73] Emitting module SystemPackage
[33/73] Compiling SystemPackage Errno.swift
[34/73] Compiling SystemPackage FileDescriptor.swift
[35/73] Compiling SystemPackage FileHelpers.swift
[35/73] Wrapping AST for SwiftSyntax510 for debugging
[36/73] Wrapping AST for SwiftSyntax511 for debugging
[38/73] Compiling SystemPackage PlatformString.swift
[39/73] Compiling SystemPackage SystemString.swift
[40/133] Compiling SwiftSyntax TokenKind.swift
[41/133] Compiling SwiftSyntax Tokens.swift
[42/133] Emitting module ArgumentParserToolInfo
[43/133] Compiling ArgumentParserToolInfo ToolInfo.swift
[45/135] Wrapping AST for ArgumentParserToolInfo for debugging
[47/172] Compiling ArgumentParser FishCompletionsGenerator.swift
[48/172] Compiling ArgumentParser ZshCompletionsGenerator.swift
[49/172] Compiling ArgumentParser Argument.swift
[50/172] Compiling ArgumentParser ArgumentHelp.swift
[51/172] Compiling ArgumentParser ExpressibleByArgument.swift
[52/172] Compiling ArgumentParser ParsableArguments.swift
[55/174] Compiling TSCLibc libc.swift
[56/176] Wrapping AST for SystemPackage for debugging
[59/176] Emitting module SwiftFormatConfiguration
[60/176] Compiling SwiftFormatConfiguration Configuration.swift
[60/176] Wrapping AST for TSCLibc for debugging
[64/212] Compiling TSCBasic DiagnosticsEngine.swift
[65/212] Compiling TSCBasic Await.swift
[66/212] Compiling TSCBasic Base64URL.swift
[67/212] Compiling TSCBasic ByteString.swift
[68/212] Compiling TSCBasic CStringArray.swift
[68/218] Wrapping AST for SwiftFormatConfiguration for debugging
[70/223] Compiling TSCBasic CodableResult.swift
[71/223] Compiling TSCBasic CollectionAlgorithms.swift
[72/223] Compiling TSCBasic CollectionExtensions.swift
[73/223] Compiling TSCBasic Condition.swift
[74/223] Compiling TSCBasic DeltaAlgorithm.swift
[75/223] Compiling TSCBasic KeyedPair.swift
[76/223] Compiling TSCBasic LazyCache.swift
[77/223] Compiling TSCBasic Lock.swift
[78/223] Compiling TSCBasic OSLog.swift
[79/223] Compiling TSCBasic ObjectIdentifierProtocol.swift
[80/223] Compiling TSCBasic ProcessEnv.swift
[81/223] Compiling TSCBasic ProcessSet.swift
[82/223] Compiling TSCBasic RegEx.swift
[83/223] Compiling TSCBasic Result.swift
[84/223] Compiling TSCBasic SortedArray.swift
[91/228] Compiling ArgumentParser CollectionExtensions.swift
[92/228] Compiling ArgumentParser Platform.swift
[93/228] Compiling ArgumentParser SequenceExtensions.swift
[94/228] Compiling TSCBasic TerminalController.swift
[95/228] Compiling TSCBasic Thread.swift
[96/228] Emitting module TSCBasic
[97/228] Emitting module ArgumentParser
[98/228] Compiling TSCBasic CacheableSequence.swift
[99/228] Compiling TSCBasic Closable.swift
[100/228] Compiling TSCBasic DictionaryExtensions.swift
[101/228] Compiling TSCBasic DictionaryLiteralExtensions.swift
[102/228] Compiling TSCBasic EditDistance.swift
[103/228] Compiling TSCBasic FileInfo.swift
[131/228] Compiling TSCBasic FileSystem.swift
[132/228] Compiling TSCBasic GraphAlgorithms.swift
[135/236] Compiling TSCBasic HashAlgorithms.swift
[136/236] Compiling TSCBasic JSON.swift
[137/236] Compiling TSCBasic JSONMapper.swift
[138/236] Compiling TSCBasic OrderedDictionary.swift
[139/236] Compiling TSCBasic OrderedSet.swift
[140/236] Compiling TSCBasic Path.swift
[141/236] Compiling TSCBasic PathShims.swift
[142/236] Compiling TSCBasic Process.swift
[145/236] Compiling TSCBasic Tuple.swift
[146/236] Compiling TSCBasic WritableByteStream.swift
[147/236] Compiling TSCBasic misc.swift
[165/238] Wrapping AST for ArgumentParser for debugging
[174/240] Wrapping AST for TSCBasic for debugging
[176/240] Emitting module SwiftSyntax
[185/240] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[186/240] Compiling SwiftSyntax TokenDiagnostic.swift
[187/240] Compiling SwiftSyntax TokenSequence.swift
[188/240] Compiling SwiftSyntax TokenSyntax.swift
[189/240] Compiling SwiftSyntax Trivia.swift
[190/240] Compiling SwiftSyntax Utils.swift
[191/240] Compiling SwiftSyntax ChildNameForKeyPath.swift
[192/240] Compiling SwiftSyntax Keyword.swift
[194/240] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[195/240] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[196/240] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[197/240] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[198/240] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[199/240] Compiling SwiftSyntax RawSyntaxValidation.swift
[200/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] Compiling SwiftDiagnostics Message.swift
[232/296] Emitting module SwiftDiagnostics
[233/296] Compiling SwiftDiagnostics Convenience.swift
[234/296] Compiling SwiftDiagnostics Diagnostic.swift
[235/296] Compiling SwiftDiagnostics Note.swift
[236/296] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[237/296] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[238/296] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[239/296] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[240/296] Compiling SwiftDiagnostics FixIt.swift
[241/296] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[244/298] Compiling SwiftBasicFormat Syntax+Extensions.swift
[245/298] Emitting module SwiftBasicFormat
[246/298] Compiling SwiftBasicFormat BasicFormat.swift
[246/298] Wrapping AST for SwiftDiagnostics for debugging
[249/300] Wrapping AST for SwiftBasicFormat for debugging
[251/300] Emitting module SwiftParser
[252/305] Compiling SwiftParser RegexLiteralLexer.swift
[253/305] Compiling SwiftParser UnicodeScalarExtensions.swift
[254/305] Compiling SwiftParser Lookahead.swift
[255/305] Compiling SwiftParser LoopProgressCondition.swift
[256/305] Compiling SwiftParser Modifiers.swift
[257/305] Compiling SwiftParser Names.swift
[258/305] Compiling SwiftParser Nominals.swift
[259/305] Compiling SwiftParser Parameters.swift
[260/305] Compiling SwiftParser ParseSourceFile.swift
[261/305] Compiling SwiftParser Parser.swift
[262/305] Compiling SwiftParser StringLiterals.swift
[263/305] Compiling SwiftParser SwiftParserCompatibility.swift
[264/305] Compiling SwiftParser SyntaxUtils.swift
[265/305] Compiling SwiftParser TokenConsumer.swift
[266/305] Compiling SwiftParser TokenPrecedence.swift
[267/305] Compiling SwiftParser TokenSpec.swift
[268/305] Compiling SwiftParser TokenSpecSet.swift
[269/305] Compiling SwiftParser TopLevel.swift
[270/305] Compiling SwiftParser TriviaParser.swift
[271/305] Compiling SwiftParser Types.swift
[272/305] Compiling SwiftParser Patterns.swift
[273/305] Compiling SwiftParser Recovery.swift
[274/305] Compiling SwiftParser Specifiers.swift
[275/305] Compiling SwiftParser Statements.swift
[276/305] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[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] Compiling SwiftOperators OperatorError.swift
[300/332] Compiling SwiftOperators OperatorTable+Defaults.swift
[301/332] Compiling SwiftOperators OperatorTable.swift
[302/332] Emitting module SwiftOperators
[303/332] Compiling SwiftOperators Operator.swift
[304/332] Compiling SwiftOperators OperatorError+Diagnostics.swift
[305/332] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[306/332] Compiling SwiftOperators PrecedenceGraph.swift
[307/332] Compiling SwiftOperators SyntaxSynthesis.swift
[308/332] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[309/332] Compiling SwiftParserDiagnostics Utils.swift
[310/332] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[311/332] Compiling SwiftOperators OperatorTable+Semantics.swift
[312/332] Compiling SwiftOperators OperatorTable+Folding.swift
[315/334] Emitting module SwiftParserDiagnostics
[315/334] Wrapping AST for SwiftOperators for debugging
[317/348] Compiling SwiftFormatCore FindingEmitter.swift
[318/348] Compiling SwiftFormatCore LegacyTriviaBehavior.swift
[319/348] Compiling SwiftFormatCore SyntaxProtocol+Convenience.swift
[320/349] Compiling SwiftFormatCore Finding.swift
[321/349] Compiling SwiftFormatCore FindingCategorizing.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,
^
[324/349] 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
^ ~~~~~~~~~~~~~~~~~~~~~
[325/349] 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
^ ~~~~~~~~~~~~~~~~~~~~~
[326/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
[327/349] Compiling SwiftFormatCore SyntaxFormatRule.swift
[328/349] Compiling SwiftFormatCore SyntaxLintRule.swift
[329/349] Compiling SwiftFormatCore Trivia+Convenience.swift
[330/349] Compiling SwiftFormatCore Rule.swift
[331/349] Compiling SwiftFormatCore RuleBasedFindingCategory.swift
[332/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
^
[333/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
^
[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...
[4/21] 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
^ ~~~~~~~~~~~~~~~~~~~~~
[5/21] 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
[6/21] 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)
^
[7/25] Compiling SwiftParserDiagnostics MissingTokenError.swift
[8/25] Compiling SwiftFormatCore SyntaxFormatRule.swift
[9/25] Compiling SwiftFormatCore RuleBasedFindingCategory.swift
[10/25] Compiling SwiftFormatCore SyntaxLintRule.swift
[11/25] Compiling SwiftFormatCore Rule.swift
[12/25] Emitting module SwiftParserDiagnostics
[13/25] Compiling SwiftParserDiagnostics MissingNodesError.swift
BUILD FAILURE 5.8 linux