Build Information
Failed to build SwiftFormat, reference 0.57.2 (b83a8f
), with Swift 6.1 for Wasm on 15 Jul 2025 07:43:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
| |- 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 `--max-width`.",
15 | sharedOptions: ["max-width", "indent", "tab-width", "asset-literals", "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: ["yoda-swap"]
/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:1157:15: note: consider making struct 'Options' conform to the 'Sendable' protocol
1155 |
1156 | /// All options
1157 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1158 | public var fileOptions: FileOptions?
1159 | 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:1157:15: note: consider making struct 'Options' conform to the 'Sendable' protocol
1155 |
1156 | /// All options
1157 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1158 | public var fileOptions: FileOptions?
1159 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:572:17: warning: capture of 'rule' with non-sendable type 'FormatRule' in a '@Sendable' closure; this is an error in the Swift 6 language mode
570 | for rule in rules {
571 | queue.async(group: group) {
572 | 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
573 | }
574 | 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-1":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/272] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[4/272] Compiling SwiftFormat Linebreaks.swift
[5/272] Compiling SwiftFormat MarkTypes.swift
[6/272] Compiling SwiftFormat ModifierOrder.swift
[7/272] Compiling SwiftFormat ModifiersOnSameLine.swift
[8/272] Compiling SwiftFormat NoExplicitOwnership.swift
[9/272] Compiling SwiftFormat NoGuardInTests.swift
[10/272] Compiling SwiftFormat NumberFormatting.swift
[11/272] Compiling SwiftFormat OpaqueGenericParameters.swift
[12/272] Compiling SwiftFormat OrganizeDeclarations.swift
[13/272] Compiling SwiftFormat PreferCountWhere.swift
[14/272] Compiling SwiftFormat PreferForLoop.swift
[15/272] Compiling SwiftFormat PreferKeyPath.swift
[16/272] Compiling SwiftFormat PreferSwiftTesting.swift
[17/272] Compiling SwiftFormat PrivateStateVariables.swift
[18/272] Compiling SwiftFormat PropertyTypes.swift
[19/272] Compiling SwiftFormat RedundantBackticks.swift
[20/272] Compiling SwiftFormat RedundantBreak.swift
[21/290] Compiling SwiftFormat RedundantSelf.swift
[22/290] Compiling SwiftFormat RedundantStaticSelf.swift
[23/290] Compiling SwiftFormat RedundantType.swift
[24/290] Compiling SwiftFormat RedundantTypedThrows.swift
[25/290] Compiling SwiftFormat RedundantVoidReturnType.swift
[26/290] Compiling SwiftFormat Semicolons.swift
[27/290] Compiling SwiftFormat SinglePropertyPerLine.swift
[28/290] Compiling SwiftFormat SortDeclarations.swift
[29/290] Compiling SwiftFormat SortImports.swift
[30/290] Compiling SwiftFormat SortSwitchCases.swift
[31/290] Compiling SwiftFormat SortTypealiases.swift
[32/290] Compiling SwiftFormat SortedImports.swift
[33/290] Compiling SwiftFormat SortedSwitchCases.swift
[34/290] Compiling SwiftFormat SpaceAroundBraces.swift
[35/290] Compiling SwiftFormat SpaceAroundBrackets.swift
[36/290] Compiling SwiftFormat SpaceAroundComments.swift
[37/290] Compiling SwiftFormat SpaceAroundGenerics.swift
[38/290] Compiling SwiftFormat SpaceAroundOperators.swift
[39/290] Compiling SwiftFormat SpaceAroundParens.swift
[40/308] Compiling SwiftFormat SpaceInsideBraces.swift
[41/308] Compiling SwiftFormat SpaceInsideBrackets.swift
[42/308] Compiling SwiftFormat SpaceInsideComments.swift
[43/308] Compiling SwiftFormat SpaceInsideGenerics.swift
[44/308] Compiling SwiftFormat SpaceInsideParens.swift
[45/308] Compiling SwiftFormat Specifiers.swift
[46/308] Compiling SwiftFormat StrongOutlets.swift
[47/308] Compiling SwiftFormat StrongifiedSelf.swift
[48/308] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[49/308] Compiling SwiftFormat ThrowingTests.swift
[50/308] Compiling SwiftFormat Todos.swift
[51/308] Compiling SwiftFormat TrailingClosures.swift
[52/308] Compiling SwiftFormat TrailingCommas.swift
[53/308] Compiling SwiftFormat TrailingSpace.swift
[54/308] Compiling SwiftFormat TypeSugar.swift
[55/308] Compiling SwiftFormat URLMacro.swift
[56/308] Compiling SwiftFormat UnusedArguments.swift
[57/308] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[58/308] Compiling SwiftFormat RedundantClosure.swift
[59/308] Compiling SwiftFormat RedundantEquatable.swift
[60/308] Compiling SwiftFormat RedundantExtensionACL.swift
[61/308] Compiling SwiftFormat RedundantFileprivate.swift
[62/308] Compiling SwiftFormat RedundantGet.swift
[63/308] Compiling SwiftFormat RedundantInit.swift
[64/308] Compiling SwiftFormat RedundantInternal.swift
[65/308] Compiling SwiftFormat RedundantLet.swift
[66/308] Compiling SwiftFormat RedundantLetError.swift
[67/308] Compiling SwiftFormat RedundantMemberwiseInit.swift
[68/308] Compiling SwiftFormat RedundantNilInit.swift
[69/308] Compiling SwiftFormat RedundantObjc.swift
[70/308] Compiling SwiftFormat RedundantOptionalBinding.swift
[71/308] Compiling SwiftFormat RedundantParens.swift
[72/308] Compiling SwiftFormat RedundantPattern.swift
[73/308] Compiling SwiftFormat RedundantProperty.swift
[74/308] Compiling SwiftFormat RedundantPublic.swift
[75/308] Compiling SwiftFormat RedundantRawValues.swift
[76/308] Compiling SwiftFormat RedundantReturn.swift
[95/308] Compiling SwiftFormat LeadingDelimiters.swift
[115/308] Compiling SwiftFormat DocComments.swift
[116/308] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[117/308] Compiling SwiftFormat DuplicateImports.swift
[118/308] Compiling SwiftFormat ElseOnSameLine.swift
[119/308] Compiling SwiftFormat EmptyBraces.swift
[120/308] Compiling SwiftFormat EmptyExtensions.swift
[121/308] Compiling SwiftFormat EnumNamespaces.swift
[122/308] Compiling SwiftFormat EnvironmentEntry.swift
[123/308] Compiling SwiftFormat ExtensionAccessControl.swift
[124/308] Compiling SwiftFormat FileHeader.swift
[125/308] Compiling SwiftFormat FileMacro.swift
[126/308] Compiling SwiftFormat GenericExtensions.swift
[127/308] Compiling SwiftFormat HeaderFileName.swift
[128/308] Compiling SwiftFormat HoistAwait.swift
[129/308] Compiling SwiftFormat HoistPatternLet.swift
[130/308] Compiling SwiftFormat HoistTry.swift
[131/308] Compiling SwiftFormat Indent.swift
[132/308] Compiling SwiftFormat InitCoderUnavailable.swift
[133/308] Compiling SwiftFormat IsEmpty.swift
[134/308] Compiling SwiftFormat AndOperator.swift
[135/308] Compiling SwiftFormat AnyObjectProtocol.swift
[136/308] Compiling SwiftFormat ApplicationMain.swift
[137/308] Compiling SwiftFormat AssertionFailures.swift
[138/308] Compiling SwiftFormat BlankLineAfterImports.swift
[139/308] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[140/308] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[141/308] Compiling SwiftFormat BlankLinesAroundMark.swift
[142/308] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[143/308] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[144/308] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[145/308] Compiling SwiftFormat BlankLinesBetweenImports.swift
[146/308] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[147/308] Compiling SwiftFormat BlockComments.swift
[148/308] Compiling SwiftFormat Braces.swift
[149/308] Compiling SwiftFormat ConditionalAssignment.swift
[150/308] Compiling SwiftFormat ConsecutiveBlankLines.swift
[151/308] Compiling SwiftFormat ConsecutiveSpaces.swift
[152/308] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[210/308] Compiling SwiftFormat Arguments.swift
[211/308] Compiling SwiftFormat CommandLine.swift
[212/308] Compiling SwiftFormat Declaration.swift
[213/308] Compiling SwiftFormat DeclarationType.swift
[214/308] Compiling SwiftFormat EnumAssociable.swift
[215/308] Compiling SwiftFormat FormatRule.swift
[216/308] Compiling SwiftFormat Formatter.swift
[217/308] Compiling SwiftFormat FormattingHelpers.swift
[218/308] Compiling SwiftFormat GitFileInfo.swift
[219/308] Compiling SwiftFormat GithubActionsLogReporter.swift
[220/308] Compiling SwiftFormat Globs.swift
[221/308] Compiling SwiftFormat Inference.swift
[222/308] Compiling SwiftFormat JSONReporter.swift
[223/308] Compiling SwiftFormat OptionDescriptor.swift
[224/308] Compiling SwiftFormat Options.swift
[225/308] Compiling SwiftFormat ParsingHelpers.swift
[226/308] Compiling SwiftFormat Reporter.swift
[227/308] Compiling SwiftFormat RuleRegistry.generated.swift
[228/308] Compiling SwiftFormat Acronyms.swift
[229/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[230/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[231/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[232/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[233/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[234/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[235/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[236/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[237/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[238/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[239/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[240/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[241/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[242/308] Compiling SwiftFormat SARIFReporter.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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[243/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[244/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[245/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[246/308] 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:556:17: error: cannot find 'DispatchGroup' in scope
554 |
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:17: error: cannot find 'DispatchQueue' in scope
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:557:70: error: cannot infer contextual base in reference to member 'userInteractive'
555 | // Recursively apply rules until no changes are detected
556 | let group = DispatchGroup()
557 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
558 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
559 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:40: error: cannot call value of non-function type 'Date'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:574:61: error: cannot infer contextual base in reference to member 'timedOut'
572 | rule.apply(with: formatter)
573 | }
574 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
575 | throw FormatError.writing("\(rule.name) rule timed out")
576 | }
[247/308] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:741:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
739 | var input: String?
740 | var status = Status.idle
741 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
742 | status = .started
743 | while let line = CLI.readLine() {
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/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:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:13: error: cannot find 'DispatchQueue' in scope
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
836 | processFromStdin()
837 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:835:40: error: cannot infer contextual base in reference to member 'userInitiated'
833 | } else if inputURLs.isEmpty {
834 | // If no input file, try stdin
835 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
836 | processFromStdin()
837 | }
/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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | 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:352:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
350 | }
351 | configQueue.async {
352 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
353 | }
354 | assert(options.formatOptions != nil)
BUILD FAILURE 6.1 wasm