Build Information
Successful build of SwiftGen, reference 6.7.0 (4fc8cf), with Swift 6.1 for macOS (SPM) on 30 Dec 2025 06:04:14 UTC.
Swift 6 data race errors: 49
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 InferSendableFromCapturesBuild Log
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
| |- warning: static property 'skipsHiddenFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsHiddenFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:36:23: warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
| |- warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:38:23: warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
| |- warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:40:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | fileprivate var directoryEnumerationOptions: Path.DirectoryEnumerationOptions {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:45:54: warning: reference to static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
43 | Path.DirectoryEnumerationOptions(
44 | [
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
| `- warning: reference to static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:646:23: note: static property declared here
644 | }
645 |
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
| `- note: static property declared here
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:46:49: warning: reference to static property 'skipsPackageDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | [
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
| `- warning: reference to static property 'skipsPackageDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
48 | ].compactMap { $0 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:647:23: note: static property declared here
645 |
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
| `- note: static property declared here
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
649 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:47:42: warning: reference to static property 'skipsHiddenFiles' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
| `- warning: reference to static property 'skipsHiddenFiles' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
48 | ].compactMap { $0 }
49 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:648:23: note: static property declared here
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
| `- note: static property declared here
649 | }
650 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum InterfaceBuilder {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case unsupportedTargetRuntime(target: String)
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import Foundation
8 | import Kanna
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum InterfaceBuilder {
[218/224] Compiling SwiftGenKit FontsParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Files/FilesParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum Files {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 |
15 | public var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Files/FilesParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import CoreServices
8 | import Foundation
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum Files {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:30:23: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
28 |
29 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsSubdirectoryDescendants
30 | public static let skipsSubdirectoryDescendants = Self(rawValue: 1 << 0)
| |- warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsSubdirectoryDescendants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:32:23: warning: static property 'skipsPackageDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
30 | public static let skipsSubdirectoryDescendants = Self(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
| |- warning: static property 'skipsPackageDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsPackageDescendants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:34:23: warning: static property 'skipsHiddenFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
| |- warning: static property 'skipsHiddenFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsHiddenFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:36:23: warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
| |- warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:38:23: warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
| |- warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:40:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | fileprivate var directoryEnumerationOptions: Path.DirectoryEnumerationOptions {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:45:54: warning: reference to static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
43 | Path.DirectoryEnumerationOptions(
44 | [
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
| `- warning: reference to static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:646:23: note: static property declared here
644 | }
645 |
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
| `- note: static property declared here
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:46:49: warning: reference to static property 'skipsPackageDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | [
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
| `- warning: reference to static property 'skipsPackageDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
48 | ].compactMap { $0 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:647:23: note: static property declared here
645 |
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
| `- note: static property declared here
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
649 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:47:42: warning: reference to static property 'skipsHiddenFiles' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
| `- warning: reference to static property 'skipsHiddenFiles' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
48 | ].compactMap { $0 }
49 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:648:23: note: static property declared here
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
| `- note: static property declared here
649 | }
650 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum InterfaceBuilder {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case unsupportedTargetRuntime(target: String)
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import Foundation
8 | import Kanna
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum InterfaceBuilder {
[219/224] Compiling SwiftGenKit InterfaceBuilderParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Files/FilesParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum Files {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 |
15 | public var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Files/FilesParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import CoreServices
8 | import Foundation
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum Files {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:30:23: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
28 |
29 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsSubdirectoryDescendants
30 | public static let skipsSubdirectoryDescendants = Self(rawValue: 1 << 0)
| |- warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsSubdirectoryDescendants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:32:23: warning: static property 'skipsPackageDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
30 | public static let skipsSubdirectoryDescendants = Self(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
| |- warning: static property 'skipsPackageDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsPackageDescendants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:34:23: warning: static property 'skipsHiddenFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
| |- warning: static property 'skipsHiddenFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsHiddenFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:36:23: warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
| |- warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:38:23: warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
| |- warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:40:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | fileprivate var directoryEnumerationOptions: Path.DirectoryEnumerationOptions {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:45:54: warning: reference to static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
43 | Path.DirectoryEnumerationOptions(
44 | [
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
| `- warning: reference to static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:646:23: note: static property declared here
644 | }
645 |
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
| `- note: static property declared here
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:46:49: warning: reference to static property 'skipsPackageDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | [
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
| `- warning: reference to static property 'skipsPackageDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
48 | ].compactMap { $0 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:647:23: note: static property declared here
645 |
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
| `- note: static property declared here
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
649 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:47:42: warning: reference to static property 'skipsHiddenFiles' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
| `- warning: reference to static property 'skipsHiddenFiles' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
48 | ].compactMap { $0 }
49 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:648:23: note: static property declared here
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
| `- note: static property declared here
649 | }
650 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum InterfaceBuilder {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case unsupportedTargetRuntime(target: String)
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import Foundation
8 | import Kanna
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum InterfaceBuilder {
[220/224] Compiling SwiftGenKit Platform.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Files/FilesParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum Files {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 |
15 | public var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Files/FilesParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import CoreServices
8 | import Foundation
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum Files {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:30:23: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
28 |
29 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsSubdirectoryDescendants
30 | public static let skipsSubdirectoryDescendants = Self(rawValue: 1 << 0)
| |- warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsSubdirectoryDescendants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:32:23: warning: static property 'skipsPackageDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
30 | public static let skipsSubdirectoryDescendants = Self(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
| |- warning: static property 'skipsPackageDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsPackageDescendants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:34:23: warning: static property 'skipsHiddenFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
| |- warning: static property 'skipsHiddenFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsHiddenFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:36:23: warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
| |- warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:38:23: warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
| |- warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:40:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | fileprivate var directoryEnumerationOptions: Path.DirectoryEnumerationOptions {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:45:54: warning: reference to static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
43 | Path.DirectoryEnumerationOptions(
44 | [
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
| `- warning: reference to static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:646:23: note: static property declared here
644 | }
645 |
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
| `- note: static property declared here
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:46:49: warning: reference to static property 'skipsPackageDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | [
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
| `- warning: reference to static property 'skipsPackageDescendants' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
48 | ].compactMap { $0 }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:647:23: note: static property declared here
645 |
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
| `- note: static property declared here
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
649 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:47:42: warning: reference to static property 'skipsHiddenFiles' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | contains(.skipsSubdirectoryDescendants) ? .skipsSubdirectoryDescendants : nil,
46 | contains(.skipsPackageDescendants) ? .skipsPackageDescendants : nil,
47 | contains(.skipsHiddenFiles) ? .skipsHiddenFiles : nil
| `- warning: reference to static property 'skipsHiddenFiles' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
48 | ].compactMap { $0 }
49 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:648:23: note: static property declared here
646 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
| `- note: static property declared here
649 | }
650 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum InterfaceBuilder {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case unsupportedTargetRuntime(target: String)
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import Foundation
8 | import Kanna
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum InterfaceBuilder {
[221/224] Emitting module SwiftGenKit
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/AssetsCatalog/AssetsCatalogParser.swift:22:23: warning: static property 'filterOptions' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let defaultFilter = filterRegex(forExtensions: ["xcassets"])
22 | public static let filterOptions: Filter.Options = [.skipsFiles, .skipsHiddenFiles, .skipsPackageDescendants]
| |- warning: static property 'filterOptions' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'filterOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public func parse(path: Path, relativeTo parent: Path) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:23:17: note: consider making struct 'Options' conform to the 'Sendable' protocol
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Colors/ColorsParser.swift:12:10: warning: associated value 'colorNotFound(path:name:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | public enum Colors {
11 | public enum ParserError: Error, CustomStringConvertible {
12 | case colorNotFound(path: Path, name: String)
| `- warning: associated value 'colorNotFound(path:name:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | case invalidHexColor(path: Path, string: String, key: String?)
14 | case invalidFile(path: Path, reason: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Colors/ColorsParser.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 |
10 | public enum Colors {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Colors/ColorsParser.swift:13:10: warning: associated value 'invalidHexColor(path:string:key:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum ParserError: Error, CustomStringConvertible {
12 | case colorNotFound(path: Path, name: String)
13 | case invalidHexColor(path: Path, string: String, key: String?)
| `- warning: associated value 'invalidHexColor(path:string:key:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case invalidFile(path: Path, reason: String)
15 | case unsupportedFileType(path: Path, supported: [String])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Colors/ColorsParser.swift:14:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
12 | case colorNotFound(path: Path, name: String)
13 | case invalidHexColor(path: Path, string: String, key: String?)
14 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
15 | case unsupportedFileType(path: Path, supported: [String])
16 | case unsupportedColorFormat(string: String, supported: [String])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Colors/ColorsParser.swift:15:10: warning: associated value 'unsupportedFileType(path:supported:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | case invalidHexColor(path: Path, string: String, key: String?)
14 | case invalidFile(path: Path, reason: String)
15 | case unsupportedFileType(path: Path, supported: [String])
| `- warning: associated value 'unsupportedFileType(path:supported:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
16 | case unsupportedColorFormat(string: String, supported: [String])
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Colors/ColorsParser.swift:42:16: warning: static property 'colorFormat' is not concurrency-safe because non-'Sendable' type 'ParserOption<String>' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | public enum Option {
42 | static let colorFormat = ParserOption(
| |- warning: static property 'colorFormat' is not concurrency-safe because non-'Sendable' type 'ParserOption<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | key: "colorFormat",
44 | defaultValue: "rgba",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/ParserOption.swift:18:8: note: consider making generic struct 'ParserOption' conform to the 'Sendable' protocol
16 |
17 | /// A parser option of a specific value type
18 | struct ParserOption<T>: AnyParserOption {
| `- note: consider making generic struct 'ParserOption' conform to the 'Sendable' protocol
19 | enum OptionError: Swift.Error {
20 | case invalidType(key: String, expected: Any.Type, got: Any.Type, value: Any)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Colors/ColorsXMLFileParser.swift:26:16: warning: static property 'allOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | static var allOptions: ParserOptionList = [Option.colorFormat]
| |- warning: static property 'allOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static let extensions = ["xml"]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/CoreData/CoreDataParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum CoreData {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case invalidFormat(reason: String)
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/CoreData/CoreDataParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import Foundation
8 | import Kanna
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum CoreData {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/CoreData/CoreDataParser.swift:45:23: warning: static property 'filterOptions' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | public static let defaultFilter = filterRegex(forExtensions: ["xcdatamodel", "xcdatamodeld"])
45 | public static let filterOptions: Filter.Options = [.skipsHiddenFiles, .skipsPackageDescendants]
| |- warning: static property 'filterOptions' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'filterOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | public func parse(path: Path, relativeTo parent: Path) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:23:17: note: consider making struct 'Options' conform to the 'Sendable' protocol
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Files/FilesParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum Files {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 |
15 | public var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Files/FilesParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import CoreServices
8 | import Foundation
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum Files {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:30:23: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
28 |
29 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsSubdirectoryDescendants
30 | public static let skipsSubdirectoryDescendants = Self(rawValue: 1 << 0)
| |- warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsSubdirectoryDescendants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:32:23: warning: static property 'skipsPackageDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
30 | public static let skipsSubdirectoryDescendants = Self(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
| |- warning: static property 'skipsPackageDescendants' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsPackageDescendants' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:34:23: warning: static property 'skipsHiddenFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
32 | public static let skipsPackageDescendants = Self(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
| |- warning: static property 'skipsHiddenFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsHiddenFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:36:23: warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
34 | public static let skipsHiddenFiles = Self(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
| |- warning: static property 'skipsDirectories' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:38:23: warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
36 | public static let skipsDirectories = Self(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
| |- warning: static property 'skipsFiles' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipsFiles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Filter.swift:40:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Options to further narrow down filtering
23 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
24 | public let rawValue: UInt
25 | public init(rawValue: UInt) {
:
38 | public static let skipsFiles = Self(rawValue: 1 << 4)
39 |
40 | public static let `default`: Self = [.skipsDirectories, .skipsHiddenFiles, .skipsPackageDescendants]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Filter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | fileprivate var directoryEnumerationOptions: Path.DirectoryEnumerationOptions {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum InterfaceBuilder {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case unsupportedTargetRuntime(target: String)
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/InterfaceBuilder/InterfaceBuilderParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 | import Foundation
8 | import Kanna
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public enum InterfaceBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/JSON/JSONParser.swift:12:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | public enum JSON {
11 | public enum ParserError: Error, CustomStringConvertible {
12 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 |
14 | public var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/JSON/JSONParser.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 |
10 | public enum JSON {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/ParserOption.swift:20:10: warning: associated value 'invalidType(key:expected:got:value:)' of 'Sendable'-conforming enum 'OptionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
18 | struct ParserOption<T>: AnyParserOption {
19 | enum OptionError: Swift.Error {
20 | case invalidType(key: String, expected: Any.Type, got: Any.Type, value: Any)
| `- warning: associated value 'invalidType(key:expected:got:value:)' of 'Sendable'-conforming enum 'OptionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/ParserOptionList.swift:11:10: warning: associated value 'unknownOption(key:value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | public struct ParserOptionList {
10 | enum Error: Swift.Error {
11 | case unknownOption(key: String, value: Any)
| `- warning: associated value 'unknownOption(key:value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Plist/PlistParser.swift:12:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | public enum Plist {
11 | public enum ParserError: Error, CustomStringConvertible {
12 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 |
14 | public var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Plist/PlistParser.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 |
10 | public enum Plist {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/StringsParser.swift:12:10: warning: associated value 'duplicateTableFile(path:existing:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | public enum Strings {
11 | public enum ParserError: Error, CustomStringConvertible {
12 | case duplicateTableFile(path: Path, existing: Path)
| `- warning: associated value 'duplicateTableFile(path:existing:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | case failureOnLoading(path: Path)
14 | case invalidFormat(reason: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/StringsParser.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 |
10 | public enum Strings {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/StringsParser.swift:12:10: warning: associated value 'duplicateTableFile(path:existing:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | public enum Strings {
11 | public enum ParserError: Error, CustomStringConvertible {
12 | case duplicateTableFile(path: Path, existing: Path)
| `- warning: associated value 'duplicateTableFile(path:existing:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | case failureOnLoading(path: Path)
14 | case invalidFormat(reason: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/StringsParser.swift:13:10: warning: associated value 'failureOnLoading(path:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum ParserError: Error, CustomStringConvertible {
12 | case duplicateTableFile(path: Path, existing: Path)
13 | case failureOnLoading(path: Path)
| `- warning: associated value 'failureOnLoading(path:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case invalidFormat(reason: String)
15 | case invalidPlaceholder(previous: Strings.PlaceholderType, new: Strings.PlaceholderType)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/StringsParser.swift:15:10: warning: associated value 'invalidPlaceholder(previous:new:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Strings.PlaceholderType'; this is an error in the Swift 6 language mode
13 | case failureOnLoading(path: Path)
14 | case invalidFormat(reason: String)
15 | case invalidPlaceholder(previous: Strings.PlaceholderType, new: Strings.PlaceholderType)
| `- warning: associated value 'invalidPlaceholder(previous:new:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Strings.PlaceholderType'; this is an error in the Swift 6 language mode
16 | case invalidPluralFormat(missingVariableKey: String, pluralKey: String)
17 | case invalidVariableRuleValueType(variableName: String, valueType: String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/PlaceholderType.swift:10:15: note: consider making enum 'PlaceholderType' conform to the 'Sendable' protocol
8 |
9 | extension Strings {
10 | public enum PlaceholderType: String {
| `- note: consider making enum 'PlaceholderType' conform to the 'Sendable' protocol
11 | case object = "String"
12 | case float = "Float"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/StringsParser.swift:15:10: warning: associated value 'invalidPlaceholder(previous:new:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Strings.PlaceholderType'; this is an error in the Swift 6 language mode
13 | case failureOnLoading(path: Path)
14 | case invalidFormat(reason: String)
15 | case invalidPlaceholder(previous: Strings.PlaceholderType, new: Strings.PlaceholderType)
| `- warning: associated value 'invalidPlaceholder(previous:new:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Strings.PlaceholderType'; this is an error in the Swift 6 language mode
16 | case invalidPluralFormat(missingVariableKey: String, pluralKey: String)
17 | case invalidVariableRuleValueType(variableName: String, valueType: String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/PlaceholderType.swift:10:15: note: consider making enum 'PlaceholderType' conform to the 'Sendable' protocol
8 |
9 | extension Strings {
10 | public enum PlaceholderType: String {
| `- note: consider making enum 'PlaceholderType' conform to the 'Sendable' protocol
11 | case object = "String"
12 | case float = "Float"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/StringsParser.swift:18:10: warning: associated value 'unsupportedFileType(path:supported:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
16 | case invalidPluralFormat(missingVariableKey: String, pluralKey: String)
17 | case invalidVariableRuleValueType(variableName: String, valueType: String)
18 | case unsupportedFileType(path: Path, supported: [String])
| `- warning: associated value 'unsupportedFileType(path:supported:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
19 |
20 | public var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/StringsParser.swift:53:16: warning: static property 'separator' is not concurrency-safe because non-'Sendable' type 'ParserOption<String>' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | public enum Option {
53 | static let separator = ParserOption(
| |- warning: static property 'separator' is not concurrency-safe because non-'Sendable' type 'ParserOption<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'separator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | key: "separator",
55 | defaultValue: ".",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/ParserOption.swift:18:8: note: consider making generic struct 'ParserOption' conform to the 'Sendable' protocol
16 |
17 | /// A parser option of a specific value type
18 | struct ParserOption<T>: AnyParserOption {
| `- note: consider making generic struct 'ParserOption' conform to the 'Sendable' protocol
19 | enum OptionError: Swift.Error {
20 | case invalidType(key: String, expected: Any.Type, got: Any.Type, value: Any)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Strings/StringsParser.swift:79:23: warning: static property 'allOptions' is not concurrency-safe because non-'Sendable' type 'ParserOptionList' may have shared mutable state; this is an error in the Swift 6 language mode
77 | }
78 |
79 | public static let allOptions: ParserOptionList = [Option.separator]
| |- warning: static property 'allOptions' is not concurrency-safe because non-'Sendable' type 'ParserOptionList' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static var defaultFilter: String {
81 | let extensions = Self.subParsers.flatMap { $0.extensions }.sorted()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/ParserOptionList.swift:9:15: note: consider making struct 'ParserOptionList' conform to the 'Sendable' protocol
7 | import Foundation
8 |
9 | public struct ParserOptionList {
| `- note: consider making struct 'ParserOptionList' conform to the 'Sendable' protocol
10 | enum Error: Swift.Error {
11 | case unknownOption(key: String, value: Any)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Yaml/YamlParser.swift:13:10: warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | public enum Yaml {
12 | public enum ParserError: Error, CustomStringConvertible {
13 | case invalidFile(path: Path, reason: String)
| `- warning: associated value 'invalidFile(path:reason:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 |
15 | public var description: String {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Parsers/Yaml/YamlParser.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 | import Yams
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Utils/YamsSerialization.swift:25:1: warning: extension declares a conformance of imported type 'NSArray' to imported protocol 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
23 | ///
24 |
25 | extension NSArray: NodeRepresentable {
| |- warning: extension declares a conformance of imported type 'NSArray' to imported protocol 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public func represented() throws -> Node {
27 | guard let array = self as? [Any] else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Utils/YamsSerialization.swift:34:1: warning: extension declares a conformance of imported type 'NSDate' to imported protocols 'ScalarRepresentable', 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
32 | }
33 |
34 | extension NSDate: ScalarRepresentable {
| |- warning: extension declares a conformance of imported type 'NSDate' to imported protocols 'ScalarRepresentable', 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
35 | public func represented() -> Node.Scalar {
36 | (self as Date).represented()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Utils/YamsSerialization.swift:40:1: warning: extension declares a conformance of imported type 'NSDictionary' to imported protocol 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
38 | }
39 |
40 | extension NSDictionary: NodeRepresentable {
| |- warning: extension declares a conformance of imported type 'NSDictionary' to imported protocol 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
41 | public func represented() throws -> Node {
42 | guard let dictionary = self as? [AnyHashable: Any] else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Utils/YamsSerialization.swift:49:1: warning: extension declares a conformance of imported type 'NSData' to imported protocols 'ScalarRepresentable', 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
47 | }
48 |
49 | extension NSData: ScalarRepresentable {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocols 'ScalarRepresentable', 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 | public func represented() -> Node.Scalar {
51 | (self as Data).represented()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenKit/Utils/YamsSerialization.swift:55:1: warning: extension declares a conformance of imported type 'NSNumber' to imported protocols 'ScalarRepresentable', 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
53 | }
54 |
55 | extension NSNumber: ScalarRepresentable {
| |- warning: extension declares a conformance of imported type 'NSNumber' to imported protocols 'ScalarRepresentable', 'NodeRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
56 | public func represented() -> Node.Scalar {
57 | if CFGetTypeID(self) == CFBooleanGetTypeID() {
[222/239] Compiling SwiftGenCLI Template Loader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Template Loader.swift:19:18: warning: 'StencilSwiftTemplate' is deprecated: No longer needed with Stencil whitespace control features
17 | )
18 | } else {
19 | return try StencilSwiftTemplate(
| `- warning: 'StencilSwiftTemplate' is deprecated: No longer needed with Stencil whitespace control features
20 | templateString: path.read(),
21 | environment: stencilSwiftEnvironment(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Template Loader.swift:23:26: warning: 'StencilSwiftTemplate' is deprecated: No longer needed with Stencil whitespace control features
21 | environment: stencilSwiftEnvironment(
22 | templatePaths: [path.parent()],
23 | templateClass: StencilSwiftTemplate.self,
| `- warning: 'StencilSwiftTemplate' is deprecated: No longer needed with Stencil whitespace control features
24 | trimBehaviour: .nothing
25 | )
[223/240] Compiling SwiftGenCLI Path+CommonLocations.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:11:14: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension Path {
11 | static let binary: Path = {
| `- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var binaryPath = Path(ProcessInfo.processInfo.arguments[0])
13 | do {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 |
10 | extension Path {
11 | static let binary: Path = {
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var binaryPath = Path(ProcessInfo.processInfo.arguments[0])
13 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:24:14: warning: static property 'deprecatedApplicationSupport' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | // Deprecated: Remove this in SwiftGen 7.0
24 | static let deprecatedApplicationSupport: Path = {
| |- warning: static property 'deprecatedApplicationSupport' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deprecatedApplicationSupport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | let paths = NSSearchPathForDirectoriesInDomains(
26 | .applicationSupportDirectory,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:37:21: warning: static property 'deprecatedAppSupportTemplates' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | // Deprecated: Remove this in SwiftGen 7.0
37 | public static let deprecatedAppSupportTemplates = Path.deprecatedApplicationSupport + "SwiftGen/templates"
| |- warning: static property 'deprecatedAppSupportTemplates' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deprecatedAppSupportTemplates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let bundledTemplates = Path(Bundle.module.path(forResource: "templates", ofType: nil) ?? "")
39 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:38:21: warning: static property 'bundledTemplates' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
36 | // Deprecated: Remove this in SwiftGen 7.0
37 | public static let deprecatedAppSupportTemplates = Path.deprecatedApplicationSupport + "SwiftGen/templates"
38 | public static let bundledTemplates = Path(Bundle.module.path(forResource: "templates", ofType: nil) ?? "")
| |- warning: static property 'bundledTemplates' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bundledTemplates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
[224/240] Compiling SwiftGenCLI TemplateRef.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/TemplateRef.swift:15:10: warning: associated value 'templatePathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | enum Error: Swift.Error {
14 | case namedTemplateNotFound(name: String)
15 | case templatePathNotFound(path: Path)
| `- warning: associated value 'templatePathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
16 | case noTemplateProvided
17 | case multipleTemplateOptions(path: String, name: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/TemplateRef.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
5 | //
6 |
7 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
8 |
9 | public enum TemplateRef: Equatable {
[225/240] Compiling SwiftGenCLI ParserCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:46:14: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[ParserCLI]' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
44 | }
45 |
46 | static let all = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[ParserCLI]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | AssetsCatalog.Parser.self.info,
48 | Colors.Parser.self.info,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:76:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
74 |
75 | extension AssetsCatalog.Parser: ParserWithInfo {
76 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | parserType: AssetsCatalog.Parser.self,
78 | name: "xcassets",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:85:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
83 |
84 | extension Colors.Parser: ParserWithInfo {
85 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | parserType: Colors.Parser.self,
87 | name: "colors",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:94:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
92 |
93 | extension CoreData.Parser: ParserWithInfo {
94 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | parserType: CoreData.Parser.self,
96 | name: "coredata",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:103:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
101 |
102 | extension Files.Parser: ParserWithInfo {
103 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | parserType: Files.Parser.self,
105 | name: "files",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:112:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
110 |
111 | extension Fonts.Parser: ParserWithInfo {
112 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | parserType: Fonts.Parser.self,
114 | name: "fonts",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:121:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
119 |
120 | extension InterfaceBuilder.Parser: ParserWithInfo {
121 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | parserType: InterfaceBuilder.Parser.self,
123 | name: "ib",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:130:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
128 |
129 | extension JSON.Parser: ParserWithInfo {
130 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | parserType: JSON.Parser.self,
132 | name: "json",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:139:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
137 |
138 | extension Plist.Parser: ParserWithInfo {
139 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | parserType: Plist.Parser.self,
141 | name: "plist",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:148:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
146 |
147 | extension Strings.Parser: ParserWithInfo {
148 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | parserType: Strings.Parser.self,
150 | name: "strings",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:157:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
155 |
156 | extension Yaml.Parser: ParserWithInfo {
157 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | parserType: Yaml.Parser.self,
159 | name: "yaml",
[226/240] Compiling SwiftGenCLI Logs.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:15:12: warning: var 'commandLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public var commandLogLevel: CommandLogLevel = .default
| |- warning: var 'commandLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'commandLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'commandLogLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public enum LogLevel {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:52:13: warning: capture of 'level' with non-sendable type 'LogLevel' in a '@Sendable' closure
15 | public var commandLogLevel: CommandLogLevel = .default
16 |
17 | public enum LogLevel {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
18 | case info, warning, error
19 | }
:
50 | public func logMessage(_ level: LogLevel, _ string: CustomStringConvertible) {
51 | kLogQueue.async {
52 | switch (level, commandLogLevel) {
| `- warning: capture of 'level' with non-sendable type 'LogLevel' in a '@Sendable' closure
53 | case (.info, .quiet):
54 | break
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:56:39: warning: capture of 'string' with non-sendable type 'any CustomStringConvertible' in a '@Sendable' closure
54 | break
55 | case (.info, _):
56 | fputs(ANSIColor.green.format("\(string)\n"), stdout)
| `- warning: capture of 'string' with non-sendable type 'any CustomStringConvertible' in a '@Sendable' closure
57 | case (.warning, .quiet):
58 | break
Swift.CustomStringConvertible:1:17: note: protocol 'CustomStringConvertible' does not conform to the 'Sendable' protocol
1 | public protocol CustomStringConvertible {
| `- note: protocol 'CustomStringConvertible' does not conform to the 'Sendable' protocol
2 | var description: String { get }
3 | }
[227/240] Compiling SwiftGenCLI OutputDestination.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:15:12: warning: var 'commandLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public var commandLogLevel: CommandLogLevel = .default
| |- warning: var 'commandLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'commandLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'commandLogLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public enum LogLevel {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:52:13: warning: capture of 'level' with non-sendable type 'LogLevel' in a '@Sendable' closure
15 | public var commandLogLevel: CommandLogLevel = .default
16 |
17 | public enum LogLevel {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
18 | case info, warning, error
19 | }
:
50 | public func logMessage(_ level: LogLevel, _ string: CustomStringConvertible) {
51 | kLogQueue.async {
52 | switch (level, commandLogLevel) {
| `- warning: capture of 'level' with non-sendable type 'LogLevel' in a '@Sendable' closure
53 | case (.info, .quiet):
54 | break
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:56:39: warning: capture of 'string' with non-sendable type 'any CustomStringConvertible' in a '@Sendable' closure
54 | break
55 | case (.info, _):
56 | fputs(ANSIColor.green.format("\(string)\n"), stdout)
| `- warning: capture of 'string' with non-sendable type 'any CustomStringConvertible' in a '@Sendable' closure
57 | case (.warning, .quiet):
58 | break
Swift.CustomStringConvertible:1:17: note: protocol 'CustomStringConvertible' does not conform to the 'Sendable' protocol
1 | public protocol CustomStringConvertible {
| `- note: protocol 'CustomStringConvertible' does not conform to the 'Sendable' protocol
2 | var description: String { get }
3 | }
[228/240] Compiling SwiftGenCLI Config+Lint.swift
[229/240] Compiling SwiftGenCLI Config+Run.swift
[230/240] Compiling SwiftGenCLI ConfigEntry.swift
[231/240] Compiling SwiftGenCLI ConfigOutput.swift
[232/240] Emitting module SwiftGenCLI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Config/Config.swift:96:10: warning: associated value 'pathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
94 | case missingEntry(key: String)
95 | case multipleErrors([Swift.Error])
96 | case pathNotFound(path: Path)
| `- warning: associated value 'pathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
97 | case unknownParser(name: String)
98 | case wrongType(key: String?, expected: String, got: Any.Type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Config/Config.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 | import SwiftGenKit
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:15:12: warning: var 'commandLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public var commandLogLevel: CommandLogLevel = .default
| |- warning: var 'commandLogLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'commandLogLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'commandLogLevel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public enum LogLevel {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:46:14: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[ParserCLI]' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
44 | }
45 |
46 | static let all = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[ParserCLI]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | AssetsCatalog.Parser.self.info,
48 | Colors.Parser.self.info,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:76:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
74 |
75 | extension AssetsCatalog.Parser: ParserWithInfo {
76 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | parserType: AssetsCatalog.Parser.self,
78 | name: "xcassets",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:85:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
83 |
84 | extension Colors.Parser: ParserWithInfo {
85 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | parserType: Colors.Parser.self,
87 | name: "colors",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:94:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
92 |
93 | extension CoreData.Parser: ParserWithInfo {
94 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | parserType: CoreData.Parser.self,
96 | name: "coredata",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:103:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
101 |
102 | extension Files.Parser: ParserWithInfo {
103 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | parserType: Files.Parser.self,
105 | name: "files",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:112:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
110 |
111 | extension Fonts.Parser: ParserWithInfo {
112 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | parserType: Fonts.Parser.self,
114 | name: "fonts",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:121:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
119 |
120 | extension InterfaceBuilder.Parser: ParserWithInfo {
121 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | parserType: InterfaceBuilder.Parser.self,
123 | name: "ib",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:130:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
128 |
129 | extension JSON.Parser: ParserWithInfo {
130 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | parserType: JSON.Parser.self,
132 | name: "json",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:139:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
137 |
138 | extension Plist.Parser: ParserWithInfo {
139 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | parserType: Plist.Parser.self,
141 | name: "plist",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:148:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
146 |
147 | extension Strings.Parser: ParserWithInfo {
148 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | parserType: Strings.Parser.self,
150 | name: "strings",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/ParserCLI.swift:157:21: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import SwiftGenKit
8 |
9 | public struct ParserCLI {
| `- note: consider making struct 'ParserCLI' conform to the 'Sendable' protocol
10 | let parserType: Parser.Type
11 | public let name: String
:
155 |
156 | extension Yaml.Parser: ParserWithInfo {
157 | public static let info = ParserCLI(
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'ParserCLI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | parserType: Yaml.Parser.self,
159 | name: "yaml",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:11:14: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension Path {
11 | static let binary: Path = {
| `- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
12 | var binaryPath = Path(ProcessInfo.processInfo.arguments[0])
13 | do {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 |
10 | extension Path {
11 | static let binary: Path = {
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | var binaryPath = Path(ProcessInfo.processInfo.arguments[0])
13 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:24:14: warning: static property 'deprecatedApplicationSupport' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | // Deprecated: Remove this in SwiftGen 7.0
24 | static let deprecatedApplicationSupport: Path = {
| |- warning: static property 'deprecatedApplicationSupport' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deprecatedApplicationSupport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | let paths = NSSearchPathForDirectoriesInDomains(
26 | .applicationSupportDirectory,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:37:21: warning: static property 'deprecatedAppSupportTemplates' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | // Deprecated: Remove this in SwiftGen 7.0
37 | public static let deprecatedAppSupportTemplates = Path.deprecatedApplicationSupport + "SwiftGen/templates"
| |- warning: static property 'deprecatedAppSupportTemplates' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deprecatedAppSupportTemplates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let bundledTemplates = Path(Bundle.module.path(forResource: "templates", ofType: nil) ?? "")
39 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Path+CommonLocations.swift:38:21: warning: static property 'bundledTemplates' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
36 | // Deprecated: Remove this in SwiftGen 7.0
37 | public static let deprecatedAppSupportTemplates = Path.deprecatedApplicationSupport + "SwiftGen/templates"
38 | public static let bundledTemplates = Path(Bundle.module.path(forResource: "templates", ofType: nil) ?? "")
| |- warning: static property 'bundledTemplates' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bundledTemplates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/TemplateRef.swift:15:10: warning: associated value 'templatePathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | enum Error: Swift.Error {
14 | case namedTemplateNotFound(name: String)
15 | case templatePathNotFound(path: Path)
| `- warning: associated value 'templatePathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
16 | case noTemplateProvided
17 | case multipleTemplateOptions(path: String, name: String)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/TemplateRef.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
5 | //
6 |
7 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
8 |
9 | public enum TemplateRef: Equatable {
[233/240] Compiling SwiftGenCLI Config+XCFileList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Config/Config.swift:96:10: warning: associated value 'pathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
94 | case missingEntry(key: String)
95 | case multipleErrors([Swift.Error])
96 | case pathNotFound(path: Path)
| `- warning: associated value 'pathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
97 | case unknownParser(name: String)
98 | case wrongType(key: String?, expected: String, got: Any.Type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Config/Config.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 | import SwiftGenKit
10 |
[234/240] Compiling SwiftGenCLI Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Config/Config.swift:96:10: warning: associated value 'pathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
94 | case missingEntry(key: String)
95 | case multipleErrors([Swift.Error])
96 | case pathNotFound(path: Path)
| `- warning: associated value 'pathNotFound(path:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
97 | case unknownParser(name: String)
98 | case wrongType(key: String?, expected: String, got: Any.Type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Config/Config.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
6 |
7 | import Foundation
8 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
9 | import SwiftGenKit
10 |
[235/240] Compiling SwiftGenCLI Array+Parallel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Array+Parallel.swift:24:9: warning: capture of 'buffer' with non-sendable type 'UnsafeMutableBufferPointer<T?>' in a '@Sendable' closure
22 | return result.withUnsafeMutableBufferPointer { buffer in
23 | DispatchQueue.concurrentPerform(iterations: buffer.count) { idx in
24 | buffer[idx] = transform(self[idx])
| `- warning: capture of 'buffer' with non-sendable type 'UnsafeMutableBufferPointer<T?>' in a '@Sendable' closure
25 | }
26 | return buffer.compactMap { $0 }
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
| `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 | public let count: Int
3 | @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Array+Parallel.swift:24:23: warning: capture of 'transform' with non-sendable type '(Element) -> T' in a '@Sendable' closure
22 | return result.withUnsafeMutableBufferPointer { buffer in
23 | DispatchQueue.concurrentPerform(iterations: buffer.count) { idx in
24 | buffer[idx] = transform(self[idx])
| |- warning: capture of 'transform' with non-sendable type '(Element) -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
25 | }
26 | return buffer.compactMap { $0 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Array+Parallel.swift:24:33: warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure
22 | return result.withUnsafeMutableBufferPointer { buffer in
23 | DispatchQueue.concurrentPerform(iterations: buffer.count) { idx in
24 | buffer[idx] = transform(self[idx])
| `- warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure
25 | }
26 | return buffer.compactMap { $0 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Array+Parallel.swift:24:9: warning: mutable capture of 'inout' parameter 'buffer' is not allowed in concurrently-executing code
22 | return result.withUnsafeMutableBufferPointer { buffer in
23 | DispatchQueue.concurrentPerform(iterations: buffer.count) { idx in
24 | buffer[idx] = transform(self[idx])
| `- warning: mutable capture of 'inout' parameter 'buffer' is not allowed in concurrently-executing code
25 | }
26 | return buffer.compactMap { $0 }
[236/240] Compiling SwiftGenCLI Config+Example.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Array+Parallel.swift:24:9: warning: capture of 'buffer' with non-sendable type 'UnsafeMutableBufferPointer<T?>' in a '@Sendable' closure
22 | return result.withUnsafeMutableBufferPointer { buffer in
23 | DispatchQueue.concurrentPerform(iterations: buffer.count) { idx in
24 | buffer[idx] = transform(self[idx])
| `- warning: capture of 'buffer' with non-sendable type 'UnsafeMutableBufferPointer<T?>' in a '@Sendable' closure
25 | }
26 | return buffer.compactMap { $0 }
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
| `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 | public let count: Int
3 | @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Array+Parallel.swift:24:23: warning: capture of 'transform' with non-sendable type '(Element) -> T' in a '@Sendable' closure
22 | return result.withUnsafeMutableBufferPointer { buffer in
23 | DispatchQueue.concurrentPerform(iterations: buffer.count) { idx in
24 | buffer[idx] = transform(self[idx])
| |- warning: capture of 'transform' with non-sendable type '(Element) -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
25 | }
26 | return buffer.compactMap { $0 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Array+Parallel.swift:24:33: warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure
22 | return result.withUnsafeMutableBufferPointer { buffer in
23 | DispatchQueue.concurrentPerform(iterations: buffer.count) { idx in
24 | buffer[idx] = transform(self[idx])
| `- warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure
25 | }
26 | return buffer.compactMap { $0 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Array+Parallel.swift:24:9: warning: mutable capture of 'inout' parameter 'buffer' is not allowed in concurrently-executing code
22 | return result.withUnsafeMutableBufferPointer { buffer in
23 | DispatchQueue.concurrentPerform(iterations: buffer.count) { idx in
24 | buffer[idx] = transform(self[idx])
| `- warning: mutable capture of 'inout' parameter 'buffer' is not allowed in concurrently-executing code
25 | }
26 | return buffer.compactMap { $0 }
[237/240] Compiling SwiftGenCLI resource_bundle_accessor.swift
[238/267] Compiling SwiftGen OutputDestination.swift
[239/268] Compiling SwiftGen ExperimentalFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:11:1: warning: extension declares a conformance of imported type 'Path' to imported protocols 'ExpressibleByArgument', '_SendableMetatype', 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
9 | import SwiftGenCLI
10 |
11 | extension Path: ExpressibleByArgument, Decodable {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocols 'ExpressibleByArgument', '_SendableMetatype', 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | public init?(argument: String) {
13 | self.init(argument)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:23:1: warning: extension declares a conformance of imported type 'ParserCLI' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
21 | }
22 |
23 | extension ParserCLI: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'ParserCLI' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public init?(argument: String) {
25 | guard let existing = Self.command(named: argument) else { return nil }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:30:1: warning: extension declares a conformance of imported type 'CommandLogLevel' to imported protocols 'EnumerableFlag', 'CaseIterable'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
28 | }
29 |
30 | extension CommandLogLevel: EnumerableFlag {
| |- warning: extension declares a conformance of imported type 'CommandLogLevel' to imported protocols 'EnumerableFlag', 'CaseIterable'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
31 | public static let allCases: [CommandLogLevel] = [.quiet, .default, .verbose]
32 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:31:21: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[CommandLogLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | extension CommandLogLevel: EnumerableFlag {
31 | public static let allCases: [CommandLogLevel] = [.quiet, .default, .verbose]
| `- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[CommandLogLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static func name(for value: Self) -> NameSpecification {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:11:13: note: enum 'CommandLogLevel' does not conform to the 'Sendable' protocol
9 | // MARK: Printing on stderr
10 |
11 | public enum CommandLogLevel {
| `- note: enum 'CommandLogLevel' does not conform to the 'Sendable' protocol
12 | case quiet, `default`, verbose
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftGenCLI'
7 | import ArgumentParser
8 | import PathKit
9 | import SwiftGenCLI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftGenCLI'
10 |
11 | extension Path: ExpressibleByArgument, Decodable {
:
29 |
30 | extension CommandLogLevel: EnumerableFlag {
31 | public static let allCases: [CommandLogLevel] = [.quiet, .default, .verbose]
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static func name(for value: Self) -> NameSpecification {
[240/268] Compiling SwiftGen ExpressibleByArgument.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:11:1: warning: extension declares a conformance of imported type 'Path' to imported protocols 'ExpressibleByArgument', '_SendableMetatype', 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
9 | import SwiftGenCLI
10 |
11 | extension Path: ExpressibleByArgument, Decodable {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocols 'ExpressibleByArgument', '_SendableMetatype', 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | public init?(argument: String) {
13 | self.init(argument)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:23:1: warning: extension declares a conformance of imported type 'ParserCLI' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
21 | }
22 |
23 | extension ParserCLI: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'ParserCLI' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public init?(argument: String) {
25 | guard let existing = Self.command(named: argument) else { return nil }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:30:1: warning: extension declares a conformance of imported type 'CommandLogLevel' to imported protocols 'EnumerableFlag', 'CaseIterable'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
28 | }
29 |
30 | extension CommandLogLevel: EnumerableFlag {
| |- warning: extension declares a conformance of imported type 'CommandLogLevel' to imported protocols 'EnumerableFlag', 'CaseIterable'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
31 | public static let allCases: [CommandLogLevel] = [.quiet, .default, .verbose]
32 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:31:21: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[CommandLogLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | extension CommandLogLevel: EnumerableFlag {
31 | public static let allCases: [CommandLogLevel] = [.quiet, .default, .verbose]
| `- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[CommandLogLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static func name(for value: Self) -> NameSpecification {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:11:13: note: enum 'CommandLogLevel' does not conform to the 'Sendable' protocol
9 | // MARK: Printing on stderr
10 |
11 | public enum CommandLogLevel {
| `- note: enum 'CommandLogLevel' does not conform to the 'Sendable' protocol
12 | case quiet, `default`, verbose
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftGenCLI'
7 | import ArgumentParser
8 | import PathKit
9 | import SwiftGenCLI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftGenCLI'
10 |
11 | extension Path: ExpressibleByArgument, Decodable {
:
29 |
30 | extension CommandLogLevel: EnumerableFlag {
31 | public static let allCases: [CommandLogLevel] = [.quiet, .default, .verbose]
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static func name(for value: Self) -> NameSpecification {
[241/268] Compiling SwiftGen Template.swift
[242/268] Compiling SwiftGen Template Cat.swift
[243/268] Compiling SwiftGen Template Which.swift
[244/268] Compiling SwiftGen DeprecatedCommand.swift
[245/268] Compiling SwiftGen Config Init.swift
[246/268] Compiling SwiftGen Config Lint.swift
[247/268] Compiling SwiftGen Config Run.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Commands/Config/Config Run.swift:29:9: warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | func run() throws {
28 | do {
29 | commandLogLevel = logLevel
| `- warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | let configuration = try config.load()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:15:12: note: var declared here
13 | }
14 |
15 | public var commandLogLevel: CommandLogLevel = .default
| `- note: var declared here
16 |
17 | public enum LogLevel {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Commands/Config/Config Run.swift:35:89: warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | logMessage(.info, "Executing configuration file \(config.file)")
34 | try config.file.parent().chdir {
35 | try configuration.runCommands(modernSpacing: spacing.modernSpacing, logLevel: commandLogLevel)
| `- warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 | } catch let error as Config.Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:15:12: note: var declared here
13 | }
14 |
15 | public var commandLogLevel: CommandLogLevel = .default
| `- note: var declared here
16 |
17 | public enum LogLevel {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Commands/Run.swift:71:7: warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | mutating func run() throws {
71 | commandLogLevel = logLevel
| `- warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | let parserOptions = try Parameters.parse(items: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:15:12: note: var declared here
13 | }
14 |
15 | public var commandLogLevel: CommandLogLevel = .default
| `- note: var declared here
16 |
17 | public enum LogLevel {
[248/268] Compiling SwiftGen Run.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Commands/Config/Config Run.swift:29:9: warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | func run() throws {
28 | do {
29 | commandLogLevel = logLevel
| `- warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | let configuration = try config.load()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:15:12: note: var declared here
13 | }
14 |
15 | public var commandLogLevel: CommandLogLevel = .default
| `- note: var declared here
16 |
17 | public enum LogLevel {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Commands/Config/Config Run.swift:35:89: warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | logMessage(.info, "Executing configuration file \(config.file)")
34 | try config.file.parent().chdir {
35 | try configuration.runCommands(modernSpacing: spacing.modernSpacing, logLevel: commandLogLevel)
| `- warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 | } catch let error as Config.Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:15:12: note: var declared here
13 | }
14 |
15 | public var commandLogLevel: CommandLogLevel = .default
| `- note: var declared here
16 |
17 | public enum LogLevel {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Commands/Run.swift:71:7: warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | mutating func run() throws {
71 | commandLogLevel = logLevel
| `- warning: reference to var 'commandLogLevel' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | let parserOptions = try Parameters.parse(items: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:15:12: note: var declared here
13 | }
14 |
15 | public var commandLogLevel: CommandLogLevel = .default
| `- note: var declared here
16 |
17 | public enum LogLevel {
[249/268] Compiling SwiftGen Command.swift
[250/268] Compiling SwiftGen Config.swift
[251/268] Compiling SwiftGen Config Doc.swift
[252/268] Compiling SwiftGen Config GenerateXCFileLists.swift
[253/268] Compiling SwiftGen Template Doc.swift
[254/268] Compiling SwiftGen Template List.swift
[255/268] Emitting module SwiftGen
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:11:1: warning: extension declares a conformance of imported type 'Path' to imported protocols 'ExpressibleByArgument', '_SendableMetatype', 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
9 | import SwiftGenCLI
10 |
11 | extension Path: ExpressibleByArgument, Decodable {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocols 'ExpressibleByArgument', '_SendableMetatype', 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | public init?(argument: String) {
13 | self.init(argument)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:23:1: warning: extension declares a conformance of imported type 'ParserCLI' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
21 | }
22 |
23 | extension ParserCLI: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'ParserCLI' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | public init?(argument: String) {
25 | guard let existing = Self.command(named: argument) else { return nil }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:30:1: warning: extension declares a conformance of imported type 'CommandLogLevel' to imported protocols 'EnumerableFlag', 'CaseIterable'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
28 | }
29 |
30 | extension CommandLogLevel: EnumerableFlag {
| |- warning: extension declares a conformance of imported type 'CommandLogLevel' to imported protocols 'EnumerableFlag', 'CaseIterable'; this will not behave correctly if the owners of 'SwiftGenCLI' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
31 | public static let allCases: [CommandLogLevel] = [.quiet, .default, .verbose]
32 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:31:21: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[CommandLogLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | extension CommandLogLevel: EnumerableFlag {
31 | public static let allCases: [CommandLogLevel] = [.quiet, .default, .verbose]
| `- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[CommandLogLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static func name(for value: Self) -> NameSpecification {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:11:13: note: enum 'CommandLogLevel' does not conform to the 'Sendable' protocol
9 | // MARK: Printing on stderr
10 |
11 | public enum CommandLogLevel {
| `- note: enum 'CommandLogLevel' does not conform to the 'Sendable' protocol
12 | case quiet, `default`, verbose
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGen/Common/ExpressibleByArgument.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftGenCLI'
7 | import ArgumentParser
8 | import PathKit
9 | import SwiftGenCLI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftGenCLI'
10 |
11 | extension Path: ExpressibleByArgument, Decodable {
:
29 |
30 | extension CommandLogLevel: EnumerableFlag {
31 | public static let allCases: [CommandLogLevel] = [.quiet, .default, .verbose]
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static func name(for value: Self) -> NameSpecification {
[256/268] Compiling SwiftGen Version.swift
[256/268] Write Objects.LinkFileList
[257/268] Linking swiftgen
[258/268] Applying swiftgen
[260/268] Compiling TestUtils resource_bundle_accessor.swift
[261/268] Compiling TestUtils VariationGenerator.swift
[262/268] Compiling TestUtils TestsHelper.swift
[263/268] Compiling TestUtils TestsHelper+Context.swift
[264/268] Compiling TestUtils Config.swift
[265/268] Emitting module TestUtils
[266/268] Compiling TestUtils Parser.swift
[267/268] Compiling TestUtils TestsHelper+Strings.swift
[268/268] Compiling TestUtils TestLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/TestLogger.swift:32:20: warning: capture of 'self' with non-sendable type 'TestLogger' in a '@Sendable' closure
9 | import XCTest
10 |
11 | public final class TestLogger {
| `- note: class 'TestLogger' does not conform to the 'Sendable' protocol
12 | private let queue = DispatchQueue(label: "swiftgen.log.queue")
13 | private let unwantedLevels: Set<LogLevel>
:
30 | public func log(level: LogLevel, msg: String) {
31 | queue.async {
32 | if let idx = self.missingLogs.firstIndex(where: { $0 == level && $1 == msg }) {
| `- warning: capture of 'self' with non-sendable type 'TestLogger' in a '@Sendable' closure
33 | self.missingLogs.remove(at: idx)
34 | } else if self.unwantedLevels.contains(level) {
/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/TestLogger.swift:32:63: warning: capture of 'level' with non-sendable type 'LogLevel' in a '@Sendable' closure
30 | public func log(level: LogLevel, msg: String) {
31 | queue.async {
32 | if let idx = self.missingLogs.firstIndex(where: { $0 == level && $1 == msg }) {
| `- warning: capture of 'level' with non-sendable type 'LogLevel' in a '@Sendable' closure
33 | self.missingLogs.remove(at: idx)
34 | } else if self.unwantedLevels.contains(level) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:17:13: note: enum 'LogLevel' does not conform to the 'Sendable' protocol
15 | public var commandLogLevel: CommandLogLevel = .default
16 |
17 | public enum LogLevel {
| `- note: enum 'LogLevel' does not conform to the 'Sendable' protocol
18 | case info, warning, error
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/TestLogger.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftGenCLI'
6 |
7 | import Foundation
8 | import SwiftGenCLI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftGenCLI'
9 | import XCTest
10 |
/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/TestLogger.swift:32:63: warning: capture of 'level' with non-sendable type 'LogLevel' in an isolated closure; this is an error in the Swift 6 language mode
30 | public func log(level: LogLevel, msg: String) {
31 | queue.async {
32 | if let idx = self.missingLogs.firstIndex(where: { $0 == level && $1 == msg }) {
| `- warning: capture of 'level' with non-sendable type 'LogLevel' in an isolated closure; this is an error in the Swift 6 language mode
33 | self.missingLogs.remove(at: idx)
34 | } else if self.unwantedLevels.contains(level) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/Logs.swift:17:13: note: enum 'LogLevel' does not conform to the 'Sendable' protocol
15 | public var commandLogLevel: CommandLogLevel = .default
16 |
17 | public enum LogLevel {
| `- note: enum 'LogLevel' does not conform to the 'Sendable' protocol
18 | case info, warning, error
19 | }
Build complete! (40.95s)
Fetching https://github.com/krzysztofzablocki/Difference.git
[1/486] Fetching difference
Fetched https://github.com/krzysztofzablocki/Difference.git from cache (1.10s)
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/shibapm/Komondor.git
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/2390] Fetching kanna
[217/3828] Fetching kanna, pathkit
[475/4337] Fetching kanna, pathkit, komondor
[567/9630] Fetching kanna, pathkit, komondor, stencil
[635/13638] Fetching kanna, pathkit, komondor, stencil, stencilswiftkit
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.92s)
[4397/11248] Fetching pathkit, komondor, stencil, stencilswiftkit
Fetched https://github.com/kylef/PathKit.git from cache (0.95s)
Fetched https://github.com/shibapm/Komondor.git from cache (0.95s)
[2508/9301] Fetching stencil, stencilswiftkit
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (2.03s)
Fetched https://github.com/stencilproject/Stencil.git from cache (2.03s)
Fetched https://github.com/jpsim/Yams.git from cache (2.05s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.06s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (2.65s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (2.46s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/980] Fetching shellout
[139/1560] Fetching shellout, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.91s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.91s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (1.48s)
Fetching https://github.com/kylef/Spectre.git
[11/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.93s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.52s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.59s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.58s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.55s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.50s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/krzysztofzablocki/Difference.git
Working copy of https://github.com/krzysztofzablocki/Difference.git resolved at master (1deadf0)
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit.git"
},
{
"identity" : "difference",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzysztofzablocki/Difference.git"
},
{
"identity" : "stencil",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stencilproject/Stencil.git"
},
{
"identity" : "komondor",
"requirement" : {
"exact" : [
"1.1.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Komondor.git"
},
{
"identity" : "stencilswiftkit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.10.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
},
{
"identity" : "kanna",
"requirement" : {
"range" : [
{
"lower_bound" : "5.2.7",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tid-kijyun/Kanna.git"
}
],
"manifest_display_name" : "SwiftGen",
"name" : "SwiftGen",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
}
],
"products" : [
{
"name" : "swiftgen",
"targets" : [
"SwiftGen"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftGenCLI",
"targets" : [
"SwiftGenCLI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftGenKit",
"targets" : [
"SwiftGenKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "TestUtils",
"module_type" : "SwiftTarget",
"name" : "TestUtils",
"path" : "Sources/TestUtils",
"product_dependencies" : [
"Difference",
"PathKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Fixtures/Configs",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Fixtures/Generated",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Fixtures/Resources",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Fixtures/StencilContexts",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Config.swift",
"Parser.swift",
"TestLogger.swift",
"TestsHelper+Context.swift",
"TestsHelper+Strings.swift",
"TestsHelper.swift",
"VariationGenerator.swift"
],
"target_dependencies" : [
"SwiftGenKit",
"SwiftGenCLI"
],
"type" : "library"
},
{
"c99name" : "TemplatesTests",
"module_type" : "SwiftTarget",
"name" : "TemplatesTests",
"path" : "Tests/TemplatesTests",
"product_dependencies" : [
"StencilSwiftKit"
],
"sources" : [
"ColorsTests.swift",
"CoreDataTests.swift",
"FilesTests.swift",
"FontsTests.swift",
"InterfaceBuilderMacOSTests.swift",
"InterfaceBuilderTests.swift",
"InterfaceBuilderiOSTests.swift",
"JsonTests.swift",
"PlistTests.swift",
"StringsCatalogTests.swift",
"StringsTests.swift",
"XCAssetsTests.swift",
"YamlTests.swift"
],
"target_dependencies" : [
"SwiftGenKit",
"TestUtils"
],
"type" : "test"
},
{
"c99name" : "SwiftGenTests",
"module_type" : "SwiftTarget",
"name" : "SwiftGenTests",
"path" : "Tests/SwiftGenTests",
"sources" : [
"ConfigGenerateFileListTests.swift",
"ConfigInitTests.swift",
"ConfigLintTests.swift",
"ConfigReadTests.swift",
"ConfigRunTests.swift"
],
"target_dependencies" : [
"SwiftGenCLI",
"TestUtils"
],
"type" : "test"
},
{
"c99name" : "SwiftGenKitTests",
"module_type" : "SwiftTarget",
"name" : "SwiftGenKitTests",
"path" : "Tests/SwiftGenKitTests",
"sources" : [
"AssetCatalogTests.swift",
"ColorsCLRFileTests.swift",
"ColorsJSONFileTests.swift",
"ColorsTests.swift",
"ColorsTextFileTests.swift",
"ColorsXMLFileTests.swift",
"CoreDataTests.swift",
"FilesTests.swift",
"FilterTests.swift",
"FontsTests.swift",
"InterfaceBuilderMacOSTests.swift",
"InterfaceBuilderiOSTests.swift",
"JSONTests.swift",
"PlistTests.swift",
"StringPlaceholderTypeTests.swift",
"StringsCatalogTests.swift",
"StringsTests.swift",
"YamlTests.swift"
],
"target_dependencies" : [
"SwiftGenKit",
"TestUtils"
],
"type" : "test"
},
{
"c99name" : "SwiftGenKit",
"module_type" : "SwiftTarget",
"name" : "SwiftGenKit",
"path" : "Sources/SwiftGenKit",
"product_dependencies" : [
"Kanna",
"PathKit",
"Stencil",
"Yams"
],
"product_memberships" : [
"swiftgen",
"SwiftGenCLI",
"SwiftGenKit"
],
"sources" : [
"Parsers/AnyCodable.swift",
"Parsers/AssetsCatalog/AssetsCatalogParser.swift",
"Parsers/AssetsCatalog/Catalog.swift",
"Parsers/AssetsCatalog/CatalogEntry.swift",
"Parsers/Colors/ColorsCLRFileParser.swift",
"Parsers/Colors/ColorsFileTypeParser.swift",
"Parsers/Colors/ColorsJSONFileParser.swift",
"Parsers/Colors/ColorsParser.swift",
"Parsers/Colors/ColorsTXTFileParser.swift",
"Parsers/Colors/ColorsXMLFileParser.swift",
"Parsers/CoreData/Attribute.swift",
"Parsers/CoreData/Configuration.swift",
"Parsers/CoreData/CoreDataParser.swift",
"Parsers/CoreData/Entity.swift",
"Parsers/CoreData/FetchRequest.swift",
"Parsers/CoreData/FetchedProperty.swift",
"Parsers/CoreData/Model.swift",
"Parsers/CoreData/Relationship.swift",
"Parsers/CoreData/UniquenessConstraints.swift",
"Parsers/CoreData/UserInfo.swift",
"Parsers/Files/FilesFile.swift",
"Parsers/Files/FilesParser.swift",
"Parsers/Filter.swift",
"Parsers/Fonts/CTFont.swift",
"Parsers/Fonts/Font.swift",
"Parsers/Fonts/FontsParser.swift",
"Parsers/InterfaceBuilder/InterfaceBuilderParser.swift",
"Parsers/InterfaceBuilder/Platform.swift",
"Parsers/InterfaceBuilder/Scene.swift",
"Parsers/InterfaceBuilder/Segue.swift",
"Parsers/InterfaceBuilder/Storyboard.swift",
"Parsers/JSON/JSONFile.swift",
"Parsers/JSON/JSONParser.swift",
"Parsers/Parser.swift",
"Parsers/ParserOption.swift",
"Parsers/ParserOptionList.swift",
"Parsers/ParserOptionValues.swift",
"Parsers/Plist/PlistFile.swift",
"Parsers/Plist/PlistParser.swift",
"Parsers/Strings/FileTypeParser/StringsCatalogFileParser.swift",
"Parsers/Strings/FileTypeParser/StringsDictFileParser.swift",
"Parsers/Strings/FileTypeParser/StringsFileParser.swift",
"Parsers/Strings/FileTypeParser/StringsFileTypeParser.swift",
"Parsers/Strings/FileTypeParser/StringsFileWithCommentsParser.swift",
"Parsers/Strings/PlaceholderType.swift",
"Parsers/Strings/StringsCatalogFile.swift",
"Parsers/Strings/StringsDictEntry.swift",
"Parsers/Strings/StringsEntry.swift",
"Parsers/Strings/StringsParser.swift",
"Parsers/Yaml/YamlFile.swift",
"Parsers/Yaml/YamlParser.swift",
"Stencil/AssetsCatalogParser+Context.swift",
"Stencil/ColorsParser+Context.swift",
"Stencil/CoreDataParser+Context.swift",
"Stencil/FilesParser+Context.swift",
"Stencil/FontsParser+Context.swift",
"Stencil/InterfaceBuilderParser+Context.swift",
"Stencil/JSONParser+Context.swift",
"Stencil/PlistParser+Context.swift",
"Stencil/StringsParser+Context.swift",
"Stencil/YamlParser+Context.swift",
"Utils/Bool.swift",
"Utils/Metadata.swift",
"Utils/Path.swift",
"Utils/String.swift",
"Utils/YAML.swift",
"Utils/YamsSerialization.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftGenCLI",
"module_type" : "SwiftTarget",
"name" : "SwiftGenCLI",
"path" : "Sources/SwiftGenCLI",
"product_dependencies" : [
"ArgumentParser",
"Kanna",
"PathKit",
"Stencil",
"StencilSwiftKit",
"Yams"
],
"product_memberships" : [
"swiftgen",
"SwiftGenCLI"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftGenCLI/templates",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Array+Parallel.swift",
"Config/Config+Example.swift",
"Config/Config+Lint.swift",
"Config/Config+Run.swift",
"Config/Config+XCFileList.swift",
"Config/Config.swift",
"Config/ConfigEntry.swift",
"Config/ConfigOutput.swift",
"Logs.swift",
"OutputDestination.swift",
"ParserCLI.swift",
"Path+CommonLocations.swift",
"Template Loader.swift",
"TemplateRef.swift"
],
"target_dependencies" : [
"SwiftGenKit"
],
"type" : "library"
},
{
"c99name" : "SwiftGen",
"module_type" : "SwiftTarget",
"name" : "SwiftGen",
"path" : "Sources/SwiftGen",
"product_memberships" : [
"swiftgen"
],
"sources" : [
"Command.swift",
"Commands/Config.swift",
"Commands/Config/Config Doc.swift",
"Commands/Config/Config GenerateXCFileLists.swift",
"Commands/Config/Config Init.swift",
"Commands/Config/Config Lint.swift",
"Commands/Config/Config Run.swift",
"Commands/Run.swift",
"Commands/Template.swift",
"Commands/Template/Template Cat.swift",
"Commands/Template/Template Doc.swift",
"Commands/Template/Template List.swift",
"Commands/Template/Template Which.swift",
"Common/DeprecatedCommand.swift",
"Common/ExperimentalFlags.swift",
"Common/ExpressibleByArgument.swift",
"Common/OutputDestination.swift",
"Version.swift"
],
"target_dependencies" : [
"SwiftGenCLI"
],
"type" : "executable"
}
],
"tools_version" : "5.6"
}
Done.