Build Information
Failed to build SwiftFormat, reference 0.56.4 (6ebb96
), with Swift 6.1 for Android on 15 Jun 2025 19:01:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
15 | options: ["linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/MarkTypes.swift:12:16: warning: static property 'markTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let markTypes = FormatRule(
| |- warning: static property 'markTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'markTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Add a MARK comment before top-level types and extensions.",
14 | runOnceOnly: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/ModifierOrder.swift:13:16: warning: static property 'modifierOrder' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Standardise the order of property modifiers
13 | static let modifierOrder = FormatRule(
| |- warning: static property 'modifierOrder' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'modifierOrder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use consistent ordering for member modifiers.",
15 | options: ["modifierorder"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/NoExplicitOwnership.swift:12:16: warning: static property 'noExplicitOwnership' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let noExplicitOwnership = FormatRule(
| |- warning: static property 'noExplicitOwnership' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noExplicitOwnership' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Don't use explicit ownership modifiers (borrowing / consuming).",
14 | disabledByDefault: true
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/NumberFormatting.swift:13:16: warning: static property 'numberFormatting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Standardize formatting of numeric literals
13 | static let numberFormatting = FormatRule(
| |- warning: static property 'numberFormatting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberFormatting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Use consistent grouping for numeric literals. Groups will be separated by `_`
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/OpaqueGenericParameters.swift:12:16: warning: static property 'opaqueGenericParameters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let opaqueGenericParameters = FormatRule(
| |- warning: static property 'opaqueGenericParameters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'opaqueGenericParameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use opaque generic parameters (`some Protocol`) instead of generic parameters
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/OrganizeDeclarations.swift:12:16: warning: static property 'organizeDeclarations' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let organizeDeclarations = FormatRule(
| |- warning: static property 'organizeDeclarations' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'organizeDeclarations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Organize declarations within class, struct, enum, actor, and extension bodies.",
14 | runOnceOnly: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferCountWhere.swift:12:16: warning: static property 'preferCountWhere' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferCountWhere = FormatRule(
| |- warning: static property 'preferCountWhere' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferCountWhere' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer `count(where:)` over `filter(_:).count`.")
14 | { formatter in
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferForLoop.swift:12:16: warning: static property 'preferForLoop' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferForLoop = FormatRule(
| |- warning: static property 'preferForLoop' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferForLoop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Convert functional `forEach` calls to for loops.",
14 | options: ["anonymousforeach", "inlinedforeach"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferKeyPath.swift:12:16: warning: static property 'preferKeyPath' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferKeyPath = FormatRule(
| |- warning: static property 'preferKeyPath' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferKeyPath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Convert trivial `map { $0.foo }` closures to keyPath-based syntax."
14 | ) { formatter in
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferSwiftTesting.swift:12:16: warning: static property 'preferSwiftTesting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferSwiftTesting = FormatRule(
| |- warning: static property 'preferSwiftTesting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferSwiftTesting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer the Swift Testing library over XCTest.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PrivateStateVariables.swift:12:16: warning: static property 'privateStateVariables' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let privateStateVariables = FormatRule(
| |- warning: static property 'privateStateVariables' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'privateStateVariables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Adds `private` access control to @State properties without existing access control modifiers.",
14 | disabledByDefault: true
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PropertyTypes.swift:12:16: warning: static property 'propertyTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let propertyTypes = FormatRule(
| |- warning: static property 'propertyTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'propertyTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Convert property declarations to use inferred types (`let foo = Foo()`) or explicit types (`let foo: Foo = .init()`).",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/Indent.swift:15:16: warning: static property 'indent' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The type (tab or space) and level (2 spaces, 4 spaces, etc.) of the
14 | /// indenting can be configured with the `options` parameter of the formatter.
15 | static let indent = FormatRule(
| |- warning: static property 'indent' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: "Indent code in accordance with the scope level.",
17 | orderAfter: [.trailingSpace, .wrap, .wrapArguments],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/InitCoderUnavailable.swift:13:16: warning: static property 'initCoderUnavailable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Add @available(*, unavailable) to init?(coder aDecoder: NSCoder)
13 | static let initCoderUnavailable = FormatRule(
| |- warning: static property 'initCoderUnavailable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initCoderUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Add `@available(*, unavailable)` attribute to required `init(coder:)` when
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/IsEmpty.swift:13:16: warning: static property 'isEmpty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Replace count == 0 with isEmpty
13 | static let isEmpty = FormatRule(
| |- warning: static property 'isEmpty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'isEmpty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer `isEmpty` over comparing `count` against zero.",
15 | disabledByDefault: true
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/LeadingDelimiters.swift:12:16: warning: static property 'leadingDelimiters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let leadingDelimiters = FormatRule(
| |- warning: static property 'leadingDelimiters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leadingDelimiters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Move leading delimiters to the end of the previous line.",
14 | sharedOptions: ["linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/LinebreakAtEndOfFile.swift:14:16: warning: static property 'linebreakAtEndOfFile' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Always end file with a linebreak, to avoid incompatibility with certain unix tools:
13 | /// http://stackoverflow.com/questions/2287967/why-is-it-recommended-to-have-empty-line-in-the-end-of-file
14 | static let linebreakAtEndOfFile = FormatRule(
| |- warning: static property 'linebreakAtEndOfFile' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'linebreakAtEndOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | help: "Add empty blank line at end of file.",
16 | sharedOptions: ["linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/Linebreaks.swift:13:16: warning: static property 'linebreaks' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Standardise linebreak characters as whatever is specified in the options (\n by default)
13 | static let linebreaks = FormatRule(
| |- warning: static property 'linebreaks' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'linebreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified linebreak character for all linebreaks (CR, LF or CRLF).",
15 | options: ["linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/MarkTypes.swift:12:16: warning: static property 'markTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let markTypes = FormatRule(
| |- warning: static property 'markTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'markTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Add a MARK comment before top-level types and extensions.",
14 | runOnceOnly: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/ModifierOrder.swift:13:16: warning: static property 'modifierOrder' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Standardise the order of property modifiers
13 | static let modifierOrder = FormatRule(
| |- warning: static property 'modifierOrder' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'modifierOrder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use consistent ordering for member modifiers.",
15 | options: ["modifierorder"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/NoExplicitOwnership.swift:12:16: warning: static property 'noExplicitOwnership' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let noExplicitOwnership = FormatRule(
| |- warning: static property 'noExplicitOwnership' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noExplicitOwnership' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Don't use explicit ownership modifiers (borrowing / consuming).",
14 | disabledByDefault: true
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/NumberFormatting.swift:13:16: warning: static property 'numberFormatting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Standardize formatting of numeric literals
13 | static let numberFormatting = FormatRule(
| |- warning: static property 'numberFormatting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberFormatting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Use consistent grouping for numeric literals. Groups will be separated by `_`
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/OpaqueGenericParameters.swift:12:16: warning: static property 'opaqueGenericParameters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let opaqueGenericParameters = FormatRule(
| |- warning: static property 'opaqueGenericParameters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'opaqueGenericParameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use opaque generic parameters (`some Protocol`) instead of generic parameters
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/OrganizeDeclarations.swift:12:16: warning: static property 'organizeDeclarations' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let organizeDeclarations = FormatRule(
| |- warning: static property 'organizeDeclarations' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'organizeDeclarations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Organize declarations within class, struct, enum, actor, and extension bodies.",
14 | runOnceOnly: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferCountWhere.swift:12:16: warning: static property 'preferCountWhere' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferCountWhere = FormatRule(
| |- warning: static property 'preferCountWhere' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferCountWhere' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer `count(where:)` over `filter(_:).count`.")
14 | { formatter in
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferForLoop.swift:12:16: warning: static property 'preferForLoop' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferForLoop = FormatRule(
| |- warning: static property 'preferForLoop' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferForLoop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Convert functional `forEach` calls to for loops.",
14 | options: ["anonymousforeach", "inlinedforeach"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferKeyPath.swift:12:16: warning: static property 'preferKeyPath' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferKeyPath = FormatRule(
| |- warning: static property 'preferKeyPath' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferKeyPath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Convert trivial `map { $0.foo }` closures to keyPath-based syntax."
14 | ) { formatter in
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferSwiftTesting.swift:12:16: warning: static property 'preferSwiftTesting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferSwiftTesting = FormatRule(
| |- warning: static property 'preferSwiftTesting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferSwiftTesting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer the Swift Testing library over XCTest.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PrivateStateVariables.swift:12:16: warning: static property 'privateStateVariables' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let privateStateVariables = FormatRule(
| |- warning: static property 'privateStateVariables' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'privateStateVariables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Adds `private` access control to @State properties without existing access control modifiers.",
14 | disabledByDefault: true
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PropertyTypes.swift:12:16: warning: static property 'propertyTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let propertyTypes = FormatRule(
| |- warning: static property 'propertyTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'propertyTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Convert property declarations to use inferred types (`let foo = Foo()`) or explicit types (`let foo: Foo = .init()`).",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/Indent.swift:15:16: warning: static property 'indent' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// The type (tab or space) and level (2 spaces, 4 spaces, etc.) of the
14 | /// indenting can be configured with the `options` parameter of the formatter.
15 | static let indent = FormatRule(
| |- warning: static property 'indent' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | help: "Indent code in accordance with the scope level.",
17 | orderAfter: [.trailingSpace, .wrap, .wrapArguments],
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/InitCoderUnavailable.swift:13:16: warning: static property 'initCoderUnavailable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Add @available(*, unavailable) to init?(coder aDecoder: NSCoder)
13 | static let initCoderUnavailable = FormatRule(
| |- warning: static property 'initCoderUnavailable' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initCoderUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Add `@available(*, unavailable)` attribute to required `init(coder:)` when
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/IsEmpty.swift:13:16: warning: static property 'isEmpty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Replace count == 0 with isEmpty
13 | static let isEmpty = FormatRule(
| |- warning: static property 'isEmpty' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'isEmpty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Prefer `isEmpty` over comparing `count` against zero.",
15 | disabledByDefault: true
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/LeadingDelimiters.swift:12:16: warning: static property 'leadingDelimiters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let leadingDelimiters = FormatRule(
| |- warning: static property 'leadingDelimiters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leadingDelimiters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Move leading delimiters to the end of the previous line.",
14 | sharedOptions: ["linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/LinebreakAtEndOfFile.swift:14:16: warning: static property 'linebreakAtEndOfFile' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Always end file with a linebreak, to avoid incompatibility with certain unix tools:
13 | /// http://stackoverflow.com/questions/2287967/why-is-it-recommended-to-have-empty-line-in-the-end-of-file
14 | static let linebreakAtEndOfFile = FormatRule(
| |- warning: static property 'linebreakAtEndOfFile' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'linebreakAtEndOfFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | help: "Add empty blank line at end of file.",
16 | sharedOptions: ["linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/Linebreaks.swift:13:16: warning: static property 'linebreaks' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Standardise linebreak characters as whatever is specified in the options (\n by default)
13 | static let linebreaks = FormatRule(
| |- warning: static property 'linebreaks' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'linebreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use specified linebreak character for all linebreaks (CR, LF or CRLF).",
15 | options: ["linebreaks"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/MarkTypes.swift:12:16: warning: static property 'markTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let markTypes = FormatRule(
| |- warning: static property 'markTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'markTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Add a MARK comment before top-level types and extensions.",
14 | runOnceOnly: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/ModifierOrder.swift:13:16: warning: static property 'modifierOrder' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Standardise the order of property modifiers
13 | static let modifierOrder = FormatRule(
| |- warning: static property 'modifierOrder' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'modifierOrder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: "Use consistent ordering for member modifiers.",
15 | options: ["modifierorder"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/NoExplicitOwnership.swift:12:16: warning: static property 'noExplicitOwnership' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let noExplicitOwnership = FormatRule(
| |- warning: static property 'noExplicitOwnership' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noExplicitOwnership' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Don't use explicit ownership modifiers (borrowing / consuming).",
14 | disabledByDefault: true
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/NumberFormatting.swift:13:16: warning: static property 'numberFormatting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension FormatRule {
12 | /// Standardize formatting of numeric literals
13 | static let numberFormatting = FormatRule(
| |- warning: static property 'numberFormatting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberFormatting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | help: """
15 | Use consistent grouping for numeric literals. Groups will be separated by `_`
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/OpaqueGenericParameters.swift:12:16: warning: static property 'opaqueGenericParameters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let opaqueGenericParameters = FormatRule(
| |- warning: static property 'opaqueGenericParameters' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'opaqueGenericParameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: """
14 | Use opaque generic parameters (`some Protocol`) instead of generic parameters
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/OrganizeDeclarations.swift:12:16: warning: static property 'organizeDeclarations' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let organizeDeclarations = FormatRule(
| |- warning: static property 'organizeDeclarations' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'organizeDeclarations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Organize declarations within class, struct, enum, actor, and extension bodies.",
14 | runOnceOnly: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferCountWhere.swift:12:16: warning: static property 'preferCountWhere' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferCountWhere = FormatRule(
| |- warning: static property 'preferCountWhere' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferCountWhere' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer `count(where:)` over `filter(_:).count`.")
14 | { formatter in
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferForLoop.swift:12:16: warning: static property 'preferForLoop' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferForLoop = FormatRule(
| |- warning: static property 'preferForLoop' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferForLoop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Convert functional `forEach` calls to for loops.",
14 | options: ["anonymousforeach", "inlinedforeach"]
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferKeyPath.swift:12:16: warning: static property 'preferKeyPath' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferKeyPath = FormatRule(
| |- warning: static property 'preferKeyPath' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferKeyPath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Convert trivial `map { $0.foo }` closures to keyPath-based syntax."
14 | ) { formatter in
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PreferSwiftTesting.swift:12:16: warning: static property 'preferSwiftTesting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let preferSwiftTesting = FormatRule(
| |- warning: static property 'preferSwiftTesting' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preferSwiftTesting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Prefer the Swift Testing library over XCTest.",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PrivateStateVariables.swift:12:16: warning: static property 'privateStateVariables' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let privateStateVariables = FormatRule(
| |- warning: static property 'privateStateVariables' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'privateStateVariables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Adds `private` access control to @State properties without existing access control modifiers.",
14 | disabledByDefault: true
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
/host/spi-builder-workspace/Sources/Rules/PropertyTypes.swift:12:16: warning: static property 'propertyTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public extension FormatRule {
12 | static let propertyTypes = FormatRule(
| |- warning: static property 'propertyTypes' is not concurrency-safe because non-'Sendable' type 'FormatRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'propertyTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | help: "Convert property declarations to use inferred types (`let foo = Foo()`) or explicit types (`let foo: Foo = .init()`).",
14 | disabledByDefault: true,
/host/spi-builder-workspace/Sources/FormatRule.swift:34:20: note: class 'FormatRule' does not conform to the 'Sendable' protocol
32 | import Foundation
33 |
34 | public final class FormatRule: Hashable, Comparable, CustomStringConvertible {
| `- note: class 'FormatRule' does not conform to the 'Sendable' protocol
35 | static let unnamedRule = "[unnamed rule]"
36 |
[293/298] Wrapping AST for SwiftFormat for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[296/300] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
[297/300] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:d4adec85e5c000fff132a1b0de73467182c76318cbb55cea6ebedacb1b3c4ef0
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/6] Write swift-version-24593BA9C3E375BF.txt
[3/258] Compiling SwiftFormat RedundantBreak.swift
[4/258] Compiling SwiftFormat RedundantClosure.swift
[5/258] Compiling SwiftFormat RedundantEquatable.swift
[6/258] Compiling SwiftFormat RedundantExtensionACL.swift
[7/258] Compiling SwiftFormat RedundantFileprivate.swift
[8/258] Compiling SwiftFormat RedundantGet.swift
[9/258] Compiling SwiftFormat RedundantInit.swift
[10/258] Compiling SwiftFormat RedundantInternal.swift
[11/258] Compiling SwiftFormat RedundantLet.swift
[12/258] Compiling SwiftFormat RedundantLetError.swift
[13/258] Compiling SwiftFormat RedundantNilInit.swift
[14/258] Compiling SwiftFormat RedundantObjc.swift
[15/258] Compiling SwiftFormat RedundantOptionalBinding.swift
[16/258] Compiling SwiftFormat RedundantParens.swift
[17/258] Compiling SwiftFormat RedundantPattern.swift
[18/258] Compiling SwiftFormat RedundantProperty.swift
[19/258] Compiling SwiftFormat RedundantRawValues.swift
[20/275] Compiling SwiftFormat InitCoderUnavailable.swift
[21/275] Compiling SwiftFormat IsEmpty.swift
[22/275] Compiling SwiftFormat LeadingDelimiters.swift
[23/275] Compiling SwiftFormat LinebreakAtEndOfFile.swift
[24/275] Compiling SwiftFormat Linebreaks.swift
[25/275] Compiling SwiftFormat MarkTypes.swift
[26/275] Compiling SwiftFormat ModifierOrder.swift
[27/275] Compiling SwiftFormat NoExplicitOwnership.swift
[28/275] Compiling SwiftFormat NumberFormatting.swift
[29/275] Compiling SwiftFormat OpaqueGenericParameters.swift
[30/275] Compiling SwiftFormat OrganizeDeclarations.swift
[31/275] Compiling SwiftFormat PreferCountWhere.swift
[32/275] Compiling SwiftFormat BlankLinesBetweenImports.swift
[33/275] Compiling SwiftFormat BlankLinesBetweenScopes.swift
[34/275] Compiling SwiftFormat BlockComments.swift
[35/275] Compiling SwiftFormat Braces.swift
[36/275] Compiling SwiftFormat ConditionalAssignment.swift
[37/275] Compiling SwiftFormat ConsecutiveBlankLines.swift
[38/275] Compiling SwiftFormat RedundantReturn.swift
[39/275] Compiling SwiftFormat RedundantSelf.swift
[40/275] Compiling SwiftFormat RedundantStaticSelf.swift
[41/275] Compiling SwiftFormat RedundantType.swift
[42/275] Compiling SwiftFormat RedundantTypedThrows.swift
[43/275] Compiling SwiftFormat RedundantVoidReturnType.swift
[44/275] Compiling SwiftFormat Semicolons.swift
[45/275] Compiling SwiftFormat SortDeclarations.swift
[46/275] Compiling SwiftFormat BlankLinesAtEndOfScope.swift
[47/275] Compiling SwiftFormat BlankLinesAtStartOfScope.swift
[48/275] Compiling SwiftFormat BlankLinesBetweenChainedFunctions.swift
[49/275] Compiling SwiftFormat SortedImports.swift
[50/275] Compiling SwiftFormat SortedSwitchCases.swift
[51/275] Compiling SwiftFormat BlockComments.swift
[52/275] Compiling SwiftFormat Braces.swift
[53/275] Compiling SwiftFormat ConditionalAssignment.swift
[54/275] Compiling SwiftFormat ConsecutiveBlankLines.swift
[55/275] Compiling SwiftFormat RedundantBackticks.swift
[74/292] Compiling SwiftFormat SpaceAroundParens.swift
[75/292] Compiling SwiftFormat SpaceInsideBraces.swift
[76/292] Compiling SwiftFormat SpaceInsideBrackets.swift
[77/292] Compiling SwiftFormat SpaceInsideComments.swift
[78/292] Compiling SwiftFormat SpaceInsideGenerics.swift
[79/292] Compiling SwiftFormat SpaceInsideParens.swift
[80/292] Compiling SwiftFormat Specifiers.swift
[81/292] Compiling SwiftFormat StrongOutlets.swift
[82/292] Compiling SwiftFormat StrongifiedSelf.swift
[83/292] Compiling SwiftFormat SwiftTestingTestCaseNames.swift
[84/292] Compiling SwiftFormat Todos.swift
[85/292] Compiling SwiftFormat TrailingClosures.swift
[86/292] Compiling SwiftFormat TrailingCommas.swift
[87/292] Compiling SwiftFormat TrailingSpace.swift
[88/292] Compiling SwiftFormat TypeSugar.swift
[89/292] Compiling SwiftFormat UnusedArguments.swift
[90/292] Compiling SwiftFormat UnusedPrivateDeclarations.swift
[91/292] Compiling SwiftFormat RedundantReturn.swift
[92/292] Compiling SwiftFormat RedundantSelf.swift
[93/292] Compiling SwiftFormat RedundantStaticSelf.swift
[94/292] Compiling SwiftFormat RedundantType.swift
[95/292] Compiling SwiftFormat RedundantTypedThrows.swift
[96/292] Compiling SwiftFormat RedundantVoidReturnType.swift
[97/292] Compiling SwiftFormat Semicolons.swift
[98/292] Compiling SwiftFormat SortDeclarations.swift
[99/292] Compiling SwiftFormat SortImports.swift
[100/292] Compiling SwiftFormat SortSwitchCases.swift
[101/292] Compiling SwiftFormat SortTypealiases.swift
[102/292] Compiling SwiftFormat SortedImports.swift
[103/292] Compiling SwiftFormat SortedSwitchCases.swift
[104/292] Compiling SwiftFormat SpaceAroundBraces.swift
[105/292] Compiling SwiftFormat SpaceAroundBrackets.swift
[106/292] Compiling SwiftFormat SpaceAroundComments.swift
[107/292] Compiling SwiftFormat SpaceAroundGenerics.swift
[108/292] Compiling SwiftFormat SpaceAroundOperators.swift
[109/292] Compiling SwiftFormat ConsecutiveSpaces.swift
[110/292] Compiling SwiftFormat ConsistentSwitchCaseSpacing.swift
[111/292] Compiling SwiftFormat DocComments.swift
[112/292] Compiling SwiftFormat DocCommentsBeforeModifiers.swift
[113/292] Compiling SwiftFormat DuplicateImports.swift
[114/292] Compiling SwiftFormat ElseOnSameLine.swift
[115/292] Compiling SwiftFormat EmptyBraces.swift
[116/292] Compiling SwiftFormat EmptyExtensions.swift
[117/292] Compiling SwiftFormat EnumNamespaces.swift
[118/292] Compiling SwiftFormat EnvironmentEntry.swift
[119/292] Compiling SwiftFormat ExtensionAccessControl.swift
[120/292] Compiling SwiftFormat FileHeader.swift
[121/292] Compiling SwiftFormat FileMacro.swift
[122/292] Compiling SwiftFormat GenericExtensions.swift
[123/292] Compiling SwiftFormat HeaderFileName.swift
[124/292] Compiling SwiftFormat HoistAwait.swift
[125/292] Compiling SwiftFormat HoistPatternLet.swift
[126/292] Compiling SwiftFormat HoistTry.swift
[145/292] Compiling SwiftFormat Indent.swift
[163/292] Emitting module SwiftFormat
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[219/292] Compiling SwiftFormat Void.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[220/292] Compiling SwiftFormat Wrap.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[221/292] Compiling SwiftFormat WrapArguments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[222/292] Compiling SwiftFormat WrapAttributes.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[223/292] Compiling SwiftFormat WrapConditionalBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[224/292] Compiling SwiftFormat WrapEnumCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[225/292] Compiling SwiftFormat WrapLoopBodies.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[226/292] Compiling SwiftFormat WrapMultilineConditionalAssignment.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[227/292] Compiling SwiftFormat WrapMultilineFunctionChains.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[228/292] Compiling SwiftFormat WrapMultilineStatementBraces.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[229/292] Compiling SwiftFormat WrapSingleLineComments.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[230/292] Compiling SwiftFormat WrapSwitchCases.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[231/292] Compiling SwiftFormat YodaConditions.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[232/292] Compiling SwiftFormat Singularize.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[233/292] Compiling SwiftFormat SwiftFormat.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[234/292] Compiling SwiftFormat Tokenizer.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[235/292] Compiling SwiftFormat XMLReporter.swift
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:139:13: warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | func onComplete(_ block: @escaping () throws -> Void) {
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
| `- warning: mutation of captured var 'completionBlocks' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | }
141 | }
/host/spi-builder-workspace/Sources/SwiftFormat.swift:194:10: warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
192 | }
193 |
194 | func enumerate(inputURL: URL,
| `- warning: concurrently-executed local function 'enumerate(inputURL:outputURL:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
195 | outputURL: URL?,
196 | options: Options)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:145:10: warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
143 | let queue = concurrent ? DispatchQueue.global(qos: .userInitiated) : completionQueue
144 |
145 | func resolveInputURL(_ inputURL: URL, options: Options) -> (URL, URLResourceValues, Options)? {
| `- warning: concurrently-executed local function 'resolveInputURL(_:options:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
146 | let fileOptions = options.fileOptions ?? .default
147 | let inputURL = inputURL.standardizedFileURL
/host/spi-builder-workspace/Sources/SwiftFormat.swift:137:10: warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
135 | var completionBlocks = [() throws -> Void]()
136 | let completionQueue = DispatchQueue(label: "swiftformat.enumeration")
137 | func onComplete(_ block: @escaping () throws -> Void) {
| `- warning: concurrently-executed local function 'onComplete' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
138 | completionQueue.async(group: group) {
139 | completionBlocks.append(block)
/host/spi-builder-workspace/Sources/SwiftFormat.swift:351:33: warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
349 | }
350 | configQueue.async {
351 | configCache[inputURL] = args
| `- warning: reference to captured var 'args' in concurrently-executing code; this is an error in the Swift 6 language mode
352 | }
353 | assert(options.formatOptions != nil)
[253/292] Compiling SwiftFormat Arguments.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[254/292] Compiling SwiftFormat CommandLine.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[255/292] Compiling SwiftFormat Declaration.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[256/292] Compiling SwiftFormat DeclarationType.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[257/292] Compiling SwiftFormat EnumAssociable.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[258/292] Compiling SwiftFormat FormatRule.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[259/292] Compiling SwiftFormat Formatter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[260/292] Compiling SwiftFormat FormattingHelpers.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[261/292] Compiling SwiftFormat GitFileInfo.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[262/292] Compiling SwiftFormat GithubActionsLogReporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[263/292] Compiling SwiftFormat Globs.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[264/292] Compiling SwiftFormat Inference.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[265/292] Compiling SwiftFormat JSONReporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[266/292] Compiling SwiftFormat OptionDescriptor.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[267/292] Compiling SwiftFormat Options.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[268/292] Compiling SwiftFormat ParsingHelpers.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[269/292] Compiling SwiftFormat Reporter.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[270/292] Compiling SwiftFormat RuleRegistry.generated.swift
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
/host/spi-builder-workspace/Sources/CommandLine.swift:682:14: warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
680 | var input: String?
681 | var status = Status.idle
682 | func processFromStdin() {
| `- warning: concurrently-executed local function 'processFromStdin()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
683 | status = .started
684 | while let line = CLI.readLine() {
[290/294] Wrapping AST for SwiftFormat for debugging
[292/298] Emitting module CommandLineTool
[293/298] Compiling CommandLineTool main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[294/298] Emitting module CommandLineTool
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
[295/298] Compiling CommandLineTool main.swift
/host/spi-builder-workspace/CommandLineTool/main.swift:65:27: error: cannot find 'isatty' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'isatty' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
/host/spi-builder-workspace/CommandLineTool/main.swift:65:34: error: cannot find 'STDERR_FILENO' in scope
63 | private var stderr = FileHandleOutputStream(filehandle: .standardError)
64 |
65 | private let stderrIsTTY = isatty(STDERR_FILENO) != 0
| `- error: cannot find 'STDERR_FILENO' in scope
66 |
67 | private let printQueue = DispatchQueue(label: "swiftformat.print")
BUILD FAILURE 6.1 android