Build Information
Successful build of SwiftGit2, reference develop (9d3f41), with Swift 6.1 for macOS (SPM) on 4 Oct 2026 07:12:28 UTC.
Swift 6 data race errors: 78
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
| |- note: add '@MainActor' to make static property 'updateSubmodulesIfChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:128:20: 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 | private let value: UInt
15 |
:
126 | extension CheckoutStrategy {
127 | @available(*, deprecated, renamed: "none")
128 | public static let None = CheckoutStrategy.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: add '@MainActor' to make static property 'None' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | @available(*, deprecated, renamed: "safe")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:131:20: 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 | private let value: UInt
15 |
:
129 |
130 | @available(*, deprecated, renamed: "safe")
131 | public static let Safe = CheckoutStrategy.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: add '@MainActor' to make static property 'Safe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | @available(*, deprecated, renamed: "force")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:134:20: 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 | private let value: UInt
15 |
:
132 |
133 | @available(*, deprecated, renamed: "force")
134 | public static let Force = CheckoutStrategy.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: add '@MainActor' to make static property 'Force' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | @available(*, deprecated, renamed: "recreateMissing")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:137:20: 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 | private let value: UInt
15 |
:
135 |
136 | @available(*, deprecated, renamed: "recreateMissing")
137 | public static let RecreateMissing = CheckoutStrategy.recreateMissing
| |- 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: add '@MainActor' to make static property 'RecreateMissing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @available(*, deprecated, renamed: "allowConflicts")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:140:20: 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 | private let value: UInt
15 |
:
138 |
139 | @available(*, deprecated, renamed: "allowConflicts")
140 | public static let AllowConflicts = CheckoutStrategy.allowConflicts
| |- 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: add '@MainActor' to make static property 'AllowConflicts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | @available(*, deprecated, renamed: "removeUntracked")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:143:20: 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 | private let value: UInt
15 |
:
141 |
142 | @available(*, deprecated, renamed: "removeUntracked")
143 | public static let RemoveUntracked = CheckoutStrategy.removeUntracked
| |- 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: add '@MainActor' to make static property 'RemoveUntracked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | @available(*, deprecated, renamed: "removeIgnored")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:146:20: 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 | private let value: UInt
15 |
:
144 |
145 | @available(*, deprecated, renamed: "removeIgnored")
146 | public static let RemoveIgnored = CheckoutStrategy.removeIgnored
| |- 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: add '@MainActor' to make static property 'RemoveIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | @available(*, deprecated, renamed: "updateOnly")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:149:20: 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 | private let value: UInt
15 |
:
147 |
148 | @available(*, deprecated, renamed: "updateOnly")
149 | public static let UpdateOnly = CheckoutStrategy.updateOnly
| |- 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: add '@MainActor' to make static property 'UpdateOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | @available(*, deprecated, renamed: "dontUpdateIndex")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:152:20: 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 | private let value: UInt
15 |
:
150 |
151 | @available(*, deprecated, renamed: "dontUpdateIndex")
152 | public static let DontUpdateIndex = CheckoutStrategy.dontUpdateIndex
| |- 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: add '@MainActor' to make static property 'DontUpdateIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | @available(*, deprecated, renamed: "noRefresh")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:155:20: 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 | private let value: UInt
15 |
:
153 |
154 | @available(*, deprecated, renamed: "noRefresh")
155 | public static let NoRefresh = CheckoutStrategy.noRefresh
| |- 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: add '@MainActor' to make static property 'NoRefresh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | @available(*, deprecated, renamed: "skipUnmerged")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:158:20: 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 | private let value: UInt
15 |
:
156 |
157 | @available(*, deprecated, renamed: "skipUnmerged")
158 | public static let SkipUnmerged = CheckoutStrategy.skipUnmerged
| |- 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: add '@MainActor' to make static property 'SkipUnmerged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | @available(*, deprecated, renamed: "useOurs")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:161:20: 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 | private let value: UInt
15 |
:
159 |
160 | @available(*, deprecated, renamed: "useOurs")
161 | public static let UseOurs = CheckoutStrategy.useOurs
| |- 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: add '@MainActor' to make static property 'UseOurs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | @available(*, deprecated, renamed: "useTheirs")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:164:20: 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 | private let value: UInt
15 |
:
162 |
163 | @available(*, deprecated, renamed: "useTheirs")
164 | public static let UseTheirs = CheckoutStrategy.useTheirs
| |- 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: add '@MainActor' to make static property 'UseTheirs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | @available(*, deprecated, renamed: "disablePathspecMatch")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:167:20: 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 | private let value: UInt
15 |
:
165 |
166 | @available(*, deprecated, renamed: "disablePathspecMatch")
167 | public static let DisablePathspecMatch = CheckoutStrategy.disablePathspecMatch
| |- 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: add '@MainActor' to make static property 'DisablePathspecMatch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | @available(*, deprecated, renamed: "skipLockedDirectories")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:170:20: 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 | private let value: UInt
15 |
:
168 |
169 | @available(*, deprecated, renamed: "skipLockedDirectories")
170 | public static let SkipLockedDirectories = CheckoutStrategy.skipLockedDirectories
| |- 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: add '@MainActor' to make static property 'SkipLockedDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |
172 | @available(*, deprecated, renamed: "dontOverwriteIgnored")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:173:20: 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 | private let value: UInt
15 |
:
171 |
172 | @available(*, deprecated, renamed: "dontOverwriteIgnored")
173 | public static let DontOverwriteIgnored = CheckoutStrategy.dontOverwriteIgnored
| |- 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: add '@MainActor' to make static property 'DontOverwriteIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | @available(*, deprecated, renamed: "conflictStyleMerge")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:176:20: 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 | private let value: UInt
15 |
:
174 |
175 | @available(*, deprecated, renamed: "conflictStyleMerge")
176 | public static let ConflictStyleMerge = CheckoutStrategy.conflictStyleMerge
| |- 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: add '@MainActor' to make static property 'ConflictStyleMerge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | @available(*, deprecated, renamed: "conflictStyleDiff3")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:179:20: 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 | private let value: UInt
15 |
:
177 |
178 | @available(*, deprecated, renamed: "conflictStyleDiff3")
179 | public static let ConflictStyleDiff3 = CheckoutStrategy.conflictStyleDiff3
| |- 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: add '@MainActor' to make static property 'ConflictStyleDiff3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | @available(*, deprecated, renamed: "dontRemoveExisting")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:182:20: 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 | private let value: UInt
15 |
:
180 |
181 | @available(*, deprecated, renamed: "dontRemoveExisting")
182 | public static let DontRemoveExisting = CheckoutStrategy.dontRemoveExisting
| |- 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: add '@MainActor' to make static property 'DontRemoveExisting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 |
184 | @available(*, deprecated, renamed: "dontWriteIndex")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:185:20: 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 | private let value: UInt
15 |
:
183 |
184 | @available(*, deprecated, renamed: "dontWriteIndex")
185 | public static let DontWriteIndex = CheckoutStrategy.dontWriteIndex
| |- 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: add '@MainActor' to make static property 'DontWriteIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:71:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
69 | public let rawValue: UInt32
70 |
71 | 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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
73 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:72:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
70 |
71 | public static let current = Status(rawValue: GIT_STATUS_CURRENT.rawValue)
72 | 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: add '@MainActor' to make static property 'indexNew' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
74 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:73:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
71 | public static let current = Status(rawValue: GIT_STATUS_CURRENT.rawValue)
72 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
73 | 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: add '@MainActor' to make static property 'indexModified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
75 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:74:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
72 | public static let indexNew = Status(rawValue: GIT_STATUS_INDEX_NEW.rawValue)
73 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
74 | 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: add '@MainActor' to make static property 'indexDeleted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
76 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:75:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
73 | public static let indexModified = Status(rawValue: GIT_STATUS_INDEX_MODIFIED.rawValue)
74 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
75 | 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: add '@MainActor' to make static property 'indexRenamed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
77 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:76:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
74 | public static let indexDeleted = Status(rawValue: GIT_STATUS_INDEX_DELETED.rawValue)
75 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
76 | 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: add '@MainActor' to make static property 'indexTypeChange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
78 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:77:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
75 | public static let indexRenamed = Status(rawValue: GIT_STATUS_INDEX_RENAMED.rawValue)
76 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
77 | 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: add '@MainActor' to make static property 'workTreeNew' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
79 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:78:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
76 | public static let indexTypeChange = Status(rawValue: GIT_STATUS_INDEX_TYPECHANGE.rawValue)
77 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
78 | 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: add '@MainActor' to make static property 'workTreeModified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
80 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:79:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
77 | public static let workTreeNew = Status(rawValue: GIT_STATUS_WT_NEW.rawValue)
78 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
79 | 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: add '@MainActor' to make static property 'workTreeDeleted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
81 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:80:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
78 | public static let workTreeModified = Status(rawValue: GIT_STATUS_WT_MODIFIED.rawValue)
79 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
80 | 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: add '@MainActor' to make static property 'workTreeTypeChange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
82 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:81:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
79 | public static let workTreeDeleted = Status(rawValue: GIT_STATUS_WT_DELETED.rawValue)
80 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
81 | 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: add '@MainActor' to make static property 'workTreeRenamed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
83 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:82:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
80 | public static let workTreeTypeChange = Status(rawValue: GIT_STATUS_WT_TYPECHANGE.rawValue)
81 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
82 | 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: add '@MainActor' to make static property 'workTreeUnreadable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
84 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:83:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
81 | public static let workTreeRenamed = Status(rawValue: GIT_STATUS_WT_RENAMED.rawValue)
82 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
83 | 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: add '@MainActor' to make static property 'ignored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let conflicted = Status(rawValue: GIT_STATUS_CONFLICTED.rawValue)
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:84:21: 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
61 | }
62 |
63 | public struct Status: OptionSet, Hashable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
64 | // This appears to be necessary due to bug in Swift
65 | // https://bugs.swift.org/browse/SR-3003
:
82 | public static let workTreeUnreadable = Status(rawValue: GIT_STATUS_WT_UNREADABLE.rawValue)
83 | public static let ignored = Status(rawValue: GIT_STATUS_IGNORED.rawValue)
84 | 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: add '@MainActor' to make static property 'conflicted' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:95:21: 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
85 | }
86 |
87 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
88 | // This appears to be necessary due to bug in Swift
89 | // https://bugs.swift.org/browse/SR-3003
:
93 | public let rawValue: UInt32
94 |
95 | 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: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let notBinary = Flags(rawValue: 1 << 0)
97 | public static let validId = Flags(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:96:21: 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
85 | }
86 |
87 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
88 | // This appears to be necessary due to bug in Swift
89 | // https://bugs.swift.org/browse/SR-3003
:
94 |
95 | public static let binary = Flags([])
96 | 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: add '@MainActor' to make static property 'notBinary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static let validId = Flags(rawValue: 1 << 1)
98 | public static let exists = Flags(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:97:21: 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
85 | }
86 |
87 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
88 | // This appears to be necessary due to bug in Swift
89 | // https://bugs.swift.org/browse/SR-3003
:
95 | public static let binary = Flags([])
96 | public static let notBinary = Flags(rawValue: 1 << 0)
97 | 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: add '@MainActor' to make static property 'validId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let exists = Flags(rawValue: 1 << 2)
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/Diffs.swift:98:21: 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
85 | }
86 |
87 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
88 | // This appears to be necessary due to bug in Swift
89 | // https://bugs.swift.org/browse/SR-3003
:
96 | public static let notBinary = Flags(rawValue: 1 << 0)
97 | public static let validId = Flags(rawValue: 1 << 1)
98 | 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: add '@MainActor' to make static property 'exists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/StatusOptions.swift:15:20: 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 Foundation
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: add '@MainActor' to make static property 'includeUntracked' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'includeIgnored' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'includeUnmodified' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'excludeSubmodules' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'recurseUntrackedDirs' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'disablePathSpecMatch' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'recurseIgnoredDirs' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'renamesHeadToIndex' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'renamesIndexToWorkDir' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'sortCasesSensitively' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'sortCasesInSensitively' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'renamesFromRewrites' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'noRefresh' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'updateIndex' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'includeUnreadable' part of global actor 'MainActor'
| `- 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:20: 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 Foundation
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: add '@MainActor' to make static property 'includeUnreadableAsUntracked' part of global actor 'MainActor'
| `- 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 | )
[217/226] Compiling SwiftGit2 CheckoutStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:50:20: 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 | private let value: UInt
15 |
:
48 | /// useful only for internal functions that will perform the checkout
49 | /// themselves but need to pass checkout options into another function.
50 | 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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | /// Allow safe updates that cannot overwrite uncommitted data.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:53:20: 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 | private let value: UInt
15 |
:
51 |
52 | /// Allow safe updates that cannot overwrite uncommitted data.
53 | 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: add '@MainActor' to make static property 'safe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Allow all updates to force working directory to look like index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:56:20: 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 | private let value: UInt
15 |
:
54 |
55 | /// Allow all updates to force working directory to look like index
56 | 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: add '@MainActor' to make static property 'force' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// Allow checkout to recreate missing files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:59:20: 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 | private let value: UInt
15 |
:
57 |
58 | /// Allow checkout to recreate missing files.
59 | 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: add '@MainActor' to make static property 'recreateMissing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Allow checkout to make safe updates even if conflicts are found.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:62:20: 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 | private let value: UInt
15 |
:
60 |
61 | /// Allow checkout to make safe updates even if conflicts are found.
62 | 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: add '@MainActor' to make static property 'allowConflicts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// Remove untracked files not in index (that are not ignored).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:65:20: 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 | private let value: UInt
15 |
:
63 |
64 | /// Remove untracked files not in index (that are not ignored).
65 | 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: add '@MainActor' to make static property 'removeUntracked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// Remove ignored files not in index.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:68:20: 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 | private let value: UInt
15 |
:
66 |
67 | /// Remove ignored files not in index.
68 | 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: add '@MainActor' to make static property 'removeIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Only update existing files, don't create new ones.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:71:20: 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 | private let value: UInt
15 |
:
69 |
70 | /// Only update existing files, don't create new ones.
71 | 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: add '@MainActor' to make static property 'updateOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// Normally checkout updates index entries as it goes; this stops that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:75:20: 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 | private let value: UInt
15 |
:
73 | /// Normally checkout updates index entries as it goes; this stops that.
74 | /// Implies `dontWriteIndex`.
75 | 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: add '@MainActor' to make static property 'dontUpdateIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Don't refresh index/config/etc before doing checkout
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:78:20: 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 | private let value: UInt
15 |
:
76 |
77 | /// Don't refresh index/config/etc before doing checkout
78 | 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: add '@MainActor' to make static property 'noRefresh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Allow checkout to skip unmerged files
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:81:20: 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 | private let value: UInt
15 |
:
79 |
80 | /// Allow checkout to skip unmerged files
81 | 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: add '@MainActor' to make static property 'skipUnmerged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /// For unmerged files, checkout stage 2 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:84:20: 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 | private let value: UInt
15 |
:
82 |
83 | /// For unmerged files, checkout stage 2 from index
84 | 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: add '@MainActor' to make static property 'useOurs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// For unmerged files, checkout stage 3 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:87:20: 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 | private let value: UInt
15 |
:
85 |
86 | /// For unmerged files, checkout stage 3 from index
87 | 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: add '@MainActor' to make static property 'useTheirs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// Treat pathspec as simple list of exact match file paths
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:90:20: 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 | private let value: UInt
15 |
:
88 |
89 | /// Treat pathspec as simple list of exact match file paths
90 | 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: add '@MainActor' to make static property 'disablePathspecMatch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// Ignore directories in use, they will be left empty
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:93:20: 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 | private let value: UInt
15 |
:
91 |
92 | /// Ignore directories in use, they will be left empty
93 | 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: add '@MainActor' to make static property 'skipLockedDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | /// Don't overwrite ignored files that exist in the checkout target
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:96:20: 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 | private let value: UInt
15 |
:
94 |
95 | /// Don't overwrite ignored files that exist in the checkout target
96 | 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: add '@MainActor' to make static property 'dontOverwriteIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | /// Write normal merge files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:99:20: 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 | private let value: UInt
15 |
:
97 |
98 | /// Write normal merge files for conflicts
99 | 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: add '@MainActor' to make static property 'conflictStyleMerge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Include common ancestor data in diff3 format files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:102:20: 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 | private let value: UInt
15 |
:
100 |
101 | /// Include common ancestor data in diff3 format files for conflicts
102 | 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: add '@MainActor' to make static property 'conflictStyleDiff3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | /// Don't overwrite existing files or folders
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:105:20: 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 | private let value: UInt
15 |
:
103 |
104 | /// Don't overwrite existing files or folders
105 | 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: add '@MainActor' to make static property 'dontRemoveExisting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |
107 | /// Normally checkout writes the index upon completion; this prevents that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:108:20: 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 | private let value: UInt
15 |
:
106 |
107 | /// Normally checkout writes the index upon completion; this prevents that.
108 | 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: add '@MainActor' to make static property 'dontWriteIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | /// Perform a "dry run", reporting what _would_ be done but without actually
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:112:20: warning: static property 'dryRun' 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 | private let value: UInt
15 |
:
110 | /// Perform a "dry run", reporting what _would_ be done but without actually
111 | /// making changes in the working directory or the index.
112 | public static let dryRun = CheckoutStrategy(GIT_CHECKOUT_DRY_RUN)
| |- warning: static property 'dryRun' 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: add '@MainActor' to make static property 'dryRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 | /// Include common ancestor data in zdiff3 format for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:115:20: warning: static property 'conflictStyleZdiff3' 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 | private let value: UInt
15 |
:
113 |
114 | /// Include common ancestor data in zdiff3 format for conflicts
115 | public static let conflictStyleZdiff3 = CheckoutStrategy(GIT_CHECKOUT_CONFLICT_STYLE_ZDIFF3)
| |- warning: static property 'conflictStyleZdiff3' 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: add '@MainActor' to make static property 'conflictStyleZdiff3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// Recursively checkout submodules with same options (NOT IMPLEMENTED)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:118:20: warning: static property 'updateSubmodules' 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 | private let value: UInt
15 |
:
116 |
117 | /// Recursively checkout submodules with same options (NOT IMPLEMENTED)
118 | public static let updateSubmodules = CheckoutStrategy(GIT_CHECKOUT_UPDATE_SUBMODULES)
| |- warning: static property 'updateSubmodules' 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: add '@MainActor' to make static property 'updateSubmodules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// Recursively checkout submodules if HEAD moved in super repo (NOT IMPLEMENTED)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:121:20: warning: static property 'updateSubmodulesIfChanged' 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 | private let value: UInt
15 |
:
119 |
120 | /// Recursively checkout submodules if HEAD moved in super repo (NOT IMPLEMENTED)
121 | public static let updateSubmodulesIfChanged = CheckoutStrategy(GIT_CHECKOUT_UPDATE_SUBMODULES_IF_CHANGED)
| |- warning: static property 'updateSubmodulesIfChanged' 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: add '@MainActor' to make static property 'updateSubmodulesIfChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:128:20: 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 | private let value: UInt
15 |
:
126 | extension CheckoutStrategy {
127 | @available(*, deprecated, renamed: "none")
128 | public static let None = CheckoutStrategy.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: add '@MainActor' to make static property 'None' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | @available(*, deprecated, renamed: "safe")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:131:20: 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 | private let value: UInt
15 |
:
129 |
130 | @available(*, deprecated, renamed: "safe")
131 | public static let Safe = CheckoutStrategy.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: add '@MainActor' to make static property 'Safe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | @available(*, deprecated, renamed: "force")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:134:20: 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 | private let value: UInt
15 |
:
132 |
133 | @available(*, deprecated, renamed: "force")
134 | public static let Force = CheckoutStrategy.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: add '@MainActor' to make static property 'Force' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | @available(*, deprecated, renamed: "recreateMissing")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:137:20: 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 | private let value: UInt
15 |
:
135 |
136 | @available(*, deprecated, renamed: "recreateMissing")
137 | public static let RecreateMissing = CheckoutStrategy.recreateMissing
| |- 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: add '@MainActor' to make static property 'RecreateMissing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @available(*, deprecated, renamed: "allowConflicts")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:140:20: 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 | private let value: UInt
15 |
:
138 |
139 | @available(*, deprecated, renamed: "allowConflicts")
140 | public static let AllowConflicts = CheckoutStrategy.allowConflicts
| |- 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: add '@MainActor' to make static property 'AllowConflicts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | @available(*, deprecated, renamed: "removeUntracked")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:143:20: 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 | private let value: UInt
15 |
:
141 |
142 | @available(*, deprecated, renamed: "removeUntracked")
143 | public static let RemoveUntracked = CheckoutStrategy.removeUntracked
| |- 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: add '@MainActor' to make static property 'RemoveUntracked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | @available(*, deprecated, renamed: "removeIgnored")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:146:20: 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 | private let value: UInt
15 |
:
144 |
145 | @available(*, deprecated, renamed: "removeIgnored")
146 | public static let RemoveIgnored = CheckoutStrategy.removeIgnored
| |- 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: add '@MainActor' to make static property 'RemoveIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | @available(*, deprecated, renamed: "updateOnly")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:149:20: 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 | private let value: UInt
15 |
:
147 |
148 | @available(*, deprecated, renamed: "updateOnly")
149 | public static let UpdateOnly = CheckoutStrategy.updateOnly
| |- 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: add '@MainActor' to make static property 'UpdateOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | @available(*, deprecated, renamed: "dontUpdateIndex")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:152:20: 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 | private let value: UInt
15 |
:
150 |
151 | @available(*, deprecated, renamed: "dontUpdateIndex")
152 | public static let DontUpdateIndex = CheckoutStrategy.dontUpdateIndex
| |- 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: add '@MainActor' to make static property 'DontUpdateIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | @available(*, deprecated, renamed: "noRefresh")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:155:20: 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 | private let value: UInt
15 |
:
153 |
154 | @available(*, deprecated, renamed: "noRefresh")
155 | public static let NoRefresh = CheckoutStrategy.noRefresh
| |- 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: add '@MainActor' to make static property 'NoRefresh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | @available(*, deprecated, renamed: "skipUnmerged")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:158:20: 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 | private let value: UInt
15 |
:
156 |
157 | @available(*, deprecated, renamed: "skipUnmerged")
158 | public static let SkipUnmerged = CheckoutStrategy.skipUnmerged
| |- 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: add '@MainActor' to make static property 'SkipUnmerged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | @available(*, deprecated, renamed: "useOurs")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:161:20: 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 | private let value: UInt
15 |
:
159 |
160 | @available(*, deprecated, renamed: "useOurs")
161 | public static let UseOurs = CheckoutStrategy.useOurs
| |- 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: add '@MainActor' to make static property 'UseOurs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | @available(*, deprecated, renamed: "useTheirs")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:164:20: 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 | private let value: UInt
15 |
:
162 |
163 | @available(*, deprecated, renamed: "useTheirs")
164 | public static let UseTheirs = CheckoutStrategy.useTheirs
| |- 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: add '@MainActor' to make static property 'UseTheirs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | @available(*, deprecated, renamed: "disablePathspecMatch")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:167:20: 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 | private let value: UInt
15 |
:
165 |
166 | @available(*, deprecated, renamed: "disablePathspecMatch")
167 | public static let DisablePathspecMatch = CheckoutStrategy.disablePathspecMatch
| |- 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: add '@MainActor' to make static property 'DisablePathspecMatch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | @available(*, deprecated, renamed: "skipLockedDirectories")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:170:20: 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 | private let value: UInt
15 |
:
168 |
169 | @available(*, deprecated, renamed: "skipLockedDirectories")
170 | public static let SkipLockedDirectories = CheckoutStrategy.skipLockedDirectories
| |- 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: add '@MainActor' to make static property 'SkipLockedDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |
172 | @available(*, deprecated, renamed: "dontOverwriteIgnored")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:173:20: 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 | private let value: UInt
15 |
:
171 |
172 | @available(*, deprecated, renamed: "dontOverwriteIgnored")
173 | public static let DontOverwriteIgnored = CheckoutStrategy.dontOverwriteIgnored
| |- 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: add '@MainActor' to make static property 'DontOverwriteIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | @available(*, deprecated, renamed: "conflictStyleMerge")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:176:20: 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 | private let value: UInt
15 |
:
174 |
175 | @available(*, deprecated, renamed: "conflictStyleMerge")
176 | public static let ConflictStyleMerge = CheckoutStrategy.conflictStyleMerge
| |- 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: add '@MainActor' to make static property 'ConflictStyleMerge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | @available(*, deprecated, renamed: "conflictStyleDiff3")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:179:20: 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 | private let value: UInt
15 |
:
177 |
178 | @available(*, deprecated, renamed: "conflictStyleDiff3")
179 | public static let ConflictStyleDiff3 = CheckoutStrategy.conflictStyleDiff3
| |- 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: add '@MainActor' to make static property 'ConflictStyleDiff3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | @available(*, deprecated, renamed: "dontRemoveExisting")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:182:20: 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 | private let value: UInt
15 |
:
180 |
181 | @available(*, deprecated, renamed: "dontRemoveExisting")
182 | public static let DontRemoveExisting = CheckoutStrategy.dontRemoveExisting
| |- 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: add '@MainActor' to make static property 'DontRemoveExisting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 |
184 | @available(*, deprecated, renamed: "dontWriteIndex")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:185:20: 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 | private let value: UInt
15 |
:
183 |
184 | @available(*, deprecated, renamed: "dontWriteIndex")
185 | public static let DontWriteIndex = CheckoutStrategy.dontWriteIndex
| |- 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: add '@MainActor' to make static property 'DontWriteIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | }
187 |
[218/226] Compiling SwiftGit2 CommitIterator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:50:20: 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 | private let value: UInt
15 |
:
48 | /// useful only for internal functions that will perform the checkout
49 | /// themselves but need to pass checkout options into another function.
50 | 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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | /// Allow safe updates that cannot overwrite uncommitted data.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:53:20: 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 | private let value: UInt
15 |
:
51 |
52 | /// Allow safe updates that cannot overwrite uncommitted data.
53 | 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: add '@MainActor' to make static property 'safe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Allow all updates to force working directory to look like index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:56:20: 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 | private let value: UInt
15 |
:
54 |
55 | /// Allow all updates to force working directory to look like index
56 | 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: add '@MainActor' to make static property 'force' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// Allow checkout to recreate missing files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:59:20: 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 | private let value: UInt
15 |
:
57 |
58 | /// Allow checkout to recreate missing files.
59 | 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: add '@MainActor' to make static property 'recreateMissing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Allow checkout to make safe updates even if conflicts are found.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:62:20: 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 | private let value: UInt
15 |
:
60 |
61 | /// Allow checkout to make safe updates even if conflicts are found.
62 | 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: add '@MainActor' to make static property 'allowConflicts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// Remove untracked files not in index (that are not ignored).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:65:20: 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 | private let value: UInt
15 |
:
63 |
64 | /// Remove untracked files not in index (that are not ignored).
65 | 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: add '@MainActor' to make static property 'removeUntracked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// Remove ignored files not in index.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:68:20: 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 | private let value: UInt
15 |
:
66 |
67 | /// Remove ignored files not in index.
68 | 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: add '@MainActor' to make static property 'removeIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Only update existing files, don't create new ones.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:71:20: 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 | private let value: UInt
15 |
:
69 |
70 | /// Only update existing files, don't create new ones.
71 | 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: add '@MainActor' to make static property 'updateOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// Normally checkout updates index entries as it goes; this stops that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:75:20: 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 | private let value: UInt
15 |
:
73 | /// Normally checkout updates index entries as it goes; this stops that.
74 | /// Implies `dontWriteIndex`.
75 | 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: add '@MainActor' to make static property 'dontUpdateIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Don't refresh index/config/etc before doing checkout
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:78:20: 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 | private let value: UInt
15 |
:
76 |
77 | /// Don't refresh index/config/etc before doing checkout
78 | 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: add '@MainActor' to make static property 'noRefresh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Allow checkout to skip unmerged files
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:81:20: 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 | private let value: UInt
15 |
:
79 |
80 | /// Allow checkout to skip unmerged files
81 | 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: add '@MainActor' to make static property 'skipUnmerged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /// For unmerged files, checkout stage 2 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:84:20: 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 | private let value: UInt
15 |
:
82 |
83 | /// For unmerged files, checkout stage 2 from index
84 | 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: add '@MainActor' to make static property 'useOurs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// For unmerged files, checkout stage 3 from index
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:87:20: 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 | private let value: UInt
15 |
:
85 |
86 | /// For unmerged files, checkout stage 3 from index
87 | 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: add '@MainActor' to make static property 'useTheirs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// Treat pathspec as simple list of exact match file paths
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:90:20: 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 | private let value: UInt
15 |
:
88 |
89 | /// Treat pathspec as simple list of exact match file paths
90 | 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: add '@MainActor' to make static property 'disablePathspecMatch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// Ignore directories in use, they will be left empty
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:93:20: 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 | private let value: UInt
15 |
:
91 |
92 | /// Ignore directories in use, they will be left empty
93 | 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: add '@MainActor' to make static property 'skipLockedDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | /// Don't overwrite ignored files that exist in the checkout target
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:96:20: 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 | private let value: UInt
15 |
:
94 |
95 | /// Don't overwrite ignored files that exist in the checkout target
96 | 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: add '@MainActor' to make static property 'dontOverwriteIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | /// Write normal merge files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:99:20: 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 | private let value: UInt
15 |
:
97 |
98 | /// Write normal merge files for conflicts
99 | 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: add '@MainActor' to make static property 'conflictStyleMerge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Include common ancestor data in diff3 format files for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:102:20: 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 | private let value: UInt
15 |
:
100 |
101 | /// Include common ancestor data in diff3 format files for conflicts
102 | 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: add '@MainActor' to make static property 'conflictStyleDiff3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | /// Don't overwrite existing files or folders
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:105:20: 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 | private let value: UInt
15 |
:
103 |
104 | /// Don't overwrite existing files or folders
105 | 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: add '@MainActor' to make static property 'dontRemoveExisting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |
107 | /// Normally checkout writes the index upon completion; this prevents that.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:108:20: 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 | private let value: UInt
15 |
:
106 |
107 | /// Normally checkout writes the index upon completion; this prevents that.
108 | 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: add '@MainActor' to make static property 'dontWriteIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | /// Perform a "dry run", reporting what _would_ be done but without actually
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:112:20: warning: static property 'dryRun' 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 | private let value: UInt
15 |
:
110 | /// Perform a "dry run", reporting what _would_ be done but without actually
111 | /// making changes in the working directory or the index.
112 | public static let dryRun = CheckoutStrategy(GIT_CHECKOUT_DRY_RUN)
| |- warning: static property 'dryRun' 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: add '@MainActor' to make static property 'dryRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 | /// Include common ancestor data in zdiff3 format for conflicts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:115:20: warning: static property 'conflictStyleZdiff3' 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 | private let value: UInt
15 |
:
113 |
114 | /// Include common ancestor data in zdiff3 format for conflicts
115 | public static let conflictStyleZdiff3 = CheckoutStrategy(GIT_CHECKOUT_CONFLICT_STYLE_ZDIFF3)
| |- warning: static property 'conflictStyleZdiff3' 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: add '@MainActor' to make static property 'conflictStyleZdiff3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// Recursively checkout submodules with same options (NOT IMPLEMENTED)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:118:20: warning: static property 'updateSubmodules' 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 | private let value: UInt
15 |
:
116 |
117 | /// Recursively checkout submodules with same options (NOT IMPLEMENTED)
118 | public static let updateSubmodules = CheckoutStrategy(GIT_CHECKOUT_UPDATE_SUBMODULES)
| |- warning: static property 'updateSubmodules' 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: add '@MainActor' to make static property 'updateSubmodules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// Recursively checkout submodules if HEAD moved in super repo (NOT IMPLEMENTED)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:121:20: warning: static property 'updateSubmodulesIfChanged' 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 | private let value: UInt
15 |
:
119 |
120 | /// Recursively checkout submodules if HEAD moved in super repo (NOT IMPLEMENTED)
121 | public static let updateSubmodulesIfChanged = CheckoutStrategy(GIT_CHECKOUT_UPDATE_SUBMODULES_IF_CHANGED)
| |- warning: static property 'updateSubmodulesIfChanged' 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: add '@MainActor' to make static property 'updateSubmodulesIfChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:128:20: 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 | private let value: UInt
15 |
:
126 | extension CheckoutStrategy {
127 | @available(*, deprecated, renamed: "none")
128 | public static let None = CheckoutStrategy.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: add '@MainActor' to make static property 'None' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | @available(*, deprecated, renamed: "safe")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:131:20: 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 | private let value: UInt
15 |
:
129 |
130 | @available(*, deprecated, renamed: "safe")
131 | public static let Safe = CheckoutStrategy.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: add '@MainActor' to make static property 'Safe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | @available(*, deprecated, renamed: "force")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:134:20: 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 | private let value: UInt
15 |
:
132 |
133 | @available(*, deprecated, renamed: "force")
134 | public static let Force = CheckoutStrategy.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: add '@MainActor' to make static property 'Force' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | @available(*, deprecated, renamed: "recreateMissing")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:137:20: 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 | private let value: UInt
15 |
:
135 |
136 | @available(*, deprecated, renamed: "recreateMissing")
137 | public static let RecreateMissing = CheckoutStrategy.recreateMissing
| |- 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: add '@MainActor' to make static property 'RecreateMissing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | @available(*, deprecated, renamed: "allowConflicts")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:140:20: 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 | private let value: UInt
15 |
:
138 |
139 | @available(*, deprecated, renamed: "allowConflicts")
140 | public static let AllowConflicts = CheckoutStrategy.allowConflicts
| |- 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: add '@MainActor' to make static property 'AllowConflicts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | @available(*, deprecated, renamed: "removeUntracked")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:143:20: 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 | private let value: UInt
15 |
:
141 |
142 | @available(*, deprecated, renamed: "removeUntracked")
143 | public static let RemoveUntracked = CheckoutStrategy.removeUntracked
| |- 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: add '@MainActor' to make static property 'RemoveUntracked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | @available(*, deprecated, renamed: "removeIgnored")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:146:20: 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 | private let value: UInt
15 |
:
144 |
145 | @available(*, deprecated, renamed: "removeIgnored")
146 | public static let RemoveIgnored = CheckoutStrategy.removeIgnored
| |- 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: add '@MainActor' to make static property 'RemoveIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | @available(*, deprecated, renamed: "updateOnly")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:149:20: 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 | private let value: UInt
15 |
:
147 |
148 | @available(*, deprecated, renamed: "updateOnly")
149 | public static let UpdateOnly = CheckoutStrategy.updateOnly
| |- 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: add '@MainActor' to make static property 'UpdateOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | @available(*, deprecated, renamed: "dontUpdateIndex")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:152:20: 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 | private let value: UInt
15 |
:
150 |
151 | @available(*, deprecated, renamed: "dontUpdateIndex")
152 | public static let DontUpdateIndex = CheckoutStrategy.dontUpdateIndex
| |- 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: add '@MainActor' to make static property 'DontUpdateIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | @available(*, deprecated, renamed: "noRefresh")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:155:20: 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 | private let value: UInt
15 |
:
153 |
154 | @available(*, deprecated, renamed: "noRefresh")
155 | public static let NoRefresh = CheckoutStrategy.noRefresh
| |- 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: add '@MainActor' to make static property 'NoRefresh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | @available(*, deprecated, renamed: "skipUnmerged")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:158:20: 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 | private let value: UInt
15 |
:
156 |
157 | @available(*, deprecated, renamed: "skipUnmerged")
158 | public static let SkipUnmerged = CheckoutStrategy.skipUnmerged
| |- 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: add '@MainActor' to make static property 'SkipUnmerged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | @available(*, deprecated, renamed: "useOurs")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:161:20: 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 | private let value: UInt
15 |
:
159 |
160 | @available(*, deprecated, renamed: "useOurs")
161 | public static let UseOurs = CheckoutStrategy.useOurs
| |- 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: add '@MainActor' to make static property 'UseOurs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | @available(*, deprecated, renamed: "useTheirs")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:164:20: 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 | private let value: UInt
15 |
:
162 |
163 | @available(*, deprecated, renamed: "useTheirs")
164 | public static let UseTheirs = CheckoutStrategy.useTheirs
| |- 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: add '@MainActor' to make static property 'UseTheirs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | @available(*, deprecated, renamed: "disablePathspecMatch")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:167:20: 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 | private let value: UInt
15 |
:
165 |
166 | @available(*, deprecated, renamed: "disablePathspecMatch")
167 | public static let DisablePathspecMatch = CheckoutStrategy.disablePathspecMatch
| |- 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: add '@MainActor' to make static property 'DisablePathspecMatch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | @available(*, deprecated, renamed: "skipLockedDirectories")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:170:20: 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 | private let value: UInt
15 |
:
168 |
169 | @available(*, deprecated, renamed: "skipLockedDirectories")
170 | public static let SkipLockedDirectories = CheckoutStrategy.skipLockedDirectories
| |- 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: add '@MainActor' to make static property 'SkipLockedDirectories' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |
172 | @available(*, deprecated, renamed: "dontOverwriteIgnored")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:173:20: 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 | private let value: UInt
15 |
:
171 |
172 | @available(*, deprecated, renamed: "dontOverwriteIgnored")
173 | public static let DontOverwriteIgnored = CheckoutStrategy.dontOverwriteIgnored
| |- 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: add '@MainActor' to make static property 'DontOverwriteIgnored' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | @available(*, deprecated, renamed: "conflictStyleMerge")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:176:20: 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 | private let value: UInt
15 |
:
174 |
175 | @available(*, deprecated, renamed: "conflictStyleMerge")
176 | public static let ConflictStyleMerge = CheckoutStrategy.conflictStyleMerge
| |- 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: add '@MainActor' to make static property 'ConflictStyleMerge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | @available(*, deprecated, renamed: "conflictStyleDiff3")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:179:20: 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 | private let value: UInt
15 |
:
177 |
178 | @available(*, deprecated, renamed: "conflictStyleDiff3")
179 | public static let ConflictStyleDiff3 = CheckoutStrategy.conflictStyleDiff3
| |- 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: add '@MainActor' to make static property 'ConflictStyleDiff3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | @available(*, deprecated, renamed: "dontRemoveExisting")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:182:20: 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 | private let value: UInt
15 |
:
180 |
181 | @available(*, deprecated, renamed: "dontRemoveExisting")
182 | public static let DontRemoveExisting = CheckoutStrategy.dontRemoveExisting
| |- 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: add '@MainActor' to make static property 'DontRemoveExisting' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 |
184 | @available(*, deprecated, renamed: "dontWriteIndex")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGit2/CheckoutStrategy.swift:185:20: 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 | private let value: UInt
15 |
:
183 |
184 | @available(*, deprecated, renamed: "dontWriteIndex")
185 | public static let DontWriteIndex = CheckoutStrategy.dontWriteIndex
| |- 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: add '@MainActor' to make static property 'DontWriteIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | }
187 |
[219/226] Compiling SwiftGit2 Repository.swift
[220/227] Compiling SwiftGit2 Errors.swift
[221/227] Compiling SwiftGit2 Libgit2.swift
[222/227] Compiling SwiftGit2 Pointers.swift
[223/227] Compiling SwiftGit2 Remotes.swift
[224/227] Compiling SwiftGit2 OID.swift
[225/227] Compiling SwiftGit2 Objects.swift
[226/227] Compiling SwiftGit2 References.swift
[227/227] Compiling SwiftGit2 SwiftGit2.swift
Build complete! (11.97s)
Fetching https://github.com/ZipArchive/ZipArchive.git
[1/5550] Fetching ziparchive
Fetched https://github.com/ZipArchive/ZipArchive.git from cache (1.46s)
Computing version for https://github.com/ZipArchive/ZipArchive.git
Computed https://github.com/ZipArchive/ZipArchive.git at 2.6.0 (2.01s)
Creating working copy for https://github.com/ZipArchive/ZipArchive.git
Working copy of https://github.com/ZipArchive/ZipArchive.git resolved at 2.6.0
Build complete.
{
"dependencies" : [
{
"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.13"
},
{
"name" : "ios",
"version" : "15.5"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftGit2",
"targets" : [
"SwiftGit2"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftGit2Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftGit2Tests",
"path" : "Tests/SwiftGit2Tests",
"product_dependencies" : [
"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",
"Clibgit2"
],
"type" : "test"
},
{
"c99name" : "SwiftGit2",
"module_type" : "SwiftTarget",
"name" : "SwiftGit2",
"path" : "Sources/SwiftGit2",
"product_memberships" : [
"SwiftGit2"
],
"sources" : [
"CheckoutStrategy.swift",
"CommitIterator.swift",
"Credentials.swift",
"Diffs.swift",
"Errors.swift",
"Libgit2.swift",
"OID.swift",
"Objects.swift",
"Pointers.swift",
"References.swift",
"Remotes.swift",
"Repository.swift",
"StatusOptions.swift",
"SwiftGit2.swift"
],
"target_dependencies" : [
"Clibgit2"
],
"type" : "library"
},
{
"c99name" : "Clibgit2",
"module_type" : "ClangTarget",
"name" : "Clibgit2",
"path" : "libgit2",
"product_memberships" : [
"SwiftGit2"
],
"sources" : [
"deps/llhttp/api.c",
"deps/llhttp/http.c",
"deps/llhttp/llhttp.c",
"deps/pcre/pcre_byte_order.c",
"deps/pcre/pcre_chartables.c",
"deps/pcre/pcre_compile.c",
"deps/pcre/pcre_config.c",
"deps/pcre/pcre_dfa_exec.c",
"deps/pcre/pcre_exec.c",
"deps/pcre/pcre_fullinfo.c",
"deps/pcre/pcre_get.c",
"deps/pcre/pcre_globals.c",
"deps/pcre/pcre_jit_compile.c",
"deps/pcre/pcre_maketables.c",
"deps/pcre/pcre_newline.c",
"deps/pcre/pcre_ord2utf8.c",
"deps/pcre/pcre_printint.c",
"deps/pcre/pcre_refcount.c",
"deps/pcre/pcre_string_utils.c",
"deps/pcre/pcre_study.c",
"deps/pcre/pcre_tables.c",
"deps/pcre/pcre_ucd.c",
"deps/pcre/pcre_valid_utf8.c",
"deps/pcre/pcre_version.c",
"deps/pcre/pcre_xclass.c",
"deps/pcre/pcreposix.c",
"deps/xdiff/xdiffi.c",
"deps/xdiff/xemit.c",
"deps/xdiff/xhistogram.c",
"deps/xdiff/xmerge.c",
"deps/xdiff/xpatience.c",
"deps/xdiff/xprepare.c",
"deps/xdiff/xutils.c",
"deps/zlib/adler32.c",
"deps/zlib/crc32.c",
"deps/zlib/deflate.c",
"deps/zlib/infback.c",
"deps/zlib/inffast.c",
"deps/zlib/inflate.c",
"deps/zlib/inftrees.c",
"deps/zlib/trees.c",
"deps/zlib/zutil.c",
"src/libgit2/annotated_commit.c",
"src/libgit2/apply.c",
"src/libgit2/attr.c",
"src/libgit2/attr_file.c",
"src/libgit2/attrcache.c",
"src/libgit2/blame.c",
"src/libgit2/blame_git.c",
"src/libgit2/blob.c",
"src/libgit2/branch.c",
"src/libgit2/buf.c",
"src/libgit2/cache.c",
"src/libgit2/checkout.c",
"src/libgit2/cherrypick.c",
"src/libgit2/clone.c",
"src/libgit2/commit.c",
"src/libgit2/commit_graph.c",
"src/libgit2/commit_list.c",
"src/libgit2/config.c",
"src/libgit2/config_cache.c",
"src/libgit2/config_file.c",
"src/libgit2/config_list.c",
"src/libgit2/config_mem.c",
"src/libgit2/config_parse.c",
"src/libgit2/config_snapshot.c",
"src/libgit2/crlf.c",
"src/libgit2/delta.c",
"src/libgit2/describe.c",
"src/libgit2/diff.c",
"src/libgit2/diff_driver.c",
"src/libgit2/diff_file.c",
"src/libgit2/diff_generate.c",
"src/libgit2/diff_parse.c",
"src/libgit2/diff_print.c",
"src/libgit2/diff_stats.c",
"src/libgit2/diff_tform.c",
"src/libgit2/diff_xdiff.c",
"src/libgit2/email.c",
"src/libgit2/fetch.c",
"src/libgit2/fetchhead.c",
"src/libgit2/filter.c",
"src/libgit2/grafts.c",
"src/libgit2/graph.c",
"src/libgit2/hashsig.c",
"src/libgit2/ident.c",
"src/libgit2/ignore.c",
"src/libgit2/index.c",
"src/libgit2/index_map.c",
"src/libgit2/indexer.c",
"src/libgit2/iterator.c",
"src/libgit2/libgit2.c",
"src/libgit2/mailmap.c",
"src/libgit2/merge.c",
"src/libgit2/merge_driver.c",
"src/libgit2/merge_file.c",
"src/libgit2/message.c",
"src/libgit2/midx.c",
"src/libgit2/mwindow.c",
"src/libgit2/notes.c",
"src/libgit2/object.c",
"src/libgit2/object_api.c",
"src/libgit2/odb.c",
"src/libgit2/odb_loose.c",
"src/libgit2/odb_mempack.c",
"src/libgit2/odb_pack.c",
"src/libgit2/oid.c",
"src/libgit2/oidarray.c",
"src/libgit2/pack-objects.c",
"src/libgit2/pack.c",
"src/libgit2/parse.c",
"src/libgit2/patch.c",
"src/libgit2/patch_generate.c",
"src/libgit2/patch_parse.c",
"src/libgit2/path.c",
"src/libgit2/pathspec.c",
"src/libgit2/proxy.c",
"src/libgit2/push.c",
"src/libgit2/reader.c",
"src/libgit2/rebase.c",
"src/libgit2/refdb.c",
"src/libgit2/refdb_fs.c",
"src/libgit2/reflog.c",
"src/libgit2/refs.c",
"src/libgit2/refspec.c",
"src/libgit2/remote.c",
"src/libgit2/repository.c",
"src/libgit2/reset.c",
"src/libgit2/revert.c",
"src/libgit2/revparse.c",
"src/libgit2/revwalk.c",
"src/libgit2/settings.c",
"src/libgit2/signature.c",
"src/libgit2/stash.c",
"src/libgit2/status.c",
"src/libgit2/strarray.c",
"src/libgit2/streams/mbedtls.c",
"src/libgit2/streams/openssl.c",
"src/libgit2/streams/openssl_dynamic.c",
"src/libgit2/streams/openssl_legacy.c",
"src/libgit2/streams/registry.c",
"src/libgit2/streams/schannel.c",
"src/libgit2/streams/socket.c",
"src/libgit2/streams/stransport.c",
"src/libgit2/streams/tls.c",
"src/libgit2/submodule.c",
"src/libgit2/sysdir.c",
"src/libgit2/tag.c",
"src/libgit2/trace.c",
"src/libgit2/trailer.c",
"src/libgit2/transaction.c",
"src/libgit2/transport.c",
"src/libgit2/transports/auth.c",
"src/libgit2/transports/auth_gssapi.c",
"src/libgit2/transports/auth_ntlmclient.c",
"src/libgit2/transports/auth_sspi.c",
"src/libgit2/transports/credential.c",
"src/libgit2/transports/credential_helpers.c",
"src/libgit2/transports/git.c",
"src/libgit2/transports/http.c",
"src/libgit2/transports/httpclient.c",
"src/libgit2/transports/httpparser.c",
"src/libgit2/transports/local.c",
"src/libgit2/transports/smart.c",
"src/libgit2/transports/smart_pkt.c",
"src/libgit2/transports/smart_protocol.c",
"src/libgit2/transports/ssh.c",
"src/libgit2/transports/ssh_exec.c",
"src/libgit2/transports/ssh_libssh2.c",
"src/libgit2/transports/winhttp.c",
"src/libgit2/tree-cache.c",
"src/libgit2/tree.c",
"src/libgit2/worktree.c",
"src/util/alloc.c",
"src/util/allocators/debugalloc.c",
"src/util/allocators/failalloc.c",
"src/util/allocators/stdalloc.c",
"src/util/allocators/win32_leakcheck.c",
"src/util/date.c",
"src/util/errors.c",
"src/util/filebuf.c",
"src/util/fs_path.c",
"src/util/futils.c",
"src/util/hash.c",
"src/util/hash/common_crypto.c",
"src/util/hash/mbedtls.c",
"src/util/hash/rfc6234/sha224-256.c",
"src/util/hash/sha1dc/sha1.c",
"src/util/hash/sha1dc/ubc_check.c",
"src/util/net.c",
"src/util/pool.c",
"src/util/posix.c",
"src/util/pqueue.c",
"src/util/rand.c",
"src/util/regexp.c",
"src/util/runtime.c",
"src/util/sortedcache.c",
"src/util/str.c",
"src/util/strlist.c",
"src/util/thread.c",
"src/util/tsort.c",
"src/util/unix/map.c",
"src/util/unix/process.c",
"src/util/unix/realpath.c",
"src/util/utf8.c",
"src/util/util.c",
"src/util/varint.c",
"src/util/vector.c",
"src/util/wildmatch.c",
"src/util/zstream.c"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.