Build Information
Successful build of SwiftFormat, reference 0.58.7 (fb7ce2), with Swift 6.2 for Linux on 29 Nov 2025 15:33:47 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[244/324] Compiling SwiftFormat Wrap.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[245/324] Compiling SwiftFormat WrapArguments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[246/324] Compiling SwiftFormat WrapAttributes.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[247/324] Compiling SwiftFormat WrapConditionalBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[248/324] Compiling SwiftFormat WrapEnumCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[249/324] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[250/324] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[251/324] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[252/324] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[253/324] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[254/324] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[255/324] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[256/324] Compiling SwiftFormat SARIFReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[257/324] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[258/324] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[259/324] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[260/324] Compiling SwiftFormat TypeName.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[261/324] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/SwiftFormat.swift:151:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
149 | func onComplete(_ block: @escaping () throws -> Void) {
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
152 | }
153 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:206:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
204 | }
205 |
206 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
207 | outputURL: URL?,
208 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:157:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
155 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
156 |
157 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 | let fileOptions = options.fileOptions ?? .default
159 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:149:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
147 | var completionBlocks = [() throws -> Void]()
148 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
149 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
150 | completionQueue.async(group: group) {
151 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:393:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
391 | }
392 | configQueue.async {
393 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
394 | }
395 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SARIFReporter.swift:61:39: warning: will never be executed
59 | let result = SARIFLog(changes)
60 | var data = try encoder.encode(result)
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[281/324] Compiling SwiftFormat Arguments.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[282/324] Compiling SwiftFormat CommandLine.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[283/324] Compiling SwiftFormat Declaration.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[284/324] Compiling SwiftFormat DeclarationType.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[285/324] Compiling SwiftFormat EnumAssociable.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[286/324] Compiling SwiftFormat FormatRule.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[287/324] Compiling SwiftFormat Formatter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[288/324] Compiling SwiftFormat FormattingHelpers.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[289/324] Compiling SwiftFormat GitFileInfo.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[290/324] Compiling SwiftFormat GithubActionsLogReporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[291/324] Compiling SwiftFormat Globs.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[292/324] Compiling SwiftFormat Inference.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[293/324] Compiling SwiftFormat JSONReporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[294/324] Compiling SwiftFormat OptionDescriptor.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[295/324] Compiling SwiftFormat Options.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[296/324] Compiling SwiftFormat ParsingHelpers.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[297/324] Compiling SwiftFormat Reporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[298/324] Compiling SwiftFormat RuleRegistry.generated.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[299/324] Compiling SwiftFormat Acronyms.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[300/324] Compiling SwiftFormat AndOperator.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:770:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
768 | var input: String?
769 | var status = Status.idle
770 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
771 | status = .started
772 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/JSONReporter.swift:61:39: warning: will never be executed
59 | }
60 | var data = try encoder.encode(changes.map(ReportItem.init))
61 | if stripSlashes, let string = String(data: data, encoding: .utf8) {
| | `- warning: will never be executed
| `- note: condition always evaluates to false
62 | data = Data(string.replacingOccurrences(of: "\\/", with: "/").utf8)
63 | }
[323/328] Emitting module CommandLineTool
[324/328] Compiling CommandLineTool main.swift
[325/331] Wrapping AST for SwiftFormat for debugging
[327/331] Compiling CommandLineTool main.swift
[328/331] Emitting module CommandLineTool
[329/332] Wrapping AST for CommandLineTool for debugging
[330/332] Write Objects.LinkFileList
[331/332] Linking swiftformat
Build complete! (143.99s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftFormat",
"name" : "SwiftFormat",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swiftformat",
"targets" : [
"CommandLineTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftFormat",
"targets" : [
"SwiftFormat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftFormatPlugin",
"targets" : [
"SwiftFormatPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftFormatTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFormatTests",
"path" : "Tests",
"sources" : [
"ArgumentsTests.swift",
"BadConfig/Test.swift",
"CodeOrganizationTests.swift",
"CommandLineTests.swift",
"DeclarationV2Tests.swift",
"EnumAssociableTests.swift",
"FormatterTests.swift",
"GlobsTests.swift",
"InferenceTests.swift",
"MetadataTests.swift",
"OptionDescriptorTests.swift",
"ParsingHelpersTests.swift",
"ProjectFilePaths.swift",
"Rules/AcronymsTests.swift",
"Rules/AndOperatorTests.swift",
"Rules/AnyObjectProtocolTests.swift",
"Rules/ApplicationMainTests.swift",
"Rules/AssertionFailuresTests.swift",
"Rules/BlankLineAfterImportsTests.swift",
"Rules/BlankLineAfterSwitchCaseTests.swift",
"Rules/BlankLinesAfterGuardStatementsTests.swift",
"Rules/BlankLinesAroundMarkTests.swift",
"Rules/BlankLinesAtEndOfScopeTests.swift",
"Rules/BlankLinesAtStartOfScopeTests.swift",
"Rules/BlankLinesBetweenChainedFunctionsTests.swift",
"Rules/BlankLinesBetweenImportsTests.swift",
"Rules/BlankLinesBetweenScopesTests.swift",
"Rules/BlockCommentsTests.swift",
"Rules/BracesTests.swift",
"Rules/ConditionalAssignmentTests.swift",
"Rules/ConsecutiveBlankLinesTests.swift",
"Rules/ConsecutiveSpacesTests.swift",
"Rules/ConsistentSwitchCaseSpacingTests.swift",
"Rules/DocCommentsBeforeModifiersTests.swift",
"Rules/DocCommentsTests.swift",
"Rules/DuplicateImportsTests.swift",
"Rules/ElseOnSameLineTests.swift",
"Rules/EmptyBracesTests.swift",
"Rules/EmptyExtensionsTests.swift",
"Rules/EnumNamespacesTests.swift",
"Rules/EnvironmentEntryTests.swift",
"Rules/ExtensionAccessControlTests.swift",
"Rules/FileHeaderTests.swift",
"Rules/FileMacroTests.swift",
"Rules/GenericExtensionsTests.swift",
"Rules/HeaderFileNameTests.swift",
"Rules/HoistAwaitTests.swift",
"Rules/HoistPatternLetTests.swift",
"Rules/HoistTryTests.swift",
"Rules/IndentTests.swift",
"Rules/InitCoderUnavailableTests.swift",
"Rules/IsEmptyTests.swift",
"Rules/LeadingDelimitersTests.swift",
"Rules/LinebreakAtEndOfFileTests.swift",
"Rules/LinebreaksTests.swift",
"Rules/MarkTypesTests.swift",
"Rules/ModifierOrderTests.swift",
"Rules/ModifiersOnSameLineTests.swift",
"Rules/NoExplicitOwnershipTests.swift",
"Rules/NoForceTryInTestsTests.swift",
"Rules/NoForceUnwrapInTestsTests.swift",
"Rules/NoGuardInTestsTests.swift",
"Rules/NumberFormattingTests.swift",
"Rules/OpaqueGenericParametersTests.swift",
"Rules/OrganizeDeclarationsTests.swift",
"Rules/PreferCountWhereTests.swift",
"Rules/PreferFinalClassesTests.swift",
"Rules/PreferForLoopTests.swift",
"Rules/PreferKeyPathTests.swift",
"Rules/PreferSwiftTestingTests.swift",
"Rules/PrivateStateVariablesTests.swift",
"Rules/PropertyTypesTests.swift",
"Rules/RedundantAsyncTests.swift",
"Rules/RedundantBackticksTests.swift",
"Rules/RedundantBreakTests.swift",
"Rules/RedundantClosureTests.swift",
"Rules/RedundantEquatableTests.swift",
"Rules/RedundantExtensionACLTests.swift",
"Rules/RedundantFileprivateTests.swift",
"Rules/RedundantGetTests.swift",
"Rules/RedundantInitTests.swift",
"Rules/RedundantInternalTests.swift",
"Rules/RedundantLetErrorTests.swift",
"Rules/RedundantLetTests.swift",
"Rules/RedundantMemberwiseInitTests.swift",
"Rules/RedundantNilInitTests.swift",
"Rules/RedundantObjcTests.swift",
"Rules/RedundantOptionalBindingTests.swift",
"Rules/RedundantParensTests.swift",
"Rules/RedundantPatternTests.swift",
"Rules/RedundantPropertyTests.swift",
"Rules/RedundantPublicTests.swift",
"Rules/RedundantRawValuesTests.swift",
"Rules/RedundantReturnTests.swift",
"Rules/RedundantSelfTests.swift",
"Rules/RedundantStaticSelfTests.swift",
"Rules/RedundantThrowsTests.swift",
"Rules/RedundantTypeTests.swift",
"Rules/RedundantTypedThrowsTests.swift",
"Rules/RedundantVoidReturnTypeTests.swift",
"Rules/SemicolonsTests.swift",
"Rules/SinglePropertyPerLineTests.swift",
"Rules/SortDeclarationsTests.swift",
"Rules/SortImportsTests.swift",
"Rules/SortSwitchCasesTests.swift",
"Rules/SortTypealiasesTests.swift",
"Rules/SpaceAroundBracesTests.swift",
"Rules/SpaceAroundBracketsTests.swift",
"Rules/SpaceAroundCommentsTests.swift",
"Rules/SpaceAroundGenericsTests.swift",
"Rules/SpaceAroundOperatorsTests.swift",
"Rules/SpaceAroundParensTests.swift",
"Rules/SpaceInsideBracesTests.swift",
"Rules/SpaceInsideBracketsTests.swift",
"Rules/SpaceInsideCommentsTests.swift",
"Rules/SpaceInsideGenericsTests.swift",
"Rules/SpaceInsideParensTests.swift",
"Rules/StrongOutletsTests.swift",
"Rules/StrongifiedSelfTests.swift",
"Rules/SwiftTestingTestCaseNamesTests.swift",
"Rules/TodosTests.swift",
"Rules/TrailingClosuresTests.swift",
"Rules/TrailingCommasTests.swift",
"Rules/TrailingSpaceTests.swift",
"Rules/TypeSugarTests.swift",
"Rules/URLMacroTests.swift",
"Rules/UnusedArgumentsTests.swift",
"Rules/UnusedPrivateDeclarationsTests.swift",
"Rules/VoidTests.swift",
"Rules/WrapArgumentsTests.swift",
"Rules/WrapAttributesTests.swift",
"Rules/WrapConditionalBodiesTests.swift",
"Rules/WrapEnumCasesTests.swift",
"Rules/WrapLoopBodiesTests.swift",
"Rules/WrapMultilineConditionalAssignmentTests.swift",
"Rules/WrapMultilineFunctionChainsTests.swift",
"Rules/WrapMultilineStatementBracesTests.swift",
"Rules/WrapSingleLineCommentsTests.swift",
"Rules/WrapSwitchCasesTests.swift",
"Rules/WrapTests.swift",
"Rules/YodaConditionsTests.swift",
"SingularizeTests.swift",
"SwiftFormatTests.swift",
"TokenizerTests.swift",
"VersionTests.swift",
"XCTestCase+testFormatting.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "test"
},
{
"c99name" : "SwiftFormatPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftFormatPlugin",
"path" : "Plugins/SwiftFormatPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Formats Swift source files using SwiftFormat",
"type" : "custom",
"verb" : "swiftformat"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "This command reformats source files",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"SwiftFormatPlugin"
],
"sources" : [
"Shared/CommandPlugin+Extension.swift",
"Shared/PluginToolProviding.swift",
"SwiftFormatPlugin.swift",
"SwiftFormatPluginXcode.swift"
],
"target_dependencies" : [
"CommandLineTool"
],
"type" : "plugin"
},
{
"c99name" : "SwiftFormat",
"module_type" : "SwiftTarget",
"name" : "SwiftFormat",
"path" : "Sources",
"product_memberships" : [
"swiftformat",
"SwiftFormat",
"SwiftFormatPlugin"
],
"sources" : [
"Arguments.swift",
"CommandLine.swift",
"Declaration.swift",
"DeclarationType.swift",
"EnumAssociable.swift",
"FormatRule.swift",
"Formatter.swift",
"FormattingHelpers.swift",
"GitFileInfo.swift",
"GithubActionsLogReporter.swift",
"Globs.swift",
"Inference.swift",
"JSONReporter.swift",
"OptionDescriptor.swift",
"Options.swift",
"ParsingHelpers.swift",
"Reporter.swift",
"RuleRegistry.generated.swift",
"Rules/Acronyms.swift",
"Rules/AndOperator.swift",
"Rules/AnyObjectProtocol.swift",
"Rules/ApplicationMain.swift",
"Rules/AssertionFailures.swift",
"Rules/BlankLineAfterImports.swift",
"Rules/BlankLineAfterSwitchCase.swift",
"Rules/BlankLinesAfterGuardStatements.swift",
"Rules/BlankLinesAroundMark.swift",
"Rules/BlankLinesAtEndOfScope.swift",
"Rules/BlankLinesAtStartOfScope.swift",
"Rules/BlankLinesBetweenChainedFunctions.swift",
"Rules/BlankLinesBetweenImports.swift",
"Rules/BlankLinesBetweenScopes.swift",
"Rules/BlockComments.swift",
"Rules/Braces.swift",
"Rules/ConditionalAssignment.swift",
"Rules/ConsecutiveBlankLines.swift",
"Rules/ConsecutiveSpaces.swift",
"Rules/ConsistentSwitchCaseSpacing.swift",
"Rules/DocComments.swift",
"Rules/DocCommentsBeforeModifiers.swift",
"Rules/DuplicateImports.swift",
"Rules/ElseOnSameLine.swift",
"Rules/EmptyBraces.swift",
"Rules/EmptyExtensions.swift",
"Rules/EnumNamespaces.swift",
"Rules/EnvironmentEntry.swift",
"Rules/ExtensionAccessControl.swift",
"Rules/FileHeader.swift",
"Rules/FileMacro.swift",
"Rules/GenericExtensions.swift",
"Rules/HeaderFileName.swift",
"Rules/HoistAwait.swift",
"Rules/HoistPatternLet.swift",
"Rules/HoistTry.swift",
"Rules/Indent.swift",
"Rules/InitCoderUnavailable.swift",
"Rules/IsEmpty.swift",
"Rules/LeadingDelimiters.swift",
"Rules/LinebreakAtEndOfFile.swift",
"Rules/Linebreaks.swift",
"Rules/MarkTypes.swift",
"Rules/ModifierOrder.swift",
"Rules/ModifiersOnSameLine.swift",
"Rules/NoExplicitOwnership.swift",
"Rules/NoForceTryInTests.swift",
"Rules/NoForceUnwrapInTests.swift",
"Rules/NoGuardInTests.swift",
"Rules/NumberFormatting.swift",
"Rules/OpaqueGenericParameters.swift",
"Rules/OrganizeDeclarations.swift",
"Rules/PreferCountWhere.swift",
"Rules/PreferFinalClasses.swift",
"Rules/PreferForLoop.swift",
"Rules/PreferKeyPath.swift",
"Rules/PreferSwiftTesting.swift",
"Rules/PrivateStateVariables.swift",
"Rules/PropertyTypes.swift",
"Rules/RedundantAsync.swift",
"Rules/RedundantBackticks.swift",
"Rules/RedundantBreak.swift",
"Rules/RedundantClosure.swift",
"Rules/RedundantEquatable.swift",
"Rules/RedundantExtensionACL.swift",
"Rules/RedundantFileprivate.swift",
"Rules/RedundantGet.swift",
"Rules/RedundantInit.swift",
"Rules/RedundantInternal.swift",
"Rules/RedundantLet.swift",
"Rules/RedundantLetError.swift",
"Rules/RedundantMemberwiseInit.swift",
"Rules/RedundantNilInit.swift",
"Rules/RedundantObjc.swift",
"Rules/RedundantOptionalBinding.swift",
"Rules/RedundantParens.swift",
"Rules/RedundantPattern.swift",
"Rules/RedundantProperty.swift",
"Rules/RedundantPublic.swift",
"Rules/RedundantRawValues.swift",
"Rules/RedundantReturn.swift",
"Rules/RedundantSelf.swift",
"Rules/RedundantStaticSelf.swift",
"Rules/RedundantThrows.swift",
"Rules/RedundantType.swift",
"Rules/RedundantTypedThrows.swift",
"Rules/RedundantVoidReturnType.swift",
"Rules/Semicolons.swift",
"Rules/SinglePropertyPerLine.swift",
"Rules/SortDeclarations.swift",
"Rules/SortImports.swift",
"Rules/SortSwitchCases.swift",
"Rules/SortTypealiases.swift",
"Rules/SortedImports.swift",
"Rules/SortedSwitchCases.swift",
"Rules/SpaceAroundBraces.swift",
"Rules/SpaceAroundBrackets.swift",
"Rules/SpaceAroundComments.swift",
"Rules/SpaceAroundGenerics.swift",
"Rules/SpaceAroundOperators.swift",
"Rules/SpaceAroundParens.swift",
"Rules/SpaceInsideBraces.swift",
"Rules/SpaceInsideBrackets.swift",
"Rules/SpaceInsideComments.swift",
"Rules/SpaceInsideGenerics.swift",
"Rules/SpaceInsideParens.swift",
"Rules/Specifiers.swift",
"Rules/StrongOutlets.swift",
"Rules/StrongifiedSelf.swift",
"Rules/SwiftTestingTestCaseNames.swift",
"Rules/ThrowingTests.swift",
"Rules/Todos.swift",
"Rules/TrailingClosures.swift",
"Rules/TrailingCommas.swift",
"Rules/TrailingSpace.swift",
"Rules/TypeSugar.swift",
"Rules/URLMacro.swift",
"Rules/UnusedArguments.swift",
"Rules/UnusedPrivateDeclarations.swift",
"Rules/Void.swift",
"Rules/Wrap.swift",
"Rules/WrapArguments.swift",
"Rules/WrapAttributes.swift",
"Rules/WrapConditionalBodies.swift",
"Rules/WrapEnumCases.swift",
"Rules/WrapLoopBodies.swift",
"Rules/WrapMultilineConditionalAssignment.swift",
"Rules/WrapMultilineFunctionChains.swift",
"Rules/WrapMultilineStatementBraces.swift",
"Rules/WrapSingleLineComments.swift",
"Rules/WrapSwitchCases.swift",
"Rules/YodaConditions.swift",
"SARIFReporter.swift",
"Singularize.swift",
"SwiftFormat.swift",
"Tokenizer.swift",
"TypeName.swift",
"XMLReporter.swift"
],
"type" : "library"
},
{
"c99name" : "CommandLineTool",
"module_type" : "SwiftTarget",
"name" : "CommandLineTool",
"path" : "CommandLineTool",
"product_memberships" : [
"swiftformat",
"SwiftFormatPlugin"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftFormat"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.