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 macOS (SPM) on 4 Nov 2024 01:57:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.39s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/12353] Fetching swift-argument-parser
[249/18875] Fetching swift-argument-parser, swift-tools-support-core
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.61s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.61s)
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.75s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.62s)
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.65s)
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-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-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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-format",
      "name": "swift-format",
      "url": "https://github.com/SDGGiesbrecht/swift-format.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-format",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.2.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-tools-support-core",
          "name": "swift-tools-support-core",
          "url": "https://github.com/apple/swift-tools-support-core.git",
          "version": "0.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tools-support-core",
          "dependencies": [
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.1.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SDGGiesbrecht/swift-format.git
[1/4880] Fetching swift-format
Fetched https://github.com/SDGGiesbrecht/swift-format.git from cache (1.21s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (1.00s)
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.82s)
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.02s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.03s)
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.04s)
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-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-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/SDGGiesbrecht/swift-format.git
Working copy of https://github.com/SDGGiesbrecht/swift-format.git resolved at master (e0d014c)
Found 3 product dependencies
  - swift-argument-parser
  - swift-syntax
  - swift-tools-support-core
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SDGGiesbrecht/swift-format.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Format Source Code
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Lint Source Code
Building for debugging...
[3/39] Write sources
[16/39] Write generate-pipeline-entitlement.plist
[16/39] Write sources
[16/39] Write swift-format-entitlement.plist
[20/39] Write sources
[28/39] Compiling CSystem shims.c
[29/39] Compiling _SwiftSyntaxCShims dummy.c
[29/39] Compiling TSCclibc process.c
[31/39] Compiling TSCclibc libc.c
[32/39] Write swift-version--7754E27361AE5C74.txt
[34/74] Compiling SwiftSyntax600 Empty.swift
[35/74] Emitting module SwiftSyntax600
[36/74] Compiling SwiftSyntax509 Empty.swift
[37/74] Emitting module SwiftSyntax509
[38/74] Compiling SwiftSyntax510 Empty.swift
[39/74] Emitting module SwiftSyntax510
[40/140] Emitting module SystemPackage
[41/142] Emitting module ArgumentParserToolInfo
[42/142] Compiling ArgumentParserToolInfo ToolInfo.swift
[43/180] Compiling ArgumentParser ArgumentDecoder.swift
[44/180] Compiling ArgumentParser Flag.swift
[45/180] Compiling ArgumentParser InputOrigin.swift
[46/180] Compiling ArgumentParser Name.swift
[47/180] Compiling ArgumentParser Parsed.swift
[48/180] Compiling ArgumentParser ParsedValues.swift
[49/184] Emitting module TSCLibc
[50/184] Compiling TSCLibc libc.swift
[51/184] Compiling SwiftFormatConfiguration RuleRegistry+Generated.swift
[52/184] Compiling SwiftFormatConfiguration Indent.swift
[53/184] Compiling ArgumentParser CollectionExtensions.swift
[54/184] Compiling ArgumentParser ParsableArguments.swift
[55/184] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/184] Compiling ArgumentParser ParsableCommand.swift
[57/184] Compiling ArgumentParser MessageInfo.swift
[58/184] Compiling ArgumentParser UsageGenerator.swift
[59/184] Compiling ArgumentParser ExpressibleByArgument.swift
[60/184] Compiling ArgumentParser BashCompletionsGenerator.swift
[61/184] Compiling ArgumentParser Platform.swift
[62/184] Compiling ArgumentParser SequenceExtensions.swift
[63/184] Compiling ArgumentParser StringExtensions.swift
[64/184] Compiling ArgumentParser Tree.swift
[65/184] Compiling ArgumentParser AsyncParsableCommand.swift
[66/184] Compiling ArgumentParser CommandConfiguration.swift
[67/184] Compiling ArgumentParser EnumerableFlag.swift
[68/184] Compiling ArgumentParser ArgumentVisibility.swift
[69/184] Compiling ArgumentParser CompletionKind.swift
[70/184] Compiling ArgumentParser ZshCompletionsGenerator.swift
[71/184] Compiling ArgumentParser Argument.swift
[72/184] Compiling ArgumentParser ArgumentHelp.swift
[73/184] Compiling ArgumentParser Errors.swift
[74/184] Compiling ArgumentParser HelpGenerator.swift
[75/184] Compiling ArgumentParser CompletionsGenerator.swift
[76/184] Compiling ArgumentParser FishCompletionsGenerator.swift
[77/184] Emitting module ArgumentParser
[78/225] Compiling TSCBasic CollectionAlgorithms.swift
[79/225] Compiling TSCBasic CollectionExtensions.swift
[80/225] Compiling TSCBasic Condition.swift
[81/225] Compiling TSCBasic StringConversions.swift
[82/225] Compiling TSCBasic Lock.swift
[83/225] Compiling TSCBasic DeltaAlgorithm.swift
[84/225] Compiling TSCBasic DiagnosticsEngine.swift
[85/225] Compiling TSCBasic DictionaryExtensions.swift
[86/225] Compiling TSCBasic DictionaryLiteralExtensions.swift
[87/225] Compiling TSCBasic EditDistance.swift
[88/225] Compiling TSCBasic Closable.swift
[89/225] Compiling TSCBasic CodableResult.swift
[90/225] Compiling TSCBasic ProcessEnv.swift
[91/225] Compiling TSCBasic JSONMapper.swift
[92/225] Compiling TSCBasic KeyedPair.swift
[93/225] Compiling TSCBasic LazyCache.swift
[94/225] Compiling TSCBasic CacheableSequence.swift
[95/225] Compiling TSCBasic OSLog.swift
[96/225] Compiling TSCBasic ObjectIdentifierProtocol.swift
[97/225] Compiling TSCBasic OrderedDictionary.swift
[98/225] Compiling TSCBasic OrderedSet.swift
[99/225] Compiling TSCBasic FileInfo.swift
[100/225] Compiling TSCBasic FileSystem.swift
[101/225] Compiling TSCBasic GraphAlgorithms.swift
[102/225] Compiling TSCBasic HashAlgorithms.swift
[103/225] Compiling TSCBasic JSON.swift
[104/225] Compiling TSCBasic Path.swift
[105/225] Compiling TSCBasic PathShims.swift
[106/225] Compiling TSCBasic Process.swift
[107/225] Compiling TSCBasic Await.swift
[108/225] Compiling TSCBasic Base64URL.swift
[109/225] Compiling TSCBasic ByteString.swift
[110/225] Compiling TSCBasic CStringArray.swift
[111/225] Emitting module SwiftFormatConfiguration
[112/225] Compiling SwiftFormatConfiguration Configuration.swift
[119/229] Compiling TSCBasic SynchronizedQueue.swift
[120/229] Compiling TSCBasic TemporaryFile.swift
[121/229] Compiling TSCBasic TerminalController.swift
[122/229] Compiling TSCBasic ProcessSet.swift
[123/229] Compiling TSCBasic RegEx.swift
[124/229] Compiling TSCBasic Result.swift
[125/229] Compiling TSCBasic SortedArray.swift
[126/229] Compiling TSCBasic Thread.swift
[127/229] Compiling TSCBasic Tuple.swift
[128/229] Compiling TSCBasic WritableByteStream.swift
[129/229] Compiling TSCBasic misc.swift
[134/229] Emitting module TSCBasic
[172/236] Compiling SwiftSyntax Tokens.swift
[173/236] Compiling SwiftSyntax TriviaPieces.swift
[174/236] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[175/236] Compiling SwiftSyntax RawSyntaxNodesC.swift
[176/236] Compiling SwiftSyntax RawSyntaxNodesD.swift
[177/236] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[178/236] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[180/236] Compiling SwiftSyntax Identifier.swift
[181/236] Compiling SwiftSyntax MemoryLayout.swift
[182/236] Compiling SwiftSyntax MissingNodeInitializers.swift
[183/236] Compiling SwiftSyntax RawSyntax.swift
[184/236] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[185/236] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[186/236] Compiling SwiftSyntax RawSyntaxTokenView.swift
[187/236] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[188/236] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[189/236] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[190/236] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[191/236] Compiling SwiftSyntax RawSyntaxValidation.swift
[192/236] Compiling SwiftSyntax SyntaxNodesAB.swift
[193/236] Compiling SwiftSyntax SyntaxNodesC.swift
[194/236] Emitting module SwiftSyntax
[224/236] Compiling SwiftSyntax SyntaxNodesD.swift
[225/236] Compiling SwiftSyntax SyntaxNodesEF.swift
[226/236] Compiling SwiftSyntax SyntaxNodesGHI.swift
[227/236] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[228/236] Compiling SwiftSyntax SyntaxNodesOP.swift
[229/236] Compiling SwiftSyntax SyntaxNodesQRS.swift
[230/236] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[231/295] Compiling SwiftDiagnostics Message.swift
[232/296] Compiling SwiftDiagnostics Note.swift
[233/296] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[234/296] Compiling SwiftBasicFormat Syntax+Extensions.swift
[235/296] Compiling SwiftDiagnostics FixIt.swift
[236/296] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[237/296] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[238/296] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[239/296] Compiling SwiftDiagnostics Convenience.swift
[240/296] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[241/296] Compiling SwiftDiagnostics Diagnostic.swift
[242/296] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[243/296] Emitting module SwiftDiagnostics
[244/296] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[245/296] Compiling SwiftBasicFormat InferIndentation.swift
[246/296] Compiling SwiftBasicFormat Indenter.swift
[247/296] Emitting module SwiftBasicFormat
[248/296] Compiling SwiftBasicFormat BasicFormat.swift
[249/296] Compiling SwiftParser TopLevel.swift
[250/296] Compiling SwiftParser TriviaParser.swift
[251/296] Compiling SwiftParser Types.swift
[252/296] Compiling SwiftParser ExperimentalFeatures.swift
[253/300] Compiling SwiftParser StringLiterals.swift
[254/300] Compiling SwiftParser SwiftParserCompatibility.swift
[255/300] Compiling SwiftParser SwiftVersion.swift
[256/300] Compiling SwiftParser SyntaxUtils.swift
[257/300] Compiling SwiftParser TokenConsumer.swift
[258/300] Compiling SwiftParser TokenPrecedence.swift
[259/300] Compiling SwiftParser TokenSpec.swift
[260/300] Compiling SwiftParser TokenSpecSet.swift
[261/300] Compiling SwiftParser Nominals.swift
[262/300] Compiling SwiftParser Parameters.swift
[263/300] Compiling SwiftParser ParseSourceFile.swift
[264/300] Compiling SwiftParser Parser.swift
[265/300] Compiling SwiftParser Patterns.swift
[266/300] Compiling SwiftParser Recovery.swift
[267/300] Compiling SwiftParser Specifiers.swift
[268/300] Compiling SwiftParser Statements.swift
[269/300] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[270/300] Compiling SwiftParser UnicodeScalarExtensions.swift
[271/300] Compiling SwiftParser Lookahead.swift
[272/300] Compiling SwiftParser LoopProgressCondition.swift
[273/300] Compiling SwiftParser Modifiers.swift
[274/300] Compiling SwiftParser Names.swift
[275/300] Compiling SwiftParser Directives.swift
[276/300] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[277/300] Compiling SwiftParser Expressions.swift
[278/300] Compiling SwiftParser IncrementalParseTransition.swift
[279/300] Compiling SwiftParser IsValidIdentifier.swift
[280/300] Compiling SwiftParser Cursor.swift
[281/300] Compiling SwiftParser Lexeme.swift
[282/300] Compiling SwiftParser LexemeSequence.swift
[283/300] Compiling SwiftParser Lexer.swift
[284/300] Compiling SwiftParser RegexLiteralLexer.swift
[285/300] Compiling SwiftParser Attributes.swift
[286/300] Compiling SwiftParser Availability.swift
[287/300] Compiling SwiftParser CharacterInfo.swift
[288/300] Compiling SwiftParser CollectionNodes+Parsable.swift
[289/300] Compiling SwiftParser Declarations.swift
[290/300] Emitting module SwiftParser
[291/300] Compiling SwiftParser IsLexerClassified.swift
[292/300] Compiling SwiftParser LayoutNodes+Parsable.swift
[293/300] Compiling SwiftParser Parser+TokenSpecSet.swift
[294/300] Compiling SwiftParser TokenSpecStaticMembers.swift
[295/323] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[296/323] Compiling SwiftParserDiagnostics Utils.swift
[297/324] Compiling SwiftOperators OperatorTable.swift
[298/325] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[299/325] Compiling SwiftOperators SyntaxSynthesis.swift
[300/325] Compiling SwiftOperators PrecedenceGroup.swift
[301/325] Compiling SwiftOperators PrecedenceGraph.swift
[302/325] Compiling SwiftOperators OperatorTable+Semantics.swift
[303/325] Compiling SwiftOperators OperatorError.swift
[304/325] Compiling SwiftOperators OperatorTable+Defaults.swift
[305/325] Compiling SwiftOperators OperatorError+Diagnostics.swift
[306/325] Emitting module SwiftOperators
[307/325] Compiling SwiftOperators Operator.swift
[308/325] Compiling SwiftOperators OperatorTable+Folding.swift
[309/339] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[310/339] Compiling SwiftParserDiagnostics PresenceUtils.swift
[311/339] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[312/339] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[313/339] Compiling SwiftFormatCore SyntaxProtocol+Convenience.swift
[314/340] Compiling SwiftFormatCore RuleState.swift
[315/340] Compiling SwiftFormatCore SyntaxLintRule.swift
[316/340] Compiling SwiftFormatCore SyntaxFormatRule.swift
[317/340] Emitting module SwiftFormatCore
/Users/admin/builder/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
[318/340] Compiling SwiftFormatCore Trivia+Convenience.swift
[319/340] Compiling SwiftFormatCore FindingEmitter.swift
/Users/admin/builder/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 |     {
[320/340] Compiling SwiftFormatCore LegacyTriviaBehavior.swift
/Users/admin/builder/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 |     {
[321/340] Compiling SwiftFormatCore Rule.swift
[322/340] Compiling SwiftFormatCore RuleBasedFindingCategory.swift
[323/340] Compiling SwiftFormatCore Finding.swift
[324/340] Compiling SwiftFormatCore FindingCategorizing.swift
[325/340] Compiling SwiftFormatCore RuleMask.swift
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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)
[326/340] Compiling SwiftFormatCore Context.swift
/Users/admin/builder/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(
/Users/admin/builder/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),
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
[327/340] Compiling SwiftFormatCore Finding+Convenience.swift
/Users/admin/builder/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(
/Users/admin/builder/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),
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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
[332/340] Emitting module SwiftParserDiagnostics
BUILD FAILURE 6.0 macosSpm