Build Information
Successful build of SwiftGen, reference stable (f7c23b), with Swift 6.1 for macOS (SPM) on 30 Dec 2025 06:05:35 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
| `- 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 = Options(rawValue: 1 << 4)
39 |
40 | public static let `default`: Options = [.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 {
[214/222] Compiling SwiftGenKit Filter.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 = Options(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 = Options(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 = Options(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Options(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 = Options(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 = Options(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Options(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 = Options(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 = Options(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Options(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 = Options(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 = Options(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Options(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`: Options = [.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 = Options(rawValue: 1 << 4)
39 |
40 | public static let `default`: Options = [.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 {
[215/222] Compiling SwiftGenKit CTFont.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 = Options(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 = Options(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 = Options(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Options(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 = Options(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 = Options(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Options(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 = Options(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 = Options(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Options(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 = Options(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 = Options(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Options(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`: Options = [.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 = Options(rawValue: 1 << 4)
39 |
40 | public static let `default`: Options = [.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 {
[216/222] Compiling SwiftGenKit Font.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 = Options(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 = Options(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 = Options(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Options(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 = Options(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 = Options(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Options(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 = Options(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 = Options(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Options(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 = Options(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 = Options(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Options(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`: Options = [.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 = Options(rawValue: 1 << 4)
39 |
40 | public static let `default`: Options = [.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 {
[217/222] 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 = Options(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 = Options(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 = Options(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Options(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 = Options(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 = Options(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Options(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 = Options(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 = Options(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Options(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 = Options(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 = Options(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Options(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`: Options = [.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 = Options(rawValue: 1 << 4)
39 |
40 | public static let `default`: Options = [.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/222] 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 = Options(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 = Options(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 = Options(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Options(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 = Options(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 = Options(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Options(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 = Options(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 = Options(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Options(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 = Options(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 = Options(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Options(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`: Options = [.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 = Options(rawValue: 1 << 4)
39 |
40 | public static let `default`: Options = [.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/222] 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 = Options(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 = Options(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 = Options(rawValue: 1 << 0)
31 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsPackageDescendants
32 | public static let skipsPackageDescendants = Options(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 = Options(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 = Options(rawValue: 1 << 1)
33 | /// Equivalent of Path.DirectoryEnumerationOptions.skipsHiddenFiles
34 | public static let skipsHiddenFiles = Options(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 = Options(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 = Options(rawValue: 1 << 2)
35 | /// Ignore directories
36 | public static let skipsDirectories = Options(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 = Options(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 = Options(rawValue: 1 << 3)
37 | /// Ignore files
38 | public static let skipsFiles = Options(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`: Options = [.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 = Options(rawValue: 1 << 4)
39 |
40 | public static let `default`: Options = [.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/237] 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 {
[221/238] 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 | )
[222/238] 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",
[223/238] 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 | }
[224/238] 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 | }
[225/238] Compiling SwiftGenCLI ConfigEntry.swift
[226/238] Compiling SwiftGenCLI ConfigOutput.swift
[227/238] 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 = "/"
[228/238] 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 |
[229/238] 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 |
[230/238] 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 }
[231/238] 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 }
[232/238] 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/238] Compiling SwiftGenCLI Config+Lint.swift
[234/238] Compiling SwiftGenCLI Config+Run.swift
[235/238] Compiling SwiftGenCLI resource_bundle_accessor.swift
[236/265] Compiling SwiftGen OutputDestination.swift
[237/266] 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 {
[238/266] 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 {
[239/266] Compiling SwiftGen Template Which.swift
[240/266] Compiling SwiftGen DeprecatedCommand.swift
[241/266] Compiling SwiftGen Template.swift
[242/266] Compiling SwiftGen Template Cat.swift
[243/266] Compiling SwiftGen Template Doc.swift
[244/266] Compiling SwiftGen Template List.swift
[245/266] Compiling SwiftGen Version.swift
[246/266] Compiling SwiftGen Command.swift
[247/266] Compiling SwiftGen Config.swift
[248/266] 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 {
[249/266] Compiling SwiftGen Config Doc.swift
[250/266] Compiling SwiftGen Config GenerateXCFileLists.swift
[251/266] Compiling SwiftGen Config Init.swift
[252/266] Compiling SwiftGen Config Lint.swift
[253/266] 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 {
[254/266] 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 {
[254/266] Write Objects.LinkFileList
[255/266] Linking swiftgen
[256/266] Applying swiftgen
[258/266] Compiling TestUtils resource_bundle_accessor.swift
[259/266] Compiling TestUtils Config.swift
[260/266] Compiling TestUtils TestsHelper.swift
[261/266] Compiling TestUtils Parser.swift
[262/266] 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 | }
[263/266] Compiling TestUtils VariationGenerator.swift
[264/266] Emitting module TestUtils
[265/266] Compiling TestUtils TestsHelper+Context.swift
[266/266] Compiling TestUtils TestsHelper+Strings.swift
Build complete! (39.62s)
Fetching https://github.com/krzysztofzablocki/Difference.git
[1/486] Fetching difference
Fetched https://github.com/krzysztofzablocki/Difference.git from cache (1.08s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/shibapm/Komondor.git
Fetching https://github.com/tid-kijyun/Kanna.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
[25/6398] Fetching kanna, stencilswiftkit
[369/6907] Fetching kanna, stencilswiftkit, komondor
[441/8345] Fetching kanna, stencilswiftkit, komondor, pathkit
[707/13638] Fetching kanna, stencilswiftkit, komondor, pathkit, stencil
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.92s)
[4344/11248] Fetching stencilswiftkit, komondor, pathkit, stencil
Fetched https://github.com/jpsim/Yams.git from cache (1.36s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.38s)
Fetched https://github.com/stencilproject/Stencil.git from cache (1.86s)
Fetched https://github.com/shibapm/Komondor.git from cache (1.86s)
Fetched https://github.com/kylef/PathKit.git from cache (1.86s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (1.86s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (2.44s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (2.25s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/580] Fetching packageconfig
[190/1560] Fetching packageconfig, shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.89s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.89s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (1.46s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.89s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.45s)
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.59s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.57s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.56s)
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.48s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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/krzysztofzablocki/Difference.git
Working copy of https://github.com/krzysztofzablocki/Difference.git resolved at master (1deadf0)
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.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",
"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",
"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/StringsDictFileParser.swift",
"Parsers/Strings/FileTypeParser/StringsFileParser.swift",
"Parsers/Strings/FileTypeParser/StringsFileTypeParser.swift",
"Parsers/Strings/FileTypeParser/StringsFileWithCommentsParser.swift",
"Parsers/Strings/PlaceholderType.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.