Build Information
Failed to build SwiftFormat, reference 0.64.7 (d5ca3e), with Swift 6.2 for Android on 18 Nov 2026 13:24:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9a42373a341cf0ac994d1354bf172b4b5ee78d50d70e79bac890b78e8d33c52e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/10] Write sources
[5/10] Write swift-version--11D90AFD9DD3AB2.txt
[7/350] Compiling SwiftFormat Arguments.swift
[8/350] Compiling SwiftFormat BlankLinesAroundMark.swift
[9/350] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[10/350] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[11/350] Compiling SwiftFormat EnumAssociable.swift
[12/350] Compiling SwiftFormat FormatRule.swift
[13/350] Compiling SwiftFormat Formatter.swift
[14/350] Compiling SwiftFormat FormattingHelpers.swift
[15/350] Compiling SwiftFormat GitFileInfo.swift
[16/350] Compiling SwiftFormat GithubActionsLogReporter.swift
[17/350] Compiling SwiftFormat Globs.swift
[18/350] Compiling SwiftFormat Inference.swift
[19/350] Compiling SwiftFormat JSONReporter.swift
[20/350] Compiling SwiftFormat OptionDescriptor.swift
[21/350] Compiling SwiftFormat Options.swift
[22/350] Compiling SwiftFormat ParsingHelpers.swift
[23/350] Compiling SwiftFormat Reporter.swift
[24/350] Compiling SwiftFormat RuleRegistry.generated.swift
[25/350] Compiling SwiftFormat Acronyms.swift
[26/350] Compiling SwiftFormat AndOperator.swift
[27/350] Compiling SwiftFormat AnyObjectProtocol.swift
[28/350] Compiling SwiftFormat ApplicationMain.swift
[29/350] Compiling SwiftFormat AssertionFailures.swift
[30/350] Compiling SwiftFormat BlankLineAfterImports.swift
[31/374] Compiling SwiftFormat RedundantEmptyView.swift
[32/374] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[33/374] Compiling SwiftFormat BlankLinesAroundMark.swift
[34/374] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[35/374] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[36/374] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[37/374] Compiling SwiftFormat BlankLinesBetweenImports.swift
[38/374] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[39/374] Compiling SwiftFormat BlockComments.swift
[40/374] Compiling SwiftFormat Braces.swift
[41/374] Compiling SwiftFormat CommonTypos.swift
[42/374] Compiling SwiftFormat ConditionalAssignment.swift
[43/374] Compiling SwiftFormat ConsecutiveBlankLines.swift
[44/374] Compiling SwiftFormat ConsecutiveSpaces.swift
[45/374] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[46/374] Compiling SwiftFormat ContentBuilder.swift
[47/374] Compiling SwiftFormat DocComments.swift
[48/374] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[49/374] Compiling SwiftFormat DuplicateImports.swift
[50/374] Compiling SwiftFormat ElseOnSameLine.swift
[51/374] Compiling SwiftFormat EmptyBraces.swift
[52/374] Compiling SwiftFormat EmptyExtensions.swift
[53/374] Compiling SwiftFormat EnumNamespaces.swift
[54/374] Compiling SwiftFormat EnvironmentEntry.swift
[55/374] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[56/374] Compiling SwiftFormat ExtensionAttributes.swift
[57/374] Compiling SwiftFormat FileHeader.swift
[58/374] Compiling SwiftFormat FileMacro.swift
[59/374] Compiling SwiftFormat ForWhere.swift
[60/374] Compiling SwiftFormat GenericExtensions.swift
[61/374] Compiling SwiftFormat HeaderFileName.swift
[62/374] Compiling SwiftFormat HoistAwait.swift
[63/374] Compiling SwiftFormat HoistPatternLet.swift
[64/374] Compiling SwiftFormat HoistTry.swift
[65/374] Compiling SwiftFormat IfExpressions.swift
[66/374] Compiling SwiftFormat Indent.swift
[67/374] Compiling SwiftFormat InitCoderUnavailable.swift
[68/374] Compiling SwiftFormat IsEmpty.swift
[69/374] Compiling SwiftFormat LeadingDelimiters.swift
[70/374] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[71/374] Compiling SwiftFormat Linebreaks.swift
[72/374] Compiling SwiftFormat MarkTypes.swift
[73/374] Compiling SwiftFormat ModifierOrder.swift
[74/374] Compiling SwiftFormat ModifiersOnSameLine.swift
[75/374] Compiling SwiftFormat NestedIf.swift
[76/374] Compiling SwiftFormat NoExplicitOwnership.swift
[77/374] Compiling SwiftFormat NoForceTryInTests.swift
[78/374] Compiling SwiftFormat NoForceUnwrapInTests.swift
[79/374] Compiling SwiftFormat WrapAttributes.swift
[80/374] Compiling SwiftFormat NumberFormatting.swift
[81/374] Compiling SwiftFormat OpaqueGenericParameters.swift
[82/374] Compiling SwiftFormat OrganizeDeclarations.swift
[83/374] Compiling SwiftFormat PreferContains.swift
[84/374] Compiling SwiftFormat PreferCountWhere.swift
[85/374] Compiling SwiftFormat PreferExplicitFalse.swift
[86/374] Compiling SwiftFormat PreferFinalClasses.swift
[87/374] Compiling SwiftFormat PreferFirstWhere.swift
[88/374] Compiling SwiftFormat PreferFlatMap.swift
[89/374] Compiling SwiftFormat PreferForLoop.swift
[90/374] Compiling SwiftFormat PreferKeyPath.swift
[91/374] Compiling SwiftFormat PreferLazyMap.swift
[92/374] Compiling SwiftFormat PreferMinOverSorted.swift
[93/374] Compiling SwiftFormat PreferStructSwiftTestingSuites.swift
[94/374] Compiling SwiftFormat PreferSwiftStringAPI.swift
[95/374] Compiling SwiftFormat PreferSwiftTesting.swift
[96/374] Compiling SwiftFormat PrivateStateVariables.swift
[97/374] Compiling SwiftFormat PrivateSwiftUIDynamicProperties.swift
[98/374] Compiling SwiftFormat PropertyTypes.swift
[99/374] Compiling SwiftFormat RedundantAsync.swift
[100/374] Compiling SwiftFormat RedundantBackticks.swift
[101/374] Compiling SwiftFormat RedundantBreak.swift
[102/374] Compiling SwiftFormat RedundantClosure.swift
[103/374] Compiling SwiftFormat RedundantEnumerated.swift
[104/374] Compiling SwiftFormat RedundantEquatable.swift
[105/374] Compiling SwiftFormat RedundantExtendedLifetime.swift
[106/374] Compiling SwiftFormat RedundantExtensionACL.swift
[107/374] Compiling SwiftFormat RedundantFileprivate.swift
[108/374] Compiling SwiftFormat RedundantGet.swift
[109/374] Compiling SwiftFormat RedundantInit.swift
[110/374] Compiling SwiftFormat RedundantInternal.swift
[111/374] Compiling SwiftFormat RedundantLet.swift
[112/374] Compiling SwiftFormat RedundantLetError.swift
[113/374] Compiling SwiftFormat RedundantMemberwiseInit.swift
[114/374] Compiling SwiftFormat RedundantNilInit.swift
[115/374] Compiling SwiftFormat RedundantObjc.swift
[116/374] Compiling SwiftFormat RedundantOptionalBinding.swift
[117/374] Compiling SwiftFormat RedundantOverload.swift
[118/374] Compiling SwiftFormat RedundantParens.swift
[119/374] Compiling SwiftFormat RedundantPattern.swift
[120/374] Compiling SwiftFormat RedundantProperty.swift
[121/374] Compiling SwiftFormat RedundantPublic.swift
[122/374] Compiling SwiftFormat RedundantRawValues.swift
[123/374] Compiling SwiftFormat RedundantReturn.swift
[124/374] Compiling SwiftFormat RedundantSelf.swift
[125/374] Compiling SwiftFormat RedundantSendable.swift
[126/374] Compiling SwiftFormat RedundantStaticSelf.swift
[127/398] Compiling SwiftFormat RedundantSwiftTestingSuite.swift
[128/398] Compiling SwiftFormat RedundantSwiftUIGroup.swift
[129/398] Compiling SwiftFormat RedundantThrows.swift
[130/398] Compiling SwiftFormat RedundantType.swift
[131/398] Compiling SwiftFormat RedundantTypedThrows.swift
[132/398] Compiling SwiftFormat RedundantVariable.swift
[133/398] Compiling SwiftFormat RedundantViewBuilder.swift
[134/398] Compiling SwiftFormat RedundantVoidReturnType.swift
[135/398] Compiling SwiftFormat RepeatedGuard.swift
[136/398] Compiling SwiftFormat Semicolons.swift
[137/398] Compiling SwiftFormat SimplifyGenericConstraints.swift
[138/398] Compiling SwiftFormat SinglePropertyPerLine.swift
[139/398] Compiling SwiftFormat SortDeclarations.swift
[140/398] Compiling SwiftFormat SortImports.swift
[141/398] Compiling SwiftFormat SortSwitchCases.swift
[142/398] Compiling SwiftFormat SortTypealiases.swift
[143/398] Compiling SwiftFormat SortedImports.swift
[144/398] Compiling SwiftFormat SortedSwitchCases.swift
[145/398] Compiling SwiftFormat SpaceAroundBraces.swift
[146/398] Compiling SwiftFormat SpaceAroundBrackets.swift
[147/398] Compiling SwiftFormat SpaceAroundComments.swift
[148/398] Compiling SwiftFormat SpaceAroundGenerics.swift
[149/398] Compiling SwiftFormat SpaceAroundOperators.swift
[150/398] Compiling SwiftFormat SpaceAroundParens.swift
[174/398] Compiling SwiftFormat NoGuardInTests.swift
[175/398] 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() {
[200/398] Compiling SwiftFormat SpaceInsideBraces.swift
[201/398] Compiling SwiftFormat SpaceInsideBrackets.swift
[202/398] Compiling SwiftFormat SpaceInsideComments.swift
[203/398] Compiling SwiftFormat SpaceInsideGenerics.swift
[204/398] Compiling SwiftFormat SpaceInsideParens.swift
[205/398] Compiling SwiftFormat Specifiers.swift
[206/398] Compiling SwiftFormat StrongOutlets.swift
[207/398] Compiling SwiftFormat StrongifiedSelf.swift
[208/398] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[209/398] Compiling SwiftFormat TestSuiteAccessControl.swift
[210/398] Compiling SwiftFormat ThrowingTests.swift
[211/398] Compiling SwiftFormat Todos.swift
[212/398] Compiling SwiftFormat TrailingClosures.swift
[213/398] Compiling SwiftFormat TrailingCommas.swift
[214/398] Compiling SwiftFormat TrailingSpace.swift
[215/398] Compiling SwiftFormat TypeSugar.swift
[216/398] Compiling SwiftFormat URLMacro.swift
[217/398] Compiling SwiftFormat UnusedArguments.swift
[218/398] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[219/398] Compiling SwiftFormat ValidateTestCases.swift
[220/398] Compiling SwiftFormat Void.swift
[221/398] Compiling SwiftFormat Wrap.swift
[222/398] Compiling SwiftFormat WrapArguments.swift
[247/398] Compiling SwiftFormat ExtensionAccessControl.swift
[272/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[273/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[274/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[275/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[276/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[277/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[278/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[279/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[280/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[281/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[282/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[283/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[284/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[285/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[286/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[287/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[288/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[289/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[290/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[291/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[292/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[293/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[294/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[295/398] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
734 | progress.index = index
735 | rule.apply(with: formatter)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[320/398] 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() {
/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() {
[371/401] Emitting module CommandLineTool
[372/401] Compiling CommandLineTool main.swift
/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() {
[399/405] Wrapping AST for SwiftFormat for debugging
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 {
[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 {
BUILD FAILURE 6.2 android