Build Information
Successful build of SwiftLint, reference main (ad23d0
), with Swift 6.1 for Linux on 1 May 2025 09:30:31 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[2105/2155] Compiling SwiftLintFramework LinterCache.swift
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:13: warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
206 |
207 | /// Represents a file that can be linted for style violations and corrections after being collected.
208 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
209 | /// The file to lint with this linter.
210 | public let file: SwiftLintFile
:
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[2106/2155] Compiling SwiftLintFramework ReportersList.swift
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:13: warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
206 |
207 | /// Represents a file that can be linted for style violations and corrections after being collected.
208 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
209 | /// The file to lint with this linter.
210 | public let file: SwiftLintFile
:
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[2114/2161] Wrapping AST for SwiftLintFramework for debugging
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:114:22: warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 | }
113 |
114 | return files.parallelFilterGroup { file in
| `- warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | let fileConfiguration = configuration(for: file)
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:115:37: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |
114 | return files.parallelFilterGroup { file in
115 | let fileConfiguration = configuration(for: file)
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
117 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:8:24: warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension Configuration {
7 | // MARK: Caching Configurations By Identifier (In-Memory)
8 | private static var cachedConfigurationsByIdentifier = [String: Configuration]()
| |- warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedConfigurationsByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedConfigurationsByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | private static let cachedConfigurationsByIdentifierLock = NSLock()
10 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:41:24: warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // MARK: Nested Config Is Self Cache
41 | private static var nestedConfigIsSelfByIdentifier = [String: Bool]()
| |- warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nestedConfigIsSelfByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nestedConfigIsSelfByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private static let nestedConfigIsSelfByIdentifierLock = NSLock()
43 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | forceExclude: Bool,
41 | excludeBy: ExcludeBy,
42 | fileManager: some LintableFileManager = FileManager.default
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
43 | ) -> [String] {
44 | if fileManager.isFile(atPath: path) {
:
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | ///
114 | /// - returns: The expanded excluded file paths.
115 | public func excludedPaths(fileManager: some LintableFileManager = FileManager.default) -> [String] {
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:114:22: warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 | }
113 |
114 | return files.parallelFilterGroup { file in
| `- warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | let fileConfiguration = configuration(for: file)
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:115:37: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |
114 | return files.parallelFilterGroup { file in
115 | let fileConfiguration = configuration(for: file)
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
117 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:8:24: warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension Configuration {
7 | // MARK: Caching Configurations By Identifier (In-Memory)
8 | private static var cachedConfigurationsByIdentifier = [String: Configuration]()
| |- warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedConfigurationsByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedConfigurationsByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | private static let cachedConfigurationsByIdentifierLock = NSLock()
10 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:41:24: warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // MARK: Nested Config Is Self Cache
41 | private static var nestedConfigIsSelfByIdentifier = [String: Bool]()
| |- warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nestedConfigIsSelfByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nestedConfigIsSelfByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private static let nestedConfigIsSelfByIdentifierLock = NSLock()
43 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | forceExclude: Bool,
41 | excludeBy: ExcludeBy,
42 | fileManager: some LintableFileManager = FileManager.default
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
43 | ) -> [String] {
44 | if fileManager.isFile(atPath: path) {
:
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | ///
114 | /// - returns: The expanded excluded file paths.
115 | public func excludedPaths(fileManager: some LintableFileManager = FileManager.default) -> [String] {
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:114:22: warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 | }
113 |
114 | return files.parallelFilterGroup { file in
| `- warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | let fileConfiguration = configuration(for: file)
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:115:37: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |
114 | return files.parallelFilterGroup { file in
115 | let fileConfiguration = configuration(for: file)
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
117 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:8:24: warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension Configuration {
7 | // MARK: Caching Configurations By Identifier (In-Memory)
8 | private static var cachedConfigurationsByIdentifier = [String: Configuration]()
| |- warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedConfigurationsByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedConfigurationsByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | private static let cachedConfigurationsByIdentifierLock = NSLock()
10 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:41:24: warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // MARK: Nested Config Is Self Cache
41 | private static var nestedConfigIsSelfByIdentifier = [String: Bool]()
| |- warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nestedConfigIsSelfByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nestedConfigIsSelfByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private static let nestedConfigIsSelfByIdentifierLock = NSLock()
43 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | forceExclude: Bool,
41 | excludeBy: ExcludeBy,
42 | fileManager: some LintableFileManager = FileManager.default
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
43 | ) -> [String] {
44 | if fileManager.isFile(atPath: path) {
:
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | ///
114 | /// - returns: The expanded excluded file paths.
115 | public func excludedPaths(fileManager: some LintableFileManager = FileManager.default) -> [String] {
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:114:22: warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 | }
113 |
114 | return files.parallelFilterGroup { file in
| `- warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | let fileConfiguration = configuration(for: file)
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:115:37: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |
114 | return files.parallelFilterGroup { file in
115 | let fileConfiguration = configuration(for: file)
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
117 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:8:24: warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension Configuration {
7 | // MARK: Caching Configurations By Identifier (In-Memory)
8 | private static var cachedConfigurationsByIdentifier = [String: Configuration]()
| |- warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedConfigurationsByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedConfigurationsByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | private static let cachedConfigurationsByIdentifierLock = NSLock()
10 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:41:24: warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // MARK: Nested Config Is Self Cache
41 | private static var nestedConfigIsSelfByIdentifier = [String: Bool]()
| |- warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nestedConfigIsSelfByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nestedConfigIsSelfByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private static let nestedConfigIsSelfByIdentifierLock = NSLock()
43 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | forceExclude: Bool,
41 | excludeBy: ExcludeBy,
42 | fileManager: some LintableFileManager = FileManager.default
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
43 | ) -> [String] {
44 | if fileManager.isFile(atPath: path) {
:
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | ///
114 | /// - returns: The expanded excluded file paths.
115 | public func excludedPaths(fileManager: some LintableFileManager = FileManager.default) -> [String] {
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:114:22: warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 | }
113 |
114 | return files.parallelFilterGroup { file in
| `- warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | let fileConfiguration = configuration(for: file)
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:115:37: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |
114 | return files.parallelFilterGroup { file in
115 | let fileConfiguration = configuration(for: file)
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
117 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:8:24: warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension Configuration {
7 | // MARK: Caching Configurations By Identifier (In-Memory)
8 | private static var cachedConfigurationsByIdentifier = [String: Configuration]()
| |- warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedConfigurationsByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedConfigurationsByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | private static let cachedConfigurationsByIdentifierLock = NSLock()
10 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:41:24: warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // MARK: Nested Config Is Self Cache
41 | private static var nestedConfigIsSelfByIdentifier = [String: Bool]()
| |- warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nestedConfigIsSelfByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nestedConfigIsSelfByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private static let nestedConfigIsSelfByIdentifierLock = NSLock()
43 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | forceExclude: Bool,
41 | excludeBy: ExcludeBy,
42 | fileManager: some LintableFileManager = FileManager.default
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
43 | ) -> [String] {
44 | if fileManager.isFile(atPath: path) {
:
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | ///
114 | /// - returns: The expanded excluded file paths.
115 | public func excludedPaths(fileManager: some LintableFileManager = FileManager.default) -> [String] {
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:114:22: warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 | }
113 |
114 | return files.parallelFilterGroup { file in
| `- warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | let fileConfiguration = configuration(for: file)
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:115:37: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |
114 | return files.parallelFilterGroup { file in
115 | let fileConfiguration = configuration(for: file)
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
117 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:8:24: warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension Configuration {
7 | // MARK: Caching Configurations By Identifier (In-Memory)
8 | private static var cachedConfigurationsByIdentifier = [String: Configuration]()
| |- warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedConfigurationsByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedConfigurationsByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | private static let cachedConfigurationsByIdentifierLock = NSLock()
10 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:41:24: warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // MARK: Nested Config Is Self Cache
41 | private static var nestedConfigIsSelfByIdentifier = [String: Bool]()
| |- warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nestedConfigIsSelfByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nestedConfigIsSelfByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private static let nestedConfigIsSelfByIdentifierLock = NSLock()
43 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | forceExclude: Bool,
41 | excludeBy: ExcludeBy,
42 | fileManager: some LintableFileManager = FileManager.default
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
43 | ) -> [String] {
44 | if fileManager.isFile(atPath: path) {
:
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | ///
114 | /// - returns: The expanded excluded file paths.
115 | public func excludedPaths(fileManager: some LintableFileManager = FileManager.default) -> [String] {
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:114:22: warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 | }
113 |
114 | return files.parallelFilterGroup { file in
| `- warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | let fileConfiguration = configuration(for: file)
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:115:37: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |
114 | return files.parallelFilterGroup { file in
115 | let fileConfiguration = configuration(for: file)
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
117 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:8:24: warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension Configuration {
7 | // MARK: Caching Configurations By Identifier (In-Memory)
8 | private static var cachedConfigurationsByIdentifier = [String: Configuration]()
| |- warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedConfigurationsByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedConfigurationsByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | private static let cachedConfigurationsByIdentifierLock = NSLock()
10 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:41:24: warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // MARK: Nested Config Is Self Cache
41 | private static var nestedConfigIsSelfByIdentifier = [String: Bool]()
| |- warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nestedConfigIsSelfByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nestedConfigIsSelfByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private static let nestedConfigIsSelfByIdentifierLock = NSLock()
43 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | forceExclude: Bool,
41 | excludeBy: ExcludeBy,
42 | fileManager: some LintableFileManager = FileManager.default
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
43 | ) -> [String] {
44 | if fileManager.isFile(atPath: path) {
:
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | ///
114 | /// - returns: The expanded excluded file paths.
115 | public func excludedPaths(fileManager: some LintableFileManager = FileManager.default) -> [String] {
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:114:22: warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 | }
113 |
114 | return files.parallelFilterGroup { file in
| `- warning: type 'Configuration' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | let fileConfiguration = configuration(for: file)
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration+CommandLine.swift:115:37: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |
114 | return files.parallelFilterGroup { file in
115 | let fileConfiguration = configuration(for: file)
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | let fileConfigurationRootPath = fileConfiguration.rootDirectory.bridge()
117 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:8:24: warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension Configuration {
7 | // MARK: Caching Configurations By Identifier (In-Memory)
8 | private static var cachedConfigurationsByIdentifier = [String: Configuration]()
| |- warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedConfigurationsByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedConfigurationsByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | private static let cachedConfigurationsByIdentifierLock = NSLock()
10 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:41:24: warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // MARK: Nested Config Is Self Cache
41 | private static var nestedConfigIsSelfByIdentifier = [String: Bool]()
| |- warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nestedConfigIsSelfByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nestedConfigIsSelfByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private static let nestedConfigIsSelfByIdentifierLock = NSLock()
43 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | forceExclude: Bool,
41 | excludeBy: ExcludeBy,
42 | fileManager: some LintableFileManager = FileManager.default
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
43 | ) -> [String] {
44 | if fileManager.isFile(atPath: path) {
:
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:60:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let includedPaths = self.includedPaths
59 | .flatMap(Glob.resolveGlob)
60 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
61 |
62 | switch excludeBy {
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:32: warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | ///
114 | /// - returns: The expanded excluded file paths.
115 | public func excludedPaths(fileManager: some LintableFileManager = FileManager.default) -> [String] {
| `- note: consider making generic parameter 'some LintableFileManager' conform to the 'Sendable' protocol
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'fileManager' with non-sendable type 'some LintableFileManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+LintableFiles.swift:118:83: warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | excludedPaths
117 | .flatMap(Glob.resolveGlob)
118 | .parallelFlatMap { fileManager.filesToLint(inPath: $0, rootDirectory: rootDirectory) }
| `- warning: capture of 'self' with non-sendable type 'Configuration' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 | }
120 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration.swift:5:15: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
3 |
4 | /// The configuration struct for SwiftLint. User-defined in the `.swiftlint.yml` file, drives the behavior of SwiftLint.
5 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
6 | // MARK: - Properties: Static
7 | /// The default Configuration resulting from an empty configuration file.
[2124/2178] Emitting module SwiftLintFramework
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:8:24: warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | extension Configuration {
7 | // MARK: Caching Configurations By Identifier (In-Memory)
8 | private static var cachedConfigurationsByIdentifier = [String: Configuration]()
| |- warning: static property 'cachedConfigurationsByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedConfigurationsByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedConfigurationsByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | private static let cachedConfigurationsByIdentifierLock = NSLock()
10 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Cache.swift:41:24: warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | // MARK: Nested Config Is Self Cache
41 | private static var nestedConfigIsSelfByIdentifier = [String: Bool]()
| |- warning: static property 'nestedConfigIsSelfByIdentifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nestedConfigIsSelfByIdentifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'nestedConfigIsSelfByIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | private static let nestedConfigIsSelfByIdentifierLock = NSLock()
43 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedNetworkResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+RulesWrapper.swift:6:28: warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | class RulesWrapper {
5 | // MARK: - Properties
6 | private static var isOptInRuleCache: [String: Bool] = [:]
| |- warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isOptInRuleCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isOptInRuleCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private static let isOptInRuleCacheLock = NSLock()
8 |
[2125/2178] Compiling swiftlint Analyze.swift
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedNetworkResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:77:17: warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
75 | // `.ephemeral` disables caching (which we don't want to be managed by the system)
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
| `- warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
78 | taskDone = true
79 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:78:17: warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
78 | taskDone = true
| `- warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | }
80 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+RulesWrapper.swift:6:28: warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | class RulesWrapper {
5 | // MARK: - Properties
6 | private static var isOptInRuleCache: [String: Bool] = [:]
| |- warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isOptInRuleCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isOptInRuleCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private static let isOptInRuleCacheLock = NSLock()
8 |
[2126/2178] Compiling swiftlint Baseline.swift
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedNetworkResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:77:17: warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
75 | // `.ephemeral` disables caching (which we don't want to be managed by the system)
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
| `- warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
78 | taskDone = true
79 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:78:17: warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
78 | taskDone = true
| `- warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | }
80 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+RulesWrapper.swift:6:28: warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | class RulesWrapper {
5 | // MARK: - Properties
6 | private static var isOptInRuleCache: [String: Bool] = [:]
| |- warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isOptInRuleCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isOptInRuleCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private static let isOptInRuleCacheLock = NSLock()
8 |
[2127/2178] Compiling swiftlint Docs.swift
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedNetworkResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:77:17: warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
75 | // `.ephemeral` disables caching (which we don't want to be managed by the system)
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
| `- warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
78 | taskDone = true
79 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:78:17: warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
78 | taskDone = true
| `- warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | }
80 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+RulesWrapper.swift:6:28: warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | class RulesWrapper {
5 | // MARK: - Properties
6 | private static var isOptInRuleCache: [String: Bool] = [:]
| |- warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isOptInRuleCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isOptInRuleCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private static let isOptInRuleCacheLock = NSLock()
8 |
[2128/2178] Compiling swiftlint GenerateDocs.swift
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedNetworkResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:77:17: warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
75 | // `.ephemeral` disables caching (which we don't want to be managed by the system)
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
| `- warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
78 | taskDone = true
79 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:78:17: warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
78 | taskDone = true
| `- warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | }
80 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+RulesWrapper.swift:6:28: warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | class RulesWrapper {
5 | // MARK: - Properties
6 | private static var isOptInRuleCache: [String: Bool] = [:]
| |- warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isOptInRuleCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isOptInRuleCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private static let isOptInRuleCacheLock = NSLock()
8 |
[2129/2178] Compiling swiftlint Lint.swift
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedNetworkResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:77:17: warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
75 | // `.ephemeral` disables caching (which we don't want to be managed by the system)
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
| `- warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
78 | taskDone = true
79 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:78:17: warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
78 | taskDone = true
| `- warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | }
80 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+RulesWrapper.swift:6:28: warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | class RulesWrapper {
5 | // MARK: - Properties
6 | private static var isOptInRuleCache: [String: Bool] = [:]
| |- warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isOptInRuleCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isOptInRuleCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private static let isOptInRuleCacheLock = NSLock()
8 |
[2130/2178] Compiling swiftlint Reporters.swift
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedNetworkResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:77:17: warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
75 | // `.ephemeral` disables caching (which we don't want to be managed by the system)
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
| `- warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
78 | taskDone = true
79 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:78:17: warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
78 | taskDone = true
| `- warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | }
80 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+RulesWrapper.swift:6:28: warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | class RulesWrapper {
5 | // MARK: - Properties
6 | private static var isOptInRuleCache: [String: Bool] = [:]
| |- warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isOptInRuleCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isOptInRuleCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private static let isOptInRuleCacheLock = NSLock()
8 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedNetworkResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:77:17: warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
75 | // `.ephemeral` disables caching (which we don't want to be managed by the system)
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
| `- warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
78 | taskDone = true
79 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:78:17: warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
78 | taskDone = true
| `- warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | }
80 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+RulesWrapper.swift:6:28: warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | class RulesWrapper {
5 | // MARK: - Properties
6 | private static var isOptInRuleCache: [String: Bool] = [:]
| |- warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isOptInRuleCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isOptInRuleCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private static let isOptInRuleCacheLock = NSLock()
8 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:26:16: warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | /// This dictionary has URLs as its keys and contents of those URLs as its values
25 | /// In production mode, this should be empty. For tests, it may be filled.
26 | static var mockedNetworkResults: [String: String] = [:]
| |- warning: static property 'mockedNetworkResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedNetworkResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedNetworkResults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // MARK: - Methods: Resolving
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:77:17: warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
75 | // `.ephemeral` disables caching (which we don't want to be managed by the system)
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
| `- warning: mutation of captured var 'taskResult' in concurrently-executing code; this is an error in the Swift 6 language mode
78 | taskDone = true
79 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+Remote.swift:78:17: warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
76 | let task = URLSession(configuration: .ephemeral).dataTask(with: url) { data, response, error in
77 | taskResult = (data, response, error)
78 | taskDone = true
| `- warning: mutation of captured var 'taskDone' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | }
80 |
/host/spi-builder-workspace/Source/SwiftLintFramework/Configuration/Configuration+RulesWrapper.swift:6:28: warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | class RulesWrapper {
5 | // MARK: - Properties
6 | private static var isOptInRuleCache: [String: Bool] = [:]
| |- warning: static property 'isOptInRuleCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isOptInRuleCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isOptInRuleCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private static let isOptInRuleCacheLock = NSLock()
8 |
[2133/2178] Compiling TestHelpers RuleDescription+Examples.swift
[2134/2178] Compiling TestHelpers RuleMock.swift
[2135/2178] Emitting module TestHelpers
[2136/2178] Compiling swiftlint Version.swift
[2137/2179] Compiling swiftlint SwiftLint.swift
[2138/2179] Compiling TestHelpers TestResources.swift
[2139/2179] Compiling swiftlint_dev SwiftLintDev.swift
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:13: warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
206 |
207 | /// Represents a file that can be linted for style violations and corrections after being collected.
208 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
209 | /// The file to lint with this linter.
210 | public let file: SwiftLintFile
:
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:13: warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
206 |
207 | /// Represents a file that can be linted for style violations and corrections after being collected.
208 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
209 | /// The file to lint with this linter.
210 | public let file: SwiftLintFile
:
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:13: warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
206 |
207 | /// Represents a file that can be linted for style violations and corrections after being collected.
208 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
209 | /// The file to lint with this linter.
210 | public let file: SwiftLintFile
:
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:13: warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
206 |
207 | /// Represents a file that can be linted for style violations and corrections after being collected.
208 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
209 | /// The file to lint with this linter.
210 | public let file: SwiftLintFile
:
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:13: warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
206 |
207 | /// Represents a file that can be linted for style violations and corrections after being collected.
208 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
209 | /// The file to lint with this linter.
210 | public let file: SwiftLintFile
:
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:13: warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
206 |
207 | /// Represents a file that can be linted for style violations and corrections after being collected.
208 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
209 | /// The file to lint with this linter.
210 | public let file: SwiftLintFile
:
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:13: warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
206 |
207 | /// Represents a file that can be linted for style violations and corrections after being collected.
208 | public struct Linter {
| `- note: consider making struct 'Linter' conform to the 'Sendable' protocol
209 | /// The file to lint with this linter.
210 | public let file: SwiftLintFile
:
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'self' with non-sendable type 'Linter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:250:53: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
248 | public func collect(into storage: RuleStorage) -> CollectedLinter {
249 | DispatchQueue.concurrentPerform(iterations: rules.count) { idx in
250 | rules[idx].collectInfo(for: file, into: storage, compilerArguments: compilerArguments)
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 | return CollectedLinter(from: self)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:310:40: warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
257 | ///
258 | /// A `CollectedLinter` is only created after a `Linter` has run its collection steps in `Linter.collect(into:)`.
259 | public struct CollectedLinter {
| `- note: consider making struct 'CollectedLinter' conform to the 'Sendable' protocol
260 | /// The file to lint with this linter.
261 | public let file: SwiftLintFile
:
308 | }) as? SuperfluousDisableCommandRule
309 | let validationResults: [LintResult] = rules.parallelCompactMap {
310 | guard $0.shouldRun(onFile: file) else {
| `- warning: capture of 'self' with non-sendable type 'CollectedLinter' in a '@Sendable' closure; this is an error in the Swift 6 language mode
311 | return nil
312 | }
/host/spi-builder-workspace/Source/SwiftLintFramework/Models/Linter.swift:315:37: warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
313 |
314 | return $0.lint(file: file, regions: regions, benchmark: benchmark,
315 | storage: storage,
| `- warning: capture of 'storage' with non-sendable type 'RuleStorage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 | superfluousDisableCommandRule: superfluousDisableCommandRule,
317 | compilerArguments: compilerArguments)
/host/spi-builder-workspace/Source/SwiftLintCore/Models/RuleStorage.swift:4:14: note: class 'RuleStorage' does not conform to the 'Sendable' protocol
2 |
3 | /// A storage mechanism for aggregating the results of `CollectingRule`s.
4 | public class RuleStorage: CustomStringConvertible {
| `- note: class 'RuleStorage' does not conform to the 'Sendable' protocol
5 | private var storage: [ObjectIdentifier: [SwiftLintFile: Any]]
6 | private let access = DispatchQueue(label: "io.realm.swiftlint.ruleStorageAccess", attributes: .concurrent)
[2154/2180] Compiling swiftlint_dev Rules+Register.swift
[2155/2180] Emitting module swiftlint_dev
[2157/2180] Compiling swiftlint RulesFilterOptions.swift
[2158/2180] Compiling swiftlint LintOrAnalyzeArguments.swift
[2159/2180] Compiling swiftlint Rules.swift
[2164/2180] Compiling swiftlint_dev Reporters+Register.swift
[2165/2180] Compiling swiftlint_dev Rules+Template.swift
[2169/2181] Emitting module swiftlint
[2170/2182] Compiling TestHelpers TestHelpers.swift
[2171/2182] Compiling TestHelpers SwiftLintTestCase.swift
[2171/2183] Wrapping AST for SwiftLintFramework for debugging
[2174/2200] Wrapping AST for swiftlint-dev for debugging
[2175/2200] Write Objects.LinkFileList
[2176/2200] Wrapping AST for swiftlint for debugging
[2177/2200] Write Objects.LinkFileList
[2179/2200] Compiling TestHelpers TestResources.swift
[2180/2200] Compiling TestHelpers RuleMock.swift
[2181/2200] Compiling TestHelpers RuleDescription+Examples.swift
[2182/2200] Emitting module TestHelpers
[2183/2200] Compiling swiftlint Docs.swift
[2184/2200] Compiling swiftlint GenerateDocs.swift
[2185/2200] Compiling swiftlint Version.swift
[2186/2200] Compiling swiftlint SwiftLint.swift
[2187/2200] Compiling swiftlint LintOrAnalyzeArguments.swift
[2188/2201] Compiling swiftlint Lint.swift
[2189/2201] Compiling swiftlint Reporters.swift
[2190/2201] Compiling swiftlint Rules.swift
[2191/2201] Emitting module swiftlint
[2192/2201] Compiling swiftlint Analyze.swift
[2193/2201] Compiling swiftlint Baseline.swift
[2194/2201] Compiling swiftlint RulesFilterOptions.swift
[2195/2202] Compiling TestHelpers SwiftLintTestCase.swift
[2196/2202] Compiling TestHelpers TestHelpers.swift
[2198/2203] Wrapping AST for swiftlint for debugging
[2199/2203] Write Objects.LinkFileList
[2200/2203] Linking swiftlint
[2201/2203] Linking swiftlint-dev
[2202/2203] Linking swiftlint-tool
Build complete! (366.65s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"exact" : [
"601.0.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "sourcekitten",
"requirement" : {
"range" : [
{
"lower_bound" : "0.37.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/SourceKitten.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.3.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
},
{
"identity" : "collectionconcurrencykit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/CollectionConcurrencyKit.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
}
],
"manifest_display_name" : "SwiftLint",
"name" : "SwiftLint",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "swiftlint",
"targets" : [
"swiftlint"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftLintFramework",
"targets" : [
"SwiftLintFramework"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftLintBuildToolPlugin",
"targets" : [
"SwiftLintBuildToolPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "SwiftLintCommandPlugin",
"targets" : [
"SwiftLintCommandPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "swiftlint-dev",
"targets" : [
"swiftlint-dev"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftLintCoreMacros",
"targets" : [
"SwiftLintCoreMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "swiftlint_dev",
"module_type" : "SwiftTarget",
"name" : "swiftlint-dev",
"path" : "Source/swiftlint-dev",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"swiftlint-dev"
],
"sources" : [
"Reporters+Register.swift",
"Rules+Register.swift",
"Rules+Template.swift",
"SwiftLintDev.swift"
],
"target_dependencies" : [
"SwiftLintFramework"
],
"type" : "executable"
},
{
"c99name" : "swiftlint",
"module_type" : "SwiftTarget",
"name" : "swiftlint",
"path" : "Source/swiftlint",
"product_dependencies" : [
"ArgumentParser",
"CollectionConcurrencyKit",
"SwiftyTextTable"
],
"product_memberships" : [
"swiftlint",
"SwiftLintBuildToolPlugin",
"SwiftLintCommandPlugin"
],
"sources" : [
"Commands/Analyze.swift",
"Commands/Baseline.swift",
"Commands/Docs.swift",
"Commands/GenerateDocs.swift",
"Commands/Lint.swift",
"Commands/Reporters.swift",
"Commands/Rules.swift",
"Commands/SwiftLint.swift",
"Commands/Version.swift",
"Common/LintOrAnalyzeArguments.swift",
"Common/RulesFilterOptions.swift"
],
"target_dependencies" : [
"SwiftLintFramework"
],
"type" : "executable"
},
{
"c99name" : "TestHelpers",
"module_type" : "SwiftTarget",
"name" : "TestHelpers",
"path" : "Tests/TestHelpers",
"sources" : [
"RuleDescription+Examples.swift",
"RuleMock.swift",
"SwiftLintTestCase.swift",
"TestHelpers.swift",
"TestResources.swift"
],
"target_dependencies" : [
"SwiftLintFramework"
],
"type" : "library"
},
{
"c99name" : "SwiftLintFramework",
"module_type" : "SwiftTarget",
"name" : "SwiftLintFramework",
"path" : "Source/SwiftLintFramework",
"product_dependencies" : [
"CollectionConcurrencyKit"
],
"product_memberships" : [
"swiftlint",
"SwiftLintFramework",
"SwiftLintBuildToolPlugin",
"SwiftLintCommandPlugin",
"swiftlint-dev"
],
"sources" : [
"Benchmark.swift",
"CompilerArgumentsExtractor.swift",
"Configuration+CommandLine.swift",
"Configuration/Configuration+Cache.swift",
"Configuration/Configuration+FileGraph.swift",
"Configuration/Configuration+FileGraphSubtypes.swift",
"Configuration/Configuration+IndentationStyle.swift",
"Configuration/Configuration+LintableFiles.swift",
"Configuration/Configuration+Merging.swift",
"Configuration/Configuration+Parsing.swift",
"Configuration/Configuration+Remote.swift",
"Configuration/Configuration+RulesMode.swift",
"Configuration/Configuration+RulesWrapper.swift",
"Configuration/Configuration.swift",
"Documentation/RuleDocumentation.swift",
"Documentation/RuleListDocumentation.swift",
"Exports.swift",
"Extensions/FileManager+SwiftLint.swift",
"Extensions/String+XML.swift",
"Extensions/String+sha256.swift",
"Helpers/ExecutableInfo.swift",
"Helpers/Glob.swift",
"Helpers/Reachability.swift",
"LintOrAnalyzeCommand.swift",
"LintableFilesVisitor.swift",
"Models/CustomRuleTimer.swift",
"Models/HashableConfigurationRuleWrapperWrapper.swift",
"Models/Linter.swift",
"Models/LinterCache.swift",
"Models/ReportersList.swift",
"Models/Version.swift",
"Models/YamlParser.swift",
"ProcessInfo+XcodeCloud.swift",
"ProgressBar.swift",
"Reporters/CSVReporter.swift",
"Reporters/CheckstyleReporter.swift",
"Reporters/CodeClimateReporter.swift",
"Reporters/EmojiReporter.swift",
"Reporters/GitHubActionsLoggingReporter.swift",
"Reporters/GitLabJUnitReporter.swift",
"Reporters/HTMLReporter.swift",
"Reporters/JSONReporter.swift",
"Reporters/JUnitReporter.swift",
"Reporters/MarkdownReporter.swift",
"Reporters/RelativePathReporter.swift",
"Reporters/Reporter.swift",
"Reporters/SARIFReporter.swift",
"Reporters/SonarQubeReporter.swift",
"Reporters/SummaryReporter.swift",
"Reporters/XcodeReporter.swift",
"Rules/CoreRules.swift",
"Rules/CustomRules.swift",
"Rules/SuperfluousDisableCommandRule.swift",
"RulesFilter.swift",
"Signposts.swift",
"SwiftLintError.swift",
"SwiftPMCompilationDB.swift",
"UpdateChecker.swift"
],
"target_dependencies" : [
"SwiftLintBuiltInRules",
"SwiftLintCore",
"SwiftLintExtraRules"
],
"type" : "library"
},
{
"c99name" : "SwiftLintExtraRules",
"module_type" : "SwiftTarget",
"name" : "SwiftLintExtraRules",
"path" : "Source/SwiftLintExtraRules",
"product_memberships" : [
"swiftlint",
"SwiftLintFramework",
"SwiftLintBuildToolPlugin",
"SwiftLintCommandPlugin",
"swiftlint-dev"
],
"sources" : [
"Exports.swift",
"ExtraRules.swift"
],
"target_dependencies" : [
"SwiftLintCore"
],
"type" : "library"
},
{
"c99name" : "SwiftLintCoreMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftLintCoreMacros",
"path" : "Source/SwiftLintCoreMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"swiftlint",
"SwiftLintFramework",
"SwiftLintBuildToolPlugin",
"SwiftLintCommandPlugin",
"swiftlint-dev",
"SwiftLintCoreMacros"
],
"sources" : [
"RuleConfigurationMacros.swift",
"SwiftLintCoreMacros.swift",
"SwiftSyntaxRule.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftLintCore",
"module_type" : "SwiftTarget",
"name" : "SwiftLintCore",
"path" : "Source/SwiftLintCore",
"product_dependencies" : [
"CryptoSwift",
"SourceKittenFramework",
"SwiftIDEUtils",
"SwiftOperators",
"SwiftParser",
"SwiftSyntax",
"SwiftSyntaxBuilder",
"SwiftyTextTable",
"Yams"
],
"product_memberships" : [
"swiftlint",
"SwiftLintFramework",
"SwiftLintBuildToolPlugin",
"SwiftLintCommandPlugin",
"swiftlint-dev"
],
"sources" : [
"Extensions/Array+SwiftLint.swift",
"Extensions/ByteCount+SwiftSyntax.swift",
"Extensions/Collection+Windows.swift",
"Extensions/Dictionary+SwiftLint.swift",
"Extensions/NSRange+SwiftLint.swift",
"Extensions/NSRegularExpression+SwiftLint.swift",
"Extensions/QueuedPrint.swift",
"Extensions/RandomAccessCollection+Swiftlint.swift",
"Extensions/Request+SwiftLint.swift",
"Extensions/SourceKittenDictionary+Swiftlint.swift",
"Extensions/SourceRange+SwiftLint.swift",
"Extensions/String+SwiftLint.swift",
"Extensions/StringView+SwiftLint.swift",
"Extensions/StringView+SwiftSyntax.swift",
"Extensions/SwiftDeclarationAttributeKind+Swiftlint.swift",
"Extensions/SwiftDeclarationKind+SwiftLint.swift",
"Extensions/SwiftLintFile+BodyLineCount.swift",
"Extensions/SwiftLintFile+Cache.swift",
"Extensions/SwiftLintFile+Regex.swift",
"Extensions/SwiftSyntax+SwiftLint.swift",
"Extensions/SyntaxClassification+isComment.swift",
"Extensions/SyntaxKind+SwiftLint.swift",
"Helpers/Macros.swift",
"Helpers/Stack.swift",
"Models/AccessControlLevel.swift",
"Models/Baseline.swift",
"Models/ChildOptionSeverityConfiguration.swift",
"Models/Command.swift",
"Models/ConfigurationRuleWrapper.swift",
"Models/Correction.swift",
"Models/Example.swift",
"Models/Issue.swift",
"Models/Location.swift",
"Models/Region.swift",
"Models/RuleConfigurationDescription.swift",
"Models/RuleDescription.swift",
"Models/RuleIdentifier.swift",
"Models/RuleKind.swift",
"Models/RuleList.swift",
"Models/RuleParameter.swift",
"Models/RuleRegistry.swift",
"Models/RuleStorage.swift",
"Models/SeverityConfiguration.swift",
"Models/StyleViolation.swift",
"Models/SwiftExpressionKind.swift",
"Models/SwiftLintFile.swift",
"Models/SwiftLintSyntaxMap.swift",
"Models/SwiftLintSyntaxToken.swift",
"Models/SwiftVersion.swift",
"Models/ViolationSeverity.swift",
"Protocols/ASTRule.swift",
"Protocols/CacheDescriptionProvider.swift",
"Protocols/CollectingRule.swift",
"Protocols/Rule.swift",
"Protocols/RuleConfiguration.swift",
"Protocols/SwiftSyntaxCorrectableRule.swift",
"Protocols/SwiftSyntaxRule.swift",
"Rewriters/CodeIndentingRewriter.swift",
"RuleConfigurations/RegexConfiguration.swift",
"RuleConfigurations/SeverityLevelsConfiguration.swift",
"Visitors/BodyLengthRuleVisitor.swift",
"Visitors/CodeBlockVisitor.swift",
"Visitors/CommandVisitor.swift",
"Visitors/DeclaredIdentifiersTrackingVisitor.swift",
"Visitors/ViolationsSyntaxVisitor.swift"
],
"target_dependencies" : [
"DyldWarningWorkaround",
"SwiftLintCoreMacros"
],
"type" : "library"
},
{
"c99name" : "SwiftLintCommandPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftLintCommandPlugin",
"path" : "Plugins/SwiftLintCommandPlugin",
"plugin_capability" : {
"intent" : {
"description" : "SwiftLint Command Plugin",
"type" : "custom",
"verb" : "swiftlint"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "When this command is run with the `--fix` option it may modify source files.",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"SwiftLintCommandPlugin"
],
"sources" : [
"CommandContext.swift",
"SwiftLintCommandPlugin.swift"
],
"target_dependencies" : [
"swiftlint"
],
"type" : "plugin"
},
{
"c99name" : "SwiftLintBuiltInRules",
"module_type" : "SwiftTarget",
"name" : "SwiftLintBuiltInRules",
"path" : "Source/SwiftLintBuiltInRules",
"product_memberships" : [
"swiftlint",
"SwiftLintFramework",
"SwiftLintBuildToolPlugin",
"SwiftLintCommandPlugin",
"swiftlint-dev"
],
"sources" : [
"Exports.swift",
"Extensions/SourceKittenDictionary+SwiftUI.swift",
"Helpers/LegacyFunctionRuleHelper.swift",
"Models/BuiltInRules.swift",
"Models/ImportUsage.swift",
"Rules/Idiomatic/AnonymousArgumentInMultilineClosureRule.swift",
"Rules/Idiomatic/BlockBasedKVORule.swift",
"Rules/Idiomatic/ConvenienceTypeRule.swift",
"Rules/Idiomatic/DiscouragedAssertRule.swift",
"Rules/Idiomatic/DiscouragedNoneNameRule.swift",
"Rules/Idiomatic/DiscouragedObjectLiteralRule.swift",
"Rules/Idiomatic/DiscouragedOptionalBooleanRule.swift",
"Rules/Idiomatic/DiscouragedOptionalBooleanRuleExamples.swift",
"Rules/Idiomatic/DiscouragedOptionalCollectionExamples.swift",
"Rules/Idiomatic/DiscouragedOptionalCollectionRule.swift",
"Rules/Idiomatic/DuplicateImportsRule.swift",
"Rules/Idiomatic/DuplicateImportsRuleExamples.swift",
"Rules/Idiomatic/ExplicitACLRule.swift",
"Rules/Idiomatic/ExplicitEnumRawValueRule.swift",
"Rules/Idiomatic/ExplicitInitRule.swift",
"Rules/Idiomatic/ExplicitTopLevelACLRule.swift",
"Rules/Idiomatic/ExplicitTypeInterfaceRule.swift",
"Rules/Idiomatic/ExtensionAccessModifierRule.swift",
"Rules/Idiomatic/FallthroughRule.swift",
"Rules/Idiomatic/FatalErrorMessageRule.swift",
"Rules/Idiomatic/FileNameNoSpaceRule.swift",
"Rules/Idiomatic/FileNameRule.swift",
"Rules/Idiomatic/ForWhereRule.swift",
"Rules/Idiomatic/ForceCastRule.swift",
"Rules/Idiomatic/ForceTryRule.swift",
"Rules/Idiomatic/ForceUnwrappingRule.swift",
"Rules/Idiomatic/FunctionDefaultParameterAtEndRule.swift",
"Rules/Idiomatic/GenericTypeNameRule.swift",
"Rules/Idiomatic/ImplicitlyUnwrappedOptionalRule.swift",
"Rules/Idiomatic/IsDisjointRule.swift",
"Rules/Idiomatic/JoinedDefaultParameterRule.swift",
"Rules/Idiomatic/LegacyCGGeometryFunctionsRule.swift",
"Rules/Idiomatic/LegacyConstantRule.swift",
"Rules/Idiomatic/LegacyConstantRuleExamples.swift",
"Rules/Idiomatic/LegacyConstructorRule.swift",
"Rules/Idiomatic/LegacyHashingRule.swift",
"Rules/Idiomatic/LegacyMultipleRule.swift",
"Rules/Idiomatic/LegacyNSGeometryFunctionsRule.swift",
"Rules/Idiomatic/LegacyObjcTypeRule.swift",
"Rules/Idiomatic/LegacyRandomRule.swift",
"Rules/Idiomatic/NimbleOperatorRule.swift",
"Rules/Idiomatic/NoEmptyBlockRule.swift",
"Rules/Idiomatic/NoExtensionAccessModifierRule.swift",
"Rules/Idiomatic/NoFallthroughOnlyRule.swift",
"Rules/Idiomatic/NoFallthroughOnlyRuleExamples.swift",
"Rules/Idiomatic/NoGroupingExtensionRule.swift",
"Rules/Idiomatic/NoMagicNumbersRule.swift",
"Rules/Idiomatic/ObjectLiteralRule.swift",
"Rules/Idiomatic/OneDeclarationPerFileRule.swift",
"Rules/Idiomatic/PatternMatchingKeywordsRule.swift",
"Rules/Idiomatic/PreferKeyPathRule.swift",
"Rules/Idiomatic/PreferNimbleRule.swift",
"Rules/Idiomatic/PreferTypeCheckingRule.swift",
"Rules/Idiomatic/PreferZeroOverExplicitInitRule.swift",
"Rules/Idiomatic/PrivateOverFilePrivateRule.swift",
"Rules/Idiomatic/RedundantNilCoalescingRule.swift",
"Rules/Idiomatic/RedundantObjcAttributeRule.swift",
"Rules/Idiomatic/RedundantObjcAttributeRuleExamples.swift",
"Rules/Idiomatic/RedundantOptionalInitializationRule.swift",
"Rules/Idiomatic/RedundantSetAccessControlRule.swift",
"Rules/Idiomatic/RedundantStringEnumValueRule.swift",
"Rules/Idiomatic/RedundantTypeAnnotationRule.swift",
"Rules/Idiomatic/RedundantVoidReturnRule.swift",
"Rules/Idiomatic/ReturnValueFromVoidFunctionRule.swift",
"Rules/Idiomatic/ReturnValueFromVoidFunctionRuleExamples.swift",
"Rules/Idiomatic/ShorthandOptionalBindingRule.swift",
"Rules/Idiomatic/StaticOperatorRule.swift",
"Rules/Idiomatic/StaticOverFinalClassRule.swift",
"Rules/Idiomatic/StrictFilePrivateRule.swift",
"Rules/Idiomatic/SyntacticSugarRule.swift",
"Rules/Idiomatic/SyntacticSugarRuleExamples.swift",
"Rules/Idiomatic/ToggleBoolRule.swift",
"Rules/Idiomatic/TrailingSemicolonRule.swift",
"Rules/Idiomatic/TypeNameRule.swift",
"Rules/Idiomatic/TypeNameRuleExamples.swift",
"Rules/Idiomatic/UnavailableConditionRule.swift",
"Rules/Idiomatic/UnavailableFunctionRule.swift",
"Rules/Idiomatic/UnneededBreakInSwitchRule.swift",
"Rules/Idiomatic/UnneededSynthesizedInitializerRule.swift",
"Rules/Idiomatic/UnneededSynthesizedInitializerRuleExamples.swift",
"Rules/Idiomatic/UntypedErrorInCatchRule.swift",
"Rules/Idiomatic/UnusedEnumeratedRule.swift",
"Rules/Idiomatic/VoidFunctionInTernaryConditionRule.swift",
"Rules/Idiomatic/XCTFailMessageRule.swift",
"Rules/Idiomatic/XCTSpecificMatcherRule.swift",
"Rules/Idiomatic/XCTSpecificMatcherRuleExamples.swift",
"Rules/Lint/AccessibilityLabelForImageRule.swift",
"Rules/Lint/AccessibilityLabelForImageRuleExamples.swift",
"Rules/Lint/AccessibilityTraitForButtonRule.swift",
"Rules/Lint/AccessibilityTraitForButtonRuleExamples.swift",
"Rules/Lint/ArrayInitRule.swift",
"Rules/Lint/AsyncWithoutAwaitRule.swift",
"Rules/Lint/AsyncWithoutAwaitRuleExamples.swift",
"Rules/Lint/BalancedXCTestLifecycleRule.swift",
"Rules/Lint/BlanketDisableCommandRule.swift",
"Rules/Lint/CaptureVariableRule.swift",
"Rules/Lint/ClassDelegateProtocolRule.swift",
"Rules/Lint/CommentSpacingRule.swift",
"Rules/Lint/CompilerProtocolInitRule.swift",
"Rules/Lint/DeploymentTargetRule.swift",
"Rules/Lint/DeploymentTargetRuleExamples.swift",
"Rules/Lint/DiscardedNotificationCenterObserverRule.swift",
"Rules/Lint/DiscouragedDirectInitRule.swift",
"Rules/Lint/DuplicateConditionsRule.swift",
"Rules/Lint/DuplicateEnumCasesRule.swift",
"Rules/Lint/DuplicatedKeyInDictionaryLiteralRule.swift",
"Rules/Lint/DynamicInlineRule.swift",
"Rules/Lint/EmptyXCTestMethodRule.swift",
"Rules/Lint/EmptyXCTestMethodRuleExamples.swift",
"Rules/Lint/ExpiringTodoRule.swift",
"Rules/Lint/IBInspectableInExtensionRule.swift",
"Rules/Lint/IdenticalOperandsRule.swift",
"Rules/Lint/InvalidSwiftLintCommandRule.swift",
"Rules/Lint/LocalDocCommentRule.swift",
"Rules/Lint/LowerACLThanParentRule.swift",
"Rules/Lint/MarkRule.swift",
"Rules/Lint/MarkRuleExamples.swift",
"Rules/Lint/MissingDocsRule.swift",
"Rules/Lint/MissingDocsRuleExamples.swift",
"Rules/Lint/NSLocalizedStringKeyRule.swift",
"Rules/Lint/NSLocalizedStringRequireBundleRule.swift",
"Rules/Lint/NSNumberInitAsFunctionReferenceRule.swift",
"Rules/Lint/NSObjectPreferIsEqualRule.swift",
"Rules/Lint/NSObjectPreferIsEqualRuleExamples.swift",
"Rules/Lint/NonOptionalStringDataConversionRule.swift",
"Rules/Lint/NotificationCenterDetachmentRule.swift",
"Rules/Lint/NotificationCenterDetachmentRuleExamples.swift",
"Rules/Lint/OptionalDataStringConversionRule.swift",
"Rules/Lint/OrphanedDocCommentRule.swift",
"Rules/Lint/OverriddenSuperCallRule.swift",
"Rules/Lint/OverrideInExtensionRule.swift",
"Rules/Lint/PeriodSpacingRule.swift",
"Rules/Lint/PrivateActionRule.swift",
"Rules/Lint/PrivateOutletRule.swift",
"Rules/Lint/PrivateSubjectRule.swift",
"Rules/Lint/PrivateSubjectRuleExamples.swift",
"Rules/Lint/PrivateSwiftUIStatePropertyRule.swift",
"Rules/Lint/PrivateSwiftUIStatePropertyRuleExamples.swift",
"Rules/Lint/PrivateUnitTestRule.swift",
"Rules/Lint/ProhibitedInterfaceBuilderRule.swift",
"Rules/Lint/ProhibitedSuperRule.swift",
"Rules/Lint/QuickDiscouragedCallRule.swift",
"Rules/Lint/QuickDiscouragedCallRuleExamples.swift",
"Rules/Lint/QuickDiscouragedFocusedTestRule.swift",
"Rules/Lint/QuickDiscouragedFocusedTestRuleExamples.swift",
"Rules/Lint/QuickDiscouragedPendingTestRule.swift",
"Rules/Lint/QuickDiscouragedPendingTestRuleExamples.swift",
"Rules/Lint/RawValueForCamelCasedCodableEnumRule.swift",
"Rules/Lint/RedundantSendableRule.swift",
"Rules/Lint/RequiredDeinitRule.swift",
"Rules/Lint/RequiredEnumCaseRule.swift",
"Rules/Lint/SelfInPropertyInitializationRule.swift",
"Rules/Lint/StrongIBOutletRule.swift",
"Rules/Lint/TestCaseAccessibilityRule.swift",
"Rules/Lint/TestCaseAccessibilityRuleExamples.swift",
"Rules/Lint/TodoRule.swift",
"Rules/Lint/TypesafeArrayInitRule.swift",
"Rules/Lint/UnhandledThrowingTaskRule.swift",
"Rules/Lint/UnneededOverrideRule.swift",
"Rules/Lint/UnneededOverrideRuleExamples.swift",
"Rules/Lint/UnownedVariableCaptureRule.swift",
"Rules/Lint/UnusedClosureParameterRule.swift",
"Rules/Lint/UnusedClosureParameterRuleExamples.swift",
"Rules/Lint/UnusedControlFlowLabelRule.swift",
"Rules/Lint/UnusedDeclarationRule.swift",
"Rules/Lint/UnusedDeclarationRuleExamples.swift",
"Rules/Lint/UnusedImportRule.swift",
"Rules/Lint/UnusedImportRuleExamples.swift",
"Rules/Lint/UnusedParameterRule.swift",
"Rules/Lint/UnusedSetterValueRule.swift",
"Rules/Lint/ValidIBInspectableRule.swift",
"Rules/Lint/WeakDelegateRule.swift",
"Rules/Lint/YodaConditionRule.swift",
"Rules/Metrics/ClosureBodyLengthRule.swift",
"Rules/Metrics/ClosureBodyLengthRuleExamples.swift",
"Rules/Metrics/CyclomaticComplexityRule.swift",
"Rules/Metrics/EnumCaseAssociatedValuesLengthRule.swift",
"Rules/Metrics/FileLengthRule.swift",
"Rules/Metrics/FunctionBodyLengthRule.swift",
"Rules/Metrics/FunctionParameterCountRule.swift",
"Rules/Metrics/LargeTupleRule.swift",
"Rules/Metrics/LargeTupleRuleExamples.swift",
"Rules/Metrics/LineLengthRule.swift",
"Rules/Metrics/NestingRule.swift",
"Rules/Metrics/NestingRuleExamples.swift",
"Rules/Metrics/TypeBodyLengthRule.swift",
"Rules/Performance/ContainsOverFilterCountRule.swift",
"Rules/Performance/ContainsOverFilterIsEmptyRule.swift",
"Rules/Performance/ContainsOverFirstNotNilRule.swift",
"Rules/Performance/ContainsOverRangeNilComparisonRule.swift",
"Rules/Performance/EmptyCollectionLiteralRule.swift",
"Rules/Performance/EmptyCountRule.swift",
"Rules/Performance/EmptyStringRule.swift",
"Rules/Performance/FinalTestCaseRule.swift",
"Rules/Performance/FirstWhereRule.swift",
"Rules/Performance/FlatMapOverMapReduceRule.swift",
"Rules/Performance/LastWhereRule.swift",
"Rules/Performance/ReduceBooleanRule.swift",
"Rules/Performance/ReduceIntoRule.swift",
"Rules/Performance/SortedFirstLastRule.swift",
"Rules/RuleConfigurations/AttributesConfiguration.swift",
"Rules/RuleConfigurations/BlanketDisableCommandConfiguration.swift",
"Rules/RuleConfigurations/CollectionAlignmentConfiguration.swift",
"Rules/RuleConfigurations/ColonConfiguration.swift",
"Rules/RuleConfigurations/ComputedAccessorsOrderConfiguration.swift",
"Rules/RuleConfigurations/ConditionalReturnsOnNewlineConfiguration.swift",
"Rules/RuleConfigurations/CyclomaticComplexityConfiguration.swift",
"Rules/RuleConfigurations/DeploymentTargetConfiguration.swift",
"Rules/RuleConfigurations/DiscouragedDirectInitConfiguration.swift",
"Rules/RuleConfigurations/EmptyCountConfiguration.swift",
"Rules/RuleConfigurations/ExpiringTodoConfiguration.swift",
"Rules/RuleConfigurations/ExplicitInitConfiguration.swift",
"Rules/RuleConfigurations/ExplicitTypeInterfaceConfiguration.swift",
"Rules/RuleConfigurations/FileHeaderConfiguration.swift",
"Rules/RuleConfigurations/FileLengthConfiguration.swift",
"Rules/RuleConfigurations/FileNameConfiguration.swift",
"Rules/RuleConfigurations/FileNameNoSpaceConfiguration.swift",
"Rules/RuleConfigurations/FileTypesOrderConfiguration.swift",
"Rules/RuleConfigurations/ForWhereConfiguration.swift",
"Rules/RuleConfigurations/FunctionDefaultParameterAtEndConfiguration.swift",
"Rules/RuleConfigurations/FunctionParameterCountConfiguration.swift",
"Rules/RuleConfigurations/IdentifierNameConfiguration.swift",
"Rules/RuleConfigurations/ImplicitReturnConfiguration.swift",
"Rules/RuleConfigurations/ImplicitlyUnwrappedOptionalConfiguration.swift",
"Rules/RuleConfigurations/InclusiveLanguageConfiguration.swift",
"Rules/RuleConfigurations/IndentationWidthConfiguration.swift",
"Rules/RuleConfigurations/LegacyObjcTypeConfiguration.swift",
"Rules/RuleConfigurations/LineLengthConfiguration.swift",
"Rules/RuleConfigurations/MissingDocsConfiguration.swift",
"Rules/RuleConfigurations/ModifierOrderConfiguration.swift",
"Rules/RuleConfigurations/MultilineArgumentsConfiguration.swift",
"Rules/RuleConfigurations/MultilineParametersConfiguration.swift",
"Rules/RuleConfigurations/NameConfiguration.swift",
"Rules/RuleConfigurations/NestingConfiguration.swift",
"Rules/RuleConfigurations/NoEmptyBlockConfiguration.swift",
"Rules/RuleConfigurations/NoMagicNumbersConfiguration.swift",
"Rules/RuleConfigurations/NonOverridableClassDeclarationConfiguration.swift",
"Rules/RuleConfigurations/NumberSeparatorConfiguration.swift",
"Rules/RuleConfigurations/ObjectLiteralConfiguration.swift",
"Rules/RuleConfigurations/OpeningBraceConfiguration.swift",
"Rules/RuleConfigurations/OperatorUsageWhitespaceConfiguration.swift",
"Rules/RuleConfigurations/OverriddenSuperCallConfiguration.swift",
"Rules/RuleConfigurations/PreferKeyPathConfiguration.swift",
"Rules/RuleConfigurations/PrefixedTopLevelConstantConfiguration.swift",
"Rules/RuleConfigurations/PrivateOutletConfiguration.swift",
"Rules/RuleConfigurations/PrivateOverFilePrivateConfiguration.swift",
"Rules/RuleConfigurations/ProhibitedSuperConfiguration.swift",
"Rules/RuleConfigurations/RedundantDiscardableLetConfiguration.swift",
"Rules/RuleConfigurations/RedundantSendableConfiguration.swift",
"Rules/RuleConfigurations/RedundantTypeAnnotationConfiguration.swift",
"Rules/RuleConfigurations/RedundantVoidReturnConfiguration.swift",
"Rules/RuleConfigurations/RequiredEnumCaseConfiguration.swift",
"Rules/RuleConfigurations/SelfBindingConfiguration.swift",
"Rules/RuleConfigurations/ShorthandArgumentConfiguration.swift",
"Rules/RuleConfigurations/SortedImportsConfiguration.swift",
"Rules/RuleConfigurations/StatementPositionConfiguration.swift",
"Rules/RuleConfigurations/SwitchCaseAlignmentConfiguration.swift",
"Rules/RuleConfigurations/TestCaseAccessibilityConfiguration.swift",
"Rules/RuleConfigurations/TodoConfiguration.swift",
"Rules/RuleConfigurations/TrailingClosureConfiguration.swift",
"Rules/RuleConfigurations/TrailingCommaConfiguration.swift",
"Rules/RuleConfigurations/TrailingWhitespaceConfiguration.swift",
"Rules/RuleConfigurations/TypeContentsOrderConfiguration.swift",
"Rules/RuleConfigurations/TypeNameConfiguration.swift",
"Rules/RuleConfigurations/UnitTestConfiguration.swift",
"Rules/RuleConfigurations/UnneededOverrideRuleConfiguration.swift",
"Rules/RuleConfigurations/UnusedDeclarationConfiguration.swift",
"Rules/RuleConfigurations/UnusedImportConfiguration.swift",
"Rules/RuleConfigurations/UnusedOptionalBindingConfiguration.swift",
"Rules/RuleConfigurations/VerticalWhitespaceClosingBracesConfiguration.swift",
"Rules/RuleConfigurations/VerticalWhitespaceConfiguration.swift",
"Rules/RuleConfigurations/XCTSpecificMatcherConfiguration.swift",
"Rules/Style/AttributeNameSpacingRule.swift",
"Rules/Style/AttributesRule.swift",
"Rules/Style/AttributesRuleExamples.swift",
"Rules/Style/ClosingBraceRule.swift",
"Rules/Style/ClosureEndIndentationRule.swift",
"Rules/Style/ClosureEndIndentationRuleExamples.swift",
"Rules/Style/ClosureParameterPositionRule.swift",
"Rules/Style/ClosureSpacingRule.swift",
"Rules/Style/CollectionAlignmentRule.swift",
"Rules/Style/ColonRule.swift",
"Rules/Style/ColonRuleExamples.swift",
"Rules/Style/CommaInheritanceRule.swift",
"Rules/Style/CommaRule.swift",
"Rules/Style/ComputedAccessorsOrderRule.swift",
"Rules/Style/ComputedAccessorsOrderRuleExamples.swift",
"Rules/Style/ConditionalReturnsOnNewlineRule.swift",
"Rules/Style/ContrastedOpeningBraceRule.swift",
"Rules/Style/ContrastedOpeningBraceRuleExamples.swift",
"Rules/Style/ControlStatementRule.swift",
"Rules/Style/DirectReturnRule.swift",
"Rules/Style/EmptyEnumArgumentsRule.swift",
"Rules/Style/EmptyParametersRule.swift",
"Rules/Style/EmptyParenthesesWithTrailingClosureRule.swift",
"Rules/Style/ExplicitSelfRule.swift",
"Rules/Style/ExplicitSelfRuleExamples.swift",
"Rules/Style/FileHeaderRule.swift",
"Rules/Style/FileTypesOrderRule.swift",
"Rules/Style/FileTypesOrderRuleExamples.swift",
"Rules/Style/IdentifierNameRule.swift",
"Rules/Style/IdentifierNameRuleExamples.swift",
"Rules/Style/ImplicitGetterRule.swift",
"Rules/Style/ImplicitGetterRuleExamples.swift",
"Rules/Style/ImplicitReturnRule.swift",
"Rules/Style/ImplicitReturnRuleExamples.swift",
"Rules/Style/InclusiveLanguageRule.swift",
"Rules/Style/InclusiveLanguageRuleExamples.swift",
"Rules/Style/IndentationWidthRule.swift",
"Rules/Style/LeadingWhitespaceRule.swift",
"Rules/Style/LetVarWhitespaceRule.swift",
"Rules/Style/LiteralExpressionEndIndentationRule.swift",
"Rules/Style/ModifierOrderRule.swift",
"Rules/Style/ModifierOrderRuleExamples.swift",
"Rules/Style/MultilineArgumentsBracketsRule.swift",
"Rules/Style/MultilineArgumentsRule.swift",
"Rules/Style/MultilineArgumentsRuleExamples.swift",
"Rules/Style/MultilineFunctionChainsRule.swift",
"Rules/Style/MultilineLiteralBracketsRule.swift",
"Rules/Style/MultilineParametersBracketsRule.swift",
"Rules/Style/MultilineParametersRule.swift",
"Rules/Style/MultilineParametersRuleExamples.swift",
"Rules/Style/MultipleClosuresWithTrailingClosureRule.swift",
"Rules/Style/NoSpaceInMethodCallRule.swift",
"Rules/Style/NonOverridableClassDeclarationRule.swift",
"Rules/Style/NumberSeparatorRule.swift",
"Rules/Style/NumberSeparatorRuleExamples.swift",
"Rules/Style/OpeningBraceRule.swift",
"Rules/Style/OpeningBraceRuleExamples.swift",
"Rules/Style/OperatorFunctionWhitespaceRule.swift",
"Rules/Style/OperatorUsageWhitespaceRule.swift",
"Rules/Style/OperatorUsageWhitespaceRuleExamples.swift",
"Rules/Style/OptionalEnumCaseMatchingRule.swift",
"Rules/Style/PreferSelfInStaticReferencesRule.swift",
"Rules/Style/PreferSelfInStaticReferencesRuleExamples.swift",
"Rules/Style/PreferSelfTypeOverTypeOfSelfRule.swift",
"Rules/Style/PrefixedTopLevelConstantRule.swift",
"Rules/Style/ProtocolPropertyAccessorsOrderRule.swift",
"Rules/Style/RedundantDiscardableLetRule.swift",
"Rules/Style/RedundantSelfInClosureRule.swift",
"Rules/Style/RedundantSelfInClosureRuleExamples.swift",
"Rules/Style/ReturnArrowWhitespaceRule.swift",
"Rules/Style/SelfBindingRule.swift",
"Rules/Style/ShorthandArgumentRule.swift",
"Rules/Style/ShorthandOperatorRule.swift",
"Rules/Style/SingleTestClassRule.swift",
"Rules/Style/SortedEnumCasesRule.swift",
"Rules/Style/SortedImportsRule.swift",
"Rules/Style/SortedImportsRuleExamples.swift",
"Rules/Style/StatementPositionRule.swift",
"Rules/Style/SuperfluousElseRule.swift",
"Rules/Style/SwitchCaseAlignmentRule.swift",
"Rules/Style/SwitchCaseOnNewlineRule.swift",
"Rules/Style/TrailingClosureRule.swift",
"Rules/Style/TrailingCommaRule.swift",
"Rules/Style/TrailingNewlineRule.swift",
"Rules/Style/TrailingWhitespaceRule.swift",
"Rules/Style/TypeContentsOrderRule.swift",
"Rules/Style/TypeContentsOrderRuleExamples.swift",
"Rules/Style/UnneededParenthesesInClosureArgumentRule.swift",
"Rules/Style/UnusedOptionalBindingRule.swift",
"Rules/Style/VerticalParameterAlignmentOnCallRule.swift",
"Rules/Style/VerticalParameterAlignmentRule.swift",
"Rules/Style/VerticalParameterAlignmentRuleExamples.swift",
"Rules/Style/VerticalWhitespaceBetweenCasesRule.swift",
"Rules/Style/VerticalWhitespaceClosingBracesRule.swift",
"Rules/Style/VerticalWhitespaceClosingBracesRuleExamples.swift",
"Rules/Style/VerticalWhitespaceOpeningBracesRule.swift",
"Rules/Style/VerticalWhitespaceRule.swift",
"Rules/Style/VoidReturnRule.swift"
],
"target_dependencies" : [
"SwiftLintCore"
],
"type" : "library"
},
{
"c99name" : "SwiftLintBuildToolPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftLintBuildToolPlugin",
"path" : "Plugins/SwiftLintBuildToolPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"SwiftLintBuildToolPlugin"
],
"sources" : [
"Path+Helpers.swift",
"SwiftLintBuildToolPlugin.swift",
"SwiftLintBuildToolPluginError.swift"
],
"target_dependencies" : [
"swiftlint"
],
"type" : "plugin"
},
{
"c99name" : "MacroTests",
"module_type" : "SwiftTarget",
"name" : "MacroTests",
"path" : "Tests/MacroTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"AcceptableByConfigurationElementTests.swift",
"AutoConfigParserTests.swift",
"SwiftSyntaxRuleTests.swift"
],
"target_dependencies" : [
"SwiftLintCoreMacros"
],
"type" : "test"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"sources" : [
"IntegrationTests.swift"
],
"target_dependencies" : [
"SwiftLintFramework",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "GeneratedTests",
"module_type" : "SwiftTarget",
"name" : "GeneratedTests",
"path" : "Tests/GeneratedTests",
"sources" : [
"GeneratedTests.swift"
],
"target_dependencies" : [
"SwiftLintFramework",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "FrameworkTests",
"module_type" : "SwiftTarget",
"name" : "FrameworkTests",
"path" : "Tests/FrameworkTests",
"sources" : [
"AccessControlLevelTests.swift",
"BaselineTests.swift",
"CodeIndentingRewriterTests.swift",
"CollectingRuleTests.swift",
"CommandTests.swift",
"ConfigurationAliasesTests.swift",
"ConfigurationTests+Mock.swift",
"ConfigurationTests+MultipleConfigs.swift",
"ConfigurationTests.swift",
"CustomRulesTests.swift",
"DisableAllTests.swift",
"EmptyFileTests.swift",
"ExampleTests.swift",
"Exports.swift",
"ExtendedNSStringTests.swift",
"ExtendedStringTests.swift",
"GlobTests.swift",
"LineEndingTests.swift",
"LintOrAnalyzeOptionsTests.swift",
"LinterCacheTests.swift",
"ModifierOrderTests.swift",
"ParserDiagnosticsTests.swift",
"RegexConfigurationTests.swift",
"RegionTests.swift",
"ReporterTests.swift",
"RuleConfigurationDescriptionTests.swift",
"RuleConfigurationTests.swift",
"RuleTests.swift",
"RulesTests.swift",
"SourceKitCrashTests.swift",
"StringExtensionTests.swift",
"StringViewExtensionTests.swift",
"SwiftLintFileTests.swift",
"SwiftVersionTests.swift",
"YamlParserTests.swift",
"YamlSwiftLintTests.swift"
],
"target_dependencies" : [
"SwiftLintFramework",
"TestHelpers",
"SwiftLintCoreMacros"
],
"type" : "test"
},
{
"c99name" : "ExtraRulesTests",
"module_type" : "SwiftTarget",
"name" : "ExtraRulesTests",
"path" : "Tests/ExtraRulesTests",
"sources" : [
"ExtraRulesTests.swift"
],
"target_dependencies" : [
"SwiftLintFramework",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "DyldWarningWorkaround",
"module_type" : "ClangTarget",
"name" : "DyldWarningWorkaround",
"path" : "Source/DyldWarningWorkaround",
"product_memberships" : [
"swiftlint",
"SwiftLintFramework",
"SwiftLintBuildToolPlugin",
"SwiftLintCommandPlugin",
"swiftlint-dev"
],
"sources" : [
"DyldWarningWorkaround.c"
],
"type" : "library"
},
{
"c99name" : "CLITests",
"module_type" : "SwiftTarget",
"name" : "CLITests",
"path" : "Tests/CLITests",
"sources" : [
"RulesFilterTests.swift"
],
"target_dependencies" : [
"SwiftLintFramework"
],
"type" : "test"
},
{
"c99name" : "BuiltInRulesTests",
"module_type" : "SwiftTarget",
"name" : "BuiltInRulesTests",
"path" : "Tests/BuiltInRulesTests",
"sources" : [
"AttributesRuleTests.swift",
"BlanketDisableCommandRuleTests.swift",
"ChildOptionSeverityConfigurationTests.swift",
"CollectionAlignmentRuleTests.swift",
"ColonRuleTests.swift",
"CompilerProtocolInitRuleTests.swift",
"ComputedAccessorsOrderRuleTests.swift",
"ConditionalReturnsOnNewlineRuleTests.swift",
"ContainsOverFirstNotNilRuleTests.swift",
"CyclomaticComplexityConfigurationTests.swift",
"CyclomaticComplexityRuleTests.swift",
"DeploymentTargetConfigurationTests.swift",
"DeploymentTargetRuleTests.swift",
"DiscouragedDirectInitRuleTests.swift",
"DiscouragedObjectLiteralRuleTests.swift",
"DuplicateImportsRuleTests.swift",
"EmptyCountRuleTests.swift",
"ExpiringTodoRuleTests.swift",
"ExplicitInitRuleTests.swift",
"ExplicitTypeInterfaceConfigurationTests.swift",
"ExplicitTypeInterfaceRuleTests.swift",
"FileHeaderRuleTests.swift",
"FileLengthRuleTests.swift",
"FileNameNoSpaceRuleTests.swift",
"FileNameRuleTests.swift",
"FileTypesOrderRuleTests.swift",
"FunctionBodyLengthRuleTests.swift",
"FunctionParameterCountRuleTests.swift",
"GenericTypeNameRuleTests.swift",
"IdentifierNameRuleTests.swift",
"ImplicitGetterRuleTests.swift",
"ImplicitReturnConfigurationTests.swift",
"ImplicitReturnRuleTests.swift",
"ImplicitlyUnwrappedOptionalConfigurationTests.swift",
"ImplicitlyUnwrappedOptionalRuleTests.swift",
"InclusiveLanguageRuleTests.swift",
"IndentationWidthRuleTests.swift",
"LineLengthConfigurationTests.swift",
"LineLengthRuleTests.swift",
"MissingDocsRuleTests.swift",
"MultilineArgumentsRuleTests.swift",
"MultilineParametersConfigurationTests.swift",
"NameConfigurationTests.swift",
"NestingRuleTests.swift",
"NoEmptyBlockConfigurationTests.swift",
"NumberSeparatorRuleTests.swift",
"ObjectLiteralRuleTests.swift",
"OpeningBraceRuleTests.swift",
"PreferKeyPathRuleTests.swift",
"PrefixedTopLevelConstantRuleTests.swift",
"PrivateOverFilePrivateRuleTests.swift",
"RequiredEnumCaseConfigurationTests.swift",
"StatementPositionRuleTests.swift",
"SwitchCaseAlignmentRuleTests.swift",
"TodoRuleTests.swift",
"TrailingClosureConfigurationTests.swift",
"TrailingClosureRuleTests.swift",
"TrailingCommaRuleTests.swift",
"TrailingWhitespaceRuleTests.swift",
"TypeContentsOrderRuleTests.swift",
"TypeNameRuleTests.swift",
"TypesafeArrayInitRuleTests.swift",
"UnneededOverrideRuleTests.swift",
"UnusedDeclarationConfigurationTests.swift",
"UnusedOptionalBindingRuleTests.swift",
"VerticalWhitespaceRuleTests.swift",
"XCTSpecificMatcherRuleTests.swift"
],
"target_dependencies" : [
"SwiftLintBuiltInRules",
"TestHelpers"
],
"type" : "test"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.