Build Information
Failed to build SwiftFormat, reference 0.58.7 (fb7ce2), with Swift 6.2 for Android on 29 Nov 2025 15:35:34 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: 0.58.7
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
* tag 0.58.7 -> FETCH_HEAD
HEAD is now at fb7ce2e Update for 0.58.7 release
Cloned https://github.com/nicklockwood/SwiftFormat.git
Revision (git rev-parse @):
fb7ce2e469c18017c92523c93fd3b1b9757a4dd1
SUCCESS checkout https://github.com/nicklockwood/SwiftFormat.git at 0.58.7
========================================
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 SpaceAroundParens.swift
[8/286] Compiling SwiftFormat SpaceInsideBraces.swift
[9/286] Compiling SwiftFormat SpaceInsideBrackets.swift
[10/286] Compiling SwiftFormat SpaceInsideComments.swift
[11/286] Compiling SwiftFormat SpaceInsideGenerics.swift
[12/286] Compiling SwiftFormat SpaceInsideParens.swift
[13/286] Compiling SwiftFormat Specifiers.swift
[14/286] Compiling SwiftFormat StrongOutlets.swift
[15/286] Compiling SwiftFormat StrongifiedSelf.swift
[16/286] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[17/286] Compiling SwiftFormat ThrowingTests.swift
[18/286] Compiling SwiftFormat Todos.swift
[19/286] Compiling SwiftFormat TrailingClosures.swift
[20/286] Compiling SwiftFormat TrailingCommas.swift
[21/286] Compiling SwiftFormat TrailingSpace.swift
[22/286] Compiling SwiftFormat TypeSugar.swift
[23/286] Compiling SwiftFormat URLMacro.swift
[24/286] Compiling SwiftFormat UnusedArguments.swift
[25/286] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[26/305] Compiling SwiftFormat RedundantSelf.swift
[27/305] Compiling SwiftFormat RedundantStaticSelf.swift
[28/305] Compiling SwiftFormat RedundantThrows.swift
[29/305] Compiling SwiftFormat RedundantType.swift
[30/305] Compiling SwiftFormat RedundantTypedThrows.swift
[31/305] Compiling SwiftFormat RedundantVoidReturnType.swift
[32/305] Compiling SwiftFormat Semicolons.swift
[33/305] Compiling SwiftFormat SinglePropertyPerLine.swift
[34/305] Compiling SwiftFormat SortDeclarations.swift
[35/305] Compiling SwiftFormat SortImports.swift
[36/305] Compiling SwiftFormat SortSwitchCases.swift
[37/305] Compiling SwiftFormat SortTypealiases.swift
[38/305] Compiling SwiftFormat SortedImports.swift
[39/305] Compiling SwiftFormat SortedSwitchCases.swift
[40/305] Compiling SwiftFormat SpaceAroundBraces.swift
[41/305] Compiling SwiftFormat SpaceAroundBrackets.swift
[42/305] Compiling SwiftFormat SpaceAroundComments.swift
[43/305] Compiling SwiftFormat SpaceAroundGenerics.swift
[44/305] Compiling SwiftFormat SpaceAroundOperators.swift
[45/305] Compiling SwiftFormat RedundantClosure.swift
[46/305] Compiling SwiftFormat RedundantEquatable.swift
[47/305] Compiling SwiftFormat RedundantExtensionACL.swift
[48/305] Compiling SwiftFormat RedundantFileprivate.swift
[49/305] Compiling SwiftFormat RedundantGet.swift
[50/305] Compiling SwiftFormat RedundantInit.swift
[51/305] Compiling SwiftFormat RedundantInternal.swift
[52/305] Compiling SwiftFormat RedundantLet.swift
[53/305] Compiling SwiftFormat RedundantLetError.swift
[54/305] Compiling SwiftFormat RedundantMemberwiseInit.swift
[55/305] Compiling SwiftFormat RedundantNilInit.swift
[56/305] Compiling SwiftFormat RedundantObjc.swift
[57/305] Compiling SwiftFormat RedundantOptionalBinding.swift
[58/305] Compiling SwiftFormat RedundantParens.swift
[59/305] Compiling SwiftFormat RedundantPattern.swift
[60/305] Compiling SwiftFormat RedundantProperty.swift
[61/305] Compiling SwiftFormat RedundantPublic.swift
[62/305] Compiling SwiftFormat RedundantRawValues.swift
[63/305] Compiling SwiftFormat RedundantReturn.swift
[64/305] Compiling SwiftFormat MarkTypes.swift
[65/305] Compiling SwiftFormat ModifierOrder.swift
[66/305] Compiling SwiftFormat ModifiersOnSameLine.swift
[67/305] Compiling SwiftFormat NoExplicitOwnership.swift
[68/305] Compiling SwiftFormat NoForceTryInTests.swift
[69/305] Compiling SwiftFormat NoForceUnwrapInTests.swift
[70/305] Compiling SwiftFormat NoGuardInTests.swift
[71/305] Compiling SwiftFormat NumberFormatting.swift
[72/305] Compiling SwiftFormat OpaqueGenericParameters.swift
[73/305] Compiling SwiftFormat OrganizeDeclarations.swift
[74/305] Compiling SwiftFormat PreferCountWhere.swift
[75/305] Compiling SwiftFormat PreferFinalClasses.swift
[76/305] Compiling SwiftFormat PreferForLoop.swift
[77/305] Compiling SwiftFormat PreferKeyPath.swift
[78/305] Compiling SwiftFormat PreferSwiftTesting.swift
[79/305] Compiling SwiftFormat PrivateStateVariables.swift
[80/305] Compiling SwiftFormat PropertyTypes.swift
[81/305] Compiling SwiftFormat RedundantAsync.swift
[82/305] Compiling SwiftFormat RedundantBackticks.swift
[83/305] Compiling SwiftFormat RedundantBreak.swift
[141/324] Compiling SwiftFormat AnyObjectProtocol.swift
[142/324] Compiling SwiftFormat ApplicationMain.swift
[143/324] Compiling SwiftFormat AssertionFailures.swift
[144/324] Compiling SwiftFormat BlankLineAfterImports.swift
[145/324] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[146/324] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[147/324] Compiling SwiftFormat BlankLinesAroundMark.swift
[148/324] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[149/324] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[150/324] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[151/324] Compiling SwiftFormat BlankLinesBetweenImports.swift
[152/324] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[153/324] Compiling SwiftFormat BlockComments.swift
[154/324] Compiling SwiftFormat Braces.swift
[155/324] Compiling SwiftFormat ConditionalAssignment.swift
[156/324] Compiling SwiftFormat ConsecutiveBlankLines.swift
[157/324] Compiling SwiftFormat ConsecutiveSpaces.swift
[158/324] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[159/324] Compiling SwiftFormat DocComments.swift
[160/324] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[181/324] Compiling SwiftFormat Arguments.swift
[182/324] Compiling SwiftFormat CommandLine.swift
[183/324] Compiling SwiftFormat Declaration.swift
[184/324] Compiling SwiftFormat DeclarationType.swift
[185/324] Compiling SwiftFormat EnumAssociable.swift
[186/324] Compiling SwiftFormat FormatRule.swift
[187/324] Compiling SwiftFormat Formatter.swift
[188/324] Compiling SwiftFormat FormattingHelpers.swift
[189/324] Compiling SwiftFormat GitFileInfo.swift
[190/324] Compiling SwiftFormat GithubActionsLogReporter.swift
[191/324] Compiling SwiftFormat Globs.swift
[192/324] Compiling SwiftFormat Inference.swift
[193/324] Compiling SwiftFormat JSONReporter.swift
[194/324] Compiling SwiftFormat OptionDescriptor.swift
[195/324] Compiling SwiftFormat Options.swift
[196/324] Compiling SwiftFormat ParsingHelpers.swift
[197/324] Compiling SwiftFormat Reporter.swift
[198/324] Compiling SwiftFormat RuleRegistry.generated.swift
[199/324] Compiling SwiftFormat Acronyms.swift
[200/324] Compiling SwiftFormat AndOperator.swift
[201/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() {
[202/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>
[203/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>
[204/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>
[205/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>
[206/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>
[207/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>
[208/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>
[209/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>
[210/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>
[211/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>
[212/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>
[213/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>
[214/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>
[215/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>
[216/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>
[217/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>
[218/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>
[219/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>
[220/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>
[240/324] Compiling SwiftFormat DuplicateImports.swift
[241/324] Compiling SwiftFormat ElseOnSameLine.swift
[242/324] Compiling SwiftFormat EmptyBraces.swift
[243/324] Compiling SwiftFormat EmptyExtensions.swift
[244/324] Compiling SwiftFormat EnumNamespaces.swift
[245/324] Compiling SwiftFormat EnvironmentEntry.swift
[246/324] Compiling SwiftFormat ExtensionAccessControl.swift
[247/324] Compiling SwiftFormat FileHeader.swift
[248/324] Compiling SwiftFormat FileMacro.swift
[249/324] Compiling SwiftFormat GenericExtensions.swift
[250/324] Compiling SwiftFormat HeaderFileName.swift
[251/324] Compiling SwiftFormat HoistAwait.swift
[252/324] Compiling SwiftFormat HoistPatternLet.swift
[253/324] Compiling SwiftFormat HoistTry.swift
[254/324] Compiling SwiftFormat Indent.swift
[255/324] Compiling SwiftFormat InitCoderUnavailable.swift
[256/324] Compiling SwiftFormat IsEmpty.swift
[257/324] Compiling SwiftFormat LeadingDelimiters.swift
[258/324] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[259/324] Compiling SwiftFormat Linebreaks.swift
/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 | }
[301/327] Emitting module CommandLineTool
[302/327] Compiling CommandLineTool main.swift
[304/328] 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() {
/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/331] Wrapping AST for SwiftFormat for debugging
[327/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")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[328/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")
BUILD FAILURE 6.2 android