Build Information
Failed to build SwiftFormat, reference 0.64.5 (048f2e), with Swift 6.1 for Wasm on 2 Nov 2026 09:24:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[229/394] Compiling SwiftFormat WrapIfStatementBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[230/394] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[231/394] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[232/394] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[233/394] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[234/394] Compiling SwiftFormat WrapPropertyBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[235/394] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[236/394] Compiling SwiftFormat WrapSingleLineStrings.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[237/394] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[238/394] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[239/394] Compiling SwiftFormat SARIFReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[240/394] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[241/394] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[242/394] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[243/394] Compiling SwiftFormat TypeName.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
[244/394] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:27: error: cannot find 'DispatchQueue' in scope
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:386:76: error: cannot infer contextual base in reference to member 'userInteractive'
384 | /// Process configuration files in specified directory.
385 | private var configCache = [URL: [[String: String]]]()
386 | private let configQueue = DispatchQueue(label: "swiftformat.config", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
387 | private func processDirectory(_ inputURL: URL, with options: inout Options, logger: Logger?) throws {
388 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:925:25: error: cannot find 'DispatchQueue' in scope
923 | /// Index of the rule currently being applied, shared between the formatting queue and the waiting thread.
924 | private final class RuleProgress {
925 | private let queue = DispatchQueue(label: "swiftformat.ruleprogress")
| `- error: cannot find 'DispatchQueue' in scope
926 | private var _index = 0
927 |
/host/spi-builder-workspace/Sources/SwiftFormat.swift:160:17: error: cannot find 'DispatchGroup' in scope
158 | ]
159 |
160 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
/host/spi-builder-workspace/Sources/SwiftFormat.swift:162:27: error: cannot find 'DispatchQueue' in scope
160 | let group = DispatchGroup()
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
| `- error: cannot find 'DispatchQueue' in scope
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:30: error: cannot find 'DispatchQueue' in scope
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot find 'DispatchQueue' in scope
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:169:57: error: cannot infer contextual base in reference to member 'userInitiated'
167 | }
168 |
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
| `- error: cannot infer contextual base in reference to member 'userInitiated'
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:722:17: error: cannot find 'DispatchGroup' in scope
720 |
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:17: error: cannot find 'DispatchQueue' in scope
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:723:70: error: cannot infer contextual base in reference to member 'userInteractive'
721 | // Recursively apply rules until no changes are detected
722 | let group = DispatchGroup()
723 | let queue = DispatchQueue(label: "swiftformat.formatting", qos: .userInteractive)
| `- error: cannot infer contextual base in reference to member 'userInteractive'
724 | let timeout = options.timeout + TimeInterval(originalTokens.count) / 1000
725 | var changes = [Formatter.Change]()
/host/spi-builder-workspace/Sources/SwiftFormat.swift:744:36: error: cannot call value of non-function type 'Date'
742 | // so a single dispatch per iteration is enough.
743 | var lastIndex = -1
744 | while group.wait(timeout: .now() + timeout) == .timedOut {
| `- error: cannot call value of non-function type 'Date'
745 | let index = progress.index
746 | guard index != lastIndex else {
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:165:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
163 | func onComplete(_ block: @escaping () throws -> Void) {
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
166 | }
167 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:220:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
218 | }
219 |
220 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
221 | outputURL: URL?,
222 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:171:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
169 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
170 |
171 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
172 | let fileOptions = options.fileOptions ?? .default
173 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:163:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 | var completionBlocks = [() throws -> Void]()
162 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
163 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
164 | completionQueue.async(group: group) {
165 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:733:34: warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
731 | let progress = RuleProgress()
732 | queue.async(group: group) {
733 | for (index, rule) in rules.enumerated() {
| `- warning: reference to captured var 'rules' in concurrently-executing code; this is an error in the Swift 6 language mode
734 | progress.index = index
735 | rule.apply(with: formatter)
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
[317/394] Compiling SwiftFormat Arguments.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:939:13: error: cannot find 'DispatchQueue' in scope
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot find 'DispatchQueue' in scope
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:939:40: error: cannot infer contextual base in reference to member 'userInitiated'
937 | } else if inputURLs.isEmpty {
938 | // If no input file, try stdin
939 | DispatchQueue.global(qos: .userInitiated).async {
| `- error: cannot infer contextual base in reference to member 'userInitiated'
940 | processFromStdin()
941 | }
/host/spi-builder-workspace/Sources/CommandLine.swift:1253:34: error: cannot find 'DispatchQueue' in scope
1251 | // the same options apart from `fileInfo`, so the overrides only need to be merged once per directory.
1252 | var overriddenOptionsCache = [String: Options]()
1253 | let overriddenOptionsQueue = DispatchQueue(label: "swiftformat.overrides")
| `- error: cannot find 'DispatchQueue' in scope
1254 | func applyOverrides(to options: Options, for inputURL: URL) throws -> Options {
1255 | guard !overrides.isEmpty else {
BUILD FAILURE 6.1 wasm