The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of AnyLint, reference main (049671), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 11:48:11 UTC.

Swift 6 data race errors: 12

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

      "dependencies": [
        {
          "identity": "rainbow",
          "name": "Rainbow",
          "url": "https://github.com/onevcat/Rainbow.git",
          "version": "3.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftcli",
          "name": "SwiftCLI",
          "url": "https://github.com/jakeheis/SwiftCLI.git",
          "version": "6.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCLI",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/FlineDev/AnyLint.git
[1/2590] Fetching anylint
Fetched https://github.com/FlineDev/AnyLint.git from cache (0.91s)
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/jakeheis/SwiftCLI.git from cache
Fetched https://github.com/onevcat/Rainbow.git from cache (0.45s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.45s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.50s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.03s)
Creating working copy for https://github.com/FlineDev/AnyLint.git
Working copy of https://github.com/FlineDev/AnyLint.git resolved at main (0496714)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Found 2 product dependencies
  - Rainbow
  - SwiftCLI
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FlineDev/AnyLint.git
https://github.com/FlineDev/AnyLint.git
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.5",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.1",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    }
  ],
  "manifest_display_name" : "AnyLint",
  "name" : "AnyLint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "AnyLint",
      "targets" : [
        "AnyLint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "anylint",
      "targets" : [
        "AnyLintCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UtilityTests",
      "module_type" : "SwiftTarget",
      "name" : "UtilityTests",
      "path" : "Tests/UtilityTests",
      "sources" : [
        "Extensions/RegexExtTests.swift",
        "LoggerTests.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Utility",
      "module_type" : "SwiftTarget",
      "name" : "Utility",
      "path" : "Sources/Utility",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "AnyLint",
        "anylint"
      ],
      "sources" : [
        "Constants.swift",
        "Extensions/CollectionExt.swift",
        "Extensions/FileManagerExt.swift",
        "Extensions/RegexExt.swift",
        "Extensions/StringExt.swift",
        "Logger.swift",
        "Regex.swift",
        "TestHelper.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AnyLintTests",
      "module_type" : "SwiftTarget",
      "name" : "AnyLintTests",
      "path" : "Tests/AnyLintTests",
      "sources" : [
        "AutoCorrectionTests.swift",
        "CheckInfoTests.swift",
        "Checkers/FileContentsCheckerTests.swift",
        "Checkers/FilePathsCheckerTests.swift",
        "Extensions/ArrayExtTests.swift",
        "Extensions/XCTestCaseExt.swift",
        "FilesSearchTests.swift",
        "LintTests.swift",
        "RegexExtTests.swift",
        "StatisticsTests.swift",
        "ViolationTests.swift"
      ],
      "target_dependencies" : [
        "AnyLint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AnyLintCLI",
      "module_type" : "SwiftTarget",
      "name" : "AnyLintCLI",
      "path" : "Sources/AnyLintCLI",
      "product_dependencies" : [
        "Rainbow",
        "SwiftCLI"
      ],
      "product_memberships" : [
        "anylint"
      ],
      "sources" : [
        "Commands/SingleCommand.swift",
        "ConfigurationTemplates/BlankTemplate.swift",
        "ConfigurationTemplates/ConfigurationTemplate.swift",
        "Globals/CLIConstants.swift",
        "Globals/ValidateOrFail.swift",
        "Tasks/InitTask.swift",
        "Tasks/LintTask.swift",
        "Tasks/TaskHandler.swift",
        "Tasks/VersionTask.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AnyLint",
      "module_type" : "SwiftTarget",
      "name" : "AnyLint",
      "path" : "Sources/AnyLint",
      "product_memberships" : [
        "AnyLint"
      ],
      "sources" : [
        "AutoCorrection.swift",
        "CheckInfo.swift",
        "Checkers/Checker.swift",
        "Checkers/FileContentsChecker.swift",
        "Checkers/FilePathsChecker.swift",
        "Extensions/ArrayExt.swift",
        "Extensions/FileManagerExt.swift",
        "Extensions/StringExt.swift",
        "Extensions/URLExt.swift",
        "FilesSearch.swift",
        "Lint.swift",
        "Options.swift",
        "Severity.swift",
        "Statistics.swift",
        "Violation.swift",
        "ViolationLocationConfig.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/10] Write sources
[1/10] Write anylint-entitlement.plist
[3/10] Write sources
[6/10] Write swift-version-2F0A5646E1D333AE.txt
[8/42] Compiling Rainbow Style.swift
[9/43] Compiling Rainbow XcodeColorsSupport.swift
[10/43] Compiling SwiftCLI Parser.swift
[11/43] Compiling SwiftCLI Path.swift
[12/45] Compiling SwiftCLI ValueBox.swift
[13/45] Compiling SwiftCLI VersionCommand.swift
[14/45] Emitting module SwiftCLI
[15/45] Compiling Rainbow StringGenerator.swift
[16/45] Compiling Rainbow Color.swift
[17/45] Compiling Rainbow OutputTarget.swift
[18/45] Compiling Rainbow ControlCode.swift
[19/45] Compiling Rainbow String+Rainbow.swift
[20/45] Compiling SwiftCLI ArgumentList.swift
[21/45] Compiling SwiftCLI ArgumentListManipulator.swift
[22/45] Emitting module Rainbow
[23/45] Compiling Rainbow ModesExtractor.swift
[24/45] Compiling Rainbow Rainbow.swift
[25/45] Compiling SwiftCLI OptionRegistry.swift
[26/45] Compiling SwiftCLI Parameter.swift
[27/45] Compiling SwiftCLI Term.swift
[28/45] Compiling SwiftCLI Validation.swift
[29/45] Compiling SwiftCLI HelpMessageGenerator.swift
[30/45] Compiling SwiftCLI Input.swift
[31/45] Compiling SwiftCLI Option.swift
[32/45] Compiling SwiftCLI OptionGroup.swift
[33/45] Compiling SwiftCLI Error.swift
[34/45] Compiling SwiftCLI HelpCommand.swift
[37/45] Compiling SwiftCLI CLI.swift
[38/45] Compiling SwiftCLI Command.swift
[39/45] Compiling SwiftCLI Compatibility.swift
[40/45] Compiling SwiftCLI CompletionGenerator.swift
[41/45] Compiling SwiftCLI Stream.swift
[42/45] Compiling SwiftCLI Task.swift
[43/54] Compiling Utility Logger.swift
[44/54] Compiling Utility TestHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utility/TestHelper.swift:9:22: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestHelper' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A helper class for Unit Testing only.
 4 | public final class TestHelper {
   |                    `- note: class 'TestHelper' does not conform to the 'Sendable' protocol
 5 |    /// The console output data.
 6 |    public typealias ConsoleOutput = (message: String, level: Logger.PrintLevel)
 7 |
 8 |    /// The shared `TestHelper` object.
 9 |    public static let shared = TestHelper()
   |                      |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestHelper' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |    /// Use only in Unit Tests.
[45/54] Compiling Utility StringExt.swift
[46/54] Compiling Utility FileManagerExt.swift
[47/54] Compiling Utility CollectionExt.swift
[48/54] Compiling Utility RegexExt.swift
[49/54] Emitting module Utility
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:4:12: warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// Shortcut to access the default `FileManager` within this project.
 4 | public let fileManager = FileManager.default
   |            |- warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'fileManager' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
 94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
 95 |
 96 | @interface NSFileManager : NSObject
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
 97 |
 98 | /* Returns the default singleton instance.
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'log' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:8:22: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  6 | public struct Regex {
  7 |    /// The recommended default options passed to any Regex if not otherwise specified.
  8 |    public static let defaultOptions: Options = [.anchorsMatchLines]
    |                      |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  9 |
 10 |    // MARK: - Properties
    :
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:142:25: warning: static property 'ignoreCase' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
142 |       public static let ignoreCase = Options(rawValue: 1)
    |                         |- warning: static property 'ignoreCase' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'ignoreCase' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 |
144 |       /// Ignore any metacharacters in the pattern, treating every character as
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:146:25: warning: static property 'ignoreMetacharacters' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
    :
144 |       /// Ignore any metacharacters in the pattern, treating every character as
145 |       /// a literal.
146 |       public static let ignoreMetacharacters = Options(rawValue: 1 << 1)
    |                         |- warning: static property 'ignoreMetacharacters' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'ignoreMetacharacters' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 |       /// By default, "^" matches the beginning of the string and "$" matches the
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:151:25: warning: static property 'anchorsMatchLines' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
    :
149 |       /// end of the string, ignoring any newlines. With this option, "^" will
150 |       /// the beginning of each line, and "$" will match the end of each line.
151 |       public static let anchorsMatchLines = Options(rawValue: 1 << 2)
    |                         |- warning: static property 'anchorsMatchLines' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'anchorsMatchLines' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 |       /// Usually, "." matches all characters except newlines (\n). Using this,
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:155:25: warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
    :
153 |       /// Usually, "." matches all characters except newlines (\n). Using this,
154 |       /// options will allow "." to match newLines
155 |       public static let dotMatchesLineSeparators = Options(rawValue: 1 << 3)
    |                         |- warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'dotMatchesLineSeparators' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 |       /// The raw value of the `OptionSet`
/Users/admin/builder/spi-builder-workspace/Sources/Utility/TestHelper.swift:9:22: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestHelper' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A helper class for Unit Testing only.
 4 | public final class TestHelper {
   |                    `- note: class 'TestHelper' does not conform to the 'Sendable' protocol
 5 |    /// The console output data.
 6 |    public typealias ConsoleOutput = (message: String, level: Logger.PrintLevel)
 7 |
 8 |    /// The shared `TestHelper` object.
 9 |    public static let shared = TestHelper()
   |                      |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestHelper' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |    /// Use only in Unit Tests.
[50/54] Compiling Utility Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:4:12: warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// Shortcut to access the default `FileManager` within this project.
 4 | public let fileManager = FileManager.default
   |            |- warning: let 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'fileManager' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
 94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
 95 |
 96 | @interface NSFileManager : NSObject
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
 97 |
 98 | /* Returns the default singleton instance.
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'log' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 | /// Constants to reference across the project.
[51/54] Compiling Utility Regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:8:22: warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
  6 | public struct Regex {
  7 |    /// The recommended default options passed to any Regex if not otherwise specified.
  8 |    public static let defaultOptions: Options = [.anchorsMatchLines]
    |                      |- warning: static property 'defaultOptions' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: add '@MainActor' to make static property 'defaultOptions' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  9 |
 10 |    // MARK: - Properties
    :
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:142:25: warning: static property 'ignoreCase' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
142 |       public static let ignoreCase = Options(rawValue: 1)
    |                         |- warning: static property 'ignoreCase' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'ignoreCase' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 |
144 |       /// Ignore any metacharacters in the pattern, treating every character as
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:146:25: warning: static property 'ignoreMetacharacters' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
    :
144 |       /// Ignore any metacharacters in the pattern, treating every character as
145 |       /// a literal.
146 |       public static let ignoreMetacharacters = Options(rawValue: 1 << 1)
    |                         |- warning: static property 'ignoreMetacharacters' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'ignoreMetacharacters' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 |       /// By default, "^" matches the beginning of the string and "$" matches the
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:151:25: warning: static property 'anchorsMatchLines' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
    :
149 |       /// end of the string, ignoring any newlines. With this option, "^" will
150 |       /// the beginning of each line, and "$" will match the end of each line.
151 |       public static let anchorsMatchLines = Options(rawValue: 1 << 2)
    |                         |- warning: static property 'anchorsMatchLines' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'anchorsMatchLines' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 |       /// Usually, "." matches all characters except newlines (\n). Using this,
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Regex.swift:155:25: warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
137 | extension Regex {
138 |    /// `Options` defines alternate behaviours of regular expressions when matching.
139 |    public struct Options: OptionSet {
    |                  `- note: consider making struct 'Options' conform to the 'Sendable' protocol
140 |       // MARK: - Properties
141 |       /// Ignores the case of letters when matching.
    :
153 |       /// Usually, "." matches all characters except newlines (\n). Using this,
154 |       /// options will allow "." to match newLines
155 |       public static let dotMatchesLineSeparators = Options(rawValue: 1 << 3)
    |                         |- warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because non-'Sendable' type 'Regex.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'dotMatchesLineSeparators' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 |       /// The raw value of the `OptionSet`
[52/80] Compiling AnyLintCLI VersionTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/VersionTask.swift:8:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 6 | extension VersionTask: TaskHandler {
 7 |    func perform() throws {
 8 |       log.message(Constants.currentVersion, level: .info)
   |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 9 |    }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[53/80] Compiling AnyLintCLI TaskHandler.swift
[54/81] Compiling AnyLint Violation.swift
[55/82] Compiling AnyLintCLI LintTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/LintTask.swift:30:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 |
29 |       do {
30 |          log.message("Start linting using config file at \(configFilePath) ...", level: .info)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 |
32 |          var command = "\(configFilePath.absolutePath) \(log.outputType.rawValue)"
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/LintTask.swift:32:58: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |          log.message("Start linting using config file at \(configFilePath) ...", level: .info)
31 |
32 |          var command = "\(configFilePath.absolutePath) \(log.outputType.rawValue)"
   |                                                          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |
34 |          if logDebugLevel {
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/LintTask.swift:55:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 |
54 |          try Task.run(bash: command)
55 |          log.message("Linting successful using config file at \(configFilePath). Congrats! 🎉", level: .success)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 |       } catch is RunError {
57 |          if log.outputType != .xcode {
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/LintTask.swift:57:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |          log.message("Linting successful using config file at \(configFilePath). Congrats! 🎉", level: .success)
56 |       } catch is RunError {
57 |          if log.outputType != .xcode {
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 |             log.message("Linting failed using config file at \(configFilePath).", level: .error)
59 |          }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/LintTask.swift:58:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 |       } catch is RunError {
57 |          if log.outputType != .xcode {
58 |             log.message("Linting failed using config file at \(configFilePath).", level: .error)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 |          }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[56/82] Compiling AnyLintCLI ConfigurationTemplate.swift
[57/82] Compiling AnyLintCLI InitTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/InitTask.swift:24:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 |    func perform() throws {
23 |       guard !fileManager.fileExists(atPath: configFilePath) else {
24 |          log.message("Configuration file already exists at path '\(configFilePath)'.", level: .error)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 |          log.exit(status: .failure)
26 |          return // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/InitTask.swift:25:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |       guard !fileManager.fileExists(atPath: configFilePath) else {
24 |          log.message("Configuration file already exists at path '\(configFilePath)'.", level: .error)
25 |          log.exit(status: .failure)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |          return // only reachable in unit tests
27 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/InitTask.swift:31:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 |       ValidateOrFail.swiftShInstalled()
30 |
31 |       log.message("Making sure config file directory exists ...", level: .info)
   |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 |       try Task.run(bash: "mkdir -p '\(configFilePath.parentDirectoryPath)'")
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/InitTask.swift:34:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 |       try Task.run(bash: "mkdir -p '\(configFilePath.parentDirectoryPath)'")
33 |
34 |       log.message("Creating config file using template '\(template.rawValue)' ...", level: .info)
   |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 |       fileManager.createFile(
36 |          atPath: configFilePath,
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/InitTask.swift:41:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 |       )
40 |
41 |       log.message("Making config file executable ...", level: .info)
   |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 |       try Task.run(bash: "chmod +x '\(configFilePath)'")
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Tasks/InitTask.swift:44:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 |       try Task.run(bash: "chmod +x '\(configFilePath)'")
43 |
44 |       log.message("Successfully created config file at \(configFilePath)", level: .success)
   |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 |    }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[58/82] Compiling AnyLintCLI ValidateOrFail.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Globals/ValidateOrFail.swift:9:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 7 |    static func swiftShInstalled() {
 8 |       guard fileManager.fileExists(atPath: CLIConstants.swiftShPath) else {
 9 |          log.message(
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
10 |             "swift-sh not installed – please try `brew install swift-sh` or follow instructions on https://github.com/mxcl/swift-sh#installation",
11 |             level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Globals/ValidateOrFail.swift:13:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
11 |             level: .error
12 |          )
13 |          log.exit(status: .failure)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 |          return // only reachable in unit tests
15 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Globals/ValidateOrFail.swift:20:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 |    static func configFileExists(at configFilePath: String) throws {
19 |       guard fileManager.fileExists(atPath: configFilePath) else {
20 |          log.message(
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |             "No configuration file found at \(configFilePath) – consider running `--init` with a template, e.g.`\(CLIConstants.commandName) --init blank`.",
22 |             level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Globals/ValidateOrFail.swift:24:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 |             level: .error
23 |          )
24 |          log.exit(status: .failure)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 |          return // only reachable in unit tests
26 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[59/82] Compiling AnyLintCLI BlankTemplate.swift
[60/82] Compiling AnyLintCLI CLIConstants.swift
[61/82] Emitting module AnyLintCLI
[62/82] Compiling AnyLintCLI SingleCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Commands/SingleCommand.swift:46:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 |    func execute() throws {
45 |       if xcode {
46 |          log = Logger(outputType: .xcode)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 |       }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Commands/SingleCommand.swift:49:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 |       }
48 |
49 |       log.logDebugLevel = debug
   |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
50 |
51 |       // version subcommand
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Commands/SingleCommand.swift:54:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 |       if version {
53 |          try VersionTask().perform()
54 |          log.exit(status: .success)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |       }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Commands/SingleCommand.swift:64:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 |       if let initTemplateName = initTemplateName {
63 |          guard let initTemplate = InitTask.Template(rawValue: initTemplateName) else {
64 |             log.message("Unknown default template '\(initTemplateName)' – use one of: [\(CLIConstants.initTemplateCases)]", level: .error)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 |             log.exit(status: .failure)
66 |             return // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Commands/SingleCommand.swift:65:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 |          guard let initTemplate = InitTask.Template(rawValue: initTemplateName) else {
64 |             log.message("Unknown default template '\(initTemplateName)' – use one of: [\(CLIConstants.initTemplateCases)]", level: .error)
65 |             log.exit(status: .failure)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 |             return // only reachable in unit tests
67 |          }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLintCLI/Commands/SingleCommand.swift:72:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 |             try InitTask(configFilePath: configPath, template: initTemplate).perform()
71 |          }
72 |          log.exit(status: .success)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
73 |       }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[63/82] Compiling AnyLintCLI main.swift
[63/82] Write Objects.LinkFileList
[65/82] Compiling AnyLint URLExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:13:22: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FilesSearch' may have shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | /// Helper to search for files and filter using Regexes.
  5 | public final class FilesSearch {
    |                    `- note: class 'FilesSearch' does not conform to the 'Sendable' protocol
  6 |    struct SearchOptions: Equatable, Hashable {
  7 |       let pathToSearch: String
    :
 11 |
 12 |    /// The shared instance.
 13 |    public static let shared = FilesSearch()
    |                      |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FilesSearch' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |    private var cachedFilePaths: [SearchOptions: [String]] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:30:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 28 |       excludeFilters: [Regex] = []
 29 |    ) -> [String] {
 30 |       log.message(
    |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 31 |          "Start searching for matching files in path \(path) with includeFilters \(includeFilters) and excludeFilters \(excludeFilters) ...",
 32 |          level: .debug
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:37:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 35 |       let searchOptions = SearchOptions(pathToSearch: path, includeFilters: includeFilters, excludeFilters: excludeFilters)
 36 |       if let cachedFilePaths: [String] = cachedFilePaths[searchOptions] {
 37 |          log.message("A file search with exactly the above search options was already done and was not invalidated, using cached results ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 38 |          return cachedFilePaths
 39 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:42:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |       guard let url = URL(string: path, relativeTo: fileManager.currentDirectoryUrl) else {
 42 |          log.message("Could not convert path '\(path)' to type URL.", level: .error)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 43 |          log.exit(status: .failure)
 44 |          return [] // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:43:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 41 |       guard let url = URL(string: path, relativeTo: fileManager.currentDirectoryUrl) else {
 42 |          log.message("Could not convert path '\(path)' to type URL.", level: .error)
 43 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 44 |          return [] // only reachable in unit tests
 45 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:49:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 47 |       let propKeys = [URLResourceKey.isRegularFileKey, URLResourceKey.isHiddenKey]
 48 |       guard let enumerator = fileManager.enumerator(at: url, includingPropertiesForKeys: propKeys, options: [], errorHandler: nil) else {
 49 |          log.message("Couldn't create enumerator for path '\(path)'.", level: .error)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 50 |          log.exit(status: .failure)
 51 |          return [] // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:50:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 48 |       guard let enumerator = fileManager.enumerator(at: url, includingPropertiesForKeys: propKeys, options: [], errorHandler: nil) else {
 49 |          log.message("Couldn't create enumerator for path '\(path)'.", level: .error)
 50 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 51 |          return [] // only reachable in unit tests
 52 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:62:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 60 |             let isRegularFilePath = resourceValues.isRegularFile
 61 |          else {
 62 |             log.message("Could not read resource values for file at \(fileUrl.path)", level: .error)
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 63 |             log.exit(status: .failure)
 64 |             return [] // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:63:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 61 |          else {
 62 |             log.message("Could not read resource values for file at \(fileUrl.path)", level: .error)
 63 |             log.exit(status: .failure)
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 64 |             return [] // only reachable in unit tests
 65 |          }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[66/82] Compiling AnyLint FilesSearch.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:13:22: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FilesSearch' may have shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | /// Helper to search for files and filter using Regexes.
  5 | public final class FilesSearch {
    |                    `- note: class 'FilesSearch' does not conform to the 'Sendable' protocol
  6 |    struct SearchOptions: Equatable, Hashable {
  7 |       let pathToSearch: String
    :
 11 |
 12 |    /// The shared instance.
 13 |    public static let shared = FilesSearch()
    |                      |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FilesSearch' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |    private var cachedFilePaths: [SearchOptions: [String]] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:30:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 28 |       excludeFilters: [Regex] = []
 29 |    ) -> [String] {
 30 |       log.message(
    |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 31 |          "Start searching for matching files in path \(path) with includeFilters \(includeFilters) and excludeFilters \(excludeFilters) ...",
 32 |          level: .debug
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:37:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 35 |       let searchOptions = SearchOptions(pathToSearch: path, includeFilters: includeFilters, excludeFilters: excludeFilters)
 36 |       if let cachedFilePaths: [String] = cachedFilePaths[searchOptions] {
 37 |          log.message("A file search with exactly the above search options was already done and was not invalidated, using cached results ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 38 |          return cachedFilePaths
 39 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:42:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |       guard let url = URL(string: path, relativeTo: fileManager.currentDirectoryUrl) else {
 42 |          log.message("Could not convert path '\(path)' to type URL.", level: .error)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 43 |          log.exit(status: .failure)
 44 |          return [] // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:43:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 41 |       guard let url = URL(string: path, relativeTo: fileManager.currentDirectoryUrl) else {
 42 |          log.message("Could not convert path '\(path)' to type URL.", level: .error)
 43 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 44 |          return [] // only reachable in unit tests
 45 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:49:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 47 |       let propKeys = [URLResourceKey.isRegularFileKey, URLResourceKey.isHiddenKey]
 48 |       guard let enumerator = fileManager.enumerator(at: url, includingPropertiesForKeys: propKeys, options: [], errorHandler: nil) else {
 49 |          log.message("Couldn't create enumerator for path '\(path)'.", level: .error)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 50 |          log.exit(status: .failure)
 51 |          return [] // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:50:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 48 |       guard let enumerator = fileManager.enumerator(at: url, includingPropertiesForKeys: propKeys, options: [], errorHandler: nil) else {
 49 |          log.message("Couldn't create enumerator for path '\(path)'.", level: .error)
 50 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 51 |          return [] // only reachable in unit tests
 52 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:62:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 60 |             let isRegularFilePath = resourceValues.isRegularFile
 61 |          else {
 62 |             log.message("Could not read resource values for file at \(fileUrl.path)", level: .error)
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 63 |             log.exit(status: .failure)
 64 |             return [] // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:63:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 61 |          else {
 62 |             log.message("Could not read resource values for file at \(fileUrl.path)", level: .error)
 63 |             log.exit(status: .failure)
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 64 |             return [] // only reachable in unit tests
 65 |          }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[67/82] Compiling AnyLint FileManagerExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:8:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 6 |    public func moveFileSafely(from sourcePath: String, to targetPath: String) throws {
 7 |       guard fileExists(atPath: sourcePath) else {
 8 |          log.message("No file found at \(sourcePath) to move.", level: .error)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 9 |          log.exit(status: .failure)
10 |          return // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:9:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 7 |       guard fileExists(atPath: sourcePath) else {
 8 |          log.message("No file found at \(sourcePath) to move.", level: .error)
 9 |          log.exit(status: .failure)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
10 |          return // only reachable in unit tests
11 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:14:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |       guard !fileExists(atPath: targetPath) || sourcePath.lowercased() == targetPath.lowercased() else {
14 |          log.message("File already exists at target path \(targetPath) – can't move from \(sourcePath).", level: .warning)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 |          return
16 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:24:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 |
23 |       guard fileExistsAndIsDirectory(atPath: targetParentDirectoryPath) else {
24 |          log.message("Expected \(targetParentDirectoryPath) to be a directory.", level: .error)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 |          log.exit(status: .failure)
26 |          return // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:25:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |       guard fileExistsAndIsDirectory(atPath: targetParentDirectoryPath) else {
24 |          log.message("Expected \(targetParentDirectoryPath) to be a directory.", level: .error)
25 |          log.exit(status: .failure)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |          return // only reachable in unit tests
27 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[68/82] Compiling AnyLint StringExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:8:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 6 |    public func moveFileSafely(from sourcePath: String, to targetPath: String) throws {
 7 |       guard fileExists(atPath: sourcePath) else {
 8 |          log.message("No file found at \(sourcePath) to move.", level: .error)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 9 |          log.exit(status: .failure)
10 |          return // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:9:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 7 |       guard fileExists(atPath: sourcePath) else {
 8 |          log.message("No file found at \(sourcePath) to move.", level: .error)
 9 |          log.exit(status: .failure)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
10 |          return // only reachable in unit tests
11 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:14:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |       guard !fileExists(atPath: targetPath) || sourcePath.lowercased() == targetPath.lowercased() else {
14 |          log.message("File already exists at target path \(targetPath) – can't move from \(sourcePath).", level: .warning)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 |          return
16 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:24:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 |
23 |       guard fileExistsAndIsDirectory(atPath: targetParentDirectoryPath) else {
24 |          log.message("Expected \(targetParentDirectoryPath) to be a directory.", level: .error)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 |          log.exit(status: .failure)
26 |          return // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Extensions/FileManagerExt.swift:25:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |       guard fileExistsAndIsDirectory(atPath: targetParentDirectoryPath) else {
24 |          log.message("Expected \(targetParentDirectoryPath) to be a directory.", level: .error)
25 |          log.exit(status: .failure)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |          return // only reachable in unit tests
27 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[69/82] Compiling AnyLint Checker.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:15:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 13 | extension FileContentsChecker: Checker {
 14 |    func performCheck() throws -> [Violation] { // swiftlint:disable:this function_body_length
 15 |       log.message("Start checking \(checkInfo) ...", level: .debug)
    |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 16 |       var violations: [Violation] = []
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:19:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 |       for filePath in filePathsToCheck.reversed() {
 19 |          log.message("Start reading contents of file at \(filePath) ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 20 |
 21 |          if let fileData = fileManager.contents(atPath: filePath), let fileContents = String(data: fileData, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:28:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 26 |             let skipInFileRegex = try Regex(#"AnyLint\.skipInFile:[^\n]*([, ]All[,\s]|[, ]\#(checkInfo.id)[,\s])"#)
 27 |             guard !skipInFileRegex.matches(fileContents) else {
 28 |                log.message("Skipping \(checkInfo) in file \(filePath) due to 'AnyLint.skipInFile' instruction ...", level: .debug)
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 29 |                continue
 30 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:64:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 62 |                }
 63 |
 64 |                log.message("Found violating match at \(locationInfo) ...", level: .debug)
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 65 |
 66 |                // skip found match if contains `AnyLint.skipHere: <CheckInfo.ID>` in same line or one line before
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:68:19: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 66 |                // skip found match if contains `AnyLint.skipHere: <CheckInfo.ID>` in same line or one line before
 67 |                guard !linesInFile.containsLine(at: [locationInfo.line - 2, locationInfo.line - 1], matchingRegex: skipHereRegex) else {
 68 |                   log.message("Skip reporting last match due to 'AnyLint.skipHere' instruction ...", level: .debug)
    |                   `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 69 |                   continue
 70 |                }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:87:19: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 85 |                   // apply auto correction
 86 |                   newFileContents.replaceSubrange(match.range, with: autoCorrection.after)
 87 |                   log.message("Applied autocorrection for last match ...", level: .debug)
    |                   `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 88 |                }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:90:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 88 |                }
 89 |
 90 |                log.message("Reporting violation for \(checkInfo) in file \(filePath) at \(locationInfo) ...", level: .debug)
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 91 |                violations.append(
 92 |                   Violation(
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:103:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
101 |
102 |             if newFileContents != fileContents {
103 |                log.message("Rewriting contents of file \(filePath) due to autocorrection changes ...", level: .debug)
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 |                try newFileContents.write(toFile: filePath, atomically: true, encoding: .utf8)
105 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:107:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 |             }
106 |          } else {
107 |             log.message(
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 |                "Could not read contents of file at \(filePath). Make sure it is a text file and is formatted as UTF8.",
109 |                level: .warning
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:119:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |       if repeatIfAutoCorrected && violations.contains(where: { $0.appliedAutoCorrection != nil }) {
119 |          log.message("Repeating check \(checkInfo) because auto-corrections were applied on last run.", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |          // only paths where auto-corrections were applied need to be re-checked
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[70/82] Compiling AnyLint FileContentsChecker.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:15:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 13 | extension FileContentsChecker: Checker {
 14 |    func performCheck() throws -> [Violation] { // swiftlint:disable:this function_body_length
 15 |       log.message("Start checking \(checkInfo) ...", level: .debug)
    |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 16 |       var violations: [Violation] = []
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:19:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 |       for filePath in filePathsToCheck.reversed() {
 19 |          log.message("Start reading contents of file at \(filePath) ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 20 |
 21 |          if let fileData = fileManager.contents(atPath: filePath), let fileContents = String(data: fileData, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:28:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 26 |             let skipInFileRegex = try Regex(#"AnyLint\.skipInFile:[^\n]*([, ]All[,\s]|[, ]\#(checkInfo.id)[,\s])"#)
 27 |             guard !skipInFileRegex.matches(fileContents) else {
 28 |                log.message("Skipping \(checkInfo) in file \(filePath) due to 'AnyLint.skipInFile' instruction ...", level: .debug)
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 29 |                continue
 30 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:64:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 62 |                }
 63 |
 64 |                log.message("Found violating match at \(locationInfo) ...", level: .debug)
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 65 |
 66 |                // skip found match if contains `AnyLint.skipHere: <CheckInfo.ID>` in same line or one line before
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:68:19: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 66 |                // skip found match if contains `AnyLint.skipHere: <CheckInfo.ID>` in same line or one line before
 67 |                guard !linesInFile.containsLine(at: [locationInfo.line - 2, locationInfo.line - 1], matchingRegex: skipHereRegex) else {
 68 |                   log.message("Skip reporting last match due to 'AnyLint.skipHere' instruction ...", level: .debug)
    |                   `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 69 |                   continue
 70 |                }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:87:19: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 85 |                   // apply auto correction
 86 |                   newFileContents.replaceSubrange(match.range, with: autoCorrection.after)
 87 |                   log.message("Applied autocorrection for last match ...", level: .debug)
    |                   `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 88 |                }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:90:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 88 |                }
 89 |
 90 |                log.message("Reporting violation for \(checkInfo) in file \(filePath) at \(locationInfo) ...", level: .debug)
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 91 |                violations.append(
 92 |                   Violation(
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:103:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
101 |
102 |             if newFileContents != fileContents {
103 |                log.message("Rewriting contents of file \(filePath) due to autocorrection changes ...", level: .debug)
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 |                try newFileContents.write(toFile: filePath, atomically: true, encoding: .utf8)
105 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:107:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 |             }
106 |          } else {
107 |             log.message(
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 |                "Could not read contents of file at \(filePath). Make sure it is a text file and is formatted as UTF8.",
109 |                level: .warning
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FileContentsChecker.swift:119:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 |
118 |       if repeatIfAutoCorrected && violations.contains(where: { $0.appliedAutoCorrection != nil }) {
119 |          log.message("Repeating check \(checkInfo) because auto-corrections were applied on last run.", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |          // only paths where auto-corrections were applied need to be re-checked
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[71/82] Compiling AnyLint Severity.swift
[72/82] Emitting module AnyLint
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:68:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
66 | // TODO: make the autocorrection diff sorted by line number
67 | @available(OSX 10.15, *)
68 | extension CollectionDifference.Change: Comparable where ChangeElement == String {
   | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
69 |    public static func < (lhs: Self, rhs: Self) -> Bool {
70 |       switch (lhs, rhs) {
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/FilesSearch.swift:13:22: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FilesSearch' may have shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | /// Helper to search for files and filter using Regexes.
  5 | public final class FilesSearch {
    |                    `- note: class 'FilesSearch' does not conform to the 'Sendable' protocol
  6 |    struct SearchOptions: Equatable, Hashable {
  7 |       let pathToSearch: String
    :
 11 |
 12 |    /// The shared instance.
 13 |    public static let shared = FilesSearch()
    |                      |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FilesSearch' may have shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |    private var cachedFilePaths: [SearchOptions: [String]] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Options.swift:4:15: warning: static property 'validateOnly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | enum Options {
4 |    static var validateOnly: Bool = false
  |               |- warning: static property 'validateOnly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |               |- note: convert 'validateOnly' to a 'let' constant to make 'Sendable' shared state immutable
  |               |- note: add '@MainActor' to make static property 'validateOnly' part of global actor 'MainActor'
  |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |    static var unvalidated: Bool = false
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Options.swift:5:15: warning: static property 'unvalidated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | enum Options {
4 |    static var validateOnly: Bool = false
5 |    static var unvalidated: Bool = false
  |               |- warning: static property 'unvalidated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |               |- note: convert 'unvalidated' to a 'let' constant to make 'Sendable' shared state immutable
  |               |- note: add '@MainActor' to make static property 'unvalidated' part of global actor 'MainActor'
  |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:5:15: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Statistics' may have shared mutable state; this is an error in the Swift 6 language mode
  2 | import Utility
  3 |
  4 | final class Statistics {
    |             `- note: class 'Statistics' does not conform to the 'Sendable' protocol
  5 |    static let shared = Statistics()
    |               |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Statistics' may have shared mutable state; this is an error in the Swift 6 language mode
    |               |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 |    var executedChecks: [CheckInfo] = []
[73/82] Compiling AnyLint Statistics.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:5:15: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Statistics' may have shared mutable state; this is an error in the Swift 6 language mode
  2 | import Utility
  3 |
  4 | final class Statistics {
    |             `- note: class 'Statistics' does not conform to the 'Sendable' protocol
  5 |    static let shared = Statistics()
    |               |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Statistics' may have shared mutable state; this is an error in the Swift 6 language mode
    |               |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 |    var executedChecks: [CheckInfo] = []
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:44:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 42 |
 43 |    func logValidationSummary() {
 44 |       guard log.outputType != .xcode else {
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 45 |          log.message("Performing validations only while reporting for Xcode is probably misuse of the `-l` / `--validate` option.", level: .warning)
 46 |          return
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:45:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 43 |    func logValidationSummary() {
 44 |       guard log.outputType != .xcode else {
 45 |          log.message("Performing validations only while reporting for Xcode is probably misuse of the `-l` / `--validate` option.", level: .warning)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 46 |          return
 47 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:50:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |       if executedChecks.isEmpty {
 50 |          log.message("No checks found to validate.", level: .warning)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 51 |       } else {
 52 |          log.message(
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:52:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 50 |          log.message("No checks found to validate.", level: .warning)
 51 |       } else {
 52 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 53 |             "Performed \(executedChecks.count) validation(s) in \(filesChecked.count) file(s) without any issues.",
 54 |             level: .success
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:64:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 |       if executedChecks.isEmpty {
 64 |          log.message("No checks found to perform.", level: .warning)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 65 |       } else if violationsBySeverity.values.contains(where: { $0.isFilled }) {
 66 |          if printExecutionTime {
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:70:17: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 68 |          }
 69 |
 70 |          switch log.outputType {
    |                 `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 71 |          case .console, .test:
 72 |             logViolationsToConsole()
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:82:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 |          }
 81 |
 82 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 83 |             "Performed \(executedChecks.count) check(s) in \(filesChecked.count) file(s) without any violations.",
 84 |             level: .success
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:90:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 88 |
 89 |    func logExecutionTimes() {
 90 |       log.message("⏱ Executed checks sorted by their execution time:", level: .info)
    |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 91 |
 92 |       for (check, executionTime) in self.executionTimePerCheck.sorted(by: { $0.value > $1.value }) {
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:94:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 92 |       for (check, executionTime) in self.executionTimePerCheck.sorted(by: { $0.value > $1.value }) {
 93 |          let milliseconds = Int(executionTime * 1_000)
 94 |          log.message("\(milliseconds)ms\t\(check.id)", level: .info)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 95 |       }
 96 |    }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:110:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 |
109 |             if violationsWithLocationMessage.isFilled {
110 |                log.message(
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
111 |                   "\("[\(check.id)]".bold) Found \(checkViolations.count) violation(s) at:",
112 |                   level: check.severity.logLevel
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:119:19: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 |                   let violationNumString = String(format: "%0\(numerationDigits)d", index + 1)
118 |                   let prefix = "> \(violationNumString). "
119 |                   log.message(prefix + violation.locationMessage(pathType: .relative)!, level: check.severity.logLevel)
    |                   `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |                   let prefixLengthWhitespaces = (0 ..< prefix.count).map { _ in " " }.joined()
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:124:25: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
122 |                   if let appliedAutoCorrection = violation.appliedAutoCorrection {
123 |                      for messageLine in appliedAutoCorrection.appliedMessageLines {
124 |                         log.message(prefixLengthWhitespaces + messageLine, level: .info)
    |                         `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
125 |                      }
126 |                   } else if let matchedString = violation.matchedString {
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:127:22: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
125 |                      }
126 |                   } else if let matchedString = violation.matchedString {
127 |                      log.message(prefixLengthWhitespaces + "Matching string:".bold + " (trimmed & reduced whitespaces)", level: .info)
    |                      `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
128 |                      let matchedStringOutput = matchedString
129 |                         .showNewlines()
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:134:22: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 |                         .replacingOccurrences(of: "      ", with: "  ")
133 |                         .replacingOccurrences(of: "    ", with: "  ")
134 |                      log.message(prefixLengthWhitespaces + "> " + matchedStringOutput, level: .info)
    |                      `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 |                   }
136 |                }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:138:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
136 |                }
137 |             } else {
138 |                log.message("\("[\(check.id)]".bold) Found \(checkViolations.count) violation(s).", level: check.severity.logLevel)
    |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 |             }
140 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:141:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
139 |             }
140 |
141 |             log.message(">> Hint: \(check.hint)".bold.italic, level: check.severity.logLevel)
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
142 |          }
143 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:148:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
146 |       let warnings = "\(violationsBySeverity[.warning]!.count) warning(s)"
147 |
148 |       log.message(
    |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
149 |          "Performed \(executedChecks.count) check(s) in \(filesChecked.count) file(s) and found \(errors) & \(warnings).",
150 |          level: maxViolationSeverity!.logLevel
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Statistics.swift:159:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
157 |          for violation in severityViolations where violation.appliedAutoCorrection == nil {
158 |             let check = violation.checkInfo
159 |             log.xcodeMessage(
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
160 |                "[\(check.id)] \(check.hint)",
161 |                level: check.severity.logLevel,
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[74/82] Compiling AnyLint AutoCorrection.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:68:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
66 | // TODO: make the autocorrection diff sorted by line number
67 | @available(OSX 10.15, *)
68 | extension CollectionDifference.Change: Comparable where ChangeElement == String {
   | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
69 |    public static func < (lhs: Self, rhs: Self) -> Bool {
70 |       switch (lhs, rhs) {
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:57:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |          let after = elements.first(where: { $0.0 == "after" })?.1
56 |       else {
57 |          log.message("Failed to convert Dictionary literal '\(elements)' to type AutoCorrection.", level: .error)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 |          log.exit(status: .failure)
59 |          exit(EXIT_FAILURE) // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:58:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 |       else {
57 |          log.message("Failed to convert Dictionary literal '\(elements)' to type AutoCorrection.", level: .error)
58 |          log.exit(status: .failure)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 |          exit(EXIT_FAILURE) // only reachable in unit tests
60 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/CheckInfo.swift:51:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
49 |
50 |          guard let severity = Severity.from(string: severityString) else {
51 |             log.message("Specified severity '\(severityString)' for check '\(id)' unknown. Use one of [error, warning, info].", level: .error)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 |             log.exit(status: .failure)
53 |             exit(EXIT_FAILURE) // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/CheckInfo.swift:52:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
50 |          guard let severity = Severity.from(string: severityString) else {
51 |             log.message("Specified severity '\(severityString)' for check '\(id)' unknown. Use one of [error, warning, info].", level: .error)
52 |             log.exit(status: .failure)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 |             exit(EXIT_FAILURE) // only reachable in unit tests
54 |          }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/CheckInfo.swift:65:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 |
64 |          guard let defaultSeverityMatch = defaultSeverityRegex.firstMatch(in: value) else {
65 |             log.message(
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 |                "Could not convert String literal '\(value)' to type CheckInfo. Please check the structure to be: <id>(@<severity>): <hint>",
67 |                level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/CheckInfo.swift:69:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 |                level: .error
68 |             )
69 |             log.exit(status: .failure)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 |             exit(EXIT_FAILURE) // only reachable in unit tests
71 |          }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[75/82] Compiling AnyLint CheckInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:68:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
66 | // TODO: make the autocorrection diff sorted by line number
67 | @available(OSX 10.15, *)
68 | extension CollectionDifference.Change: Comparable where ChangeElement == String {
   | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
69 |    public static func < (lhs: Self, rhs: Self) -> Bool {
70 |       switch (lhs, rhs) {
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:57:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |          let after = elements.first(where: { $0.0 == "after" })?.1
56 |       else {
57 |          log.message("Failed to convert Dictionary literal '\(elements)' to type AutoCorrection.", level: .error)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 |          log.exit(status: .failure)
59 |          exit(EXIT_FAILURE) // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:58:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 |       else {
57 |          log.message("Failed to convert Dictionary literal '\(elements)' to type AutoCorrection.", level: .error)
58 |          log.exit(status: .failure)
   |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 |          exit(EXIT_FAILURE) // only reachable in unit tests
60 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/CheckInfo.swift:51:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
49 |
50 |          guard let severity = Severity.from(string: severityString) else {
51 |             log.message("Specified severity '\(severityString)' for check '\(id)' unknown. Use one of [error, warning, info].", level: .error)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 |             log.exit(status: .failure)
53 |             exit(EXIT_FAILURE) // only reachable in unit tests
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/CheckInfo.swift:52:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
50 |          guard let severity = Severity.from(string: severityString) else {
51 |             log.message("Specified severity '\(severityString)' for check '\(id)' unknown. Use one of [error, warning, info].", level: .error)
52 |             log.exit(status: .failure)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 |             exit(EXIT_FAILURE) // only reachable in unit tests
54 |          }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/CheckInfo.swift:65:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 |
64 |          guard let defaultSeverityMatch = defaultSeverityRegex.firstMatch(in: value) else {
65 |             log.message(
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 |                "Could not convert String literal '\(value)' to type CheckInfo. Please check the structure to be: <id>(@<severity>): <hint>",
67 |                level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/CheckInfo.swift:69:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 |                level: .error
68 |             )
69 |             log.exit(status: .failure)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 |             exit(EXIT_FAILURE) // only reachable in unit tests
71 |          }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[76/82] Compiling AnyLint Lint.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:167:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
165 |
166 |       if targetIsXcode {
167 |          log = Logger(outputType: .xcode)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 |       }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:170:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 |       }
169 |
170 |       log.logDebugLevel = arguments.contains(Constants.debugArgument)
    |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
171 |       Options.validateOnly = arguments.contains(Constants.validateArgument)
172 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:177:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
175 |       guard !Options.validateOnly else {
176 |          Statistics.shared.logValidationSummary()
177 |          log.exit(status: .success)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 |          return // only reachable in unit tests
179 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:184:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
182 |
183 |       if Statistics.shared.violations(severity: .error, excludeAutocorrected: targetIsXcode).isFilled {
184 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
185 |       } else if failOnWarnings && Statistics.shared.violations(severity: .warning, excludeAutocorrected: targetIsXcode).isFilled {
186 |          log.exit(status: .failure)
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:186:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
184 |          log.exit(status: .failure)
185 |       } else if failOnWarnings && Statistics.shared.violations(severity: .warning, excludeAutocorrected: targetIsXcode).isFilled {
186 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
187 |       } else {
188 |          log.exit(status: .success)
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:188:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 |          log.exit(status: .failure)
187 |       } else {
188 |          log.exit(status: .success)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
189 |       }
190 |    }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:194:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
192 |    static func validate(regex: Regex, matchesForEach matchingExamples: [String], checkInfo: CheckInfo) {
193 |       if matchingExamples.isFilled {
194 |          log.message("Validating 'matchingExamples' for \(checkInfo) ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
195 |       }
196 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:198:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
196 |
197 |       for example in matchingExamples where !regex.matches(example) {
198 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
199 |             "Couldn't find a match for regex \(regex) in check '\(checkInfo.id)' within matching example:\n\(example)",
200 |             level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:202:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
200 |             level: .error
201 |          )
202 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 |       }
204 |    }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:208:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
206 |    static func validate(regex: Regex, doesNotMatchAny nonMatchingExamples: [String], checkInfo: CheckInfo) {
207 |       if nonMatchingExamples.isFilled {
208 |          log.message("Validating 'nonMatchingExamples' for \(checkInfo) ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
209 |       }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:212:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
210 |
211 |       for example in nonMatchingExamples where regex.matches(example) {
212 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
213 |             "Unexpectedly found a match for regex \(regex) in check '\(checkInfo.id)' within non-matching example:\n\(example)",
214 |             level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:216:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
214 |             level: .error
215 |          )
216 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
217 |       }
218 |    }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:222:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
220 |    static func validateAutocorrectsAll(checkInfo: CheckInfo, examples: [AutoCorrection], regex: Regex, autocorrectReplacement: String) {
221 |       if examples.isFilled {
222 |          log.message("Validating 'autoCorrectExamples' for \(checkInfo) ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
223 |       }
224 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:228:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
226 |          let autocorrected = regex.replaceAllCaptures(in: autocorrect.before, with: autocorrectReplacement)
227 |          if autocorrected != autocorrect.after {
228 |             log.message(
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
229 |                """
230 |                Autocorrecting example for \(checkInfo.id) did not result in expected output.
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:237:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
235 |                level: .error
236 |             )
237 |             log.exit(status: .failure)
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
238 |          }
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:249:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
247 |    ) {
248 |       if autoCorrectExamples.isFilled && autoCorrectReplacement == nil {
249 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
250 |             "`autoCorrectExamples` provided for check \(checkInfo.id) without specifying an `autoCorrectReplacement`.",
251 |             level: .warning
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:256:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
254 |
255 |       guard autoCorrectReplacement == nil || violateIfNoMatchesFound != true else {
256 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
257 |             "Incompatible options specified for check \(checkInfo.id): autoCorrectReplacement and violateIfNoMatchesFound can't be used together.",
258 |             level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:260:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
258 |             level: .error
259 |          )
260 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
261 |          return // only reachable in unit tests
262 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Options.swift:4:15: warning: static property 'validateOnly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | enum Options {
4 |    static var validateOnly: Bool = false
  |               |- warning: static property 'validateOnly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |               |- note: convert 'validateOnly' to a 'let' constant to make 'Sendable' shared state immutable
  |               |- note: add '@MainActor' to make static property 'validateOnly' part of global actor 'MainActor'
  |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |    static var unvalidated: Bool = false
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Options.swift:5:15: warning: static property 'unvalidated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | enum Options {
4 |    static var validateOnly: Bool = false
5 |    static var unvalidated: Bool = false
  |               |- warning: static property 'unvalidated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |               |- note: convert 'unvalidated' to a 'let' constant to make 'Sendable' shared state immutable
  |               |- note: add '@MainActor' to make static property 'unvalidated' part of global actor 'MainActor'
  |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[77/82] Compiling AnyLint Options.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:167:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
165 |
166 |       if targetIsXcode {
167 |          log = Logger(outputType: .xcode)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 |       }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:170:7: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
168 |       }
169 |
170 |       log.logDebugLevel = arguments.contains(Constants.debugArgument)
    |       `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
171 |       Options.validateOnly = arguments.contains(Constants.validateArgument)
172 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:177:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
175 |       guard !Options.validateOnly else {
176 |          Statistics.shared.logValidationSummary()
177 |          log.exit(status: .success)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 |          return // only reachable in unit tests
179 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:184:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
182 |
183 |       if Statistics.shared.violations(severity: .error, excludeAutocorrected: targetIsXcode).isFilled {
184 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
185 |       } else if failOnWarnings && Statistics.shared.violations(severity: .warning, excludeAutocorrected: targetIsXcode).isFilled {
186 |          log.exit(status: .failure)
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:186:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
184 |          log.exit(status: .failure)
185 |       } else if failOnWarnings && Statistics.shared.violations(severity: .warning, excludeAutocorrected: targetIsXcode).isFilled {
186 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
187 |       } else {
188 |          log.exit(status: .success)
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:188:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 |          log.exit(status: .failure)
187 |       } else {
188 |          log.exit(status: .success)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
189 |       }
190 |    }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:194:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
192 |    static func validate(regex: Regex, matchesForEach matchingExamples: [String], checkInfo: CheckInfo) {
193 |       if matchingExamples.isFilled {
194 |          log.message("Validating 'matchingExamples' for \(checkInfo) ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
195 |       }
196 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:198:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
196 |
197 |       for example in matchingExamples where !regex.matches(example) {
198 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
199 |             "Couldn't find a match for regex \(regex) in check '\(checkInfo.id)' within matching example:\n\(example)",
200 |             level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:202:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
200 |             level: .error
201 |          )
202 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 |       }
204 |    }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:208:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
206 |    static func validate(regex: Regex, doesNotMatchAny nonMatchingExamples: [String], checkInfo: CheckInfo) {
207 |       if nonMatchingExamples.isFilled {
208 |          log.message("Validating 'nonMatchingExamples' for \(checkInfo) ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
209 |       }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:212:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
210 |
211 |       for example in nonMatchingExamples where regex.matches(example) {
212 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
213 |             "Unexpectedly found a match for regex \(regex) in check '\(checkInfo.id)' within non-matching example:\n\(example)",
214 |             level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:216:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
214 |             level: .error
215 |          )
216 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
217 |       }
218 |    }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:222:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
220 |    static func validateAutocorrectsAll(checkInfo: CheckInfo, examples: [AutoCorrection], regex: Regex, autocorrectReplacement: String) {
221 |       if examples.isFilled {
222 |          log.message("Validating 'autoCorrectExamples' for \(checkInfo) ...", level: .debug)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
223 |       }
224 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:228:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
226 |          let autocorrected = regex.replaceAllCaptures(in: autocorrect.before, with: autocorrectReplacement)
227 |          if autocorrected != autocorrect.after {
228 |             log.message(
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
229 |                """
230 |                Autocorrecting example for \(checkInfo.id) did not result in expected output.
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:237:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
235 |                level: .error
236 |             )
237 |             log.exit(status: .failure)
    |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
238 |          }
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:249:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
247 |    ) {
248 |       if autoCorrectExamples.isFilled && autoCorrectReplacement == nil {
249 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
250 |             "`autoCorrectExamples` provided for check \(checkInfo.id) without specifying an `autoCorrectReplacement`.",
251 |             level: .warning
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:256:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
254 |
255 |       guard autoCorrectReplacement == nil || violateIfNoMatchesFound != true else {
256 |          log.message(
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
257 |             "Incompatible options specified for check \(checkInfo.id): autoCorrectReplacement and violateIfNoMatchesFound can't be used together.",
258 |             level: .error
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Lint.swift:260:10: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
258 |             level: .error
259 |          )
260 |          log.exit(status: .failure)
    |          `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
261 |          return // only reachable in unit tests
262 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Options.swift:4:15: warning: static property 'validateOnly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | enum Options {
4 |    static var validateOnly: Bool = false
  |               |- warning: static property 'validateOnly' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |               |- note: convert 'validateOnly' to a 'let' constant to make 'Sendable' shared state immutable
  |               |- note: add '@MainActor' to make static property 'validateOnly' part of global actor 'MainActor'
  |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |    static var unvalidated: Bool = false
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Options.swift:5:15: warning: static property 'unvalidated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | enum Options {
4 |    static var validateOnly: Bool = false
5 |    static var unvalidated: Bool = false
  |               |- warning: static property 'unvalidated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |               |- note: convert 'unvalidated' to a 'let' constant to make 'Sendable' shared state immutable
  |               |- note: add '@MainActor' to make static property 'unvalidated' part of global actor 'MainActor'
  |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[78/82] Compiling AnyLint FilePathsChecker.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FilePathsChecker.swift:19:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 |          let matchingFilePathsCount = filePathsToCheck.filter { regex.matches($0) }.count
18 |          if matchingFilePathsCount <= 0 {
19 |             log.message("Reporting violation for \(checkInfo) as no matching file was found ...", level: .debug)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 |             violations.append(
21 |                Violation(checkInfo: checkInfo, filePath: nil, locationInfo: nil, appliedAutoCorrection: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FilePathsChecker.swift:26:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 |       } else {
25 |          for filePath in filePathsToCheck where regex.matches(filePath) {
26 |             log.message("Found violating match for \(checkInfo) ...", level: .debug)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |             let appliedAutoCorrection: AutoCorrection? = try {
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FilePathsChecker.swift:38:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 |
37 |             if appliedAutoCorrection != nil {
38 |                log.message("Applied autocorrection for last match ...", level: .debug)
   |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 |             }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FilePathsChecker.swift:41:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 |             }
40 |
41 |             log.message("Reporting violation for \(checkInfo) in file \(filePath) ...", level: .debug)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 |             violations.append(
43 |                Violation(checkInfo: checkInfo, filePath: filePath, locationInfo: nil, appliedAutoCorrection: appliedAutoCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[79/82] Compiling AnyLint ArrayExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FilePathsChecker.swift:19:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 |          let matchingFilePathsCount = filePathsToCheck.filter { regex.matches($0) }.count
18 |          if matchingFilePathsCount <= 0 {
19 |             log.message("Reporting violation for \(checkInfo) as no matching file was found ...", level: .debug)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 |             violations.append(
21 |                Violation(checkInfo: checkInfo, filePath: nil, locationInfo: nil, appliedAutoCorrection: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FilePathsChecker.swift:26:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 |       } else {
25 |          for filePath in filePathsToCheck where regex.matches(filePath) {
26 |             log.message("Found violating match for \(checkInfo) ...", level: .debug)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |             let appliedAutoCorrection: AutoCorrection? = try {
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FilePathsChecker.swift:38:16: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 |
37 |             if appliedAutoCorrection != nil {
38 |                log.message("Applied autocorrection for last match ...", level: .debug)
   |                `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 |             }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/Checkers/FilePathsChecker.swift:41:13: warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 |             }
40 |
41 |             log.message("Reporting violation for \(checkInfo) in file \(filePath) ...", level: .debug)
   |             `- warning: reference to var 'log' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 |             violations.append(
43 |                Violation(checkInfo: checkInfo, filePath: filePath, locationInfo: nil, appliedAutoCorrection: appliedAutoCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/Utility/Constants.swift:7:12: note: var declared here
 5 |
 6 | /// Shortcut to access the `Logger` within this project.
 7 | public var log = Logger(outputType: .console)
   |            `- note: var declared here
 8 |
 9 | /// Constants to reference across the project.
[80/82] Compiling AnyLint ViolationLocationConfig.swift
[80/82] Linking anylint
[81/82] Applying anylint
Build complete! (10.43s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.5",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.1",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    }
  ],
  "manifest_display_name" : "AnyLint",
  "name" : "AnyLint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "AnyLint",
      "targets" : [
        "AnyLint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "anylint",
      "targets" : [
        "AnyLintCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UtilityTests",
      "module_type" : "SwiftTarget",
      "name" : "UtilityTests",
      "path" : "Tests/UtilityTests",
      "sources" : [
        "Extensions/RegexExtTests.swift",
        "LoggerTests.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Utility",
      "module_type" : "SwiftTarget",
      "name" : "Utility",
      "path" : "Sources/Utility",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "AnyLint",
        "anylint"
      ],
      "sources" : [
        "Constants.swift",
        "Extensions/CollectionExt.swift",
        "Extensions/FileManagerExt.swift",
        "Extensions/RegexExt.swift",
        "Extensions/StringExt.swift",
        "Logger.swift",
        "Regex.swift",
        "TestHelper.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AnyLintTests",
      "module_type" : "SwiftTarget",
      "name" : "AnyLintTests",
      "path" : "Tests/AnyLintTests",
      "sources" : [
        "AutoCorrectionTests.swift",
        "CheckInfoTests.swift",
        "Checkers/FileContentsCheckerTests.swift",
        "Checkers/FilePathsCheckerTests.swift",
        "Extensions/ArrayExtTests.swift",
        "Extensions/XCTestCaseExt.swift",
        "FilesSearchTests.swift",
        "LintTests.swift",
        "RegexExtTests.swift",
        "StatisticsTests.swift",
        "ViolationTests.swift"
      ],
      "target_dependencies" : [
        "AnyLint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AnyLintCLI",
      "module_type" : "SwiftTarget",
      "name" : "AnyLintCLI",
      "path" : "Sources/AnyLintCLI",
      "product_dependencies" : [
        "Rainbow",
        "SwiftCLI"
      ],
      "product_memberships" : [
        "anylint"
      ],
      "sources" : [
        "Commands/SingleCommand.swift",
        "ConfigurationTemplates/BlankTemplate.swift",
        "ConfigurationTemplates/ConfigurationTemplate.swift",
        "Globals/CLIConstants.swift",
        "Globals/ValidateOrFail.swift",
        "Tasks/InitTask.swift",
        "Tasks/LintTask.swift",
        "Tasks/TaskHandler.swift",
        "Tasks/VersionTask.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AnyLint",
      "module_type" : "SwiftTarget",
      "name" : "AnyLint",
      "path" : "Sources/AnyLint",
      "product_memberships" : [
        "AnyLint"
      ],
      "sources" : [
        "AutoCorrection.swift",
        "CheckInfo.swift",
        "Checkers/Checker.swift",
        "Checkers/FileContentsChecker.swift",
        "Checkers/FilePathsChecker.swift",
        "Extensions/ArrayExt.swift",
        "Extensions/FileManagerExt.swift",
        "Extensions/StringExt.swift",
        "Extensions/URLExt.swift",
        "FilesSearch.swift",
        "Lint.swift",
        "Options.swift",
        "Severity.swift",
        "Statistics.swift",
        "Violation.swift",
        "ViolationLocationConfig.swift"
      ],
      "target_dependencies" : [
        "Utility"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/flinedev/anylint/main
Repository:               FlineDev/AnyLint
Swift version used:       6.1
Target:                   AnyLint
Extracting symbol information for 'AnyLint'...
Finished extracting symbol information for 'AnyLint'. (4.47s)
Building documentation for 'AnyLint'...
warning: Parameter 'violationlocation' not found in type method declaration
  --> Sources/AnyLint/Lint.swift:11:12-11:29
9  |    ///   - checkInfo: The info object providing some general information on the lint check.
10 |    ///   - regex: The regex to use for matching the contents of files. By defaults points to the start of the regex, unless you provide the named group 'pointer'.
11 +    ///   - violationlocation: Specifies the position of the violation marker violations should be reported. Can be the `lower` or `upper` end of a `fullMatch` or `captureGroup(index:)`.
   |            ╰─suggestion: Replace 'violationlocation' with 'violationLocation'
12 |    ///   - matchingExamples: An array of example contents where the `regex` is expected to trigger. Optionally, the expected pointer position can be marked with ↘.
13 |    ///   - nonMatchingExamples: An array of example contents where the `regex` is expected not to trigger.
warning: Parameter 'violationLocation' is missing documentation
  --> Sources/AnyLint/Lint.swift:18:125-18:125
16 |    ///   - autoCorrectReplacement: A replacement string which can reference any capture groups in the `regex` to use for autocorrection.
17 |    ///   - autoCorrectExamples: An array of example structs with a `before` and an `after` String object to check if autocorrection works properly.
18 +    ///   - repeatIfAutoCorrected: Repeat check if at least one auto-correction was applied in last run. Defaults to `false`.
19 |    public static func checkFileContents(
20 |       checkInfo: CheckInfo,
Finished building documentation for 'AnyLint' (0.14s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/flinedev/anylint/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Updating https://github.com/onevcat/Rainbow.git
Updating https://github.com/jakeheis/SwiftCLI.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.48s)
Updated https://github.com/onevcat/Rainbow.git (0.48s)
Updated https://github.com/jakeheis/SwiftCLI.git (0.48s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (1.08s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.76s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.39s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/7] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling SymbolKit Mixin+Equals.swift
[12/57] Compiling SymbolKit Mixin+Hash.swift
[13/57] Compiling SymbolKit Mixin.swift
[14/57] Compiling SymbolKit LineList.swift
[15/57] Compiling SymbolKit Position.swift
[16/57] Compiling SymbolKit Identifier.swift
[17/57] Compiling SymbolKit KindIdentifier.swift
[18/57] Compiling SymbolKit Location.swift
[19/57] Compiling SymbolKit Mutability.swift
[20/57] Compiling SymbolKit SemanticVersion.swift
[21/57] Compiling SymbolKit AccessControl.swift
[22/57] Compiling SymbolKit Availability.swift
[23/57] Compiling SymbolKit AvailabilityItem.swift
[24/57] Compiling SymbolKit Domain.swift
[25/57] Compiling SymbolKit DeclarationFragments.swift
[26/57] Compiling SymbolKit Fragment.swift
[27/57] Compiling SymbolKit FragmentKind.swift
[28/57] Compiling SymbolKit FunctionParameter.swift
[29/57] Compiling SymbolKit FunctionSignature.swift
[30/57] Compiling SymbolKit Names.swift
[31/57] Compiling SymbolKit SPI.swift
[32/57] Compiling SymbolKit Snippet.swift
[33/57] Compiling SymbolKit Extension.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit Symbol.swift
[40/57] Compiling SymbolKit SymbolKind.swift
[41/57] Compiling SymbolKit SymbolGraph.swift
[42/57] Compiling SymbolKit GraphCollector.swift
[43/57] Compiling SymbolKit Relationship.swift
[44/57] Compiling SymbolKit RelationshipKind.swift
[45/57] Compiling SymbolKit SourceOrigin.swift
[46/57] Compiling SymbolKit GenericConstraints.swift
[47/57] Compiling SymbolKit Swift.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.91s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/12] Compiling Rainbow StringGenerator.swift
[3/12] Compiling Rainbow OutputTarget.swift
[4/12] Compiling Rainbow Rainbow.swift
[5/12] Compiling Rainbow ModesExtractor.swift
[6/12] Compiling Rainbow ControlCode.swift
[7/12] Compiling Rainbow BackgroundColor.swift
[8/12] Compiling Rainbow CodesParser.swift
[9/12] Compiling Rainbow Color.swift
[10/12] Emitting module Rainbow
[11/12] Compiling Rainbow String+Rainbow.swift
[12/12] Compiling Rainbow Style.swift
[13/13] Compiling Rainbow XcodeColorsSupport.swift
[14/22] Compiling Utility StringExt.swift
[15/22] Compiling Utility CollectionExt.swift
[16/22] Emitting module Utility
[17/22] Compiling Utility FileManagerExt.swift
[18/22] Compiling Utility TestHelper.swift
[19/22] Compiling Utility Logger.swift
[20/22] Compiling Utility Constants.swift
[21/22] Compiling Utility RegexExt.swift
[22/22] Compiling Utility Regex.swift
[23/38] Compiling AnyLint Violation.swift
[24/38] Compiling AnyLint Lint.swift
[25/38] Compiling AnyLint Options.swift
[26/39] Compiling AnyLint URLExt.swift
[27/39] Compiling AnyLint FilesSearch.swift
[28/39] Compiling AnyLint Checker.swift
[29/39] Compiling AnyLint FileContentsChecker.swift
[30/39] Compiling AnyLint AutoCorrection.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:68:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
66 | // TODO: make the autocorrection diff sorted by line number
67 | @available(OSX 10.15, *)
68 | extension CollectionDifference.Change: Comparable where ChangeElement == String {
   | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
69 |    public static func < (lhs: Self, rhs: Self) -> Bool {
70 |       switch (lhs, rhs) {
[31/39] Compiling AnyLint CheckInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:68:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
66 | // TODO: make the autocorrection diff sorted by line number
67 | @available(OSX 10.15, *)
68 | extension CollectionDifference.Change: Comparable where ChangeElement == String {
   | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
69 |    public static func < (lhs: Self, rhs: Self) -> Bool {
70 |       switch (lhs, rhs) {
[32/39] Compiling AnyLint FilePathsChecker.swift
[33/39] Compiling AnyLint ArrayExt.swift
[34/39] Compiling AnyLint FileManagerExt.swift
[35/39] Compiling AnyLint StringExt.swift
[36/39] Compiling AnyLint Statistics.swift
[37/39] Compiling AnyLint Severity.swift
[38/39] Emitting module AnyLint
/Users/admin/builder/spi-builder-workspace/Sources/AnyLint/AutoCorrection.swift:68:1: warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
66 | // TODO: make the autocorrection diff sorted by line number
67 | @available(OSX 10.15, *)
68 | extension CollectionDifference.Change: Comparable where ChangeElement == String {
   | |- warning: extension declares a conformance of imported type 'Change' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
69 |    public static func < (lhs: Self, rhs: Self) -> Bool {
70 |       switch (lhs, rhs) {
[39/39] Compiling AnyLint ViolationLocationConfig.swift
Build of target: 'AnyLint' complete! (2.49s)
     236
3	/Users/admin/builder/spi-builder-workspace/.docs/flinedev/anylint/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/flinedev/anylint/main
File count: 236
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-flinedev-anylint-main-b60b8834.zip to s3://spi-docs-inbox/prod-flinedev-anylint-main-b60b8834.zip
Copying... [12%]
Copying... [25%]
Copying... [37%]
Copying... [50%]
Copying... [62%]
Copying... [75%]
Copying... [87%]
Copying... [100%]
Copying... [100%]
Done.