Build Information
Failed to build SwiftFormat, reference main (8a397e), with Swift 6.2 for Android on 5 Dec 2025 07:44:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/SwiftFormat.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/nicklockwood/SwiftFormat
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8a397ef Fix Windows release script
Cloned https://github.com/nicklockwood/SwiftFormat.git
Revision (git rev-parse @):
8a397ef6c0b2b4e3f80d138b31033fa7a6eedcd0
SUCCESS checkout https://github.com/nicklockwood/SwiftFormat.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/nicklockwood/SwiftFormat.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/10] Write sources
[5/10] Write swift-version--6B0C4D200E742BB1.txt
[7/286] Compiling SwiftFormat RedundantSelf.swift
[8/286] Compiling SwiftFormat RedundantStaticSelf.swift
[9/286] Compiling SwiftFormat RedundantThrows.swift
[10/286] Compiling SwiftFormat RedundantType.swift
[11/286] Compiling SwiftFormat RedundantTypedThrows.swift
[12/286] Compiling SwiftFormat RedundantVoidReturnType.swift
[13/286] Compiling SwiftFormat Semicolons.swift
[14/286] Compiling SwiftFormat SinglePropertyPerLine.swift
[15/286] Compiling SwiftFormat SortDeclarations.swift
[16/286] Compiling SwiftFormat SortImports.swift
[17/286] Compiling SwiftFormat SortSwitchCases.swift
[18/286] Compiling SwiftFormat SortTypealiases.swift
[19/286] Compiling SwiftFormat SortedImports.swift
[20/286] Compiling SwiftFormat SortedSwitchCases.swift
[21/286] Compiling SwiftFormat SpaceAroundBraces.swift
[22/286] Compiling SwiftFormat SpaceAroundBrackets.swift
[23/286] Compiling SwiftFormat SpaceAroundComments.swift
[24/286] Compiling SwiftFormat SpaceAroundGenerics.swift
[25/286] Compiling SwiftFormat SpaceAroundOperators.swift
[26/286] Compiling SwiftFormat MarkTypes.swift
[27/286] Compiling SwiftFormat ModifierOrder.swift
[28/286] Compiling SwiftFormat ModifiersOnSameLine.swift
[29/286] Compiling SwiftFormat NoExplicitOwnership.swift
[30/286] Compiling SwiftFormat NoForceTryInTests.swift
[31/286] Compiling SwiftFormat NoForceUnwrapInTests.swift
[32/286] Compiling SwiftFormat NoGuardInTests.swift
[33/286] Compiling SwiftFormat NumberFormatting.swift
[34/286] Compiling SwiftFormat OpaqueGenericParameters.swift
[35/286] Compiling SwiftFormat OrganizeDeclarations.swift
[36/286] Compiling SwiftFormat PreferCountWhere.swift
[37/286] Compiling SwiftFormat PreferFinalClasses.swift
[38/286] Compiling SwiftFormat PreferForLoop.swift
[39/286] Compiling SwiftFormat PreferKeyPath.swift
[40/286] Compiling SwiftFormat PreferSwiftTesting.swift
[41/286] Compiling SwiftFormat PrivateStateVariables.swift
[42/286] Compiling SwiftFormat PropertyTypes.swift
[43/286] Compiling SwiftFormat RedundantAsync.swift
[44/286] Compiling SwiftFormat RedundantBackticks.swift
[45/286] Compiling SwiftFormat SpaceAroundParens.swift
[46/286] Compiling SwiftFormat SpaceInsideBraces.swift
[47/286] Compiling SwiftFormat SpaceInsideBrackets.swift
[48/286] Compiling SwiftFormat SpaceInsideComments.swift
[49/286] Compiling SwiftFormat SpaceInsideGenerics.swift
[50/286] Compiling SwiftFormat SpaceInsideParens.swift
[51/286] Compiling SwiftFormat Specifiers.swift
[52/286] Compiling SwiftFormat StrongOutlets.swift
[53/286] Compiling SwiftFormat StrongifiedSelf.swift
[54/286] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[55/286] Compiling SwiftFormat ThrowingTests.swift
[56/286] Compiling SwiftFormat Todos.swift
[57/286] Compiling SwiftFormat TrailingClosures.swift
[58/286] Compiling SwiftFormat TrailingCommas.swift
[59/286] Compiling SwiftFormat TrailingSpace.swift
[60/286] Compiling SwiftFormat TypeSugar.swift
[61/286] Compiling SwiftFormat URLMacro.swift
[62/286] Compiling SwiftFormat UnusedArguments.swift
[63/286] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[64/305] Compiling SwiftFormat Arguments.swift
[65/305] Compiling SwiftFormat CommandLine.swift
[66/305] Compiling SwiftFormat Declaration.swift
[67/305] Compiling SwiftFormat DeclarationType.swift
[68/305] Compiling SwiftFormat EnumAssociable.swift
[69/305] Compiling SwiftFormat FormatRule.swift
[70/305] Compiling SwiftFormat Formatter.swift
[71/305] Compiling SwiftFormat FormattingHelpers.swift
[72/305] Compiling SwiftFormat GitFileInfo.swift
[73/305] Compiling SwiftFormat GithubActionsLogReporter.swift
[74/305] Compiling SwiftFormat Globs.swift
[75/305] Compiling SwiftFormat Inference.swift
[76/305] Compiling SwiftFormat JSONReporter.swift
[77/305] Compiling SwiftFormat OptionDescriptor.swift
[78/305] Compiling SwiftFormat Options.swift
[79/305] Compiling SwiftFormat ParsingHelpers.swift
[80/305] Compiling SwiftFormat Reporter.swift
[81/305] Compiling SwiftFormat RuleRegistry.generated.swift
[82/305] Compiling SwiftFormat Acronyms.swift
[83/305] Compiling SwiftFormat AndOperator.swift
[84/305] Compiling SwiftFormat RedundantBreak.swift
[85/305] Compiling SwiftFormat DuplicateImports.swift
[86/305] Compiling SwiftFormat ElseOnSameLine.swift
[87/305] Compiling SwiftFormat EmptyBraces.swift
[88/305] Compiling SwiftFormat EmptyExtensions.swift
[89/305] Compiling SwiftFormat EnumNamespaces.swift
[90/305] Compiling SwiftFormat EnvironmentEntry.swift
[91/305] Compiling SwiftFormat ExtensionAccessControl.swift
[92/305] Compiling SwiftFormat FileHeader.swift
[93/305] Compiling SwiftFormat FileMacro.swift
[94/305] Compiling SwiftFormat GenericExtensions.swift
[95/305] Compiling SwiftFormat HeaderFileName.swift
[96/305] Compiling SwiftFormat HoistAwait.swift
[97/305] Compiling SwiftFormat HoistPatternLet.swift
[98/305] Compiling SwiftFormat HoistTry.swift
[99/305] Compiling SwiftFormat Indent.swift
[100/305] Compiling SwiftFormat InitCoderUnavailable.swift
[101/305] Compiling SwiftFormat IsEmpty.swift
[102/305] Compiling SwiftFormat LeadingDelimiters.swift
[103/305] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[104/305] Compiling SwiftFormat Linebreaks.swift
[105/305] Compiling SwiftFormat RedundantClosure.swift
[106/305] Compiling SwiftFormat RedundantEquatable.swift
[107/305] Compiling SwiftFormat RedundantExtensionACL.swift
[108/305] Compiling SwiftFormat RedundantFileprivate.swift
[109/305] Compiling SwiftFormat RedundantGet.swift
[110/305] Compiling SwiftFormat RedundantInit.swift
[111/305] Compiling SwiftFormat RedundantInternal.swift
[112/305] Compiling SwiftFormat RedundantLet.swift
[113/305] Compiling SwiftFormat RedundantLetError.swift
[114/305] Compiling SwiftFormat RedundantMemberwiseInit.swift
[115/305] Compiling SwiftFormat RedundantNilInit.swift
[116/305] Compiling SwiftFormat RedundantObjc.swift
[117/305] Compiling SwiftFormat RedundantOptionalBinding.swift
[118/305] Compiling SwiftFormat RedundantParens.swift
[119/305] Compiling SwiftFormat RedundantPattern.swift
[120/305] Compiling SwiftFormat RedundantProperty.swift
[121/305] Compiling SwiftFormat RedundantPublic.swift
[122/305] Compiling SwiftFormat RedundantRawValues.swift
[123/305] Compiling SwiftFormat RedundantReturn.swift
[181/324] Compiling SwiftFormat AnyObjectProtocol.swift
[182/324] Compiling SwiftFormat ApplicationMain.swift
[183/324] Compiling SwiftFormat AssertionFailures.swift
[184/324] Compiling SwiftFormat BlankLineAfterImports.swift
[185/324] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[186/324] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[187/324] Compiling SwiftFormat BlankLinesAroundMark.swift
[188/324] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[189/324] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[190/324] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[191/324] Compiling SwiftFormat BlankLinesBetweenImports.swift
[192/324] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[193/324] Compiling SwiftFormat BlockComments.swift
[194/324] Compiling SwiftFormat Braces.swift
[195/324] Compiling SwiftFormat ConditionalAssignment.swift
[196/324] Compiling SwiftFormat ConsecutiveBlankLines.swift
[197/324] Compiling SwiftFormat ConsecutiveSpaces.swift
[198/324] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[199/324] Compiling SwiftFormat DocComments.swift
[200/324] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[241/324] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
[242/324] Compiling SwiftFormat Void.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[243/324] Compiling SwiftFormat Wrap.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[244/324] Compiling SwiftFormat WrapArguments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[245/324] Compiling SwiftFormat WrapAttributes.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[246/324] Compiling SwiftFormat WrapConditionalBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[247/324] Compiling SwiftFormat WrapEnumCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[248/324] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[249/324] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[250/324] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[251/324] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[252/324] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[253/324] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[254/324] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[255/324] Compiling SwiftFormat SARIFReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[256/324] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[257/324] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[258/324] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[259/324] Compiling SwiftFormat TypeName.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[260/324] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206: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
204 | }
205 |
206 | 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
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | 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
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | 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
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[300/324] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
[302/327] Compiling CommandLineTool main.swift
[303/327] Emitting module CommandLineTool
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[325/329] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[327/331] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
[328/331] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
BUILD FAILURE 6.2 android