Build Information
Successful build of SwiftGit2, reference develop (e810ca
), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 20:07:29 UTC.
Swift 6 data race errors: 59
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:77:27: warning: static property 'indexRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
| |- warning: static property 'indexRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexRenamed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:78:27: warning: static property 'indexTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
| |- warning: static property 'indexTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexTypeChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:79:27: warning: static property 'workTreeNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
| |- warning: static property 'workTreeNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeNew' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:80:27: warning: static property 'workTreeModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
| |- warning: static property 'workTreeModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeModified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:81:27: warning: static property 'workTreeDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
| |- warning: static property 'workTreeDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeDeleted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:82:27: warning: static property 'workTreeTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
| |- warning: static property 'workTreeTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeTypeChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:83:27: warning: static property 'workTreeRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
| |- warning: static property 'workTreeRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeRenamed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:84:27: warning: static property 'workTreeUnreadable' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
| |- warning: static property 'workTreeUnreadable' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeUnreadable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
86 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:85:27: warning: static property 'ignored' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
| |- warning: static property 'ignored' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:86:27: warning: static property 'conflicted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
86 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
| |- warning: static property 'conflicted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflicted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:98:27: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
96 | public let rawValue: UInt32
97 |
98 | public static let binary = Flags([])
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let notBinary = Flags(rawValue: 1 << 0)
100 | public static let validId = Flags(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:99:27: warning: static property 'notBinary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
97 |
98 | public static let binary = Flags([])
99 | public static let notBinary = Flags(rawValue: 1 << 0)
| |- warning: static property 'notBinary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBinary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let validId = Flags(rawValue: 1 << 1)
101 | public static let exists = Flags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:100:27: warning: static property 'validId' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
98 | public static let binary = Flags([])
99 | public static let notBinary = Flags(rawValue: 1 << 0)
100 | public static let validId = Flags(rawValue: 1 << 1)
| |- warning: static property 'validId' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let exists = Flags(rawValue: 1 << 2)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:101:27: warning: static property 'exists' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
99 | public static let notBinary = Flags(rawValue: 1 << 0)
100 | public static let validId = Flags(rawValue: 1 << 1)
101 | public static let exists = Flags(rawValue: 1 << 2)
| |- warning: static property 'exists' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exists' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | }
103 |
[218/225] Compiling SwiftGit2 Diffs.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:34:27: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public struct Delta {
34 | public static let type: GitObjectType = .deltaGivenByObjectID
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var status: Status
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:12:13: note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:73:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
71 | public let rawValue: UInt32
72 |
73 | public static let current = Status(rawValue: GIT_STATUS_CURRENT.rawValue)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:74:27: warning: static property 'indexNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
72 |
73 | public static let current = Status(rawValue: GIT_STATUS_CURRENT.rawValue)
74 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
| |- warning: static property 'indexNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexNew' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:75:27: warning: static property 'indexModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
73 | public static let current = Status(rawValue: GIT_STATUS_CURRENT.rawValue)
74 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
| |- warning: static property 'indexModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexModified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:76:27: warning: static property 'indexDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
74 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
| |- warning: static property 'indexDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexDeleted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:77:27: warning: static property 'indexRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
| |- warning: static property 'indexRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexRenamed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:78:27: warning: static property 'indexTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
| |- warning: static property 'indexTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexTypeChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:79:27: warning: static property 'workTreeNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
| |- warning: static property 'workTreeNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeNew' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:80:27: warning: static property 'workTreeModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
| |- warning: static property 'workTreeModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeModified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:81:27: warning: static property 'workTreeDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
| |- warning: static property 'workTreeDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeDeleted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:82:27: warning: static property 'workTreeTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
| |- warning: static property 'workTreeTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeTypeChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:83:27: warning: static property 'workTreeRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
| |- warning: static property 'workTreeRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeRenamed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:84:27: warning: static property 'workTreeUnreadable' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
| |- warning: static property 'workTreeUnreadable' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeUnreadable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
86 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:85:27: warning: static property 'ignored' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
| |- warning: static property 'ignored' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:86:27: warning: static property 'conflicted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
86 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
| |- warning: static property 'conflicted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflicted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:98:27: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
96 | public let rawValue: UInt32
97 |
98 | public static let binary = Flags([])
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let notBinary = Flags(rawValue: 1 << 0)
100 | public static let validId = Flags(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:99:27: warning: static property 'notBinary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
97 |
98 | public static let binary = Flags([])
99 | public static let notBinary = Flags(rawValue: 1 << 0)
| |- warning: static property 'notBinary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBinary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let validId = Flags(rawValue: 1 << 1)
101 | public static let exists = Flags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:100:27: warning: static property 'validId' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
98 | public static let binary = Flags([])
99 | public static let notBinary = Flags(rawValue: 1 << 0)
100 | public static let validId = Flags(rawValue: 1 << 1)
| |- warning: static property 'validId' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let exists = Flags(rawValue: 1 << 2)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:101:27: warning: static property 'exists' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
99 | public static let notBinary = Flags(rawValue: 1 << 0)
100 | public static let validId = Flags(rawValue: 1 << 1)
101 | public static let exists = Flags(rawValue: 1 << 2)
| |- warning: static property 'exists' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exists' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | }
103 |
[219/225] Compiling SwiftGit2 Repository.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:43:23: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
41 |
42 | /// Allow safe updates that cannot overwrite uncommitted data.
43 | public static let safe = CheckoutStrategy(GIT_CHECKOUT_SAFE)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'safe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Allow all updates to force working directory to look like index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:15:23: warning: static property 'includeUntracked' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
13 | }
14 |
15 | public static let includeUntracked = StatusOptions(
| |- warning: static property 'includeUntracked' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeUntracked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | rawValue: GIT_STATUS_OPT_INCLUDE_UNTRACKED.rawValue
17 | )
[220/225] Compiling SwiftGit2 CheckoutStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:40:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
38 |
39 | /// Default is a dry run, no actual updates.
40 | public static let none = CheckoutStrategy(GIT_CHECKOUT_NONE)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Allow safe updates that cannot overwrite uncommitted data.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:43:23: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
41 |
42 | /// Allow safe updates that cannot overwrite uncommitted data.
43 | public static let safe = CheckoutStrategy(GIT_CHECKOUT_SAFE)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'safe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Allow all updates to force working directory to look like index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:46:23: warning: static property 'force' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
44 |
45 | /// Allow all updates to force working directory to look like index
46 | public static let force = CheckoutStrategy(GIT_CHECKOUT_FORCE)
| |- warning: static property 'force' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'force' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Allow checkout to recreate missing files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:49:23: warning: static property 'recreateMissing' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
47 |
48 | /// Allow checkout to recreate missing files.
49 | public static let recreateMissing = CheckoutStrategy(GIT_CHECKOUT_RECREATE_MISSING)
| |- warning: static property 'recreateMissing' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recreateMissing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Allow checkout to make safe updates even if conflicts are found.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:52:23: warning: static property 'allowConflicts' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
50 |
51 | /// Allow checkout to make safe updates even if conflicts are found.
52 | public static let allowConflicts = CheckoutStrategy(GIT_CHECKOUT_ALLOW_CONFLICTS)
| |- warning: static property 'allowConflicts' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowConflicts' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Remove untracked files not in index (that are not ignored).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:55:23: warning: static property 'removeUntracked' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
53 |
54 | /// Remove untracked files not in index (that are not ignored).
55 | public static let removeUntracked = CheckoutStrategy(GIT_CHECKOUT_REMOVE_UNTRACKED)
| |- warning: static property 'removeUntracked' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeUntracked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Remove ignored files not in index.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:58:23: warning: static property 'removeIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
56 |
57 | /// Remove ignored files not in index.
58 | public static let removeIgnored = CheckoutStrategy(GIT_CHECKOUT_REMOVE_IGNORED)
| |- warning: static property 'removeIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeIgnored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// Only update existing files, don't create new ones.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:61:23: warning: static property 'updateOnly' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
59 |
60 | /// Only update existing files, don't create new ones.
61 | public static let updateOnly = CheckoutStrategy(GIT_CHECKOUT_UPDATE_ONLY)
| |- warning: static property 'updateOnly' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'updateOnly' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | /// Normally checkout updates index entries as it goes; this stops that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:65:23: warning: static property 'dontUpdateIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
63 | /// Normally checkout updates index entries as it goes; this stops that.
64 | /// Implies `DontWriteIndex`.
65 | public static let dontUpdateIndex = CheckoutStrategy(GIT_CHECKOUT_DONT_UPDATE_INDEX)
| |- warning: static property 'dontUpdateIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontUpdateIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// Don't refresh index/config/etc before doing checkout
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:68:23: warning: static property 'noRefresh' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
66 |
67 | /// Don't refresh index/config/etc before doing checkout
68 | public static let noRefresh = CheckoutStrategy(GIT_CHECKOUT_NO_REFRESH)
| |- warning: static property 'noRefresh' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noRefresh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Allow checkout to skip unmerged files
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:71:23: warning: static property 'skipUnmerged' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
69 |
70 | /// Allow checkout to skip unmerged files
71 | public static let skipUnmerged = CheckoutStrategy(GIT_CHECKOUT_SKIP_UNMERGED)
| |- warning: static property 'skipUnmerged' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipUnmerged' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// For unmerged files, checkout stage 2 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:74:23: warning: static property 'useOurs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
72 |
73 | /// For unmerged files, checkout stage 2 from index
74 | public static let useOurs = CheckoutStrategy(GIT_CHECKOUT_USE_OURS)
| |- warning: static property 'useOurs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useOurs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// For unmerged files, checkout stage 3 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:77:23: warning: static property 'useTheirs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
75 |
76 | /// For unmerged files, checkout stage 3 from index
77 | public static let useTheirs = CheckoutStrategy(GIT_CHECKOUT_USE_THEIRS)
| |- warning: static property 'useTheirs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useTheirs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// Treat pathspec as simple list of exact match file paths
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:80:23: warning: static property 'disablePathspecMatch' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
78 |
79 | /// Treat pathspec as simple list of exact match file paths
80 | public static let disablePathspecMatch = CheckoutStrategy(GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH)
| |- warning: static property 'disablePathspecMatch' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePathspecMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// Ignore directories in use, they will be left empty
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:83:23: warning: static property 'skipLockedDirectories' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
81 |
82 | /// Ignore directories in use, they will be left empty
83 | public static let skipLockedDirectories = CheckoutStrategy(GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES)
| |- warning: static property 'skipLockedDirectories' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipLockedDirectories' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | /// Don't overwrite ignored files that exist in the checkout target
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:86:23: warning: static property 'dontOverwriteIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
84 |
85 | /// Don't overwrite ignored files that exist in the checkout target
86 | public static let dontOverwriteIgnored = CheckoutStrategy(GIT_CHECKOUT_DONT_OVERWRITE_IGNORED)
| |- warning: static property 'dontOverwriteIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontOverwriteIgnored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// Write normal merge files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:89:23: warning: static property 'conflictStyleMerge' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
87 |
88 | /// Write normal merge files for conflicts
89 | public static let conflictStyleMerge = CheckoutStrategy(GIT_CHECKOUT_CONFLICT_STYLE_MERGE)
| |- warning: static property 'conflictStyleMerge' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflictStyleMerge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Include common ancestor data in diff3 format files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:92:23: warning: static property 'conflictStyleDiff3' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
90 |
91 | /// Include common ancestor data in diff3 format files for conflicts
92 | public static let conflictStyleDiff3 = CheckoutStrategy(GIT_CHECKOUT_CONFLICT_STYLE_DIFF3)
| |- warning: static property 'conflictStyleDiff3' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflictStyleDiff3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Don't overwrite existing files or folders
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:95:23: warning: static property 'dontRemoveExisting' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
93 |
94 | /// Don't overwrite existing files or folders
95 | public static let dontRemoveExisting = CheckoutStrategy(GIT_CHECKOUT_DONT_REMOVE_EXISTING)
| |- warning: static property 'dontRemoveExisting' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontRemoveExisting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Normally checkout writes the index upon completion; this prevents that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:98:23: warning: static property 'dontWriteIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
96 |
97 | /// Normally checkout writes the index upon completion; this prevents that.
98 | public static let dontWriteIndex = CheckoutStrategy(GIT_CHECKOUT_DONT_WRITE_INDEX)
| |- warning: static property 'dontWriteIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontWriteIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | }
100 |
[221/225] Compiling SwiftGit2 CommitIterator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:40:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
38 |
39 | /// Default is a dry run, no actual updates.
40 | public static let none = CheckoutStrategy(GIT_CHECKOUT_NONE)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Allow safe updates that cannot overwrite uncommitted data.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:43:23: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
41 |
42 | /// Allow safe updates that cannot overwrite uncommitted data.
43 | public static let safe = CheckoutStrategy(GIT_CHECKOUT_SAFE)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'safe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Allow all updates to force working directory to look like index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:46:23: warning: static property 'force' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
44 |
45 | /// Allow all updates to force working directory to look like index
46 | public static let force = CheckoutStrategy(GIT_CHECKOUT_FORCE)
| |- warning: static property 'force' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'force' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Allow checkout to recreate missing files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:49:23: warning: static property 'recreateMissing' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
47 |
48 | /// Allow checkout to recreate missing files.
49 | public static let recreateMissing = CheckoutStrategy(GIT_CHECKOUT_RECREATE_MISSING)
| |- warning: static property 'recreateMissing' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recreateMissing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Allow checkout to make safe updates even if conflicts are found.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:52:23: warning: static property 'allowConflicts' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
50 |
51 | /// Allow checkout to make safe updates even if conflicts are found.
52 | public static let allowConflicts = CheckoutStrategy(GIT_CHECKOUT_ALLOW_CONFLICTS)
| |- warning: static property 'allowConflicts' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowConflicts' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Remove untracked files not in index (that are not ignored).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:55:23: warning: static property 'removeUntracked' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
53 |
54 | /// Remove untracked files not in index (that are not ignored).
55 | public static let removeUntracked = CheckoutStrategy(GIT_CHECKOUT_REMOVE_UNTRACKED)
| |- warning: static property 'removeUntracked' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeUntracked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Remove ignored files not in index.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:58:23: warning: static property 'removeIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
56 |
57 | /// Remove ignored files not in index.
58 | public static let removeIgnored = CheckoutStrategy(GIT_CHECKOUT_REMOVE_IGNORED)
| |- warning: static property 'removeIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeIgnored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// Only update existing files, don't create new ones.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:61:23: warning: static property 'updateOnly' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
59 |
60 | /// Only update existing files, don't create new ones.
61 | public static let updateOnly = CheckoutStrategy(GIT_CHECKOUT_UPDATE_ONLY)
| |- warning: static property 'updateOnly' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'updateOnly' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | /// Normally checkout updates index entries as it goes; this stops that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:65:23: warning: static property 'dontUpdateIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
63 | /// Normally checkout updates index entries as it goes; this stops that.
64 | /// Implies `DontWriteIndex`.
65 | public static let dontUpdateIndex = CheckoutStrategy(GIT_CHECKOUT_DONT_UPDATE_INDEX)
| |- warning: static property 'dontUpdateIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontUpdateIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// Don't refresh index/config/etc before doing checkout
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:68:23: warning: static property 'noRefresh' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
66 |
67 | /// Don't refresh index/config/etc before doing checkout
68 | public static let noRefresh = CheckoutStrategy(GIT_CHECKOUT_NO_REFRESH)
| |- warning: static property 'noRefresh' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noRefresh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Allow checkout to skip unmerged files
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:71:23: warning: static property 'skipUnmerged' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
69 |
70 | /// Allow checkout to skip unmerged files
71 | public static let skipUnmerged = CheckoutStrategy(GIT_CHECKOUT_SKIP_UNMERGED)
| |- warning: static property 'skipUnmerged' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipUnmerged' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// For unmerged files, checkout stage 2 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:74:23: warning: static property 'useOurs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
72 |
73 | /// For unmerged files, checkout stage 2 from index
74 | public static let useOurs = CheckoutStrategy(GIT_CHECKOUT_USE_OURS)
| |- warning: static property 'useOurs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useOurs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// For unmerged files, checkout stage 3 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:77:23: warning: static property 'useTheirs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
75 |
76 | /// For unmerged files, checkout stage 3 from index
77 | public static let useTheirs = CheckoutStrategy(GIT_CHECKOUT_USE_THEIRS)
| |- warning: static property 'useTheirs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useTheirs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// Treat pathspec as simple list of exact match file paths
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:80:23: warning: static property 'disablePathspecMatch' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
78 |
79 | /// Treat pathspec as simple list of exact match file paths
80 | public static let disablePathspecMatch = CheckoutStrategy(GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH)
| |- warning: static property 'disablePathspecMatch' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePathspecMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// Ignore directories in use, they will be left empty
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:83:23: warning: static property 'skipLockedDirectories' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
81 |
82 | /// Ignore directories in use, they will be left empty
83 | public static let skipLockedDirectories = CheckoutStrategy(GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES)
| |- warning: static property 'skipLockedDirectories' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipLockedDirectories' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | /// Don't overwrite ignored files that exist in the checkout target
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:86:23: warning: static property 'dontOverwriteIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
84 |
85 | /// Don't overwrite ignored files that exist in the checkout target
86 | public static let dontOverwriteIgnored = CheckoutStrategy(GIT_CHECKOUT_DONT_OVERWRITE_IGNORED)
| |- warning: static property 'dontOverwriteIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontOverwriteIgnored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// Write normal merge files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:89:23: warning: static property 'conflictStyleMerge' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
87 |
88 | /// Write normal merge files for conflicts
89 | public static let conflictStyleMerge = CheckoutStrategy(GIT_CHECKOUT_CONFLICT_STYLE_MERGE)
| |- warning: static property 'conflictStyleMerge' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflictStyleMerge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Include common ancestor data in diff3 format files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:92:23: warning: static property 'conflictStyleDiff3' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
90 |
91 | /// Include common ancestor data in diff3 format files for conflicts
92 | public static let conflictStyleDiff3 = CheckoutStrategy(GIT_CHECKOUT_CONFLICT_STYLE_DIFF3)
| |- warning: static property 'conflictStyleDiff3' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflictStyleDiff3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Don't overwrite existing files or folders
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:95:23: warning: static property 'dontRemoveExisting' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
93 |
94 | /// Don't overwrite existing files or folders
95 | public static let dontRemoveExisting = CheckoutStrategy(GIT_CHECKOUT_DONT_REMOVE_EXISTING)
| |- warning: static property 'dontRemoveExisting' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontRemoveExisting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Normally checkout writes the index upon completion; this prevents that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:98:23: warning: static property 'dontWriteIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
96 |
97 | /// Normally checkout writes the index upon completion; this prevents that.
98 | public static let dontWriteIndex = CheckoutStrategy(GIT_CHECKOUT_DONT_WRITE_INDEX)
| |- warning: static property 'dontWriteIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontWriteIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | }
100 |
[222/225] Emitting module SwiftGit2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:40:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
38 |
39 | /// Default is a dry run, no actual updates.
40 | public static let none = CheckoutStrategy(GIT_CHECKOUT_NONE)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Allow safe updates that cannot overwrite uncommitted data.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:43:23: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
41 |
42 | /// Allow safe updates that cannot overwrite uncommitted data.
43 | public static let safe = CheckoutStrategy(GIT_CHECKOUT_SAFE)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'safe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Allow all updates to force working directory to look like index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:46:23: warning: static property 'force' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
44 |
45 | /// Allow all updates to force working directory to look like index
46 | public static let force = CheckoutStrategy(GIT_CHECKOUT_FORCE)
| |- warning: static property 'force' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'force' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Allow checkout to recreate missing files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:49:23: warning: static property 'recreateMissing' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
47 |
48 | /// Allow checkout to recreate missing files.
49 | public static let recreateMissing = CheckoutStrategy(GIT_CHECKOUT_RECREATE_MISSING)
| |- warning: static property 'recreateMissing' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recreateMissing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Allow checkout to make safe updates even if conflicts are found.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:52:23: warning: static property 'allowConflicts' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
50 |
51 | /// Allow checkout to make safe updates even if conflicts are found.
52 | public static let allowConflicts = CheckoutStrategy(GIT_CHECKOUT_ALLOW_CONFLICTS)
| |- warning: static property 'allowConflicts' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowConflicts' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Remove untracked files not in index (that are not ignored).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:55:23: warning: static property 'removeUntracked' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
53 |
54 | /// Remove untracked files not in index (that are not ignored).
55 | public static let removeUntracked = CheckoutStrategy(GIT_CHECKOUT_REMOVE_UNTRACKED)
| |- warning: static property 'removeUntracked' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeUntracked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Remove ignored files not in index.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:58:23: warning: static property 'removeIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
56 |
57 | /// Remove ignored files not in index.
58 | public static let removeIgnored = CheckoutStrategy(GIT_CHECKOUT_REMOVE_IGNORED)
| |- warning: static property 'removeIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removeIgnored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// Only update existing files, don't create new ones.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:61:23: warning: static property 'updateOnly' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
59 |
60 | /// Only update existing files, don't create new ones.
61 | public static let updateOnly = CheckoutStrategy(GIT_CHECKOUT_UPDATE_ONLY)
| |- warning: static property 'updateOnly' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'updateOnly' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | /// Normally checkout updates index entries as it goes; this stops that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:65:23: warning: static property 'dontUpdateIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
63 | /// Normally checkout updates index entries as it goes; this stops that.
64 | /// Implies `DontWriteIndex`.
65 | public static let dontUpdateIndex = CheckoutStrategy(GIT_CHECKOUT_DONT_UPDATE_INDEX)
| |- warning: static property 'dontUpdateIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontUpdateIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// Don't refresh index/config/etc before doing checkout
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:68:23: warning: static property 'noRefresh' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
66 |
67 | /// Don't refresh index/config/etc before doing checkout
68 | public static let noRefresh = CheckoutStrategy(GIT_CHECKOUT_NO_REFRESH)
| |- warning: static property 'noRefresh' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noRefresh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Allow checkout to skip unmerged files
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:71:23: warning: static property 'skipUnmerged' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
69 |
70 | /// Allow checkout to skip unmerged files
71 | public static let skipUnmerged = CheckoutStrategy(GIT_CHECKOUT_SKIP_UNMERGED)
| |- warning: static property 'skipUnmerged' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipUnmerged' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// For unmerged files, checkout stage 2 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:74:23: warning: static property 'useOurs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
72 |
73 | /// For unmerged files, checkout stage 2 from index
74 | public static let useOurs = CheckoutStrategy(GIT_CHECKOUT_USE_OURS)
| |- warning: static property 'useOurs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useOurs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// For unmerged files, checkout stage 3 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:77:23: warning: static property 'useTheirs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
75 |
76 | /// For unmerged files, checkout stage 3 from index
77 | public static let useTheirs = CheckoutStrategy(GIT_CHECKOUT_USE_THEIRS)
| |- warning: static property 'useTheirs' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useTheirs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// Treat pathspec as simple list of exact match file paths
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:80:23: warning: static property 'disablePathspecMatch' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
78 |
79 | /// Treat pathspec as simple list of exact match file paths
80 | public static let disablePathspecMatch = CheckoutStrategy(GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH)
| |- warning: static property 'disablePathspecMatch' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePathspecMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// Ignore directories in use, they will be left empty
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:83:23: warning: static property 'skipLockedDirectories' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
81 |
82 | /// Ignore directories in use, they will be left empty
83 | public static let skipLockedDirectories = CheckoutStrategy(GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES)
| |- warning: static property 'skipLockedDirectories' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipLockedDirectories' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 |
85 | /// Don't overwrite ignored files that exist in the checkout target
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:86:23: warning: static property 'dontOverwriteIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
84 |
85 | /// Don't overwrite ignored files that exist in the checkout target
86 | public static let dontOverwriteIgnored = CheckoutStrategy(GIT_CHECKOUT_DONT_OVERWRITE_IGNORED)
| |- warning: static property 'dontOverwriteIgnored' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontOverwriteIgnored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// Write normal merge files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:89:23: warning: static property 'conflictStyleMerge' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
87 |
88 | /// Write normal merge files for conflicts
89 | public static let conflictStyleMerge = CheckoutStrategy(GIT_CHECKOUT_CONFLICT_STYLE_MERGE)
| |- warning: static property 'conflictStyleMerge' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflictStyleMerge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Include common ancestor data in diff3 format files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:92:23: warning: static property 'conflictStyleDiff3' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
90 |
91 | /// Include common ancestor data in diff3 format files for conflicts
92 | public static let conflictStyleDiff3 = CheckoutStrategy(GIT_CHECKOUT_CONFLICT_STYLE_DIFF3)
| |- warning: static property 'conflictStyleDiff3' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflictStyleDiff3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Don't overwrite existing files or folders
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:95:23: warning: static property 'dontRemoveExisting' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
93 |
94 | /// Don't overwrite existing files or folders
95 | public static let dontRemoveExisting = CheckoutStrategy(GIT_CHECKOUT_DONT_REMOVE_EXISTING)
| |- warning: static property 'dontRemoveExisting' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontRemoveExisting' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Normally checkout writes the index upon completion; this prevents that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:98:23: warning: static property 'dontWriteIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The flags defining how a checkout should be performed.
12 | /// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13 | public struct CheckoutStrategy: OptionSet {
| `- note: consider making struct 'CheckoutStrategy' conform to the 'Sendable' protocol
14 | // MARK: - Properties
15 |
:
96 |
97 | /// Normally checkout writes the index upon completion; this prevents that.
98 | public static let dontWriteIndex = CheckoutStrategy(GIT_CHECKOUT_DONT_WRITE_INDEX)
| |- warning: static property 'dontWriteIndex' is not concurrency-safe because non-'Sendable' type 'CheckoutStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dontWriteIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:34:27: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public struct Delta {
34 | public static let type: GitObjectType = .deltaGivenByObjectID
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var status: Status
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:12:13: note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:73:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
71 | public let rawValue: UInt32
72 |
73 | public static let current = Status(rawValue: GIT_STATUS_CURRENT.rawValue)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:74:27: warning: static property 'indexNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
72 |
73 | public static let current = Status(rawValue: GIT_STATUS_CURRENT.rawValue)
74 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
| |- warning: static property 'indexNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexNew' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:75:27: warning: static property 'indexModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
73 | public static let current = Status(rawValue: GIT_STATUS_CURRENT.rawValue)
74 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
| |- warning: static property 'indexModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexModified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:76:27: warning: static property 'indexDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
74 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
| |- warning: static property 'indexDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexDeleted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:77:27: warning: static property 'indexRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
75 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
| |- warning: static property 'indexRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexRenamed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:78:27: warning: static property 'indexTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
76 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
| |- warning: static property 'indexTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'indexTypeChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:79:27: warning: static property 'workTreeNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
77 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
| |- warning: static property 'workTreeNew' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeNew' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:80:27: warning: static property 'workTreeModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
78 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
| |- warning: static property 'workTreeModified' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeModified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:81:27: warning: static property 'workTreeDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
79 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
| |- warning: static property 'workTreeDeleted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeDeleted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:82:27: warning: static property 'workTreeTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
80 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
| |- warning: static property 'workTreeTypeChange' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeTypeChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:83:27: warning: static property 'workTreeRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
81 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
| |- warning: static property 'workTreeRenamed' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeRenamed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:84:27: warning: static property 'workTreeUnreadable' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
82 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
| |- warning: static property 'workTreeUnreadable' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workTreeUnreadable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
86 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:85:27: warning: static property 'ignored' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
83 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
| |- warning: static property 'ignored' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:86:27: warning: static property 'conflicted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct Status: OptionSet {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
65 | // This appears to be necessary due to bug in Swift
66 | // https://bugs.swift.org/browse/SR-3003
:
84 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
85 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
86 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
| |- warning: static property 'conflicted' is not concurrency-safe because non-'Sendable' type 'Diff.Status' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'conflicted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:98:27: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
96 | public let rawValue: UInt32
97 |
98 | public static let binary = Flags([])
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let notBinary = Flags(rawValue: 1 << 0)
100 | public static let validId = Flags(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:99:27: warning: static property 'notBinary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
97 |
98 | public static let binary = Flags([])
99 | public static let notBinary = Flags(rawValue: 1 << 0)
| |- warning: static property 'notBinary' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBinary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let validId = Flags(rawValue: 1 << 1)
101 | public static let exists = Flags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:100:27: warning: static property 'validId' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
98 | public static let binary = Flags([])
99 | public static let notBinary = Flags(rawValue: 1 << 0)
100 | public static let validId = Flags(rawValue: 1 << 1)
| |- warning: static property 'validId' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | public static let exists = Flags(rawValue: 1 << 2)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:101:27: warning: static property 'exists' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
87 | }
88 |
89 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
90 | // This appears to be necessary due to bug in Swift
91 | // https://bugs.swift.org/browse/SR-3003
:
99 | public static let notBinary = Flags(rawValue: 1 << 0)
100 | public static let validId = Flags(rawValue: 1 << 1)
101 | public static let exists = Flags(rawValue: 1 << 2)
| |- warning: static property 'exists' is not concurrency-safe because non-'Sendable' type 'Diff.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exists' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | }
103 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:141:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
139 | /// A git commit.
140 | public struct Commit: ObjectType, Hashable {
141 | public static let type: GitObjectType = .commit
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// The OID of the commit.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:184:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
182 | /// A git tree.
183 | public struct Tree: ObjectType, Hashable {
184 | public static let type: GitObjectType = .tree
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | /// An entry in a `Tree`.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:240:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
238 | /// A git blob.
239 | public struct Blob: ObjectType, Hashable {
240 | public static let type: GitObjectType = .blob
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 | /// The OID of the blob.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:259:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
257 | /// An annotated git tag.
258 | public struct Tag: ObjectType, Hashable {
259 | public static let type: GitObjectType = .tag
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 |
261 | /// The OID of the tag.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:15:23: warning: static property 'includeUntracked' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
13 | }
14 |
15 | public static let includeUntracked = StatusOptions(
| |- warning: static property 'includeUntracked' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeUntracked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | rawValue: GIT_STATUS_OPT_INCLUDE_UNTRACKED.rawValue
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:18:23: warning: static property 'includeIgnored' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
16 | rawValue: GIT_STATUS_OPT_INCLUDE_UNTRACKED.rawValue
17 | )
18 | public static let includeIgnored = StatusOptions(
| |- warning: static property 'includeIgnored' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeIgnored' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | rawValue: GIT_STATUS_OPT_INCLUDE_IGNORED.rawValue
20 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:21:23: warning: static property 'includeUnmodified' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
19 | rawValue: GIT_STATUS_OPT_INCLUDE_IGNORED.rawValue
20 | )
21 | public static let includeUnmodified = StatusOptions(
| |- warning: static property 'includeUnmodified' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeUnmodified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | rawValue: GIT_STATUS_OPT_INCLUDE_UNMODIFIED.rawValue
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:24:23: warning: static property 'excludeSubmodules' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
22 | rawValue: GIT_STATUS_OPT_INCLUDE_UNMODIFIED.rawValue
23 | )
24 | public static let excludeSubmodules = StatusOptions(
| |- warning: static property 'excludeSubmodules' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'excludeSubmodules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | rawValue: GIT_STATUS_OPT_EXCLUDE_SUBMODULES.rawValue
26 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:27:23: warning: static property 'recurseUntrackedDirs' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
25 | rawValue: GIT_STATUS_OPT_EXCLUDE_SUBMODULES.rawValue
26 | )
27 | public static let recurseUntrackedDirs = StatusOptions(
| |- warning: static property 'recurseUntrackedDirs' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recurseUntrackedDirs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | rawValue: GIT_STATUS_OPT_RECURSE_UNTRACKED_DIRS.rawValue
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:30:23: warning: static property 'disablePathSpecMatch' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
28 | rawValue: GIT_STATUS_OPT_RECURSE_UNTRACKED_DIRS.rawValue
29 | )
30 | public static let disablePathSpecMatch = StatusOptions(
| |- warning: static property 'disablePathSpecMatch' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disablePathSpecMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | rawValue: GIT_STATUS_OPT_DISABLE_PATHSPEC_MATCH.rawValue
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:33:23: warning: static property 'recurseIgnoredDirs' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
31 | rawValue: GIT_STATUS_OPT_DISABLE_PATHSPEC_MATCH.rawValue
32 | )
33 | public static let recurseIgnoredDirs = StatusOptions(
| |- warning: static property 'recurseIgnoredDirs' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recurseIgnoredDirs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | rawValue: GIT_STATUS_OPT_RECURSE_IGNORED_DIRS.rawValue
35 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:36:23: warning: static property 'renamesHeadToIndex' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
34 | rawValue: GIT_STATUS_OPT_RECURSE_IGNORED_DIRS.rawValue
35 | )
36 | public static let renamesHeadToIndex = StatusOptions(
| |- warning: static property 'renamesHeadToIndex' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'renamesHeadToIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | rawValue: GIT_STATUS_OPT_RENAMES_HEAD_TO_INDEX.rawValue
38 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:39:23: warning: static property 'renamesIndexToWorkDir' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
37 | rawValue: GIT_STATUS_OPT_RENAMES_HEAD_TO_INDEX.rawValue
38 | )
39 | public static let renamesIndexToWorkDir = StatusOptions(
| |- warning: static property 'renamesIndexToWorkDir' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'renamesIndexToWorkDir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | rawValue: GIT_STATUS_OPT_RENAMES_INDEX_TO_WORKDIR.rawValue
41 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:42:23: warning: static property 'sortCasesSensitively' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
40 | rawValue: GIT_STATUS_OPT_RENAMES_INDEX_TO_WORKDIR.rawValue
41 | )
42 | public static let sortCasesSensitively = StatusOptions(
| |- warning: static property 'sortCasesSensitively' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sortCasesSensitively' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | rawValue: GIT_STATUS_OPT_SORT_CASE_SENSITIVELY.rawValue
44 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:45:23: warning: static property 'sortCasesInSensitively' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
43 | rawValue: GIT_STATUS_OPT_SORT_CASE_SENSITIVELY.rawValue
44 | )
45 | public static let sortCasesInSensitively = StatusOptions(
| |- warning: static property 'sortCasesInSensitively' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sortCasesInSensitively' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | rawValue: GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY.rawValue
47 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:48:23: warning: static property 'renamesFromRewrites' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
46 | rawValue: GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY.rawValue
47 | )
48 | public static let renamesFromRewrites = StatusOptions(
| |- warning: static property 'renamesFromRewrites' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'renamesFromRewrites' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | rawValue: GIT_STATUS_OPT_RENAMES_FROM_REWRITES.rawValue
50 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:51:23: warning: static property 'noRefresh' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
49 | rawValue: GIT_STATUS_OPT_RENAMES_FROM_REWRITES.rawValue
50 | )
51 | public static let noRefresh = StatusOptions(
| |- warning: static property 'noRefresh' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noRefresh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | rawValue: GIT_STATUS_OPT_NO_REFRESH.rawValue
53 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:54:23: warning: static property 'updateIndex' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
52 | rawValue: GIT_STATUS_OPT_NO_REFRESH.rawValue
53 | )
54 | public static let updateIndex = StatusOptions(
| |- warning: static property 'updateIndex' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'updateIndex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | rawValue: GIT_STATUS_OPT_UPDATE_INDEX.rawValue
56 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:57:23: warning: static property 'includeUnreadable' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
55 | rawValue: GIT_STATUS_OPT_UPDATE_INDEX.rawValue
56 | )
57 | public static let includeUnreadable = StatusOptions(
| |- warning: static property 'includeUnreadable' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeUnreadable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | rawValue: GIT_STATUS_OPT_INCLUDE_UNREADABLE.rawValue
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:60:23: warning: static property 'includeUnreadableAsUntracked' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import libgit2
7 |
8 | public struct StatusOptions: OptionSet {
| `- note: consider making struct 'StatusOptions' conform to the 'Sendable' protocol
9 | public let rawValue: UInt32
10 |
:
58 | rawValue: GIT_STATUS_OPT_INCLUDE_UNREADABLE.rawValue
59 | )
60 | public static let includeUnreadableAsUntracked = StatusOptions(
| |- warning: static property 'includeUnreadableAsUntracked' is not concurrency-safe because non-'Sendable' type 'StatusOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeUnreadableAsUntracked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | rawValue: GIT_STATUS_OPT_INCLUDE_UNREADABLE_AS_UNTRACKED.rawValue
62 | )
[223/225] Compiling SwiftGit2 Objects.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:141:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
139 | /// A git commit.
140 | public struct Commit: ObjectType, Hashable {
141 | public static let type: GitObjectType = .commit
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// The OID of the commit.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:184:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
182 | /// A git tree.
183 | public struct Tree: ObjectType, Hashable {
184 | public static let type: GitObjectType = .tree
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | /// An entry in a `Tree`.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:240:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
238 | /// A git blob.
239 | public struct Blob: ObjectType, Hashable {
240 | public static let type: GitObjectType = .blob
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 | /// The OID of the blob.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:259:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
257 | /// An annotated git tag.
258 | public struct Tag: ObjectType, Hashable {
259 | public static let type: GitObjectType = .tag
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 |
261 | /// The OID of the tag.
[224/225] Compiling SwiftGit2 Pointers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:141:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
139 | /// A git commit.
140 | public struct Commit: ObjectType, Hashable {
141 | public static let type: GitObjectType = .commit
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// The OID of the commit.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:184:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
182 | /// A git tree.
183 | public struct Tree: ObjectType, Hashable {
184 | public static let type: GitObjectType = .tree
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | /// An entry in a `Tree`.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:240:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
238 | /// A git blob.
239 | public struct Blob: ObjectType, Hashable {
240 | public static let type: GitObjectType = .blob
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 | /// The OID of the blob.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Objects.swift:259:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import libgit2
11 |
12 | public enum GitObjectType {
| `- note: consider making enum 'GitObjectType' conform to the 'Sendable' protocol
13 | /// Object can be any of the following
14 | case any
:
257 | /// An annotated git tag.
258 | public struct Tag: ObjectType, Hashable {
259 | public static let type: GitObjectType = .tag
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'GitObjectType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 |
261 | /// The OID of the tag.
[225/225] Compiling SwiftGit2 git_strarray+Extensions.swift
Build complete! (36.82s)
Fetching https://github.com/mbernson/libgit2.git
[1/123650] Fetching libgit2
Fetched https://github.com/mbernson/libgit2.git from cache (4.10s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/ZipArchive/ZipArchive.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/455] Fetching cwlcatchexception
[356/1712] Fetching cwlcatchexception, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.81s)
[454/6420] Fetching cwlpreconditiontesting, ziparchive
[1981/21131] Fetching cwlpreconditiontesting, ziparchive, quick
[21132/40115] Fetching cwlpreconditiontesting, ziparchive, quick, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.60s)
Fetched https://github.com/Quick/Nimble.git from cache (2.60s)
Fetched https://github.com/ZipArchive/ZipArchive.git from cache (2.60s)
Fetched https://github.com/Quick/Quick.git from cache (2.60s)
Computing version for https://github.com/ZipArchive/ZipArchive.git
Computed https://github.com/ZipArchive/ZipArchive.git at 2.5.5 (3.22s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 13.2.1 (0.53s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.4.0 (0.53s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.0 (0.69s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.67s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 13.2.1
Creating working copy for https://github.com/ZipArchive/ZipArchive.git
Working copy of https://github.com/ZipArchive/ZipArchive.git resolved at 2.5.5
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.0
Creating working copy for https://github.com/mbernson/libgit2.git
Working copy of https://github.com/mbernson/libgit2.git resolved at spm (dcfcda4)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.4.0
warning: 'nimble': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/PrivacyInfo.xcprivacy
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
{
"identity" : "libgit2",
"requirement" : {
"branch" : [
"spm"
]
},
"type" : "sourceControl",
"url" : "https://github.com/mbernson/libgit2.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "13.0.0",
"upper_bound" : "14.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
},
{
"identity" : "ziparchive",
"requirement" : {
"range" : [
{
"lower_bound" : "2.5.5",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ZipArchive/ZipArchive.git"
}
],
"manifest_display_name" : "SwiftGit2",
"name" : "SwiftGit2",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "15.5"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftGit2",
"targets" : [
"SwiftGit2"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftGit2Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftGit2Tests",
"path" : "Tests/SwiftGit2Tests",
"product_dependencies" : [
"libgit2",
"Quick",
"Nimble",
"ZipArchive"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftGit2Tests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Fixtures.swift",
"FixturesSpec.swift",
"OIDSpec.swift",
"ObjectsSpec.swift",
"ReferencesSpec.swift",
"RemotesSpec.swift",
"RepositorySpec.swift",
"ResultShims.swift"
],
"target_dependencies" : [
"SwiftGit2"
],
"type" : "test"
},
{
"c99name" : "SwiftGit2",
"module_type" : "SwiftTarget",
"name" : "SwiftGit2",
"path" : "Sources/SwiftGit2",
"product_dependencies" : [
"libgit2"
],
"product_memberships" : [
"SwiftGit2"
],
"sources" : [
"CheckoutStrategy.swift",
"CommitIterator.swift",
"Credentials.swift",
"Diffs.swift",
"Errors.swift",
"OID.swift",
"Objects.swift",
"Pointers.swift",
"References.swift",
"Remotes.swift",
"Repository.swift",
"StatusOptions.swift",
"SwiftGit2.swift",
"git_strarray+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.