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, reference master (e0d014), with Swift 6.0 for Linux on 4 Nov 2024 01:50:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.56.0
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:             6.0
Building package at path:  $PWD
https://github.com/SDGGiesbrecht/swift-format.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.00s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6522] Fetching swift-tools-support-core
[6523/18875] Fetching swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.43s)
[10006/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.65s)
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.56s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.34s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.52s)
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.51s)
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-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-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at main (79ac43c)
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/57] Write sources
[26/57] Compiling TSCclibc libc.c
[27/57] Compiling TSCclibc process.c
[28/57] Compiling CSystem shims.c
[29/57] Compiling _SwiftSyntaxCShims dummy.c
[30/57] Write swift-version-24593BA9C3E375BF.txt
[32/92] Emitting module SwiftSyntax509
[33/92] Compiling SwiftSyntax509 Empty.swift
[34/93] Compiling SystemPackage FilePathComponents.swift
[35/93] Compiling SystemPackage FilePathParsing.swift
[36/93] Compiling SystemPackage FilePathString.swift
[37/95] Emitting module ArgumentParserToolInfo
[38/95] Compiling ArgumentParserToolInfo ToolInfo.swift
[39/96] Compiling SwiftFormatConfiguration RuleRegistry+Generated.swift
[41/96] Emitting module SwiftSyntax510
[42/96] Compiling SwiftSyntax510 Empty.swift
[43/97] Compiling SwiftFormatConfiguration Indent.swift
[46/97] Compiling SystemPackage PlatformString.swift
[47/97] Compiling SystemPackage SystemString.swift
[48/97] Emitting module SwiftSyntax600
[49/97] Compiling SwiftSyntax600 Empty.swift
[49/97] Wrapping AST for SwiftSyntax509 for debugging
[51/98] Emitting module SystemPackage
[52/98] Compiling SystemPackage Errno.swift
[53/98] Compiling SystemPackage FileDescriptor.swift
[54/98] Compiling SystemPackage FileHelpers.swift
[55/98] Compiling SystemPackage FileOperations.swift
[56/98] Compiling SystemPackage FilePath.swift
[57/98] Compiling SystemPackage FilePathComponentView.swift
[57/98] Wrapping AST for SwiftSyntax510 for debugging
[59/98] Wrapping AST for ArgumentParserToolInfo for debugging
[60/135] Wrapping AST for SwiftSyntax600 for debugging
[62/135] Compiling ArgumentParser InputOrigin.swift
[63/135] Compiling ArgumentParser ArgumentVisibility.swift
[64/135] Emitting module TSCLibc
[65/135] Compiling TSCLibc libc.swift
[66/177] Compiling SwiftSyntax RawSyntax.swift
[67/177] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[68/177] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[69/180] Compiling SwiftSyntax SourceLength.swift
[70/180] Compiling SwiftSyntax SourceLocation.swift
[71/180] Compiling SwiftSyntax SourcePresence.swift
[72/180] Compiling SwiftSyntax Identifier.swift
[73/180] Compiling SwiftSyntax MemoryLayout.swift
[74/180] Compiling SwiftSyntax MissingNodeInitializers.swift
[76/201] Wrapping AST for TSCLibc for debugging
[77/201] Wrapping AST for SystemPackage for debugging
[79/241] Emitting module ArgumentParser
[80/246] Compiling TSCBasic Await.swift
[81/246] Compiling TSCBasic Base64URL.swift
[82/246] Compiling TSCBasic ByteString.swift
[83/246] Compiling TSCBasic CStringArray.swift
[84/246] Compiling TSCBasic CacheableSequence.swift
[85/246] Compiling TSCBasic Closable.swift
[86/246] Compiling TSCBasic ProcessSet.swift
[87/246] Compiling TSCBasic RegEx.swift
[88/246] Compiling TSCBasic HashAlgorithms.swift
[89/246] Compiling TSCBasic JSON.swift
[90/246] Compiling TSCBasic JSONMapper.swift
[91/246] Compiling TSCBasic OrderedSet.swift
[92/246] Compiling TSCBasic Path.swift
[93/246] Compiling TSCBasic PathShims.swift
[94/246] Compiling TSCBasic Process.swift
[95/246] Compiling TSCBasic ProcessEnv.swift
[96/246] Compiling ArgumentParser CollectionExtensions.swift
[97/246] Compiling ArgumentParser Platform.swift
[98/246] Compiling ArgumentParser SequenceExtensions.swift
[99/246] Compiling ArgumentParser StringExtensions.swift
[100/246] Compiling ArgumentParser Tree.swift
[101/246] Emitting module SwiftFormatConfiguration
[102/246] Compiling SwiftFormatConfiguration Configuration.swift
[103/247] Compiling TSCBasic KeyedPair.swift
[104/247] Compiling TSCBasic LazyCache.swift
[105/247] Compiling TSCBasic Lock.swift
[106/247] Compiling TSCBasic Result.swift
[107/247] Compiling TSCBasic SortedArray.swift
[108/247] Wrapping AST for SwiftFormatConfiguration for debugging
[110/247] Compiling TSCBasic DiagnosticsEngine.swift
[111/247] Compiling TSCBasic DictionaryExtensions.swift
[112/247] Compiling TSCBasic DictionaryLiteralExtensions.swift
[113/247] Compiling TSCBasic EditDistance.swift
[114/247] Compiling TSCBasic FileInfo.swift
[115/247] Compiling TSCBasic CodableResult.swift
[116/247] Compiling TSCBasic CollectionAlgorithms.swift
[117/247] Compiling TSCBasic CollectionExtensions.swift
[118/247] Compiling TSCBasic Condition.swift
[119/247] Compiling TSCBasic DeltaAlgorithm.swift
[120/247] Compiling TSCBasic FileSystem.swift
[121/247] Compiling TSCBasic GraphAlgorithms.swift
[122/247] Compiling TSCBasic OSLog.swift
[123/247] Compiling TSCBasic ObjectIdentifierProtocol.swift
[124/247] Compiling TSCBasic OrderedDictionary.swift
[131/253] Wrapping AST for ArgumentParser for debugging
[138/253] Emitting module TSCBasic
[185/262] Compiling TSCBasic TerminalController.swift
[186/262] Compiling TSCBasic Thread.swift
[187/262] Compiling TSCBasic Tuple.swift
[188/262] Compiling TSCBasic WritableByteStream.swift
[189/262] Compiling TSCBasic misc.swift
[190/263] Wrapping AST for TSCBasic for debugging
[210/263] Emitting module SwiftSyntax
[211/263] Compiling SwiftSyntax SyntaxEnum.swift
[212/263] Compiling SwiftSyntax SyntaxKind.swift
[213/263] Compiling SwiftSyntax SyntaxRewriter.swift
[214/263] Compiling SwiftSyntax SyntaxTraits.swift
[215/263] Compiling SwiftSyntax SyntaxVisitor.swift
[216/263] Compiling SwiftSyntax TokenKind.swift
[217/263] Compiling SwiftSyntax Tokens.swift
[218/263] Compiling SwiftSyntax TriviaPieces.swift
[219/263] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[220/263] Compiling SwiftSyntax RawSyntaxNodesC.swift
[221/263] Compiling SwiftSyntax RawSyntaxNodesD.swift
[222/263] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[223/263] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[224/263] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[225/263] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[226/263] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[227/263] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[228/263] Compiling SwiftSyntax RawSyntaxValidation.swift
[237/263] Compiling SwiftSyntax SyntaxCollections.swift
[238/263] Compiling SwiftSyntax SyntaxNodesAB.swift
[239/263] Compiling SwiftSyntax SyntaxNodesC.swift
[240/263] Compiling SwiftSyntax SyntaxNodesD.swift
[241/263] Compiling SwiftSyntax SyntaxNodesEF.swift
[242/263] Compiling SwiftSyntax SyntaxNodesGHI.swift
[243/263] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[244/263] Compiling SwiftSyntax SyntaxNodesOP.swift
[245/263] Compiling SwiftSyntax SyntaxNodesQRS.swift
[246/263] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[247/264] Wrapping AST for SwiftSyntax for debugging
[249/322] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[250/323] Compiling SwiftDiagnostics Message.swift
[251/323] Compiling SwiftBasicFormat Syntax+Extensions.swift
[252/323] Compiling SwiftParser Attributes.swift
[253/323] Compiling SwiftParser Availability.swift
[254/323] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[255/323] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[256/323] Compiling SwiftDiagnostics Note.swift
[257/323] Emitting module SwiftDiagnostics
[258/323] Compiling SwiftParser CharacterInfo.swift
[259/323] Compiling SwiftParser CollectionNodes+Parsable.swift
[260/323] Compiling SwiftDiagnostics FixIt.swift
[261/323] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[262/323] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[263/324] Compiling SwiftBasicFormat InferIndentation.swift
[264/324] Compiling SwiftBasicFormat Indenter.swift
[265/324] Wrapping AST for SwiftDiagnostics for debugging
[267/324] Compiling SwiftBasicFormat BasicFormat.swift
[268/324] Emitting module SwiftBasicFormat
[269/325] Wrapping AST for SwiftBasicFormat for debugging
[271/325] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[272/325] Compiling SwiftParser Expressions.swift
[273/325] Compiling SwiftParser IncrementalParseTransition.swift
[274/325] Compiling SwiftParser IsValidIdentifier.swift
[275/325] Compiling SwiftParser Cursor.swift
[276/325] Compiling SwiftParser Lexeme.swift
[277/330] Compiling SwiftParser TokenSpec.swift
[278/330] Compiling SwiftParser TokenSpecSet.swift
[279/330] Compiling SwiftParser TopLevel.swift
[280/330] Compiling SwiftParser TriviaParser.swift
[281/330] Compiling SwiftParser Types.swift
[282/330] Compiling SwiftParser SwiftParserCompatibility.swift
[283/330] Compiling SwiftParser SwiftVersion.swift
[284/330] Compiling SwiftParser SyntaxUtils.swift
[285/330] Compiling SwiftParser TokenConsumer.swift
[286/330] Compiling SwiftParser TokenPrecedence.swift
[287/330] Compiling SwiftParser Modifiers.swift
[288/330] Compiling SwiftParser Names.swift
[289/330] Compiling SwiftParser Nominals.swift
[290/330] Compiling SwiftParser Parameters.swift
[291/330] Compiling SwiftParser ParseSourceFile.swift
[292/330] Compiling SwiftParser Parser.swift
[293/330] Compiling SwiftParser Patterns.swift
[294/330] Compiling SwiftParser Recovery.swift
[295/330] Compiling SwiftParser Specifiers.swift
[296/330] Compiling SwiftParser Statements.swift
[297/330] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[298/330] Compiling SwiftParser StringLiterals.swift
[299/330] Compiling SwiftParser LexemeSequence.swift
[300/330] Compiling SwiftParser Lexer.swift
[301/330] Compiling SwiftParser RegexLiteralLexer.swift
[302/330] Compiling SwiftParser UnicodeScalarExtensions.swift
[303/330] Compiling SwiftParser Lookahead.swift
[304/330] Compiling SwiftParser LoopProgressCondition.swift
[309/330] Compiling SwiftParser Declarations.swift
[310/330] Compiling SwiftParser Directives.swift
[311/330] Emitting module SwiftParser
[312/330] Compiling SwiftParser ExperimentalFeatures.swift
[313/330] Compiling SwiftParser IsLexerClassified.swift
[314/330] Compiling SwiftParser LayoutNodes+Parsable.swift
[315/330] Compiling SwiftParser Parser+TokenSpecSet.swift
[316/330] Compiling SwiftParser TokenSpecStaticMembers.swift
[317/331] Wrapping AST for SwiftParser for debugging
[319/354] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[320/355] Compiling SwiftOperators PrecedenceGraph.swift
[321/355] Compiling SwiftOperators PrecedenceGroup.swift
[322/356] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[323/356] Compiling SwiftOperators OperatorTable.swift
[324/356] Compiling SwiftOperators SyntaxSynthesis.swift
[325/356] Emitting module SwiftParserDiagnostics
[326/356] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[327/356] Compiling SwiftParserDiagnostics Utils.swift
[328/356] Emitting module SwiftOperators
[329/356] Compiling SwiftOperators OperatorTable+Semantics.swift
[330/356] Compiling SwiftOperators Operator.swift
[331/356] Compiling SwiftOperators OperatorError+Diagnostics.swift
[332/356] Compiling SwiftOperators OperatorError.swift
[333/356] Compiling SwiftOperators OperatorTable+Defaults.swift
[334/356] Compiling SwiftOperators OperatorTable+Folding.swift
[336/357] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[336/357] Wrapping AST for SwiftOperators for debugging
[338/371] Compiling SwiftFormatCore Context.swift
[339/371] 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
 76 |     self.importsXCTest = .notDetermined
 77 |     self.sourceLocationConverter =
 78 |       source.map { SourceLocationConverter(file: fileURL.relativePath, source: $0) }
    |                    `- warning: 'init(file:source:)' is deprecated: Use init(fileName:tree:) instead
 79 |       ?? SourceLocationConverter(file: fileURL.relativePath, tree: sourceFileSyntax)
 80 |     self.ruleMask = RuleMask(
/host/spi-builder-workspace/Sources/SwiftFormatCore/Context.swift:79:10: warning: 'init(file:tree:)' is deprecated: Use init(fileName:tree:) instead
 77 |     self.sourceLocationConverter =
 78 |       source.map { SourceLocationConverter(file: fileURL.relativePath, source: $0) }
 79 |       ?? SourceLocationConverter(file: fileURL.relativePath, tree: sourceFileSyntax)
    |          `- warning: 'init(file:tree:)' is deprecated: Use init(fileName:tree:) instead
 80 |     self.ruleMask = RuleMask(
 81 |       syntaxNode: Syntax(sourceFileSyntax),
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:22:7: error: initializer for conditional binding must have Optional type, not 'String'
20 |   public init?(_ sourceLocation: SourceLocation) {
21 |     guard
22 |       let file = sourceLocation.file,
   |       `- error: initializer for conditional binding must have Optional type, not 'String'
23 |       let line = sourceLocation.line,
24 |       let column = sourceLocation.column
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:23:7: error: initializer for conditional binding must have Optional type, not 'Int'
21 |     guard
22 |       let file = sourceLocation.file,
23 |       let line = sourceLocation.line,
   |       `- error: initializer for conditional binding must have Optional type, not 'Int'
24 |       let column = sourceLocation.column
25 |     else {
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:24:7: error: initializer for conditional binding must have Optional type, not 'Int'
22 |       let file = sourceLocation.file,
23 |       let line = sourceLocation.line,
24 |       let column = sourceLocation.column
   |       `- error: initializer for conditional binding must have Optional type, not 'Int'
25 |     else {
26 |       return nil
/host/spi-builder-workspace/Sources/SwiftFormatCore/Context.swift:78:20: warning: 'init(file:source:)' is deprecated: Use init(fileName:tree:) instead
 76 |     self.importsXCTest = .notDetermined
 77 |     self.sourceLocationConverter =
 78 |       source.map { SourceLocationConverter(file: fileURL.relativePath, source: $0) }
    |                    `- warning: 'init(file:source:)' is deprecated: Use init(fileName:tree:) instead
 79 |       ?? SourceLocationConverter(file: fileURL.relativePath, tree: sourceFileSyntax)
 80 |     self.ruleMask = RuleMask(
/host/spi-builder-workspace/Sources/SwiftFormatCore/Context.swift:79:10: warning: 'init(file:tree:)' is deprecated: Use init(fileName:tree:) instead
 77 |     self.sourceLocationConverter =
 78 |       source.map { SourceLocationConverter(file: fileURL.relativePath, source: $0) }
 79 |       ?? SourceLocationConverter(file: fileURL.relativePath, tree: sourceFileSyntax)
    |          `- warning: 'init(file:tree:)' is deprecated: Use init(fileName:tree:) instead
 80 |     self.ruleMask = RuleMask(
 81 |       syntaxNode: Syntax(sourceFileSyntax),
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:22:7: error: initializer for conditional binding must have Optional type, not 'String'
20 |   public init?(_ sourceLocation: SourceLocation) {
21 |     guard
22 |       let file = sourceLocation.file,
   |       `- error: initializer for conditional binding must have Optional type, not 'String'
23 |       let line = sourceLocation.line,
24 |       let column = sourceLocation.column
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:23:7: error: initializer for conditional binding must have Optional type, not 'Int'
21 |     guard
22 |       let file = sourceLocation.file,
23 |       let line = sourceLocation.line,
   |       `- error: initializer for conditional binding must have Optional type, not 'Int'
24 |       let column = sourceLocation.column
25 |     else {
/host/spi-builder-workspace/Sources/SwiftFormatCore/Finding+Convenience.swift:24:7: error: initializer for conditional binding must have Optional type, not 'Int'
22 |       let file = sourceLocation.file,
23 |       let line = sourceLocation.line,
24 |       let column = sourceLocation.column
   |       `- error: initializer for conditional binding must have Optional type, not 'Int'
25 |     else {
26 |       return nil
[342/372] Compiling SwiftFormatCore SyntaxProtocol+Convenience.swift
[343/372] Compiling SwiftFormatCore Trivia+Convenience.swift
[344/372] Compiling SwiftFormatCore RuleMask.swift
[345/372] Compiling SwiftFormatCore RuleState.swift
[346/372] Compiling SwiftFormatCore SyntaxFormatRule.swift
[347/372] Compiling SwiftFormatCore SyntaxLintRule.swift
[348/372] Compiling SwiftFormatCore Finding.swift
[349/372] Compiling SwiftFormatCore FindingCategorizing.swift
[350/372] Compiling SwiftFormatCore FindingEmitter.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/LegacyTriviaBehavior.swift:23:14: warning: 'nextToken' is deprecated: Use nextToken(viewMode:) instead
21 |       self.pendingLeadingTrivia = nil
22 |     }
23 |     if token.nextToken != nil,
   |              `- warning: 'nextToken' is deprecated: Use nextToken(viewMode:) instead
24 |       let firstIndexToMove = token.trailingTrivia.firstIndex(where: shouldTriviaPieceBeMoved)
25 |     {
[351/372] Compiling SwiftFormatCore LegacyTriviaBehavior.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/LegacyTriviaBehavior.swift:23:14: warning: 'nextToken' is deprecated: Use nextToken(viewMode:) instead
21 |       self.pendingLeadingTrivia = nil
22 |     }
23 |     if token.nextToken != nil,
   |              `- warning: 'nextToken' is deprecated: Use nextToken(viewMode:) instead
24 |       let firstIndexToMove = token.trailingTrivia.firstIndex(where: shouldTriviaPieceBeMoved)
25 |     {
[352/372] Emitting module SwiftFormatCore
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
166 |   }
167 |
168 |   override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
    |                               |- warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
    |                               `- note: use 'MemberBlockItemSyntax' instead
169 |     guard let firstToken = node.firstToken else {
170 |       return .visitChildren
[353/372] Compiling SwiftFormatCore Rule.swift
[354/372] Compiling SwiftFormatCore RuleBasedFindingCategory.swift
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
166 |   }
167 |
168 |   override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
    |                               |- warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
    |                               `- note: use 'MemberBlockItemSyntax' instead
169 |     guard let firstToken = node.firstToken else {
170 |       return .visitChildren
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:139:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
137 |
138 |   override func visit(_ node: SourceFileSyntax) -> SyntaxVisitorContinueKind {
139 |     guard let firstToken = node.firstToken else {
    |                                 `- warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
140 |       return .visitChildren
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:162:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
160 |
161 |   override func visit(_ node: CodeBlockItemSyntax) -> SyntaxVisitorContinueKind {
162 |     guard let firstToken = node.firstToken else {
    |                                 `- warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
163 |       return .visitChildren
164 |     }
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:169:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
167 |
168 |   override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
169 |     guard let firstToken = node.firstToken else {
    |                                 `- warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
170 |       return .visitChildren
171 |     }
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:186:31: warning: 'previousToken' is deprecated: Use previousToken(viewMode:) instead
184 |     -> SyntaxVisitorContinueKind
185 |   {
186 |     let isFirstInFile = token.previousToken == nil
    |                               `- warning: 'previousToken' is deprecated: Use previousToken(viewMode:) instead
187 |     let matches = loneLineComments(in: token.leadingTrivia, isFirstToken: isFirstInFile)
188 |       .compactMap(ruleStatusDirectiveMatch)
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:168:31: warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
166 |   }
167 |
168 |   override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
    |                               |- warning: 'MemberDeclListItemSyntax' is deprecated: renamed to 'MemberBlockItemSyntax'
    |                               `- note: use 'MemberBlockItemSyntax' instead
169 |     guard let firstToken = node.firstToken else {
170 |       return .visitChildren
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:139:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
137 |
138 |   override func visit(_ node: SourceFileSyntax) -> SyntaxVisitorContinueKind {
139 |     guard let firstToken = node.firstToken else {
    |                                 `- warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
140 |       return .visitChildren
141 |     }
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:162:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
160 |
161 |   override func visit(_ node: CodeBlockItemSyntax) -> SyntaxVisitorContinueKind {
162 |     guard let firstToken = node.firstToken else {
    |                                 `- warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
163 |       return .visitChildren
164 |     }
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:169:33: warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
167 |
168 |   override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
169 |     guard let firstToken = node.firstToken else {
    |                                 `- warning: 'firstToken' is deprecated: Use firstToken(viewMode: .sourceAccurate) instead
170 |       return .visitChildren
171 |     }
/host/spi-builder-workspace/Sources/SwiftFormatCore/RuleMask.swift:186:31: warning: 'previousToken' is deprecated: Use previousToken(viewMode:) instead
184 |     -> SyntaxVisitorContinueKind
185 |   {
186 |     let isFirstInFile = token.previousToken == nil
    |                               `- warning: 'previousToken' is deprecated: Use previousToken(viewMode:) instead
187 |     let matches = loneLineComments(in: token.leadingTrivia, isFirstToken: isFirstInFile)
188 |       .compactMap(ruleStatusDirectiveMatch)
BUILD FAILURE 6.0 linux