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 TypoChecker, reference master (d8fd92), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 11:52:29 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/t-osawa-009/TypoChecker.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/t-osawa-009/TypoChecker
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d8fd920 Update README.md
Cloned https://github.com/t-osawa-009/TypoChecker.git
Revision (git rev-parse @):
d8fd920373f54a6e649a23cc6093a51db4e53985
SUCCESS checkout https://github.com/t-osawa-009/TypoChecker.git at master
Fetching https://github.com/seznam/swift-uniyaml.git
Fetching https://github.com/JohnSundell/Files.git
[1/207] Fetching swift-uniyaml
[39/1438] Fetching swift-uniyaml, files
Fetched https://github.com/JohnSundell/Files.git from cache (0.99s)
Fetched https://github.com/seznam/swift-uniyaml.git from cache (0.99s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (2.29s)
Computing version for https://github.com/seznam/swift-uniyaml.git
Computed https://github.com/seznam/swift-uniyaml.git at 0.11.1 (0.56s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Creating working copy for https://github.com/seznam/swift-uniyaml.git
Working copy of https://github.com/seznam/swift-uniyaml.git resolved at 0.11.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "typochecker",
      "name": "TypoChecker",
      "url": "https://github.com/t-osawa-009/TypoChecker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TypoChecker",
      "dependencies": [
        {
          "identity": "swift-uniyaml",
          "name": "UniYAML",
          "url": "https://github.com/seznam/swift-uniyaml.git",
          "version": "0.12.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-uniyaml",
          "dependencies": [
          ]
        },
        {
          "identity": "files",
          "name": "Files",
          "url": "https://github.com/JohnSundell/Files.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/t-osawa-009/TypoChecker.git
[1/339] Fetching typochecker
Fetched https://github.com/t-osawa-009/TypoChecker.git from cache (0.79s)
Fetching https://github.com/seznam/swift-uniyaml.git from cache
Fetching https://github.com/JohnSundell/Files.git from cache
Fetched https://github.com/seznam/swift-uniyaml.git from cache (0.49s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.52s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.02s)
Computing version for https://github.com/seznam/swift-uniyaml.git
Computed https://github.com/seznam/swift-uniyaml.git at 0.12.0 (2.32s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Creating working copy for https://github.com/t-osawa-009/TypoChecker.git
Working copy of https://github.com/t-osawa-009/TypoChecker.git resolved at master (d8fd920)
Creating working copy for https://github.com/seznam/swift-uniyaml.git
Working copy of https://github.com/seznam/swift-uniyaml.git resolved at 0.12.0
Found 2 product dependencies
  - UniYAML
  - Files
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/t-osawa-009/TypoChecker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/8] Write sources
[3/8] Write TypoChecker-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/14] Compiling UniYAML YAML.swift
[7/14] Compiling UniYAML Decoder.swift
[8/14] Compiling UniYAML Encoder.swift
[9/14] Emitting module UniYAML
[10/14] Emitting module Files
[11/14] Compiling Files Files.swift
[12/27] Compiling TypoChecker ReportOutputer.swift
[13/27] Compiling TypoChecker MarkdownReport.swift
[14/27] Compiling TypoChecker YAMLParser.swift
[15/27] Compiling TypoChecker ReportGenerator.swift
[16/27] Compiling TypoChecker Configuration.swift
[17/27] Compiling TypoChecker JSONReport.swift
[18/27] Compiling TypoChecker XcodeReport.swift
[19/27] Compiling TypoChecker Reportable.swift
[20/28] Compiling TypoChecker main.swift
[21/28] Emitting module TypoChecker
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:36:10: warning: associated value 'invalidValueType(option:optIndex:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  34 | public enum ParsingError: Error, CustomStringConvertible {
  35 |
  36 |     case invalidValueType(option: Option, optIndex: Int)
     |          `- warning: associated value 'invalidValueType(option:optIndex:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  37 |     case missingOptions(options: [String])
  38 |     case conflictingOption(option: String)
     :
  85 |  Option base class. Not intended to be used directly.
  86 |  */
  87 | open class Option {
     |            `- note: class 'Option' does not conform to the 'Sendable' protocol
  88 |
  89 |     internal var _name: String                      // option name
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1040:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Option' to 'Hashable' by implementing 'hash(into:)' instead
1038 |
1039 | extension Option: Hashable {
1040 |     public var hashValue: Int {
     |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Option' to 'Hashable' by implementing 'hash(into:)' instead
1041 |         let parsedName = name.hasPrefix(shortPrefix) ? name.components(separatedBy: shortPrefix).last! : name
1042 |         return parsedName.hashValue
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:426:25: warning: static property 'fileManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 424 |         return .path
 425 |     }
 426 |     internal static var fileManager = FileManager.default
     |                         |- warning: static property 'fileManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                         |- note: convert 'fileManager' to a 'let' constant to make 'Sendable' shared state immutable
     |                         |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
     |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 427 |
 428 |     override open var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:454:25: warning: static property '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
 452 | open class ArgumentParser {
 453 |     // internal file manager
 454 |     internal static let fileManager = FileManager.default
     |                         |- warning: static property '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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
     |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 455 |     open var path: String! = nil
 456 |
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
  1 | open class FileManager : NSObject {
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
  2 |     open class var `default`: FileManager { get }
  3 |     @available(swift, obsoleted: 3, renamed: "default")
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1069:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1067 |
1068 | extension ArgumentParser: CustomStringConvertible, CustomDebugStringConvertible {
1069 |     open var description: String { return docString }
     |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1070 |     open var debugDescription: String { return description }
1071 | }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1070:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1068 | extension ArgumentParser: CustomStringConvertible, CustomDebugStringConvertible {
1069 |     open var description: String { return docString }
1070 |     open var debugDescription: String { return description }
     |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1071 | }
1072 |
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1111:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1109 |      - returns: `String` padded string.
1110 |      */
1111 |     public func zfill(length: Int, buffer: String=" ") -> String {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
1112 |         if length < 0 { return "" }
1113 |         var filler = ""
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1121:5: warning: 'public' modifier is redundant for property declared in a public extension
1119 |
1120 |     /// Returns true if the string represents a path that exists.
1121 |     public var fileExists: Bool {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1122 |         let fm = FileManager.default
1123 |         return fm.fileExists(atPath: self)
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1127:5: warning: 'public' modifier is redundant for property declared in a public extension
1125 |
1126 |     /// Returns true if the string represents a path that exists and is a directory.
1127 |     public var isDirectory: Bool {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1128 |         let fm = FileManager.default
1129 |         var isDir : ObjCBool = false
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1134:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1132 |
1133 |     // \u{001B}[\(attribute code like bold, dim, normal);\(color code)m
1134 |     public func ansiFormatted(color: ANSIColor, style: ANSIStyle = .none) -> String {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
1135 |         let prefix: String = "\u{001B}["
1136 |         let codes: [UInt8] = [color.rawValue, style.rawValue]
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1144:5: warning: 'public' modifier is redundant for initializer declared in a public extension
1142 |
1143 | public extension Bool {
1144 |     public init<T : BinaryInteger>(_ integer: T) {
     |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
1145 |         self.init(integer != 0)
1146 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1148:5: warning: 'public' modifier is redundant for initializer declared in a public extension
1146 |     }
1147 |
1148 |     public init(_ string: String) {
     |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
1149 |         self.init(["true", "True", "1", "yes"].contains(string))
1150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1155:5: warning: 'public' modifier is redundant for initializer declared in a public extension
1153 |
1154 | public extension BinaryInteger {
1155 |     public init(_ bool: Bool) {
     |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
1156 |         self = bool ? 1 : 0
1157 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1163:5: warning: 'public' modifier is redundant for property declared in a public extension
1161 |
1162 | public extension Sequence where Iterator.Element: Hashable {
1163 |     public var uniqueElements: [Iterator.Element] {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1164 |         return Array( Set(self) )
1165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1169:5: warning: 'public' modifier is redundant for property declared in a public extension
1167 |
1168 | public extension Sequence where Iterator.Element: Equatable {
1169 |     public var uniqueElements: [Iterator.Element] {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1170 |         return self.reduce([]){
1171 |             uniqueElements, element in
[22/28] Compiling TypoChecker AnalyticsStringTypo.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:36:10: warning: associated value 'invalidValueType(option:optIndex:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  34 | public enum ParsingError: Error, CustomStringConvertible {
  35 |
  36 |     case invalidValueType(option: Option, optIndex: Int)
     |          `- warning: associated value 'invalidValueType(option:optIndex:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  37 |     case missingOptions(options: [String])
  38 |     case conflictingOption(option: String)
     :
  85 |  Option base class. Not intended to be used directly.
  86 |  */
  87 | open class Option {
     |            `- note: class 'Option' does not conform to the 'Sendable' protocol
  88 |
  89 |     internal var _name: String                      // option name
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1040:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Option' to 'Hashable' by implementing 'hash(into:)' instead
1038 |
1039 | extension Option: Hashable {
1040 |     public var hashValue: Int {
     |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Option' to 'Hashable' by implementing 'hash(into:)' instead
1041 |         let parsedName = name.hasPrefix(shortPrefix) ? name.components(separatedBy: shortPrefix).last! : name
1042 |         return parsedName.hashValue
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:426:25: warning: static property 'fileManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 424 |         return .path
 425 |     }
 426 |     internal static var fileManager = FileManager.default
     |                         |- warning: static property 'fileManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                         |- note: convert 'fileManager' to a 'let' constant to make 'Sendable' shared state immutable
     |                         |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
     |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 427 |
 428 |     override open var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:454:25: warning: static property '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
 452 | open class ArgumentParser {
 453 |     // internal file manager
 454 |     internal static let fileManager = FileManager.default
     |                         |- warning: static property '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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
     |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 455 |     open var path: String! = nil
 456 |
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
  1 | open class FileManager : NSObject {
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
  2 |     open class var `default`: FileManager { get }
  3 |     @available(swift, obsoleted: 3, renamed: "default")
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1069:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1067 |
1068 | extension ArgumentParser: CustomStringConvertible, CustomDebugStringConvertible {
1069 |     open var description: String { return docString }
     |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1070 |     open var debugDescription: String { return description }
1071 | }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1070:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1068 | extension ArgumentParser: CustomStringConvertible, CustomDebugStringConvertible {
1069 |     open var description: String { return docString }
1070 |     open var debugDescription: String { return description }
     |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1071 | }
1072 |
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1111:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1109 |      - returns: `String` padded string.
1110 |      */
1111 |     public func zfill(length: Int, buffer: String=" ") -> String {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
1112 |         if length < 0 { return "" }
1113 |         var filler = ""
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1121:5: warning: 'public' modifier is redundant for property declared in a public extension
1119 |
1120 |     /// Returns true if the string represents a path that exists.
1121 |     public var fileExists: Bool {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1122 |         let fm = FileManager.default
1123 |         return fm.fileExists(atPath: self)
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1127:5: warning: 'public' modifier is redundant for property declared in a public extension
1125 |
1126 |     /// Returns true if the string represents a path that exists and is a directory.
1127 |     public var isDirectory: Bool {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1128 |         let fm = FileManager.default
1129 |         var isDir : ObjCBool = false
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1134:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1132 |
1133 |     // \u{001B}[\(attribute code like bold, dim, normal);\(color code)m
1134 |     public func ansiFormatted(color: ANSIColor, style: ANSIStyle = .none) -> String {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
1135 |         let prefix: String = "\u{001B}["
1136 |         let codes: [UInt8] = [color.rawValue, style.rawValue]
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1144:5: warning: 'public' modifier is redundant for initializer declared in a public extension
1142 |
1143 | public extension Bool {
1144 |     public init<T : BinaryInteger>(_ integer: T) {
     |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
1145 |         self.init(integer != 0)
1146 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1148:5: warning: 'public' modifier is redundant for initializer declared in a public extension
1146 |     }
1147 |
1148 |     public init(_ string: String) {
     |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
1149 |         self.init(["true", "True", "1", "yes"].contains(string))
1150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1155:5: warning: 'public' modifier is redundant for initializer declared in a public extension
1153 |
1154 | public extension BinaryInteger {
1155 |     public init(_ bool: Bool) {
     |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
1156 |         self = bool ? 1 : 0
1157 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1163:5: warning: 'public' modifier is redundant for property declared in a public extension
1161 |
1162 | public extension Sequence where Iterator.Element: Hashable {
1163 |     public var uniqueElements: [Iterator.Element] {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1164 |         return Array( Set(self) )
1165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1169:5: warning: 'public' modifier is redundant for property declared in a public extension
1167 |
1168 | public extension Sequence where Iterator.Element: Equatable {
1169 |     public var uniqueElements: [Iterator.Element] {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1170 |         return self.reduce([]){
1171 |             uniqueElements, element in
[23/28] Compiling TypoChecker ArgumentParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:36:10: warning: associated value 'invalidValueType(option:optIndex:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  34 | public enum ParsingError: Error, CustomStringConvertible {
  35 |
  36 |     case invalidValueType(option: Option, optIndex: Int)
     |          `- warning: associated value 'invalidValueType(option:optIndex:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
  37 |     case missingOptions(options: [String])
  38 |     case conflictingOption(option: String)
     :
  85 |  Option base class. Not intended to be used directly.
  86 |  */
  87 | open class Option {
     |            `- note: class 'Option' does not conform to the 'Sendable' protocol
  88 |
  89 |     internal var _name: String                      // option name
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1040:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Option' to 'Hashable' by implementing 'hash(into:)' instead
1038 |
1039 | extension Option: Hashable {
1040 |     public var hashValue: Int {
     |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Option' to 'Hashable' by implementing 'hash(into:)' instead
1041 |         let parsedName = name.hasPrefix(shortPrefix) ? name.components(separatedBy: shortPrefix).last! : name
1042 |         return parsedName.hashValue
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:426:25: warning: static property 'fileManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 424 |         return .path
 425 |     }
 426 |     internal static var fileManager = FileManager.default
     |                         |- warning: static property 'fileManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                         |- note: convert 'fileManager' to a 'let' constant to make 'Sendable' shared state immutable
     |                         |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
     |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 427 |
 428 |     override open var isSatisfied: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:454:25: warning: static property '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
 452 | open class ArgumentParser {
 453 |     // internal file manager
 454 |     internal static let fileManager = FileManager.default
     |                         |- warning: static property '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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
     |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 455 |     open var path: String! = nil
 456 |
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
  1 | open class FileManager : NSObject {
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
  2 |     open class var `default`: FileManager { get }
  3 |     @available(swift, obsoleted: 3, renamed: "default")
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1069:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1067 |
1068 | extension ArgumentParser: CustomStringConvertible, CustomDebugStringConvertible {
1069 |     open var description: String { return docString }
     |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1070 |     open var debugDescription: String { return description }
1071 | }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1070:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1068 | extension ArgumentParser: CustomStringConvertible, CustomDebugStringConvertible {
1069 |     open var description: String { return docString }
1070 |     open var debugDescription: String { return description }
     |     `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1071 | }
1072 |
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1111:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1109 |      - returns: `String` padded string.
1110 |      */
1111 |     public func zfill(length: Int, buffer: String=" ") -> String {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
1112 |         if length < 0 { return "" }
1113 |         var filler = ""
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1121:5: warning: 'public' modifier is redundant for property declared in a public extension
1119 |
1120 |     /// Returns true if the string represents a path that exists.
1121 |     public var fileExists: Bool {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1122 |         let fm = FileManager.default
1123 |         return fm.fileExists(atPath: self)
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1127:5: warning: 'public' modifier is redundant for property declared in a public extension
1125 |
1126 |     /// Returns true if the string represents a path that exists and is a directory.
1127 |     public var isDirectory: Bool {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1128 |         let fm = FileManager.default
1129 |         var isDir : ObjCBool = false
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1134:5: warning: 'public' modifier is redundant for instance method declared in a public extension
1132 |
1133 |     // \u{001B}[\(attribute code like bold, dim, normal);\(color code)m
1134 |     public func ansiFormatted(color: ANSIColor, style: ANSIStyle = .none) -> String {
     |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
1135 |         let prefix: String = "\u{001B}["
1136 |         let codes: [UInt8] = [color.rawValue, style.rawValue]
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1144:5: warning: 'public' modifier is redundant for initializer declared in a public extension
1142 |
1143 | public extension Bool {
1144 |     public init<T : BinaryInteger>(_ integer: T) {
     |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
1145 |         self.init(integer != 0)
1146 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1148:5: warning: 'public' modifier is redundant for initializer declared in a public extension
1146 |     }
1147 |
1148 |     public init(_ string: String) {
     |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
1149 |         self.init(["true", "True", "1", "yes"].contains(string))
1150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1155:5: warning: 'public' modifier is redundant for initializer declared in a public extension
1153 |
1154 | public extension BinaryInteger {
1155 |     public init(_ bool: Bool) {
     |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
1156 |         self = bool ? 1 : 0
1157 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1163:5: warning: 'public' modifier is redundant for property declared in a public extension
1161 |
1162 | public extension Sequence where Iterator.Element: Hashable {
1163 |     public var uniqueElements: [Iterator.Element] {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1164 |         return Array( Set(self) )
1165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TypoChecker/ArgumentParser/ArgumentParser.swift:1169:5: warning: 'public' modifier is redundant for property declared in a public extension
1167 |
1168 | public extension Sequence where Iterator.Element: Equatable {
1169 |     public var uniqueElements: [Iterator.Element] {
     |     `- warning: 'public' modifier is redundant for property declared in a public extension
1170 |         return self.reduce([]){
1171 |             uniqueElements, element in
[24/28] Compiling TypoChecker Analytics.swift
[25/28] Compiling TypoChecker AnalyticsNamingTypo.swift
[25/28] Write Objects.LinkFileList
[26/28] Linking TypoChecker
[27/28] Applying TypoChecker
Build complete! (14.63s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-uniyaml",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/seznam/swift-uniyaml.git"
    },
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files.git"
    }
  ],
  "manifest_display_name" : "TypoChecker",
  "name" : "TypoChecker",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TypoChecker",
      "targets" : [
        "TypoChecker"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TypoCheckerTests",
      "module_type" : "SwiftTarget",
      "name" : "TypoCheckerTests",
      "path" : "Tests/TypoCheckerTests",
      "sources" : [
        "TypoCheckerTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TypoChecker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypoChecker",
      "module_type" : "SwiftTarget",
      "name" : "TypoChecker",
      "path" : "Sources/TypoChecker",
      "product_dependencies" : [
        "UniYAML",
        "Files"
      ],
      "product_memberships" : [
        "TypoChecker"
      ],
      "sources" : [
        "Analytics.swift",
        "AnalyticsNamingTypo.swift",
        "AnalyticsStringTypo.swift",
        "ArgumentParser/ArgumentParser.swift",
        "Configuration.swift",
        "Report/JSONReport.swift",
        "Report/MarkdownReport.swift",
        "Report/ReportGenerator.swift",
        "Report/ReportOutputer.swift",
        "Report/Reportable.swift",
        "Report/XcodeReport.swift",
        "YAMLParser.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
Done.