Build Information
Failed to build SwiftFormat, reference main (d5ca3e), with Swift 6.2 for Android on 18 Nov 2026 13:27:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-58779149-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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-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>&1
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 SpaceInsideBraces.swift
[8/350] Compiling SwiftFormat BlankLinesAroundMark.swift
[9/350] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[10/350] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[11/350] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[12/350] Compiling SwiftFormat Specifiers.swift
[13/350] Compiling SwiftFormat StrongOutlets.swift
[14/350] Compiling SwiftFormat StrongifiedSelf.swift
[15/350] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[16/350] Compiling SwiftFormat TestSuiteAccessControl.swift
[17/350] Compiling SwiftFormat ThrowingTests.swift
[18/350] Compiling SwiftFormat Todos.swift
[19/350] Compiling SwiftFormat TrailingClosures.swift
[20/350] Compiling SwiftFormat TrailingCommas.swift
[21/350] Compiling SwiftFormat TrailingSpace.swift
[22/350] Compiling SwiftFormat TypeSugar.swift
[23/350] Compiling SwiftFormat URLMacro.swift
[24/350] Compiling SwiftFormat UnusedArguments.swift
[25/350] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[26/350] Compiling SwiftFormat ValidateTestCases.swift
[27/350] Compiling SwiftFormat Void.swift
[28/350] Compiling SwiftFormat Wrap.swift
[29/350] Compiling SwiftFormat WrapArguments.swift
[30/350] Compiling SwiftFormat WrapAttributes.swift
[31/350] Compiling SwiftFormat ExtensionAttributes.swift
[32/350] Compiling SwiftFormat FileHeader.swift
[33/350] Compiling SwiftFormat FileMacro.swift
[34/350] Compiling SwiftFormat ForWhere.swift
[35/350] Compiling SwiftFormat GenericExtensions.swift
[36/350] Compiling SwiftFormat HeaderFileName.swift
[37/350] Compiling SwiftFormat HoistAwait.swift
[38/350] Compiling SwiftFormat HoistPatternLet.swift
[39/350] Compiling SwiftFormat HoistTry.swift
[40/350] Compiling SwiftFormat IfExpressions.swift
[41/350] Compiling SwiftFormat Indent.swift
[42/350] Compiling SwiftFormat InitCoderUnavailable.swift
[43/350] Compiling SwiftFormat IsEmpty.swift
[44/350] Compiling SwiftFormat LeadingDelimiters.swift
[45/350] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[46/350] Compiling SwiftFormat Linebreaks.swift
[47/350] Compiling SwiftFormat MarkTypes.swift
[48/350] Compiling SwiftFormat ModifierOrder.swift
[49/350] Compiling SwiftFormat ModifiersOnSameLine.swift
[50/350] Compiling SwiftFormat NestedIf.swift
[51/350] Compiling SwiftFormat NoExplicitOwnership.swift
[52/350] Compiling SwiftFormat NoForceTryInTests.swift
[53/350] Compiling SwiftFormat NoForceUnwrapInTests.swift
[54/350] Compiling SwiftFormat NoGuardInTests.swift
[55/374] Compiling SwiftFormat RedundantSwiftTestingSuite.swift
[56/374] Compiling SwiftFormat RedundantSwiftUIGroup.swift
[57/374] Compiling SwiftFormat RedundantThrows.swift
[58/374] Compiling SwiftFormat RedundantType.swift
[59/374] Compiling SwiftFormat RedundantTypedThrows.swift
[60/374] Compiling SwiftFormat RedundantVariable.swift
[61/374] Compiling SwiftFormat RedundantViewBuilder.swift
[62/374] Compiling SwiftFormat RedundantInternal.swift
[63/374] Compiling SwiftFormat RedundantLet.swift
[64/374] Compiling SwiftFormat RedundantLetError.swift
[65/374] Compiling SwiftFormat RedundantMemberwiseInit.swift
[66/374] Compiling SwiftFormat RedundantNilInit.swift
[67/374] Compiling SwiftFormat RedundantObjc.swift
[68/374] Compiling SwiftFormat RedundantOptionalBinding.swift
[69/374] Compiling SwiftFormat RedundantOverload.swift
[70/374] Compiling SwiftFormat RedundantParens.swift
[71/374] Compiling SwiftFormat RedundantPattern.swift
[72/374] Compiling SwiftFormat RedundantProperty.swift
[73/374] Compiling SwiftFormat RedundantPublic.swift
[74/374] Compiling SwiftFormat RedundantRawValues.swift
[75/374] Compiling SwiftFormat RedundantReturn.swift
[76/374] Compiling SwiftFormat RedundantSelf.swift
[77/374] Compiling SwiftFormat RedundantSendable.swift
[78/374] Compiling SwiftFormat RedundantStaticSelf.swift
[79/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() {
[80/398] Compiling SwiftFormat RedundantSwiftTestingSuite.swift
[81/398] Compiling SwiftFormat RedundantSwiftUIGroup.swift
[82/398] Compiling SwiftFormat RedundantThrows.swift
[83/398] Compiling SwiftFormat RedundantType.swift
[84/398] Compiling SwiftFormat RedundantTypedThrows.swift
[85/398] Compiling SwiftFormat RedundantVariable.swift
[86/398] Compiling SwiftFormat RedundantViewBuilder.swift
[87/398] Compiling SwiftFormat RedundantVoidReturnType.swift
[88/398] Compiling SwiftFormat RepeatedGuard.swift
[89/398] Compiling SwiftFormat Semicolons.swift
[90/398] Compiling SwiftFormat SimplifyGenericConstraints.swift
[91/398] Compiling SwiftFormat SinglePropertyPerLine.swift
[92/398] Compiling SwiftFormat SortDeclarations.swift
[93/398] Compiling SwiftFormat SortImports.swift
[94/398] Compiling SwiftFormat SortSwitchCases.swift
[95/398] Compiling SwiftFormat SortTypealiases.swift
[96/398] Compiling SwiftFormat SortedImports.swift
[97/398] Compiling SwiftFormat SortedSwitchCases.swift
[98/398] Compiling SwiftFormat SpaceAroundBraces.swift
[99/398] Compiling SwiftFormat SpaceAroundBrackets.swift
[100/398] Compiling SwiftFormat SpaceAroundComments.swift
[101/398] Compiling SwiftFormat SpaceAroundGenerics.swift
[102/398] Compiling SwiftFormat SpaceAroundOperators.swift
[103/398] Compiling SwiftFormat SpaceAroundParens.swift
[104/398] Compiling SwiftFormat NumberFormatting.swift
[105/398] Compiling SwiftFormat OpaqueGenericParameters.swift
[106/398] Compiling SwiftFormat OrganizeDeclarations.swift
[107/398] Compiling SwiftFormat PreferContains.swift
[108/398] Compiling SwiftFormat PreferCountWhere.swift
[109/398] Compiling SwiftFormat PreferExplicitFalse.swift
[110/398] Compiling SwiftFormat PreferFinalClasses.swift
[111/398] Compiling SwiftFormat PreferFirstWhere.swift
[112/398] Compiling SwiftFormat PreferFlatMap.swift
[113/398] Compiling SwiftFormat PreferForLoop.swift
[114/398] Compiling SwiftFormat PreferKeyPath.swift
[115/398] Compiling SwiftFormat PreferLazyMap.swift
[116/398] Compiling SwiftFormat PreferMinOverSorted.swift
[117/398] Compiling SwiftFormat PreferStructSwiftTestingSuites.swift
[118/398] Compiling SwiftFormat PreferSwiftStringAPI.swift
[119/398] Compiling SwiftFormat PreferSwiftTesting.swift
[120/398] Compiling SwiftFormat PrivateStateVariables.swift
[121/398] Compiling SwiftFormat PrivateSwiftUIDynamicProperties.swift
[122/398] Compiling SwiftFormat PropertyTypes.swift
[123/398] Compiling SwiftFormat RedundantAsync.swift
[124/398] Compiling SwiftFormat RedundantBackticks.swift
[125/398] Compiling SwiftFormat RedundantBreak.swift
[126/398] Compiling SwiftFormat RedundantClosure.swift
[127/398] Compiling SwiftFormat RedundantEmptyView.swift
[152/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() {
[153/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>
[154/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>
[155/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>
[156/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>
[157/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>
[158/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>
[159/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>
[160/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>
[161/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>
[162/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>
[163/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>
[164/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>
[165/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>
[166/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>
[167/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>
[168/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>
[169/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>
[170/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>
[171/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>
[172/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>
[173/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>
[174/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>
[175/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>
[176/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>
[201/398] Compiling SwiftFormat NumberFormatting.swift
[202/398] Compiling SwiftFormat OpaqueGenericParameters.swift
[203/398] Compiling SwiftFormat OrganizeDeclarations.swift
[204/398] Compiling SwiftFormat PreferContains.swift
[205/398] Compiling SwiftFormat PreferCountWhere.swift
[206/398] Compiling SwiftFormat PreferExplicitFalse.swift
[207/398] Compiling SwiftFormat PreferFinalClasses.swift
[208/398] Compiling SwiftFormat PreferFirstWhere.swift
[209/398] Compiling SwiftFormat PreferFlatMap.swift
[210/398] Compiling SwiftFormat PreferForLoop.swift
[211/398] Compiling SwiftFormat PreferKeyPath.swift
[212/398] Compiling SwiftFormat PreferLazyMap.swift
[213/398] Compiling SwiftFormat PreferMinOverSorted.swift
[214/398] Compiling SwiftFormat PreferStructSwiftTestingSuites.swift
[215/398] Compiling SwiftFormat PreferSwiftStringAPI.swift
[216/398] Compiling SwiftFormat PreferSwiftTesting.swift
[217/398] Compiling SwiftFormat PrivateStateVariables.swift
[218/398] Compiling SwiftFormat PrivateSwiftUIDynamicProperties.swift
[219/398] Compiling SwiftFormat PropertyTypes.swift
[220/398] Compiling SwiftFormat RedundantAsync.swift
[221/398] Compiling SwiftFormat RedundantBackticks.swift
[222/398] Compiling SwiftFormat RedundantBreak.swift
[223/398] Compiling SwiftFormat RedundantClosure.swift
[224/398] Compiling SwiftFormat RedundantEmptyView.swift
[273/398] Compiling SwiftFormat Arguments.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() {
[274/398] Compiling SwiftFormat CommandLine.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() {
[275/398] Compiling SwiftFormat Declaration.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() {
[276/398] Compiling SwiftFormat DeclarationType.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() {
[277/398] Compiling SwiftFormat EnumAssociable.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() {
[278/398] Compiling SwiftFormat FormatRule.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() {
[279/398] Compiling SwiftFormat Formatter.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() {
[280/398] Compiling SwiftFormat FormattingHelpers.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() {
[281/398] Compiling SwiftFormat GitFileInfo.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() {
[282/398] Compiling SwiftFormat GithubActionsLogReporter.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() {
[283/398] Compiling SwiftFormat Globs.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() {
[284/398] Compiling SwiftFormat Inference.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() {
[285/398] Compiling SwiftFormat JSONReporter.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() {
[286/398] Compiling SwiftFormat OptionDescriptor.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() {
[287/398] Compiling SwiftFormat Options.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() {
[288/398] Compiling SwiftFormat ParsingHelpers.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() {
[289/398] Compiling SwiftFormat Reporter.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() {
[290/398] Compiling SwiftFormat RuleRegistry.generated.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() {
[291/398] Compiling SwiftFormat Acronyms.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() {
[292/398] Compiling SwiftFormat AndOperator.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() {
[293/398] Compiling SwiftFormat AnyObjectProtocol.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() {
[294/398] Compiling SwiftFormat ApplicationMain.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() {
[295/398] Compiling SwiftFormat AssertionFailures.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() {
[296/398] Compiling SwiftFormat BlankLineAfterImports.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() {
[297/398] Compiling SwiftFormat BlankLineAfterSwitchCase.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() {
/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() {
[396/400] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[398/404] 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 {
[399/404] 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