Build Information
Failed to build SwiftFormat, reference main (6ebb96
), with Swift 6.1 for Wasm on 15 Jun 2025 19:00:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
11 | public extension FormatRule {
12 | /// Normalize argument wrapping style
13 | static let wrapArguments = FormatRule(
| |- warning: static property 'wrapArguments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapArguments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Align wrapped function arguments or collection elements.",
15 | orderAfter: [.wrap],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapAttributes.swift:12:16: warning: static property 'wrapAttributes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapAttributes = FormatRule(
| |- warning: static property 'wrapAttributes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap @attributes onto a separate line, or keep them on the same line.",
14 | options: ["funcattributes", "typeattributes", "varattributes", "storedvarattrs", "computedvarattrs", "complexattrs", "noncomplexattrs"],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapConditionalBodies.swift:12:16: warning: static property 'wrapConditionalBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapConditionalBodies = FormatRule(
| |- warning: static property 'wrapConditionalBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapConditionalBodies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap the bodies of inline conditional statements onto a new line.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapEnumCases.swift:13:16: warning: static property 'wrapEnumCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Formats enum cases declaration into one case per line
13 | static let wrapEnumCases = FormatRule(
| |- warning: static property 'wrapEnumCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapEnumCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Rewrite comma-delimited enum cases to one case per line.",
15 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapLoopBodies.swift:12:16: warning: static property 'wrapLoopBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapLoopBodies = FormatRule(
| |- warning: static property 'wrapLoopBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapLoopBodies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap the bodies of inline loop statements onto a new line.",
14 | orderAfter: [.preferForLoop],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapMultilineConditionalAssignment.swift:12:16: warning: static property 'wrapMultilineConditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapMultilineConditionalAssignment = FormatRule(
| |- warning: static property 'wrapMultilineConditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapMultilineConditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap multiline conditional assignment expressions after the assignment operator.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapMultilineFunctionChains.swift:12:16: warning: static property 'wrapMultilineFunctionChains' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapMultilineFunctionChains = FormatRule(
| |- warning: static property 'wrapMultilineFunctionChains' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapMultilineFunctionChains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wraps chained function calls to either all on the same line, or one per line.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapMultilineStatementBraces.swift:12:16: warning: static property 'wrapMultilineStatementBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapMultilineStatementBraces = FormatRule(
| |- warning: static property 'wrapMultilineStatementBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapMultilineStatementBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap the opening brace of multiline statements.",
14 | orderAfter: [.braces, .indent, .wrapArguments],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapSingleLineComments.swift:13:16: warning: static property 'wrapSingleLineComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Wrap single-line comments that exceed given `FormatOptions.maxWidth` setting.
13 | static let wrapSingleLineComments = FormatRule(
| |- warning: static property 'wrapSingleLineComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapSingleLineComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Wrap single line `//` comments that exceed the specified `--maxwidth`.",
15 | sharedOptions: ["maxwidth", "indent", "tabwidth", "assetliterals", "linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapSwitchCases.swift:13:16: warning: static property 'wrapSwitchCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Writes one switch case per line
13 | static let wrapSwitchCases = FormatRule(
| |- warning: static property 'wrapSwitchCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Wrap comma-delimited switch cases onto multiple lines.",
15 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/YodaConditions.swift:13:16: warning: static property 'yodaConditions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Reorders "yoda conditions" where constant is placed on lhs of a comparison
13 | static let yodaConditions = FormatRule(
| |- warning: static property 'yodaConditions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yodaConditions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer constant values to be on the right-hand-side of expressions.",
15 | options: ["yodaswap"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:314:13: warning: var 'configCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
312 |
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
| |- warning: var 'configCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'configCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: capture of 'completionBlocks' with non-sendable type '[() throws -> Void]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| |- warning: capture of 'completionBlocks' with non-sendable type '[() throws -> Void]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:37: warning: capture of 'block' with non-sendable type '() throws -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| |- warning: capture of 'block' with non-sendable type '() throws -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:240:21: warning: capture of 'enumerate(inputURL:outputURL:options:)' with non-sendable type '(URL, URL?, Options) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
238 | URL(fileURLWithPath: $0.path + url.path[inputURL.path.endIndex ..< url.path.endIndex])
239 | }
240 | enumerate(inputURL: url, outputURL: outputURL, options: options)
| |- warning: capture of 'enumerate(inputURL:outputURL:options:)' with non-sendable type '(URL, URL?, Options) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
241 | }
242 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:240:77: warning: capture of 'options' with non-sendable type 'Options' in a '@Sendable' closure; this is an error in the Swift 6 language mode
238 | URL(fileURLWithPath: $0.path + url.path[inputURL.path.endIndex ..< url.path.endIndex])
239 | }
240 | enumerate(inputURL: url, outputURL: outputURL, options: options)
| `- warning: capture of 'options' with non-sendable type 'Options' in a '@Sendable' closure; this is an error in the Swift 6 language mode
241 | }
242 | }
/host/spi-builder-workspace/Sources/Options.swift:1077:15: note: consider making struct 'Options' conform to the 'Sendable' protocol
1075 |
1076 | /// All options
1077 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1078 | public var fileOptions: FileOptions?
1079 | public var formatOptions: FormatOptions?
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:247:23: warning: capture of 'baseOptions' with non-sendable type 'Options' in a '@Sendable' closure; this is an error in the Swift 6 language mode
245 |
246 | queue.async(group: group) {
247 | var options = baseOptions
| `- warning: capture of 'baseOptions' with non-sendable type 'Options' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | var inputURL = inputURL
249 | if options.formatOptions == nil {
/host/spi-builder-workspace/Sources/Options.swift:1077:15: note: consider making struct 'Options' conform to the 'Sendable' protocol
1075 |
1076 | /// All options
1077 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1078 | public var fileOptions: FileOptions?
1079 | public var formatOptions: FormatOptions?
/host/spi-builder-workspace/Sources/SwiftFormat.swift:253:62: warning: capture of 'logger' with non-sendable type 'Logger?' (aka 'Optional<(String) -> ()>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | do {
253 | try gatherOptions(&options, for: inputURL, with: logger)
| |- warning: capture of 'logger' with non-sendable type 'Logger?' (aka 'Optional<(String) -> ()>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
254 | guard let (resolvedURL, resourceValues, _) = resolveInputURL(inputURL, options: options) else {
255 | return
/host/spi-builder-workspace/Sources/SwiftFormat.swift:254:58: warning: capture of 'resolveInputURL(_:options:)' with non-sendable type '(URL, Options) -> (URL, URLResourceValues, Options)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
252 | do {
253 | try gatherOptions(&options, for: inputURL, with: logger)
254 | guard let (resolvedURL, resourceValues, _) = resolveInputURL(inputURL, options: options) else {
| |- warning: capture of 'resolveInputURL(_:options:)' with non-sendable type '(URL, Options) -> (URL, URLResourceValues, Options)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
255 | return
256 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:265:13: warning: capture of 'onComplete' with non-sendable type '(@escaping () throws -> Void) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
263 | }
264 | } catch {
265 | onComplete { throw error }
| |- warning: capture of 'onComplete' with non-sendable type '(@escaping () throws -> Void) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
266 | return
267 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:268:9: warning: capture of 'enumerate(inputURL:outputURL:options:)' with non-sendable type '(URL, URL?, Options) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
266 | return
267 | }
268 | enumerate(inputURL: inputURL, outputURL: outputURL, options: options)
| |- warning: capture of 'enumerate(inputURL:outputURL:options:)' with non-sendable type '(URL, URL?, Options) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
269 | }
270 | group.wait()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:571:17: warning: capture of 'rule' with non-sendable type 'FormatRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
569 | for rule in rules {
570 | queue.async(group: group) {
571 | rule.apply(with: formatter)
| `- warning: capture of 'rule' with non-sendable type 'FormatRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/6] Write swift-version-24593BA9C3E375BF.txt
[3/258] Compiling SwiftFormat RedundantReturn.swift
[4/258] Compiling SwiftFormat RedundantSelf.swift
[5/258] Compiling SwiftFormat RedundantStaticSelf.swift
[6/258] Compiling SwiftFormat RedundantType.swift
[7/258] Compiling SwiftFormat RedundantTypedThrows.swift
[8/258] Compiling SwiftFormat RedundantVoidReturnType.swift
[9/258] Compiling SwiftFormat Semicolons.swift
[10/258] Compiling SwiftFormat SortDeclarations.swift
[11/258] Compiling SwiftFormat SortImports.swift
[12/258] Compiling SwiftFormat SortSwitchCases.swift
[13/258] Compiling SwiftFormat SortTypealiases.swift
[14/258] Compiling SwiftFormat SortedImports.swift
[15/258] Compiling SwiftFormat SortedSwitchCases.swift
[16/258] Compiling SwiftFormat SpaceAroundBraces.swift
[17/258] Compiling SwiftFormat SpaceAroundBrackets.swift
[18/258] Compiling SwiftFormat SpaceAroundComments.swift
[19/258] Compiling SwiftFormat SpaceAroundGenerics.swift
[20/266] Compiling SwiftFormat Acronyms.swift
[21/267] Compiling SwiftFormat AndOperator.swift
[22/267] Compiling SwiftFormat AnyObjectProtocol.swift
[23/267] Compiling SwiftFormat ApplicationMain.swift
[24/267] Compiling SwiftFormat AssertionFailures.swift
[25/267] Compiling SwiftFormat BlankLineAfterImports.swift
[26/267] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[27/267] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[28/267] Compiling SwiftFormat BlankLinesAroundMark.swift
[29/267] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[30/267] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[31/267] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[32/267] Compiling SwiftFormat BlankLinesBetweenImports.swift
[33/267] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[34/267] Compiling SwiftFormat BlockComments.swift
[35/267] Compiling SwiftFormat Braces.swift
[36/267] Compiling SwiftFormat ConditionalAssignment.swift
[37/267] Compiling SwiftFormat ConsecutiveBlankLines.swift
[38/292] Compiling SwiftFormat SpaceAroundParens.swift
[39/292] Compiling SwiftFormat SpaceInsideBraces.swift
[40/292] Compiling SwiftFormat SpaceInsideBrackets.swift
[41/292] Compiling SwiftFormat SpaceInsideComments.swift
[42/292] Compiling SwiftFormat SpaceInsideGenerics.swift
[43/292] Compiling SwiftFormat SpaceInsideParens.swift
[44/292] Compiling SwiftFormat Specifiers.swift
[45/292] Compiling SwiftFormat StrongOutlets.swift
[46/292] Compiling SwiftFormat StrongifiedSelf.swift
[47/292] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[48/292] Compiling SwiftFormat Todos.swift
[49/292] Compiling SwiftFormat TrailingClosures.swift
[50/292] Compiling SwiftFormat TrailingCommas.swift
[51/292] Compiling SwiftFormat TrailingSpace.swift
[52/292] Compiling SwiftFormat TypeSugar.swift
[53/292] Compiling SwiftFormat UnusedArguments.swift
[54/292] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[55/292] Compiling SwiftFormat SpaceAroundOperators.swift
[73/292] Compiling SwiftFormat RedundantBackticks.swift
[74/292] Compiling SwiftFormat RedundantBreak.swift
[75/292] Compiling SwiftFormat RedundantClosure.swift
[76/292] Compiling SwiftFormat RedundantEquatable.swift
[77/292] Compiling SwiftFormat RedundantExtensionACL.swift
[78/292] Compiling SwiftFormat RedundantFileprivate.swift
[79/292] Compiling SwiftFormat RedundantGet.swift
[80/292] Compiling SwiftFormat RedundantInit.swift
[81/292] Compiling SwiftFormat RedundantInternal.swift
[82/292] Compiling SwiftFormat RedundantLet.swift
[83/292] Compiling SwiftFormat RedundantLetError.swift
[84/292] Compiling SwiftFormat RedundantNilInit.swift
[85/292] Compiling SwiftFormat RedundantObjc.swift
[86/292] Compiling SwiftFormat RedundantOptionalBinding.swift
[87/292] Compiling SwiftFormat RedundantParens.swift
[88/292] Compiling SwiftFormat RedundantPattern.swift
[89/292] Compiling SwiftFormat RedundantProperty.swift
[90/292] Compiling SwiftFormat RedundantRawValues.swift
[91/292] Compiling SwiftFormat ConsecutiveSpaces.swift
[92/292] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[93/292] Compiling SwiftFormat DocComments.swift
[94/292] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[95/292] Compiling SwiftFormat DuplicateImports.swift
[96/292] Compiling SwiftFormat ElseOnSameLine.swift
[97/292] Compiling SwiftFormat EmptyBraces.swift
[98/292] Compiling SwiftFormat EmptyExtensions.swift
[99/292] Compiling SwiftFormat EnumNamespaces.swift
[100/292] Compiling SwiftFormat EnvironmentEntry.swift
[101/292] Compiling SwiftFormat ExtensionAccessControl.swift
[102/292] Compiling SwiftFormat FileHeader.swift
[103/292] Compiling SwiftFormat FileMacro.swift
[104/292] Compiling SwiftFormat GenericExtensions.swift
[105/292] Compiling SwiftFormat HeaderFileName.swift
[106/292] Compiling SwiftFormat HoistAwait.swift
[107/292] Compiling SwiftFormat HoistPatternLet.swift
[108/292] Compiling SwiftFormat HoistTry.swift
[109/292] Compiling SwiftFormat Indent.swift
[110/292] Compiling SwiftFormat InitCoderUnavailable.swift
[111/292] Compiling SwiftFormat IsEmpty.swift
[112/292] Compiling SwiftFormat LeadingDelimiters.swift
[113/292] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[114/292] Compiling SwiftFormat Linebreaks.swift
[115/292] Compiling SwiftFormat MarkTypes.swift
[116/292] Compiling SwiftFormat ModifierOrder.swift
[117/292] Compiling SwiftFormat NoExplicitOwnership.swift
[118/292] Compiling SwiftFormat NumberFormatting.swift
[119/292] Compiling SwiftFormat OpaqueGenericParameters.swift
[120/292] Compiling SwiftFormat OrganizeDeclarations.swift
[121/292] Compiling SwiftFormat PreferCountWhere.swift
[122/292] Compiling SwiftFormat PreferForLoop.swift
[123/292] Compiling SwiftFormat PreferKeyPath.swift
[124/292] Compiling SwiftFormat PreferSwiftTesting.swift
[125/292] Compiling SwiftFormat PrivateStateVariables.swift
[126/292] Compiling SwiftFormat PropertyTypes.swift
[127/292] Compiling SwiftFormat Arguments.swift
[128/292] Compiling SwiftFormat CommandLine.swift
[129/292] Compiling SwiftFormat Declaration.swift
[130/292] Compiling SwiftFormat DeclarationType.swift
[131/292] Compiling SwiftFormat EnumAssociable.swift
[132/292] Compiling SwiftFormat FormatRule.swift
[133/292] Compiling SwiftFormat Formatter.swift
[134/292] Compiling SwiftFormat FormattingHelpers.swift
[135/292] Compiling SwiftFormat GitFileInfo.swift
[136/292] Compiling SwiftFormat GithubActionsLogReporter.swift
[137/292] Compiling SwiftFormat Globs.swift
[138/292] Compiling SwiftFormat Inference.swift
[139/292] Compiling SwiftFormat JSONReporter.swift
[140/292] Compiling SwiftFormat OptionDescriptor.swift
[141/292] Compiling SwiftFormat Options.swift
[142/292] Compiling SwiftFormat ParsingHelpers.swift
[143/292] Compiling SwiftFormat Reporter.swift
[144/292] Compiling SwiftFormat RuleRegistry.generated.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[145/292] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[147/292] Compiling SwiftFormat Void.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[148/292] Compiling SwiftFormat Wrap.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[149/292] Compiling SwiftFormat WrapArguments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[150/292] Compiling SwiftFormat WrapAttributes.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[151/292] Compiling SwiftFormat WrapConditionalBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[152/292] Compiling SwiftFormat WrapEnumCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[153/292] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[154/292] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[155/292] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[156/292] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[157/292] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[158/292] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[159/292] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[160/292] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[161/292] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[162/292] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[163/292] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
BUILD FAILURE 6.1 wasm