Build Information
Failed to build SwiftFormat, reference 0.64.5 (048f2e), with Swift 6.1 for Android on 2 Nov 2026 09:39:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
13 | help: """
14 | Changes all instances of `assert(false, ...)` to `assertionFailure(...)`
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/BlankLineAfterImports.swift:13:16: warning: static property 'blankLineAfterImports' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Insert blank line after import statements
13 | static let blankLineAfterImports = FormatRule(
| |- warning: static property 'blankLineAfterImports' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blankLineAfterImports' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Insert blank line after import statements.",
15 | sharedOptions: ["linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/BlankLineAfterSwitchCase.swift:12:16: warning: static property 'blankLineAfterSwitchCase' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let blankLineAfterSwitchCase = FormatRule(
| |- warning: static property 'blankLineAfterSwitchCase' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blankLineAfterSwitchCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Insert a blank line after switch cases (excluding the last case,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
[396/402] Wrapping AST for SwiftFormat for debugging
[398/402] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:91:5: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | private let printQueue = DispatchQueue(label: "swiftformat.print")
90 |
91 | CLI.print = { message, type in
| `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | printQueue.sync {
93 | switch type {
/host/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
[399/402] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:91:5: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | private let printQueue = DispatchQueue(label: "swiftformat.print")
90 |
91 | CLI.print = { message, type in
| `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | printQueue.sync {
93 | switch type {
/host/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
/host/spi-builder-workspace/CommandLineTool/main.swift:79:16: warning: reference to static property 'colorMode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | private var useColor: Bool {
79 | switch CLI.colorMode {
| `- warning: reference to static property 'colorMode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | case .auto:
81 | return stderrIsTTY
/host/spi-builder-workspace/Sources/CommandLine.swift:70:30: note: static property declared here
68 |
69 | /// The `--color` mode of the current run
70 | internal(set) static var colorMode = ColorMode.auto
| `- note: static property declared here
71 |
72 | /// Run the CLI with the specified input arguments
error: emit-module command failed with exit code 1 (use -v to see invocation)
[401/405] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:76:27: error: cannot find 'isatty' in scope
74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
75 |
76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
77 |
78 | private var useColor: Bool {
/host/spi-builder-workspace/CommandLineTool/main.swift:76:34: error: cannot find 'STDERR_FILENO' in scope
74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
75 |
76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
77 |
78 | private var useColor: Bool {
/host/spi-builder-workspace/CommandLineTool/main.swift:91:5: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | private let printQueue = DispatchQueue(label: "swiftformat.print")
90 |
91 | CLI.print = { message, type in
| `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | printQueue.sync {
93 | switch type {
/host/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
[402/405] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:76:27: error: cannot find 'isatty' in scope
74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
75 |
76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
77 |
78 | private var useColor: Bool {
/host/spi-builder-workspace/CommandLineTool/main.swift:76:34: error: cannot find 'STDERR_FILENO' in scope
74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
75 |
76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
77 |
78 | private var useColor: Bool {
/host/spi-builder-workspace/CommandLineTool/main.swift:91:5: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | private let printQueue = DispatchQueue(label: "swiftformat.print")
90 |
91 | CLI.print = { message, type in
| `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | printQueue.sync {
93 | switch type {
/host/spi-builder-workspace/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
/host/spi-builder-workspace/CommandLineTool/main.swift:79:16: warning: reference to static property 'colorMode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | private var useColor: Bool {
79 | switch CLI.colorMode {
| `- warning: reference to static property 'colorMode' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | case .auto:
81 | return stderrIsTTY
/host/spi-builder-workspace/Sources/CommandLine.swift:70:30: note: static property declared here
68 |
69 | /// The `--color` mode of the current run
70 | internal(set) static var colorMode = ColorMode.auto
| `- note: static property declared here
71 |
72 | /// Run the CLI with the specified input arguments
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1af1ef9e2b8f7a959ad4dced2035c22f050ae85f531ed2857472423d8f2ef4d3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/6] Write swift-version-24593BA9C3E375BF.txt
[3/346] Compiling SwiftFormat SpaceInsideBraces.swift
[4/346] Compiling SwiftFormat SpaceInsideBrackets.swift
[5/346] Compiling SwiftFormat SpaceInsideComments.swift
[6/346] Compiling SwiftFormat SpaceInsideGenerics.swift
[7/346] Compiling SwiftFormat SpaceInsideParens.swift
[8/346] Compiling SwiftFormat Specifiers.swift
[9/346] Compiling SwiftFormat StrongOutlets.swift
[10/346] Compiling SwiftFormat StrongifiedSelf.swift
[11/346] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[12/346] Compiling SwiftFormat TestSuiteAccessControl.swift
[13/346] Compiling SwiftFormat ThrowingTests.swift
[14/346] Compiling SwiftFormat Todos.swift
[15/346] Compiling SwiftFormat TrailingClosures.swift
[16/346] Compiling SwiftFormat TrailingCommas.swift
[17/346] Compiling SwiftFormat TrailingSpace.swift
[18/346] Compiling SwiftFormat TypeSugar.swift
[19/346] Compiling SwiftFormat URLMacro.swift
[20/346] Compiling SwiftFormat UnusedArguments.swift
[21/346] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[22/346] Compiling SwiftFormat ValidateTestCases.swift
[23/346] Compiling SwiftFormat Void.swift
[24/346] Compiling SwiftFormat Wrap.swift
[25/346] Compiling SwiftFormat WrapArguments.swift
[26/346] Compiling SwiftFormat WrapAttributes.swift
[27/370] Compiling SwiftFormat RedundantSwiftTestingSuite.swift
[28/370] Compiling SwiftFormat RedundantSwiftUIGroup.swift
[29/370] Compiling SwiftFormat RedundantThrows.swift
[30/370] Compiling SwiftFormat RedundantType.swift
[31/370] Compiling SwiftFormat RedundantTypedThrows.swift
[32/370] Compiling SwiftFormat RedundantVariable.swift
[33/370] Compiling SwiftFormat RedundantViewBuilder.swift
[34/370] Compiling SwiftFormat RedundantVoidReturnType.swift
[35/370] Compiling SwiftFormat RepeatedGuard.swift
[36/370] Compiling SwiftFormat Semicolons.swift
[37/370] Compiling SwiftFormat SimplifyGenericConstraints.swift
[38/370] Compiling SwiftFormat SinglePropertyPerLine.swift
[39/370] Compiling SwiftFormat SortDeclarations.swift
[40/370] Compiling SwiftFormat SortImports.swift
[41/370] Compiling SwiftFormat SortSwitchCases.swift
[42/370] Compiling SwiftFormat SortTypealiases.swift
[43/370] Compiling SwiftFormat SortedImports.swift
[44/370] Compiling SwiftFormat SortedSwitchCases.swift
[45/370] Compiling SwiftFormat SpaceAroundBraces.swift
[46/370] Compiling SwiftFormat SpaceAroundBrackets.swift
[47/370] Compiling SwiftFormat SpaceAroundComments.swift
[48/370] Compiling SwiftFormat SpaceAroundGenerics.swift
[49/370] Compiling SwiftFormat SpaceAroundOperators.swift
[50/370] Compiling SwiftFormat SpaceAroundParens.swift
[51/370] Compiling SwiftFormat RedundantEnumerated.swift
[52/370] Compiling SwiftFormat RedundantEquatable.swift
[53/370] Compiling SwiftFormat RedundantExtendedLifetime.swift
[54/370] Compiling SwiftFormat RedundantExtensionACL.swift
[55/370] Compiling SwiftFormat RedundantFileprivate.swift
[56/370] Compiling SwiftFormat RedundantGet.swift
[57/370] Compiling SwiftFormat RedundantInit.swift
[58/370] Compiling SwiftFormat RedundantInternal.swift
[59/370] Compiling SwiftFormat RedundantLet.swift
[60/370] Compiling SwiftFormat RedundantLetError.swift
[61/370] Compiling SwiftFormat RedundantMemberwiseInit.swift
[62/370] Compiling SwiftFormat RedundantNilInit.swift
[63/370] Compiling SwiftFormat RedundantObjc.swift
[64/370] Compiling SwiftFormat RedundantOptionalBinding.swift
[65/370] Compiling SwiftFormat RedundantOverload.swift
[66/370] Compiling SwiftFormat RedundantParens.swift
[67/370] Compiling SwiftFormat RedundantPattern.swift
[68/370] Compiling SwiftFormat RedundantProperty.swift
[69/370] Compiling SwiftFormat RedundantPublic.swift
[70/370] Compiling SwiftFormat RedundantRawValues.swift
[71/370] Compiling SwiftFormat RedundantReturn.swift
[72/370] Compiling SwiftFormat RedundantSelf.swift
[73/370] Compiling SwiftFormat RedundantSendable.swift
[74/370] Compiling SwiftFormat RedundantStaticSelf.swift
[75/370] Compiling SwiftFormat NumberFormatting.swift
[76/370] Compiling SwiftFormat OpaqueGenericParameters.swift
[77/370] Compiling SwiftFormat OrganizeDeclarations.swift
[78/370] Compiling SwiftFormat PreferContains.swift
[79/370] Compiling SwiftFormat PreferCountWhere.swift
[80/370] Compiling SwiftFormat PreferExplicitFalse.swift
[81/370] Compiling SwiftFormat PreferFinalClasses.swift
[82/370] Compiling SwiftFormat PreferFirstWhere.swift
[83/370] Compiling SwiftFormat PreferFlatMap.swift
[84/370] Compiling SwiftFormat PreferForLoop.swift
[85/370] Compiling SwiftFormat PreferKeyPath.swift
[86/370] Compiling SwiftFormat PreferLazyMap.swift
[87/370] Compiling SwiftFormat PreferMinOverSorted.swift
[88/370] Compiling SwiftFormat PreferStructSwiftTestingSuites.swift
[89/370] Compiling SwiftFormat PreferSwiftStringAPI.swift
[90/370] Compiling SwiftFormat PreferSwiftTesting.swift
[91/370] Compiling SwiftFormat PrivateStateVariables.swift
[92/370] Compiling SwiftFormat PrivateSwiftUIDynamicProperties.swift
[93/370] Compiling SwiftFormat PropertyTypes.swift
[94/370] Compiling SwiftFormat RedundantAsync.swift
[95/370] Compiling SwiftFormat RedundantBackticks.swift
[96/370] Compiling SwiftFormat RedundantBreak.swift
[97/370] Compiling SwiftFormat RedundantClosure.swift
[98/370] Compiling SwiftFormat RedundantEmptyView.swift
[123/394] Compiling SwiftFormat Arguments.swift
[124/394] Compiling SwiftFormat CommandLine.swift
[125/394] Compiling SwiftFormat Declaration.swift
[126/394] Compiling SwiftFormat DeclarationType.swift
[127/394] Compiling SwiftFormat EnumAssociable.swift
[128/394] Compiling SwiftFormat FormatRule.swift
[129/394] Compiling SwiftFormat Formatter.swift
[130/394] Compiling SwiftFormat FormattingHelpers.swift
[131/394] Compiling SwiftFormat Braces.swift
[132/394] Compiling SwiftFormat CommonTypos.swift
[133/394] Compiling SwiftFormat ConditionalAssignment.swift
[134/394] Compiling SwiftFormat ConsecutiveBlankLines.swift
[135/394] Compiling SwiftFormat ConsecutiveSpaces.swift
[136/394] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[137/394] Compiling SwiftFormat ContentBuilder.swift
[138/394] Compiling SwiftFormat DocComments.swift
[139/394] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[140/394] Compiling SwiftFormat DuplicateImports.swift
[141/394] Compiling SwiftFormat ElseOnSameLine.swift
[142/394] Compiling SwiftFormat EmptyBraces.swift
[143/394] Compiling SwiftFormat EmptyExtensions.swift
[144/394] Compiling SwiftFormat EnumNamespaces.swift
[145/394] Compiling SwiftFormat EnvironmentEntry.swift
[146/394] Compiling SwiftFormat ExtensionAccessControl.swift
[147/394] Compiling SwiftFormat FileHeader.swift
[148/394] Compiling SwiftFormat FileMacro.swift
[149/394] Compiling SwiftFormat ForWhere.swift
[150/394] Compiling SwiftFormat GenericExtensions.swift
[151/394] Compiling SwiftFormat HeaderFileName.swift
[152/394] Compiling SwiftFormat HoistAwait.swift
[153/394] Compiling SwiftFormat HoistPatternLet.swift
[154/394] Compiling SwiftFormat HoistTry.swift
[155/394] Compiling SwiftFormat IfExpressions.swift
[156/394] Compiling SwiftFormat Indent.swift
[157/394] Compiling SwiftFormat InitCoderUnavailable.swift
[158/394] Compiling SwiftFormat IsEmpty.swift
[159/394] Compiling SwiftFormat LeadingDelimiters.swift
[160/394] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[161/394] Compiling SwiftFormat Linebreaks.swift
[162/394] Compiling SwiftFormat MarkTypes.swift
[163/394] Compiling SwiftFormat ModifierOrder.swift
[164/394] Compiling SwiftFormat ModifiersOnSameLine.swift
[165/394] Compiling SwiftFormat NestedIf.swift
[166/394] Compiling SwiftFormat NoExplicitOwnership.swift
[167/394] Compiling SwiftFormat NoForceTryInTests.swift
[168/394] Compiling SwiftFormat NoForceUnwrapInTests.swift
[169/394] Compiling SwiftFormat NoGuardInTests.swift
[171/394] Compiling SwiftFormat ExtensionAttributes.swift
[195/394] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
[196/394] Compiling SwiftFormat CommandLine.swift
[197/394] Compiling SwiftFormat Declaration.swift
[198/394] Compiling SwiftFormat DeclarationType.swift
[199/394] Compiling SwiftFormat EnumAssociable.swift
[200/394] Compiling SwiftFormat FormatRule.swift
[201/394] Compiling SwiftFormat Formatter.swift
[202/394] Compiling SwiftFormat FormattingHelpers.swift
[203/394] Compiling SwiftFormat GitFileInfo.swift
[204/394] Compiling SwiftFormat GithubActionsLogReporter.swift
[205/394] Compiling SwiftFormat Globs.swift
[206/394] Compiling SwiftFormat Inference.swift
[207/394] Compiling SwiftFormat JSONReporter.swift
[208/394] Compiling SwiftFormat OptionDescriptor.swift
[209/394] Compiling SwiftFormat Options.swift
[210/394] Compiling SwiftFormat ParsingHelpers.swift
[211/394] Compiling SwiftFormat Reporter.swift
[212/394] Compiling SwiftFormat RuleRegistry.generated.swift
[213/394] Compiling SwiftFormat Acronyms.swift
[214/394] Compiling SwiftFormat AndOperator.swift
[215/394] Compiling SwiftFormat AnyObjectProtocol.swift
[216/394] Compiling SwiftFormat ApplicationMain.swift
[217/394] Compiling SwiftFormat AssertionFailures.swift
[218/394] Compiling SwiftFormat BlankLineAfterImports.swift
[219/394] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[243/394] Compiling SwiftFormat Arguments.swift
[244/394] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
[293/394] Compiling SwiftFormat WrapCaseBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[294/394] Compiling SwiftFormat WrapClosureBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[295/394] Compiling SwiftFormat WrapConditionalBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[296/394] Compiling SwiftFormat WrapDoBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[297/394] Compiling SwiftFormat WrapEnumCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[298/394] Compiling SwiftFormat WrapFunctionBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[299/394] Compiling SwiftFormat WrapGuardStatementBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[300/394] Compiling SwiftFormat WrapIfExpressionBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[301/394] Compiling SwiftFormat WrapIfStatementBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[302/394] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[303/394] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[304/394] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[305/394] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[306/394] Compiling SwiftFormat WrapPropertyBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[307/394] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[308/394] Compiling SwiftFormat WrapSingleLineStrings.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[309/394] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[310/394] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[311/394] Compiling SwiftFormat SARIFReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[312/394] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[313/394] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[314/394] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[315/394] Compiling SwiftFormat TypeName.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
[316/394] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
[367/397] Compiling CommandLineTool main.swift
[368/397] Emitting module CommandLineTool
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:843:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
841 | var input: String?
842 | var status = Status.idle
843 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
844 | status = .started
845 | while let line = CLI.readLine() {
[395/399] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[397/401] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:76:27: error: cannot find 'isatty' in scope
74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
75 |
76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
77 |
78 | private var useColor: Bool {
/host/spi-builder-workspace/CommandLineTool/main.swift:76:34: error: cannot find 'STDERR_FILENO' in scope
74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
75 |
76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
77 |
78 | private var useColor: Bool {
[398/401] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:76:27: error: cannot find 'isatty' in scope
74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
75 |
76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
77 |
78 | private var useColor: Bool {
/host/spi-builder-workspace/CommandLineTool/main.swift:76:34: error: cannot find 'STDERR_FILENO' in scope
74 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
75 |
76 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
77 |
78 | private var useColor: Bool {
BUILD FAILURE 6.1 android