Build Information
Failed to build SwiftFormat, reference 0.56.4 (6ebb96
), with Swift 6.1 for Wasm on 15 Jun 2025 18:59:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
10 |
11 | public extension FormatRule {
12 | static let wrap = FormatRule(
| |- warning: static property 'wrap' 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 'wrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap lines that exceed the specified maximum width.",
14 | options: ["maxwidth", "nowrapoperators", "assetliterals", "wrapternary"],
/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/WrapArguments.swift:13:16: warning: static property 'wrapArguments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Normalize argument wrapping style
13 | static let wrapArguments = FormatRule(
| |- warning: static property 'wrapArguments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapArguments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Align wrapped function arguments or collection elements.",
15 | orderAfter: [.wrap],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapAttributes.swift:12:16: warning: static property 'wrapAttributes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapAttributes = FormatRule(
| |- warning: static property 'wrapAttributes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap @attributes onto a separate line, or keep them on the same line.",
14 | options: ["funcattributes", "typeattributes", "varattributes", "storedvarattrs", "computedvarattrs", "complexattrs", "noncomplexattrs"],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapConditionalBodies.swift:12:16: warning: static property 'wrapConditionalBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapConditionalBodies = FormatRule(
| |- warning: static property 'wrapConditionalBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapConditionalBodies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap the bodies of inline conditional statements onto a new line.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapEnumCases.swift:13:16: warning: static property 'wrapEnumCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Formats enum cases declaration into one case per line
13 | static let wrapEnumCases = FormatRule(
| |- warning: static property 'wrapEnumCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapEnumCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Rewrite comma-delimited enum cases to one case per line.",
15 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapLoopBodies.swift:12:16: warning: static property 'wrapLoopBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapLoopBodies = FormatRule(
| |- warning: static property 'wrapLoopBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapLoopBodies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap the bodies of inline loop statements onto a new line.",
14 | orderAfter: [.preferForLoop],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapMultilineConditionalAssignment.swift:12:16: warning: static property 'wrapMultilineConditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapMultilineConditionalAssignment = FormatRule(
| |- warning: static property 'wrapMultilineConditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapMultilineConditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap multiline conditional assignment expressions after the assignment operator.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapMultilineFunctionChains.swift:12:16: warning: static property 'wrapMultilineFunctionChains' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapMultilineFunctionChains = FormatRule(
| |- warning: static property 'wrapMultilineFunctionChains' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapMultilineFunctionChains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wraps chained function calls to either all on the same line, or one per line.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapMultilineStatementBraces.swift:12:16: warning: static property 'wrapMultilineStatementBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapMultilineStatementBraces = FormatRule(
| |- warning: static property 'wrapMultilineStatementBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapMultilineStatementBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap the opening brace of multiline statements.",
14 | orderAfter: [.braces, .indent, .wrapArguments],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapSingleLineComments.swift:13:16: warning: static property 'wrapSingleLineComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Wrap single-line comments that exceed given `FormatOptions.maxWidth` setting.
13 | static let wrapSingleLineComments = FormatRule(
| |- warning: static property 'wrapSingleLineComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapSingleLineComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Wrap single line `//` comments that exceed the specified `--maxwidth`.",
15 | sharedOptions: ["maxwidth", "indent", "tabwidth", "assetliterals", "linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapSwitchCases.swift:13:16: warning: static property 'wrapSwitchCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Writes one switch case per line
13 | static let wrapSwitchCases = FormatRule(
| |- warning: static property 'wrapSwitchCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Wrap comma-delimited switch cases onto multiple lines.",
15 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/YodaConditions.swift:13:16: warning: static property 'yodaConditions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Reorders "yoda conditions" where constant is placed on lhs of a comparison
13 | static let yodaConditions = FormatRule(
| |- warning: static property 'yodaConditions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yodaConditions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer constant values to be on the right-hand-side of expressions.",
15 | options: ["yodaswap"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:314:13: warning: var 'configCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
312 |
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
| |- warning: var 'configCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'configCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[257/296] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/Rules/Void.swift:13:16: warning: static property 'void' 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 | /// Normalize the use of void in closure arguments and return values
13 | static let void = FormatRule(
| |- warning: static property 'void' 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 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use `Void` for type declarations and `()` for values.",
15 | options: ["voidtype"]
/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/Wrap.swift:12:16: warning: static property 'wrap' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrap = FormatRule(
| |- warning: static property 'wrap' 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 'wrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap lines that exceed the specified maximum width.",
14 | options: ["maxwidth", "nowrapoperators", "assetliterals", "wrapternary"],
/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/WrapArguments.swift:13:16: warning: static property 'wrapArguments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Normalize argument wrapping style
13 | static let wrapArguments = FormatRule(
| |- warning: static property 'wrapArguments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapArguments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Align wrapped function arguments or collection elements.",
15 | orderAfter: [.wrap],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapAttributes.swift:12:16: warning: static property 'wrapAttributes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapAttributes = FormatRule(
| |- warning: static property 'wrapAttributes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap @attributes onto a separate line, or keep them on the same line.",
14 | options: ["funcattributes", "typeattributes", "varattributes", "storedvarattrs", "computedvarattrs", "complexattrs", "noncomplexattrs"],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapConditionalBodies.swift:12:16: warning: static property 'wrapConditionalBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapConditionalBodies = FormatRule(
| |- warning: static property 'wrapConditionalBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapConditionalBodies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap the bodies of inline conditional statements onto a new line.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapEnumCases.swift:13:16: warning: static property 'wrapEnumCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Formats enum cases declaration into one case per line
13 | static let wrapEnumCases = FormatRule(
| |- warning: static property 'wrapEnumCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapEnumCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Rewrite comma-delimited enum cases to one case per line.",
15 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapLoopBodies.swift:12:16: warning: static property 'wrapLoopBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapLoopBodies = FormatRule(
| |- warning: static property 'wrapLoopBodies' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapLoopBodies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap the bodies of inline loop statements onto a new line.",
14 | orderAfter: [.preferForLoop],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapMultilineConditionalAssignment.swift:12:16: warning: static property 'wrapMultilineConditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapMultilineConditionalAssignment = FormatRule(
| |- warning: static property 'wrapMultilineConditionalAssignment' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapMultilineConditionalAssignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap multiline conditional assignment expressions after the assignment operator.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapMultilineFunctionChains.swift:12:16: warning: static property 'wrapMultilineFunctionChains' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapMultilineFunctionChains = FormatRule(
| |- warning: static property 'wrapMultilineFunctionChains' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapMultilineFunctionChains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wraps chained function calls to either all on the same line, or one per line.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapMultilineStatementBraces.swift:12:16: warning: static property 'wrapMultilineStatementBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let wrapMultilineStatementBraces = FormatRule(
| |- warning: static property 'wrapMultilineStatementBraces' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapMultilineStatementBraces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Wrap the opening brace of multiline statements.",
14 | orderAfter: [.braces, .indent, .wrapArguments],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapSingleLineComments.swift:13:16: warning: static property 'wrapSingleLineComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Wrap single-line comments that exceed given `FormatOptions.maxWidth` setting.
13 | static let wrapSingleLineComments = FormatRule(
| |- warning: static property 'wrapSingleLineComments' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapSingleLineComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Wrap single line `//` comments that exceed the specified `--maxwidth`.",
15 | sharedOptions: ["maxwidth", "indent", "tabwidth", "assetliterals", "linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/WrapSwitchCases.swift:13:16: warning: static property 'wrapSwitchCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Writes one switch case per line
13 | static let wrapSwitchCases = FormatRule(
| |- warning: static property 'wrapSwitchCases' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapSwitchCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Wrap comma-delimited switch cases onto multiple lines.",
15 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/YodaConditions.swift:13:16: warning: static property 'yodaConditions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Reorders "yoda conditions" where constant is placed on lhs of a comparison
13 | static let yodaConditions = FormatRule(
| |- warning: static property 'yodaConditions' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yodaConditions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer constant values to be on the right-hand-side of expressions.",
15 | options: ["yodaswap"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:314:13: warning: var 'configCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
312 |
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
| |- warning: var 'configCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'configCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| |- warning: static property 'print' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'print' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'print' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fatalError("No print hook set.")
51 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:55:16: warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | /// Input handler - override this to inject input into the CLI
54 | /// Injected lines should include the terminating newline character
55 | static var readLine: () -> String? = {
| |- warning: static property 'readLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readLine' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'readLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | Swift.readLine(strippingNewline: false)
57 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:70:13: warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | }
69 |
70 | private var quietMode = false
| |- warning: var 'quietMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'quietMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'quietMode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | private func print(_ message: String, as type: CLI.OutputType = .info) {
72 | if !quietMode || [.raw, .content, .error].contains(type) {
/host/spi-builder-workspace/Sources/CommandLine.swift:777:17: warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
777 | processFromStdin()
| |- warning: capture of 'processFromStdin()' with non-sendable type '() -> ()' 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'
778 | }
779 | // Wait for input
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/FormatRule.swift:50:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
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 |
:
48 |
49 | /// Null rule, used for testing
50 | static let none: FormatRule = .init(help: "") { _ in } examples: { nil }
| |- warning: static property 'none' 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 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | var isDeprecated: Bool {
/host/spi-builder-workspace/Sources/FormatRule.swift:100:12: warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
98 | }
99 |
100 | public let FormatRules = _FormatRules()
| |- warning: let 'FormatRules' is not concurrency-safe because non-'Sendable' type '_FormatRules' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'FormatRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | private let rulesByName: [String: FormatRule] = {
:
187 | }
188 |
189 | public struct _FormatRules {
| `- note: consider making struct '_FormatRules' conform to the 'Sendable' protocol
190 | fileprivate init() {}
191 | }
/host/spi-builder-workspace/Sources/FormatRule.swift:102:13: warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
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 |
:
100 | public let FormatRules = _FormatRules()
101 |
102 | private let rulesByName: [String: FormatRule] = {
| |- warning: let 'rulesByName' is not concurrency-safe because non-'Sendable' type '[String : FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rulesByName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | var rules = [String: FormatRule]()
104 | for (name, rule) in ruleRegistry {
/host/spi-builder-workspace/Sources/FormatRule.swift:134:13: warning: let '_allRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
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 |
:
132 | }
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
| |- warning: let '_allRules' 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 let '_allRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
/host/spi-builder-workspace/Sources/FormatRule.swift:135:13: warning: let '_deprecatedRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
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 |
:
133 |
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
| |- warning: let '_deprecatedRules' 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 let '_deprecatedRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
/host/spi-builder-workspace/Sources/FormatRule.swift:136:13: warning: let '_disabledByDefault' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
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 |
:
134 | private let _allRules = rulesByName.sorted(by: { $0.key < $1.key }).map(\.value)
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
| |- warning: let '_disabledByDefault' 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 let '_disabledByDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | private let _defaultRules = allRules(except: _disabledByDefault)
138 |
/host/spi-builder-workspace/Sources/FormatRule.swift:137:13: warning: let '_defaultRules' is not concurrency-safe because non-'Sendable' type '[FormatRule]' may have shared mutable state; this is an error in the Swift 6 language mode
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 |
:
135 | private let _deprecatedRules = _allRules.filter(\.isDeprecated)
136 | private let _disabledByDefault = _allRules.filter(\.disabledByDefault)
137 | private let _defaultRules = allRules(except: _disabledByDefault)
| |- warning: let '_defaultRules' 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 let '_defaultRules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | public extension _FormatRules {
/host/spi-builder-workspace/Sources/FormattingHelpers.swift:2906:16: warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2904 |
2905 | extension Date {
2906 | static var yearFormatter: (Date) -> String = {
| |- warning: static property 'yearFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'yearFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'yearFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2907 | let formatter = DateFormatter()
2908 | formatter.dateFormat = "yyyy"
/host/spi-builder-workspace/Sources/FormattingHelpers.swift:2912:16: warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2910 | }()
2911 |
2912 | static var currentYear = yearFormatter(Date())
| |- warning: static property 'currentYear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentYear' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'currentYear' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2913 |
2914 | var yearString: String {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:100:13: warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
98 | }
99 |
100 | private let getGitRoot: (URL) -> URL? = memoize({ $0.relativePath }) { url in
| |- warning: let 'getGitRoot' is not concurrency-safe because non-'Sendable' type '(URL) -> URL?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'getGitRoot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | let dir = "git rev-parse --show-toplevel".shellOutput(cwd: url)
102 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:111:13: warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | // If a file has never been committed, default to the local git user for the repository
111 | private let getDefaultGitInfo: (URL) -> GitFileInfo = memoize({ $0.relativePath }) { url in
| |- warning: let 'getDefaultGitInfo' is not concurrency-safe because non-'Sendable' type '(URL) -> GitFileInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'getDefaultGitInfo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | let name = "git config user.name".shellOutput(cwd: url)
113 | let email = "git config user.email".shellOutput(cwd: url)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:118:13: warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
116 | }
117 |
118 | private let getMovedFiles: (URL) -> [(from: URL, to: URL)] = memoize({ $0.relativePath }) { root in
| |- warning: let 'getMovedFiles' is not concurrency-safe because non-'Sendable' type '(URL) -> [(from: URL, to: URL)]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'getMovedFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | let command = "git diff --diff-filter=R --staged --name-status"
120 | let output = command.shellOutput(cwd: root)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/GitFileInfo.swift:167:13: warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
165 | }
166 |
167 | private let getCommitInfo: ((String?, URL)) -> GitFileInfo? = memoize(
| |- warning: let 'getCommitInfo' is not concurrency-safe because non-'Sendable' type '((String?, URL)) -> GitFileInfo?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'getCommitInfo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | { hash, root in (hash ?? "none") + root.relativePath },
169 | { hash, root in
/host/spi-builder-workspace/Sources/Inference.swift:1520:16: warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | }
47 |
48 | private struct OptionInferrer {
| `- note: consider making struct 'OptionInferrer' conform to the 'Sendable' protocol
49 | let fn: (Formatter, inout FormatOptions) -> Void
50 |
:
1518 | }()
1519 |
1520 | static let byName: [String: OptionInferrer] = {
| |- warning: static property 'byName' is not concurrency-safe because non-'Sendable' type '[String : OptionInferrer]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1521 | var inferrers = [String: OptionInferrer]()
1522 | for (label, value) in Mirror(reflecting: Inference()).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:383:5: warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
381 | }
382 |
383 | let Descriptors = _Descriptors()
| |- warning: let 'Descriptors' is not concurrency-safe because non-'Sendable' type '_Descriptors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Descriptors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
384 |
385 | private var _allDescriptors: [OptionDescriptor] = {
:
441 | }
442 |
443 | struct _Descriptors {
| `- note: consider making struct '_Descriptors' conform to the 'Sendable' protocol
444 | let lineAfterMarks = OptionDescriptor(
445 | argumentName: "lineaftermarks",
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:385:13: warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
383 | let Descriptors = _Descriptors()
384 |
385 | private var _allDescriptors: [OptionDescriptor] = {
| |- warning: var '_allDescriptors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_allDescriptors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_allDescriptors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
386 | var descriptors = [OptionDescriptor]()
387 | for (label, value) in Mirror(reflecting: Descriptors).children {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:406:13: warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
404 | }()
405 |
406 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
| |- warning: var '_descriptorsByName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_descriptorsByName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_descriptorsByName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
407 |
408 | private let _formattingDescriptors: [OptionDescriptor] = {
/host/spi-builder-workspace/Sources/OptionDescriptor.swift:408:13: warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
32 | import Foundation
33 |
34 | class OptionDescriptor {
| `- note: class 'OptionDescriptor' does not conform to the 'Sendable' protocol
35 | enum ArgumentType: EnumAssociable {
36 | /// index 0 is official value, others are acceptable
:
406 | private var _descriptorsByName: [String: OptionDescriptor] = Dictionary(uniqueKeysWithValues: _allDescriptors.map { ($0.argumentName, $0) })
407 |
408 | private let _formattingDescriptors: [OptionDescriptor] = {
| |- warning: let '_formattingDescriptors' is not concurrency-safe because non-'Sendable' type '[OptionDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_formattingDescriptors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
409 | let internalDescriptors = Descriptors.internal.map(\.argumentName)
410 | return _allDescriptors.filter { !internalDescriptors.contains($0.argumentName) }
/host/spi-builder-workspace/Sources/Options.swift:184:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
179 |
180 | /// Version number wrapper
181 | public struct Version: RawRepresentable, Comparable, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
182 | public let rawValue: String
183 |
184 | public static let undefined = Version(rawValue: "0")!
| |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | public init(stringLiteral value: String) {
/host/spi-builder-workspace/Sources/Options.swift:336:16: warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
334 | /// File info, used for constructing header comments
335 | public struct FileInfo: Equatable, CustomStringConvertible {
336 | static var defaultReplacements: [ReplacementKey: ReplacementType] = [
| |- warning: static property 'defaultReplacements' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultReplacements' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultReplacements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | .createdDate: .dynamic { info, options in
338 | info.creationDate?.format(with: options.dateFormat,
/host/spi-builder-workspace/Sources/Options.swift:758:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
628 | /// Configuration options for formatting. These aren't actually used by the
629 | /// Formatter class itself, but it makes them available to the format rules.
630 | public struct FormatOptions: CustomStringConvertible {
| `- note: consider making struct 'FormatOptions' conform to the 'Sendable' protocol
631 | public var lineAfterMarks: Bool
632 | public var indent: String
:
756 | var enabledRules: Set<String> = []
757 |
758 | public static let `default` = FormatOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FormatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
759 |
760 | public init(lineAfterMarks: Bool = true,
/host/spi-builder-workspace/Sources/Options.swift:1044:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1035 |
1036 | /// File enumeration options
1037 | public struct FileOptions {
| `- note: consider making struct 'FileOptions' conform to the 'Sendable' protocol
1038 | public var followSymlinks: Bool
1039 | public var supportedFileExtensions: [String]
:
1042 | public var minVersion: Version
1043 |
1044 | public static let `default` = FileOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FileOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1045 |
1046 | public init(followSymlinks: Bool = false,
/host/spi-builder-workspace/Sources/Options.swift:1084:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
1075 |
1076 | /// All options
1077 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
1078 | public var fileOptions: FileOptions?
1079 | public var formatOptions: FormatOptions?
:
1082 | public var lint: Bool
1083 |
1084 | public static let `default` = Options(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1085 | fileOptions: .default,
1086 | formatOptions: .default,
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/6] Write swift-version-24593BA9C3E375BF.txt
[3/258] Compiling SwiftFormat Indent.swift
[4/258] Compiling SwiftFormat InitCoderUnavailable.swift
[5/258] Compiling SwiftFormat IsEmpty.swift
[6/258] Compiling SwiftFormat LeadingDelimiters.swift
[7/258] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[8/258] Compiling SwiftFormat Linebreaks.swift
[9/258] Compiling SwiftFormat MarkTypes.swift
[10/258] Compiling SwiftFormat ModifierOrder.swift
[11/258] Compiling SwiftFormat NoExplicitOwnership.swift
[12/258] Compiling SwiftFormat NumberFormatting.swift
[13/258] Compiling SwiftFormat OpaqueGenericParameters.swift
[14/258] Compiling SwiftFormat OrganizeDeclarations.swift
[15/258] Compiling SwiftFormat PreferCountWhere.swift
[16/258] Compiling SwiftFormat PreferForLoop.swift
[17/258] Compiling SwiftFormat PreferKeyPath.swift
[18/258] Compiling SwiftFormat PreferSwiftTesting.swift
[19/258] Compiling SwiftFormat PrivateStateVariables.swift
[20/258] Compiling SwiftFormat PropertyTypes.swift
[21/275] Compiling SwiftFormat SpaceAroundParens.swift
[22/275] Compiling SwiftFormat SpaceInsideBraces.swift
[23/275] Compiling SwiftFormat SpaceInsideBrackets.swift
[24/275] Compiling SwiftFormat SpaceInsideComments.swift
[25/275] Compiling SwiftFormat SpaceInsideGenerics.swift
[26/275] Compiling SwiftFormat SpaceInsideParens.swift
[27/275] Compiling SwiftFormat Specifiers.swift
[28/275] Compiling SwiftFormat StrongOutlets.swift
[29/275] Compiling SwiftFormat StrongifiedSelf.swift
[30/275] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[31/275] Compiling SwiftFormat Todos.swift
[32/275] Compiling SwiftFormat TrailingClosures.swift
[33/275] Compiling SwiftFormat TrailingCommas.swift
[34/275] Compiling SwiftFormat TrailingSpace.swift
[35/275] Compiling SwiftFormat TypeSugar.swift
[36/275] Compiling SwiftFormat UnusedArguments.swift
[37/275] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[38/275] Compiling SwiftFormat RedundantReturn.swift
[39/275] Compiling SwiftFormat RedundantSelf.swift
[40/275] Compiling SwiftFormat RedundantStaticSelf.swift
[41/275] Compiling SwiftFormat RedundantType.swift
[42/275] Compiling SwiftFormat RedundantTypedThrows.swift
[43/275] Compiling SwiftFormat RedundantVoidReturnType.swift
[44/275] Compiling SwiftFormat Semicolons.swift
[45/275] Compiling SwiftFormat SortDeclarations.swift
[46/275] Compiling SwiftFormat SortImports.swift
[47/275] Compiling SwiftFormat SortSwitchCases.swift
[48/275] Compiling SwiftFormat SortTypealiases.swift
[49/275] Compiling SwiftFormat SortedImports.swift
[50/275] Compiling SwiftFormat SortedSwitchCases.swift
[51/275] Compiling SwiftFormat SpaceAroundBraces.swift
[52/275] Compiling SwiftFormat SpaceAroundBrackets.swift
[53/275] Compiling SwiftFormat SpaceAroundComments.swift
[54/275] Compiling SwiftFormat SpaceAroundGenerics.swift
[55/275] Compiling SwiftFormat SpaceAroundOperators.swift
[91/292] Compiling SwiftFormat RedundantBackticks.swift
[92/292] Compiling SwiftFormat RedundantBreak.swift
[93/292] Compiling SwiftFormat RedundantClosure.swift
[94/292] Compiling SwiftFormat RedundantEquatable.swift
[95/292] Compiling SwiftFormat RedundantExtensionACL.swift
[96/292] Compiling SwiftFormat RedundantFileprivate.swift
[97/292] Compiling SwiftFormat RedundantGet.swift
[98/292] Compiling SwiftFormat RedundantInit.swift
[99/292] Compiling SwiftFormat RedundantInternal.swift
[100/292] Compiling SwiftFormat RedundantLet.swift
[101/292] Compiling SwiftFormat RedundantLetError.swift
[102/292] Compiling SwiftFormat RedundantNilInit.swift
[103/292] Compiling SwiftFormat RedundantObjc.swift
[104/292] Compiling SwiftFormat RedundantOptionalBinding.swift
[105/292] Compiling SwiftFormat RedundantParens.swift
[106/292] Compiling SwiftFormat RedundantPattern.swift
[107/292] Compiling SwiftFormat RedundantProperty.swift
[108/292] Compiling SwiftFormat RedundantRawValues.swift
[109/292] Compiling SwiftFormat Acronyms.swift
[110/292] Compiling SwiftFormat AndOperator.swift
[111/292] Compiling SwiftFormat AnyObjectProtocol.swift
[112/292] Compiling SwiftFormat ApplicationMain.swift
[113/292] Compiling SwiftFormat AssertionFailures.swift
[114/292] Compiling SwiftFormat BlankLineAfterImports.swift
[115/292] Compiling SwiftFormat BlankLineAfterSwitchCase.swift
[116/292] Compiling SwiftFormat BlankLinesAfterGuardStatements.swift
[117/292] Compiling SwiftFormat BlankLinesAroundMark.swift
[118/292] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[119/292] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[120/292] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[121/292] Compiling SwiftFormat BlankLinesBetweenImports.swift
[122/292] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[123/292] Compiling SwiftFormat BlockComments.swift
[124/292] Compiling SwiftFormat Braces.swift
[125/292] Compiling SwiftFormat ConditionalAssignment.swift
[126/292] Compiling SwiftFormat ConsecutiveBlankLines.swift
[127/292] Compiling SwiftFormat ConsecutiveSpaces.swift
[128/292] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[129/292] Compiling SwiftFormat DocComments.swift
[130/292] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[131/292] Compiling SwiftFormat DuplicateImports.swift
[132/292] Compiling SwiftFormat ElseOnSameLine.swift
[133/292] Compiling SwiftFormat EmptyBraces.swift
[134/292] Compiling SwiftFormat EmptyExtensions.swift
[135/292] Compiling SwiftFormat EnumNamespaces.swift
[136/292] Compiling SwiftFormat EnvironmentEntry.swift
[137/292] Compiling SwiftFormat ExtensionAccessControl.swift
[138/292] Compiling SwiftFormat FileHeader.swift
[139/292] Compiling SwiftFormat FileMacro.swift
[140/292] Compiling SwiftFormat GenericExtensions.swift
[141/292] Compiling SwiftFormat HeaderFileName.swift
[142/292] Compiling SwiftFormat HoistAwait.swift
[143/292] Compiling SwiftFormat HoistPatternLet.swift
[144/292] Compiling SwiftFormat HoistTry.swift
[145/292] Compiling SwiftFormat Arguments.swift
[146/292] Compiling SwiftFormat CommandLine.swift
[147/292] Compiling SwiftFormat Declaration.swift
[148/292] Compiling SwiftFormat DeclarationType.swift
[149/292] Compiling SwiftFormat EnumAssociable.swift
[150/292] Compiling SwiftFormat FormatRule.swift
[151/292] Compiling SwiftFormat Formatter.swift
[152/292] Compiling SwiftFormat FormattingHelpers.swift
[153/292] Compiling SwiftFormat GitFileInfo.swift
[154/292] Compiling SwiftFormat GithubActionsLogReporter.swift
[155/292] Compiling SwiftFormat Globs.swift
[156/292] Compiling SwiftFormat Inference.swift
[157/292] Compiling SwiftFormat JSONReporter.swift
[158/292] Compiling SwiftFormat OptionDescriptor.swift
[159/292] Compiling SwiftFormat Options.swift
[160/292] Compiling SwiftFormat ParsingHelpers.swift
[161/292] Compiling SwiftFormat Reporter.swift
[162/292] Compiling SwiftFormat RuleRegistry.generated.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[217/292] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
[218/292] Compiling SwiftFormat Void.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[219/292] Compiling SwiftFormat Wrap.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[220/292] Compiling SwiftFormat WrapArguments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[221/292] Compiling SwiftFormat WrapAttributes.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[222/292] Compiling SwiftFormat WrapConditionalBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[223/292] Compiling SwiftFormat WrapEnumCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[224/292] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[225/292] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[226/292] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[227/292] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[228/292] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[229/292] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[230/292] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[231/292] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[232/292] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[233/292] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[234/292] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:27: error: cannot find 'DispatchQueue' in scope
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:315:76: error: cannot infer contextual base in reference to member 'userInteractive'
313 | /// Process configuration files in specified directory.
314 | private var configCache = [URL: [String: String]]()
315 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
316 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
317 | if let args = configQueue.sync(execute: { configCache[inputURL] }) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:134:17: error: cannot find 'DispatchGroup' in scope
132 | ]
133 |
134 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:136:27: error: cannot find 'DispatchQueue' in scope
134 | let group = DispatchGroup()
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:30: error: cannot find 'DispatchQueue' in scope
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:143:57: error: cannot infer contextual base in reference to member 'userInitiated'
141 | }
142 |
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:555:17: error: cannot find 'DispatchGroup' in scope
553 |
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:17: error: cannot find 'DispatchQueue' in scope
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:556:70: error: cannot infer contextual base in reference to member 'userInteractive'
554 | // Recursively apply rules until no changes are detected
555 | let group = DispatchGroup()
556 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
557 | let timeout = options.timeout + TimeInterval(tokens.count) / 100
558 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:40: error: cannot call value of non-function type 'Date'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot call value of non-function type 'Date'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:573:61: error: cannot infer contextual base in reference to member 'timedOut'
571 | rule.apply(with: formatter)
572 | }
573 | guard group.wait(timeout: .now() + timeout) != .timedOut else {
| `- error: cannot infer contextual base in reference to member 'timedOut'
574 | throw FormatError.writing("\(rule.name) rule timed out")
575 | }
[235/292] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:13: error: cannot find 'DispatchQueue' in scope
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
777 | processFromStdin()
778 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:776:40: error: cannot infer contextual base in reference to member 'userInitiated'
774 | } else if inputURLs.isEmpty {
775 | // If no input file, try stdin
776 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
777 | processFromStdin()
778 | }
BUILD FAILURE 6.1 wasm