Build Information
Failed to build SwiftFormat, reference 0.57.2 (b83a8f
), with Swift 6.2 (beta) for Android on 15 Jul 2025 07:42:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/SwiftFormat.git
Reference: 0.57.2
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.57.2 -> FETCH_HEAD
HEAD is now at b83a8f1 Update for 0.57.2 release
Cloned https://github.com/nicklockwood/SwiftFormat.git
Revision (git rev-parse @):
b83a8f132ff5430f3b6ff7d912baa407caea9e29
SUCCESS checkout https://github.com/nicklockwood/SwiftFormat.git at 0.57.2
========================================
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-2":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
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-8C5A4AE7A8CE2BA.txt
[7/276] Compiling SwiftFormat RedundantClosure.swift
[8/276] Compiling SwiftFormat RedundantEquatable.swift
[9/276] Compiling SwiftFormat Linebreaks.swift
[10/276] Compiling SwiftFormat RedundantFileprivate.swift
[11/276] Compiling SwiftFormat RedundantGet.swift
[12/276] Compiling SwiftFormat RedundantInit.swift
[13/276] Compiling SwiftFormat RedundantInternal.swift
[14/276] Compiling SwiftFormat RedundantLet.swift
[15/276] Compiling SwiftFormat RedundantLetError.swift
[16/276] Compiling SwiftFormat OpaqueGenericParameters.swift
[17/276] Compiling SwiftFormat RedundantNilInit.swift
[18/276] Compiling SwiftFormat PreferCountWhere.swift
[19/276] Compiling SwiftFormat PreferForLoop.swift
[20/276] Compiling SwiftFormat PreferKeyPath.swift
[21/276] Compiling SwiftFormat PreferSwiftTesting.swift
[22/276] Compiling SwiftFormat PrivateStateVariables.swift
[23/276] Compiling SwiftFormat RedundantPublic.swift
[24/276] Compiling SwiftFormat RedundantRawValues.swift
[25/276] Compiling SwiftFormat RedundantReturn.swift
[26/294] Compiling SwiftFormat Arguments.swift
[27/294] Compiling SwiftFormat CommandLine.swift
[28/294] Compiling SwiftFormat Declaration.swift
[29/294] Compiling SwiftFormat DeclarationType.swift
[30/294] Compiling SwiftFormat EnumAssociable.swift
[31/294] Compiling SwiftFormat FormatRule.swift
[32/294] Compiling SwiftFormat Formatter.swift
[33/294] Compiling SwiftFormat FormattingHelpers.swift
[34/294] Compiling SwiftFormat GitFileInfo.swift
[35/294] Compiling SwiftFormat GithubActionsLogReporter.swift
[36/294] Compiling SwiftFormat Globs.swift
[37/294] Compiling SwiftFormat Inference.swift
[38/294] Compiling SwiftFormat JSONReporter.swift
[39/294] Compiling SwiftFormat OptionDescriptor.swift
[40/294] Compiling SwiftFormat Options.swift
[41/294] Compiling SwiftFormat ParsingHelpers.swift
[42/294] Compiling SwiftFormat Reporter.swift
[43/294] Compiling SwiftFormat RuleRegistry.generated.swift
[44/294] Compiling SwiftFormat Acronyms.swift
[64/312] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | while let line = CLI.readLine() {
[65/312] Compiling SwiftFormat Void.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[66/312] Compiling SwiftFormat Wrap.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[67/312] Compiling SwiftFormat WrapArguments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[68/312] Compiling SwiftFormat WrapAttributes.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[69/312] Compiling SwiftFormat WrapConditionalBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[70/312] Compiling SwiftFormat WrapEnumCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[71/312] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[72/312] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[73/312] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[74/312] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[75/312] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[76/312] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[77/312] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[78/312] Compiling SwiftFormat SARIFReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[79/312] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[80/312] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[81/312] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[82/312] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194: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
192 | }
193 |
194 | 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
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | 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
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | 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
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
353 | }
354 | 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>
[101/312] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | while let line = CLI.readLine() {
[102/312] Compiling SwiftFormat RedundantSelf.swift
[103/312] Compiling SwiftFormat RedundantStaticSelf.swift
[104/312] Compiling SwiftFormat RedundantType.swift
[105/312] Compiling SwiftFormat RedundantTypedThrows.swift
[106/312] Compiling SwiftFormat RedundantVoidReturnType.swift
[107/312] Compiling SwiftFormat Semicolons.swift
[108/312] Compiling SwiftFormat SinglePropertyPerLine.swift
[109/312] Compiling SwiftFormat SortDeclarations.swift
[110/312] Compiling SwiftFormat SortImports.swift
[111/312] Compiling SwiftFormat SortSwitchCases.swift
[112/312] Compiling SwiftFormat SortTypealiases.swift
[113/312] Compiling SwiftFormat SortedImports.swift
[114/312] Compiling SwiftFormat SortedSwitchCases.swift
[115/312] Compiling SwiftFormat SpaceAroundBraces.swift
[116/312] Compiling SwiftFormat SpaceAroundBrackets.swift
[117/312] Compiling SwiftFormat SpaceAroundComments.swift
[118/312] Compiling SwiftFormat SpaceAroundGenerics.swift
[119/312] Compiling SwiftFormat SpaceAroundOperators.swift
[120/312] Compiling SwiftFormat SpaceAroundParens.swift
[121/312] Compiling SwiftFormat AndOperator.swift
[122/312] Compiling SwiftFormat AnyObjectProtocol.swift
[123/312] Compiling SwiftFormat ApplicationMain.swift
[124/312] Compiling SwiftFormat AssertionFailures.swift
[125/312] Compiling SwiftFormat BlankLineAfterImports.swift
[126/312] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[127/312] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[128/312] Compiling SwiftFormat BlankLinesAroundMark.swift
[129/312] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[130/312] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[131/312] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[132/312] Compiling SwiftFormat BlankLinesBetweenImports.swift
[133/312] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[134/312] Compiling SwiftFormat BlockComments.swift
[135/312] Compiling SwiftFormat Braces.swift
[136/312] Compiling SwiftFormat ConditionalAssignment.swift
[137/312] Compiling SwiftFormat ConsecutiveBlankLines.swift
[138/312] Compiling SwiftFormat ConsecutiveSpaces.swift
[139/312] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[140/312] Compiling SwiftFormat Arguments.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[141/312] Compiling SwiftFormat CommandLine.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[142/312] Compiling SwiftFormat Declaration.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[143/312] Compiling SwiftFormat DeclarationType.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[144/312] Compiling SwiftFormat EnumAssociable.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[145/312] Compiling SwiftFormat FormatRule.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[146/312] Compiling SwiftFormat Formatter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[147/312] Compiling SwiftFormat FormattingHelpers.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[148/312] Compiling SwiftFormat GitFileInfo.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[149/312] Compiling SwiftFormat GithubActionsLogReporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[150/312] Compiling SwiftFormat FileMacro.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[151/312] Compiling SwiftFormat GenericExtensions.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[152/312] Compiling SwiftFormat HeaderFileName.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[153/312] Compiling SwiftFormat HoistAwait.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[154/312] Compiling SwiftFormat HoistPatternLet.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[155/312] Compiling SwiftFormat HoistTry.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[156/312] Compiling SwiftFormat Indent.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[157/312] Compiling SwiftFormat InitCoderUnavailable.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[158/312] Compiling SwiftFormat IsEmpty.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[159/312] Compiling SwiftFormat SpaceInsideBraces.swift
[160/312] Compiling SwiftFormat SpaceInsideBrackets.swift
[161/312] Compiling SwiftFormat SpaceInsideComments.swift
[162/312] Compiling SwiftFormat SpaceInsideGenerics.swift
[163/312] Compiling SwiftFormat SpaceInsideParens.swift
[164/312] Compiling SwiftFormat Specifiers.swift
[165/312] Compiling SwiftFormat StrongOutlets.swift
[166/312] Compiling SwiftFormat StrongifiedSelf.swift
[167/312] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[168/312] Compiling SwiftFormat ThrowingTests.swift
[169/312] Compiling SwiftFormat Todos.swift
[170/312] Compiling SwiftFormat TrailingClosures.swift
[171/312] Compiling SwiftFormat TrailingCommas.swift
[172/312] Compiling SwiftFormat TrailingSpace.swift
[173/312] Compiling SwiftFormat TypeSugar.swift
[174/312] Compiling SwiftFormat URLMacro.swift
[175/312] Compiling SwiftFormat UnusedArguments.swift
[176/312] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[177/312] Compiling SwiftFormat RedundantClosure.swift
[178/312] Compiling SwiftFormat RedundantEquatable.swift
[179/312] Compiling SwiftFormat RedundantExtensionACL.swift
[180/312] Compiling SwiftFormat RedundantFileprivate.swift
[181/312] Compiling SwiftFormat RedundantGet.swift
[182/312] Compiling SwiftFormat RedundantInit.swift
[183/312] Compiling SwiftFormat RedundantInternal.swift
[184/312] Compiling SwiftFormat RedundantLet.swift
[185/312] Compiling SwiftFormat RedundantLetError.swift
[186/312] Compiling SwiftFormat RedundantMemberwiseInit.swift
[187/312] Compiling SwiftFormat RedundantNilInit.swift
[188/312] Compiling SwiftFormat RedundantObjc.swift
[189/312] Compiling SwiftFormat RedundantOptionalBinding.swift
[190/312] Compiling SwiftFormat RedundantParens.swift
[191/312] Compiling SwiftFormat RedundantPattern.swift
[192/312] Compiling SwiftFormat RedundantProperty.swift
[193/312] Compiling SwiftFormat RedundantPublic.swift
[194/312] Compiling SwiftFormat RedundantRawValues.swift
[195/312] Compiling SwiftFormat RedundantReturn.swift
[197/315] Emitting module CommandLineTool
[198/315] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | 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 | }
[313/317] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[315/319] 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")
[316/319] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
BUILD FAILURE 6.2 android