The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Store, reference 3.8.0 (4586ab), with Swift 6.0 for Linux on 28 Nov 2024 07:28:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexdrone/Store.git
Reference: 3.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/alexdrone/Store
 * tag               3.8.0      -> FETCH_HEAD
HEAD is now at 4586abe Fix demo
Cloned https://github.com/alexdrone/Store.git
Revision (git rev-parse @):
4586abebae909f9ceb583e0c40aaa5d914afed17
SUCCESS checkout https://github.com/alexdrone/Store.git at 3.8.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/alexdrone/Store.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/3702] Fetching swift-log
[3703/11982] Fetching swift-log, opencombine
Fetched https://github.com/apple/swift-log.git from cache (0.33s)
[1739/8280] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.51s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.42s)
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-24593BA9C3E375BF.txt
[5/6] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[7/103] Emitting module OpenCombine
[8/115] Compiling OpenCombine Result.swift
[9/115] Compiling OpenCombine Scheduler.swift
[10/115] Compiling OpenCombine Subject+Void.swift
[11/115] Compiling OpenCombine Subscriber+Void.swift
[12/115] Compiling OpenCombine Subscribers.Assign.swift
[13/115] Compiling OpenCombine Subscribers.Completion.swift
[14/115] Compiling OpenCombine Subscribers.Demand.swift
[15/115] Compiling OpenCombine Subscribers.Sink.swift
[16/115] Compiling OpenCombine Subscribers.swift
[17/115] Compiling OpenCombine Subscription.swift
[18/115] Compiling OpenCombine Subscriptions.swift
[19/115] Compiling OpenCombine _Introspection.swift
[20/115] Compiling OpenCombine Just.swift
[21/115] Compiling OpenCombine Optional.Publisher.swift
[22/115] Compiling OpenCombine Publishers.AllSatisfy.swift
[23/115] Compiling OpenCombine Publishers.AssertNoFailure.swift
[24/115] Compiling OpenCombine Publishers.Autoconnect.swift
[25/115] Compiling OpenCombine Publishers.Breakpoint.swift
[26/115] Compiling OpenCombine Publishers.Buffer.swift
[27/115] Compiling OpenCombine Publishers.Collect.swift
[28/115] Compiling OpenCombine Publishers.CollectByCount.swift
[29/115] Compiling OpenCombine Publishers.CompactMap.swift
[30/115] Compiling OpenCombine Publishers.Comparison.swift
[31/115] Compiling OpenCombine Publishers.Concatenate.swift
[32/115] Compiling OpenCombine Publishers.Contains.swift
[33/115] Compiling OpenCombine AnyCancellable.swift
[34/115] Compiling OpenCombine AnyPublisher.swift
[35/115] Compiling OpenCombine AnySubscriber.swift
[36/115] Compiling OpenCombine Cancellable.swift
[37/115] Compiling OpenCombine Codable.swift
[38/115] Compiling OpenCombine CombineIdentifier.swift
[39/115] Compiling OpenCombine ConcurrencyHelpers.swift
[40/115] Compiling OpenCombine Future+Concurrency.swift
[41/115] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[42/115] Compiling OpenCombine CurrentValueSubject.swift
[43/115] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[44/115] Compiling OpenCombine Future.swift
[45/115] Compiling OpenCombine GENERATED-RootProtocols.swift
[46/115] Compiling OpenCombine Publishers.Retry.swift
[47/115] Compiling OpenCombine Publishers.Scan.swift
[48/115] Compiling OpenCombine Publishers.Sequence.swift
[49/115] Compiling OpenCombine Publishers.SetFailureType.swift
[50/115] Compiling OpenCombine Publishers.Share.swift
[51/115] Compiling OpenCombine Publishers.SubscribeOn.swift
[52/115] Compiling OpenCombine Publishers.SwitchToLatest.swift
[53/115] Compiling OpenCombine Publishers.Throttle.swift
[54/115] Compiling OpenCombine Publishers.Timeout.swift
[55/115] Compiling OpenCombine Publishers.Zip.swift
[56/115] Compiling OpenCombine Publishers.swift
[57/115] Compiling OpenCombine Record.swift
[58/115] Compiling OpenCombine Result.Publisher.swift
[59/115] Compiling OpenCombine Utils.swift
[60/115] Compiling OpenCombine Violations.swift
[61/115] Compiling OpenCombine ImmediateScheduler.swift
[62/115] Compiling OpenCombine ObservableObject.swift
[63/115] Compiling OpenCombine PassthroughSubject.swift
[64/115] Compiling OpenCombine Published.swift
[65/115] Compiling OpenCombine Publisher+Subscribe.swift
[66/115] Compiling OpenCombine Deferred.swift
[67/115] Compiling OpenCombine Empty.swift
[68/115] Compiling OpenCombine Fail.swift
[69/115] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[70/115] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[71/115] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[72/115] Compiling OpenCombine ConduitBase.swift
[73/115] Compiling OpenCombine ConduitList.swift
[74/115] Compiling OpenCombine DebugHook.swift
[75/115] Compiling OpenCombine FilterProducer.swift
[76/115] Compiling OpenCombine Locking.swift
[77/115] Compiling OpenCombine PartialCompletion.swift
[78/115] Compiling OpenCombine PublishedSubject.swift
[79/115] Compiling OpenCombine PublishedSubscriber.swift
[80/115] Compiling OpenCombine ReduceProducer.swift
[81/115] Compiling OpenCombine SubjectSubscriber.swift
[82/115] Compiling OpenCombine SubscriberTap.swift
[83/115] Compiling OpenCombine SubscriptionStatus.swift
[84/115] Compiling OpenCombine SubscriptionTap.swift
[85/115] Compiling OpenCombine Publishers.Map.swift
[86/115] Compiling OpenCombine Publishers.MapError.swift
[87/115] Compiling OpenCombine Publishers.MeasureInterval.swift
[88/115] Compiling OpenCombine Publishers.Multicast.swift
[89/115] Compiling OpenCombine Publishers.Output.swift
[90/115] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[91/115] Compiling OpenCombine Publishers.PrefixWhile.swift
[92/115] Compiling OpenCombine Publishers.Print.swift
[93/115] Compiling OpenCombine Publishers.ReceiveOn.swift
[94/115] Compiling OpenCombine Publishers.Reduce.swift
[95/115] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[96/115] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[97/115] Compiling OpenCombine Publishers.ReplaceError.swift
[98/115] Compiling OpenCombine Publishers.Count.swift
[99/115] Compiling OpenCombine Publishers.Debounce.swift
[100/115] Compiling OpenCombine Publishers.Delay.swift
[101/115] Compiling OpenCombine Publishers.Drop.swift
[102/115] Compiling OpenCombine Publishers.DropUntilOutput.swift
[103/115] Compiling OpenCombine Publishers.DropWhile.swift
[104/115] Compiling OpenCombine Publishers.Filter.swift
[105/115] Compiling OpenCombine Publishers.First.swift
[106/115] Compiling OpenCombine Publishers.FlatMap.swift
[107/115] Compiling OpenCombine Publishers.HandleEvents.swift
[108/115] Compiling OpenCombine Publishers.IgnoreOutput.swift
[109/115] Compiling OpenCombine Publishers.Last.swift
[110/115] Compiling OpenCombine Publishers.MakeConnectable.swift
[112/116] Compiling Logging MetadataProvider.swift
[113/118] Compiling Logging LogHandler.swift
[114/118] Emitting module Logging
[115/118] Compiling Logging Locks.swift
[116/118] Compiling Logging Logging.swift
[118/119] Emitting module OpenCombineDispatch
[119/119] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[121/135] Compiling Store Store.swift
/host/spi-builder-workspace/Sources/Store/store/Store.swift:13:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 11 | /// Represents a opaque reference to a store object.
 12 | /// `Store` and `CodableStore` are the concrete instances.
 13 | public protocol AnyStore: class {
    |                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 14 |
 15 |   // MARK: Observation
/host/spi-builder-workspace/Sources/Store/store/Store.swift:214:57: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
212 |   /// - parameter action: The action that is going to be executed on this store.
213 |   /// - parameter mode: The execution strategy (*sync*/*aysnc*).
214 |   @discardableResult public func transaction<A: Action, M>(
    |                                                         `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
215 |     action: A,
216 |     mode: Executor.Mode = .async(nil)
/host/spi-builder-workspace/Sources/Store/store/Store.swift:237:49: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
235 |   /// - parameter handler: Invoked when the action has finished running.
236 |   /// - returns: The transaction associated to this action execution.
237 |   @discardableResult public func run<A: Action, M>(
    |                                                 `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 |     action: A,
239 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:253:49: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
251 |   /// This means that `actions[1]` will run after `actions[0]` has completed its execution,
252 |   /// `actions[2]` after `actions[1]` and so on.
253 |   @discardableResult public func run<A: Action, M>(
    |                                                 `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
254 |     actions: [A],
255 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:277:54: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
275 |   ///                       during a given window of time.
276 |   /// - returns: A future that is resolved whenever the action has completed its execution.
277 |   @discardableResult public func futureOf<A: Action, M>(
    |                                                      `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
278 |     action: A,
279 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:123:8: error: instance method 'receive(on:options:)' requires that 'RunLoop' conform to 'Scheduler'
121 |
122 |     modelStorageObserver = modelStorage.objectWillChange
123 |       .receive(on: RunLoop.main)
    |        `- error: instance method 'receive(on:options:)' requires that 'RunLoop' conform to 'Scheduler'
124 |       .sink { [weak self] in
125 |         guard let self = self else { return }
/host/spi-builder-workspace/.build/checkouts/OpenCombine/Sources/OpenCombine/Publishers/Publishers.ReceiveOn.swift:55:17: note: where 'Context' = 'RunLoop'
 53 |     ///   - options: Scheduler options used to customize element delivery.
 54 |     /// - Returns: A publisher that delivers elements using the specified scheduler.
 55 |     public func receive<Context: Scheduler>(
    |                 `- note: where 'Context' = 'RunLoop'
 56 |         on scheduler: Context,
 57 |         options: Context.SchedulerOptions? = nil
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:22:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// the latter ones will sort after the former ones.  We do this by using the previous random bits
19 | /// but "incrementing" them by 1 (only in the case of a timestamp collision).
20 | public final class PushID {
   |                    `- note: class 'PushID' does not conform to the 'Sendable' protocol
21 |
22 |   public static let `default` = PushID()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |   // MARK: Static constants
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:74:49: error: cannot find 'arc4random' in scope
72 |     if !duplicateTime {
73 |       for i in 0..<12 {
74 |         self.lastRandChars[i] = Int(64 * Double(arc4random()) / Double(UInt32.max))
   |                                                 `- error: cannot find 'arc4random' in scope
75 |       }
76 |     } else {
[122/135] Compiling Store PushID.swift
/host/spi-builder-workspace/Sources/Store/store/Store.swift:13:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 11 | /// Represents a opaque reference to a store object.
 12 | /// `Store` and `CodableStore` are the concrete instances.
 13 | public protocol AnyStore: class {
    |                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 14 |
 15 |   // MARK: Observation
/host/spi-builder-workspace/Sources/Store/store/Store.swift:214:57: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
212 |   /// - parameter action: The action that is going to be executed on this store.
213 |   /// - parameter mode: The execution strategy (*sync*/*aysnc*).
214 |   @discardableResult public func transaction<A: Action, M>(
    |                                                         `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
215 |     action: A,
216 |     mode: Executor.Mode = .async(nil)
/host/spi-builder-workspace/Sources/Store/store/Store.swift:237:49: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
235 |   /// - parameter handler: Invoked when the action has finished running.
236 |   /// - returns: The transaction associated to this action execution.
237 |   @discardableResult public func run<A: Action, M>(
    |                                                 `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 |     action: A,
239 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:253:49: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
251 |   /// This means that `actions[1]` will run after `actions[0]` has completed its execution,
252 |   /// `actions[2]` after `actions[1]` and so on.
253 |   @discardableResult public func run<A: Action, M>(
    |                                                 `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
254 |     actions: [A],
255 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:277:54: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
275 |   ///                       during a given window of time.
276 |   /// - returns: A future that is resolved whenever the action has completed its execution.
277 |   @discardableResult public func futureOf<A: Action, M>(
    |                                                      `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
278 |     action: A,
279 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:123:8: error: instance method 'receive(on:options:)' requires that 'RunLoop' conform to 'Scheduler'
121 |
122 |     modelStorageObserver = modelStorage.objectWillChange
123 |       .receive(on: RunLoop.main)
    |        `- error: instance method 'receive(on:options:)' requires that 'RunLoop' conform to 'Scheduler'
124 |       .sink { [weak self] in
125 |         guard let self = self else { return }
/host/spi-builder-workspace/.build/checkouts/OpenCombine/Sources/OpenCombine/Publishers/Publishers.ReceiveOn.swift:55:17: note: where 'Context' = 'RunLoop'
 53 |     ///   - options: Scheduler options used to customize element delivery.
 54 |     /// - Returns: A publisher that delivers elements using the specified scheduler.
 55 |     public func receive<Context: Scheduler>(
    |                 `- note: where 'Context' = 'RunLoop'
 56 |         on scheduler: Context,
 57 |         options: Context.SchedulerOptions? = nil
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:22:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// the latter ones will sort after the former ones.  We do this by using the previous random bits
19 | /// but "incrementing" them by 1 (only in the case of a timestamp collision).
20 | public final class PushID {
   |                    `- note: class 'PushID' does not conform to the 'Sendable' protocol
21 |
22 |   public static let `default` = PushID()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |   // MARK: Static constants
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:74:49: error: cannot find 'arc4random' in scope
72 |     if !duplicateTime {
73 |       for i in 0..<12 {
74 |         self.lastRandChars[i] = Int(64 * Double(arc4random()) / Double(UInt32.max))
   |                                                 `- error: cannot find 'arc4random' in scope
75 |       }
76 |     } else {
[123/137] Compiling Store Executor.swift
/host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:20:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
  2 | import Logging
  3 |
  4 | public final class Executor {
    |                    `- note: class 'Executor' does not conform to the 'Sendable' protocol
  5 |
  6 |   public typealias TransactionCompletion = ((Error?) -> Void)?
    :
 18 |   }
 19 |
 20 |   public static let main = Executor()
    |                     |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |   // Private.
/host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:43:9: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 41 |       /// Wraps the completion handler in an operation.
 42 |       completionOperation = BlockOperation {
 43 |         completionHandler(error.error)
    |         |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 44 |       }
 45 |       /// Set the completion handler as dependent from every operation.
/host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:43:27: warning: capture of 'error' with non-sendable type 'ErrorStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 41 |       /// Wraps the completion handler in an operation.
 42 |       completionOperation = BlockOperation {
 43 |         completionHandler(error.error)
    |                           `- warning: capture of 'error' with non-sendable type 'ErrorStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |       }
 45 |       /// Set the completion handler as dependent from every operation.
/host/spi-builder-workspace/Sources/Store/transactions/TransactionContext.swift:45:20: note: class 'ErrorStorage' does not conform to the 'Sendable' protocol
43 | // MARK: - errorStorage
44 |
45 | public final class ErrorStorage {
   |                    `- note: class 'ErrorStorage' does not conform to the 'Sendable' protocol
46 |   public var error: Error?
47 | }
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:27:5: error: cannot find 'os_unfair_lock_lock' in scope
25 |   /// Locks an `os_unfair_lock`.
26 |   mutating func lock() {
27 |     os_unfair_lock_lock(&unfair)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
28 |
29 |   }
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:33:5: error: cannot find 'os_unfair_lock_unlock' in scope
31 |   /// Unlocks an `os_unfair_lock`.
32 |   mutating func unlock() {
33 |     os_unfair_lock_unlock(&unfair)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
34 |   }
35 | }
[124/137] Compiling Store Locking.swift
/host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:20:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
  2 | import Logging
  3 |
  4 | public final class Executor {
    |                    `- note: class 'Executor' does not conform to the 'Sendable' protocol
  5 |
  6 |   public typealias TransactionCompletion = ((Error?) -> Void)?
    :
 18 |   }
 19 |
 20 |   public static let main = Executor()
    |                     |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |   // Private.
/host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:43:9: warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 41 |       /// Wraps the completion handler in an operation.
 42 |       completionOperation = BlockOperation {
 43 |         completionHandler(error.error)
    |         |- warning: capture of 'completionHandler' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 44 |       }
 45 |       /// Set the completion handler as dependent from every operation.
/host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:43:27: warning: capture of 'error' with non-sendable type 'ErrorStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 41 |       /// Wraps the completion handler in an operation.
 42 |       completionOperation = BlockOperation {
 43 |         completionHandler(error.error)
    |                           `- warning: capture of 'error' with non-sendable type 'ErrorStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |       }
 45 |       /// Set the completion handler as dependent from every operation.
/host/spi-builder-workspace/Sources/Store/transactions/TransactionContext.swift:45:20: note: class 'ErrorStorage' does not conform to the 'Sendable' protocol
43 | // MARK: - errorStorage
44 |
45 | public final class ErrorStorage {
   |                    `- note: class 'ErrorStorage' does not conform to the 'Sendable' protocol
46 |   public var error: Error?
47 | }
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:27:5: error: cannot find 'os_unfair_lock_lock' in scope
25 |   /// Locks an `os_unfair_lock`.
26 |   mutating func lock() {
27 |     os_unfair_lock_lock(&unfair)
   |     `- error: cannot find 'os_unfair_lock_lock' in scope
28 |
29 |   }
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:33:5: error: cannot find 'os_unfair_lock_unlock' in scope
31 |   /// Unlocks an `os_unfair_lock`.
32 |   mutating func unlock() {
33 |     os_unfair_lock_unlock(&unfair)
   |     `- error: cannot find 'os_unfair_lock_unlock' in scope
34 |   }
35 | }
[125/137] Compiling Store Signpost.swift
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:22:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// the latter ones will sort after the former ones.  We do this by using the previous random bits
19 | /// but "incrementing" them by 1 (only in the case of a timestamp collision).
20 | public final class PushID {
   |                    `- note: class 'PushID' does not conform to the 'Sendable' protocol
21 |
22 |   public static let `default` = PushID()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |   // MARK: Static constants
/host/spi-builder-workspace/Sources/Store/action/Action.swift:157:60: error: cannot specialize 'Self'
155 |   }
156 |
157 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Assign' instead?
158 | }
159 |
[126/137] Compiling Store BindingProxy.swift
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:22:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// the latter ones will sort after the former ones.  We do this by using the previous random bits
19 | /// but "incrementing" them by 1 (only in the case of a timestamp collision).
20 | public final class PushID {
   |                    `- note: class 'PushID' does not conform to the 'Sendable' protocol
21 |
22 |   public static let `default` = PushID()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |   // MARK: Static constants
/host/spi-builder-workspace/Sources/Store/action/Action.swift:157:60: error: cannot specialize 'Self'
155 |   }
156 |
157 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Assign' instead?
158 | }
159 |
[127/137] Compiling Store CodableStore.swift
/host/spi-builder-workspace/Sources/Store/store/CodableStore.swift:86:30: warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
 79 |       return
 80 |     }
 81 |     func dispatch(option: Diffing, execute: @escaping () -> Void) {
    |                                    `- note: parameter 'execute' is implicitly non-sendable
 82 |       switch option {
 83 |       case .sync:
 84 |         queue.sync(execute: execute)
 85 |       case .async:
 86 |         queue.async(execute: execute)
    |                              `- warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
 87 |       case .none:
 88 |         return
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
[128/137] Compiling Store ModelStorage.swift
/host/spi-builder-workspace/Sources/Store/store/CodableStore.swift:86:30: warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
 79 |       return
 80 |     }
 81 |     func dispatch(option: Diffing, execute: @escaping () -> Void) {
    |                                    `- note: parameter 'execute' is implicitly non-sendable
 82 |       switch option {
 83 |       case .sync:
 84 |         queue.sync(execute: execute)
 85 |       case .async:
 86 |         queue.async(execute: execute)
    |                              `- warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
 87 |       case .none:
 88 |         return
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
[129/137] Compiling Store DictionaryCodable.swift
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:34:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 32 |
 33 | extension DictionaryEncoder {
 34 |   open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 35 |     do {
 36 |       return try castOrThrow([String: Any].self, try box(value))
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:488:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
486 |
487 | extension DictionaryDecoder {
488 |   open func decode<T: Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
489 |     storage.push(container: container)
490 |     return try unbox(container, as: T.self)
[130/137] Compiling Store Diffing.swift
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:34:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 32 |
 33 | extension DictionaryEncoder {
 34 |   open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 35 |     do {
 36 |       return try castOrThrow([String: Any].self, try box(value))
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:488:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
486 |
487 | extension DictionaryDecoder {
488 |   open func decode<T: Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
489 |     storage.push(container: container)
490 |     return try unbox(container, as: T.self)
[131/137] Compiling Store Operations.swift
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:3:20: warning: class 'TransactionOperation' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | public final class TransactionOperation<T: AnyTransaction>: AsyncOperation {
   |                    `- warning: class 'TransactionOperation' must restate inherited '@unchecked Sendable' conformance
 4 |
 5 |   /// The associated transaction.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:46:4: error: Objective-C interoperability is disabled
44 |
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
   |    `- error: Objective-C interoperability is disabled
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:47:4: error: Objective-C interoperability is disabled
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
   |    `- error: Objective-C interoperability is disabled
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:47:37: error: property does not override any property from its superclass
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
   |                                     `- error: property does not override any property from its superclass
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:48:4: error: Objective-C interoperability is disabled
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
   |    `- error: Objective-C interoperability is disabled
49 |   @objc dynamic override public var isFinished: Bool { __finished }
50 |
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:49:4: error: Objective-C interoperability is disabled
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
   |    `- error: Objective-C interoperability is disabled
50 |
51 |   // __ to avoid name clashes with the superclass.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:52:4: error: Objective-C interoperability is disabled
50 |
51 |   // __ to avoid name clashes with the superclass.
52 |   @objc dynamic private var __executing = false {
   |    `- error: Objective-C interoperability is disabled
53 |     willSet { willChangeValue(forKey: "isExecuting") }
54 |     didSet { didChangeValue(forKey: "isExecuting") }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:58:4: error: Objective-C interoperability is disabled
56 |
57 |   // __ to avoid name clashes with the superclass.
58 |   @objc dynamic private var __finished = false {
   |    `- error: Objective-C interoperability is disabled
59 |     willSet { willChangeValue(forKey: "isFinished") }
60 |     didSet { didChangeValue(forKey: "isFinished") }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:64:4: error: Objective-C interoperability is disabled
62 |
63 |   /// Begins the execution of the operation.
64 |   @objc dynamic open override func start() {
   |    `- error: Objective-C interoperability is disabled
65 |     __executing = true
66 |     execute()
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:71:4: error: Objective-C interoperability is disabled
69 |   /// Subclasses are expected to override the `execute` function and call the function `finish`
70 |   /// when they're done with their task.
71 |   @objc open func execute() {
   |    `- error: Objective-C interoperability is disabled
72 |     fatalError("Your subclass must override this")
73 |   }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:76:4: error: Objective-C interoperability is disabled
74 |
75 |   /// This function should be called inside `execute` when the task for this operation is completed.
76 |   @objc dynamic open func finish() {
   |    `- error: Objective-C interoperability is disabled
77 |     __executing = false
78 |     __finished = true
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:40:12: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
38 | /// Subclasses are expected to override the 'execute' function and call
39 | /// the function 'finish' when they're done with their task.
40 | open class AsyncOperation: Operation {
   |            `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
41 |
42 |   /// The completion block type for this operation.
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:14:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | /// *Logging*, *undo/redo* and *local/remote database synchronization* are a good examples of when
13 | /// a middleware could be necessary.
14 | public protocol Middleware: class {
   |                             `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 |   /// This function is called whenever a running transaction changes its state.
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:61:16: error: cannot find 'mach_timebase_info' in scope
59 |   /// Return the current time in µs.
60 |   private func _nanos() -> UInt64 {
61 |     var info = mach_timebase_info()
   |                `- error: cannot find 'mach_timebase_info' in scope
62 |     guard mach_timebase_info(&info) == KERN_SUCCESS else { return 0 }
63 |     let currentTime = mach_absolute_time()
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:62:11: error: cannot find 'mach_timebase_info' in scope
60 |   private func _nanos() -> UInt64 {
61 |     var info = mach_timebase_info()
62 |     guard mach_timebase_info(&info) == KERN_SUCCESS else { return 0 }
   |           `- error: cannot find 'mach_timebase_info' in scope
63 |     let currentTime = mach_absolute_time()
64 |     let nanos = currentTime * UInt64(info.numer) / UInt64(info.denom)
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:62:40: error: cannot find 'KERN_SUCCESS' in scope
60 |   private func _nanos() -> UInt64 {
61 |     var info = mach_timebase_info()
62 |     guard mach_timebase_info(&info) == KERN_SUCCESS else { return 0 }
   |                                        `- error: cannot find 'KERN_SUCCESS' in scope
63 |     let currentTime = mach_absolute_time()
64 |     let nanos = currentTime * UInt64(info.numer) / UInt64(info.denom)
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:63:23: error: cannot find 'mach_absolute_time' in scope
61 |     var info = mach_timebase_info()
62 |     guard mach_timebase_info(&info) == KERN_SUCCESS else { return 0 }
63 |     let currentTime = mach_absolute_time()
   |                       `- error: cannot find 'mach_absolute_time' in scope
64 |     let nanos = currentTime * UInt64(info.numer) / UInt64(info.denom)
65 |     return nanos
[132/137] Compiling Store Middleware.swift
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:3:20: warning: class 'TransactionOperation' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | public final class TransactionOperation<T: AnyTransaction>: AsyncOperation {
   |                    `- warning: class 'TransactionOperation' must restate inherited '@unchecked Sendable' conformance
 4 |
 5 |   /// The associated transaction.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:46:4: error: Objective-C interoperability is disabled
44 |
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
   |    `- error: Objective-C interoperability is disabled
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:47:4: error: Objective-C interoperability is disabled
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
   |    `- error: Objective-C interoperability is disabled
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:47:37: error: property does not override any property from its superclass
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
   |                                     `- error: property does not override any property from its superclass
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:48:4: error: Objective-C interoperability is disabled
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
   |    `- error: Objective-C interoperability is disabled
49 |   @objc dynamic override public var isFinished: Bool { __finished }
50 |
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:49:4: error: Objective-C interoperability is disabled
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
   |    `- error: Objective-C interoperability is disabled
50 |
51 |   // __ to avoid name clashes with the superclass.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:52:4: error: Objective-C interoperability is disabled
50 |
51 |   // __ to avoid name clashes with the superclass.
52 |   @objc dynamic private var __executing = false {
   |    `- error: Objective-C interoperability is disabled
53 |     willSet { willChangeValue(forKey: "isExecuting") }
54 |     didSet { didChangeValue(forKey: "isExecuting") }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:58:4: error: Objective-C interoperability is disabled
56 |
57 |   // __ to avoid name clashes with the superclass.
58 |   @objc dynamic private var __finished = false {
   |    `- error: Objective-C interoperability is disabled
59 |     willSet { willChangeValue(forKey: "isFinished") }
60 |     didSet { didChangeValue(forKey: "isFinished") }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:64:4: error: Objective-C interoperability is disabled
62 |
63 |   /// Begins the execution of the operation.
64 |   @objc dynamic open override func start() {
   |    `- error: Objective-C interoperability is disabled
65 |     __executing = true
66 |     execute()
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:71:4: error: Objective-C interoperability is disabled
69 |   /// Subclasses are expected to override the `execute` function and call the function `finish`
70 |   /// when they're done with their task.
71 |   @objc open func execute() {
   |    `- error: Objective-C interoperability is disabled
72 |     fatalError("Your subclass must override this")
73 |   }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:76:4: error: Objective-C interoperability is disabled
74 |
75 |   /// This function should be called inside `execute` when the task for this operation is completed.
76 |   @objc dynamic open func finish() {
   |    `- error: Objective-C interoperability is disabled
77 |     __executing = false
78 |     __finished = true
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:40:12: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
38 | /// Subclasses are expected to override the 'execute' function and call
39 | /// the function 'finish' when they're done with their task.
40 | open class AsyncOperation: Operation {
   |            `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
41 |
42 |   /// The completion block type for this operation.
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:14:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | /// *Logging*, *undo/redo* and *local/remote database synchronization* are a good examples of when
13 | /// a middleware could be necessary.
14 | public protocol Middleware: class {
   |                             `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 |   /// This function is called whenever a running transaction changes its state.
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:61:16: error: cannot find 'mach_timebase_info' in scope
59 |   /// Return the current time in µs.
60 |   private func _nanos() -> UInt64 {
61 |     var info = mach_timebase_info()
   |                `- error: cannot find 'mach_timebase_info' in scope
62 |     guard mach_timebase_info(&info) == KERN_SUCCESS else { return 0 }
63 |     let currentTime = mach_absolute_time()
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:62:11: error: cannot find 'mach_timebase_info' in scope
60 |   private func _nanos() -> UInt64 {
61 |     var info = mach_timebase_info()
62 |     guard mach_timebase_info(&info) == KERN_SUCCESS else { return 0 }
   |           `- error: cannot find 'mach_timebase_info' in scope
63 |     let currentTime = mach_absolute_time()
64 |     let nanos = currentTime * UInt64(info.numer) / UInt64(info.denom)
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:62:40: error: cannot find 'KERN_SUCCESS' in scope
60 |   private func _nanos() -> UInt64 {
61 |     var info = mach_timebase_info()
62 |     guard mach_timebase_info(&info) == KERN_SUCCESS else { return 0 }
   |                                        `- error: cannot find 'KERN_SUCCESS' in scope
63 |     let currentTime = mach_absolute_time()
64 |     let nanos = currentTime * UInt64(info.numer) / UInt64(info.denom)
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:63:23: error: cannot find 'mach_absolute_time' in scope
61 |     var info = mach_timebase_info()
62 |     guard mach_timebase_info(&info) == KERN_SUCCESS else { return 0 }
63 |     let currentTime = mach_absolute_time()
   |                       `- error: cannot find 'mach_absolute_time' in scope
64 |     let nanos = currentTime * UInt64(info.numer) / UInt64(info.denom)
65 |     return nanos
error: emit-module command failed with exit code 1 (use -v to see invocation)
[133/137] Emitting module Store
/host/spi-builder-workspace/Sources/Store/action/Action.swift:98:60: error: cannot specialize 'Self'
 96 |   }
 97 |
 98 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Mutate' instead?
 99 | }
100 |
/host/spi-builder-workspace/Sources/Store/action/Action.swift:157:60: error: cannot specialize 'Self'
155 |   }
156 |
157 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Assign' instead?
158 | }
159 |
/host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:20:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
  2 | import Logging
  3 |
  4 | public final class Executor {
    |                    `- note: class 'Executor' does not conform to the 'Sendable' protocol
  5 |
  6 |   public typealias TransactionCompletion = ((Error?) -> Void)?
    :
 18 |   }
 19 |
 20 |   public static let main = Executor()
    |                     |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |   // Private.
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:3:20: warning: class 'TransactionOperation' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | public final class TransactionOperation<T: AnyTransaction>: AsyncOperation {
   |                    `- warning: class 'TransactionOperation' must restate inherited '@unchecked Sendable' conformance
 4 |
 5 |   /// The associated transaction.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:46:4: error: Objective-C interoperability is disabled
44 |
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
   |    `- error: Objective-C interoperability is disabled
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:47:4: error: Objective-C interoperability is disabled
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
   |    `- error: Objective-C interoperability is disabled
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:47:37: error: property does not override any property from its superclass
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
   |                                     `- error: property does not override any property from its superclass
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:48:4: error: Objective-C interoperability is disabled
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
   |    `- error: Objective-C interoperability is disabled
49 |   @objc dynamic override public var isFinished: Bool { __finished }
50 |
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:49:4: error: Objective-C interoperability is disabled
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
   |    `- error: Objective-C interoperability is disabled
50 |
51 |   // __ to avoid name clashes with the superclass.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:52:4: error: Objective-C interoperability is disabled
50 |
51 |   // __ to avoid name clashes with the superclass.
52 |   @objc dynamic private var __executing = false {
   |    `- error: Objective-C interoperability is disabled
53 |     willSet { willChangeValue(forKey: "isExecuting") }
54 |     didSet { didChangeValue(forKey: "isExecuting") }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:58:4: error: Objective-C interoperability is disabled
56 |
57 |   // __ to avoid name clashes with the superclass.
58 |   @objc dynamic private var __finished = false {
   |    `- error: Objective-C interoperability is disabled
59 |     willSet { willChangeValue(forKey: "isFinished") }
60 |     didSet { didChangeValue(forKey: "isFinished") }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:64:4: error: Objective-C interoperability is disabled
62 |
63 |   /// Begins the execution of the operation.
64 |   @objc dynamic open override func start() {
   |    `- error: Objective-C interoperability is disabled
65 |     __executing = true
66 |     execute()
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:71:4: error: Objective-C interoperability is disabled
69 |   /// Subclasses are expected to override the `execute` function and call the function `finish`
70 |   /// when they're done with their task.
71 |   @objc open func execute() {
   |    `- error: Objective-C interoperability is disabled
72 |     fatalError("Your subclass must override this")
73 |   }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:76:4: error: Objective-C interoperability is disabled
74 |
75 |   /// This function should be called inside `execute` when the task for this operation is completed.
76 |   @objc dynamic open func finish() {
   |    `- error: Objective-C interoperability is disabled
77 |     __executing = false
78 |     __finished = true
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:40:12: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
38 | /// Subclasses are expected to override the 'execute' function and call
39 | /// the function 'finish' when they're done with their task.
40 | open class AsyncOperation: Operation {
   |            `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
41 |
42 |   /// The completion block type for this operation.
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:14:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | /// *Logging*, *undo/redo* and *local/remote database synchronization* are a good examples of when
13 | /// a middleware could be necessary.
14 | public protocol Middleware: class {
   |                             `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
15 |
16 |   /// This function is called whenever a running transaction changes its state.
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:34:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 32 |
 33 | extension DictionaryEncoder {
 34 |   open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 35 |     do {
 36 |       return try castOrThrow([String: Any].self, try box(value))
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:488:3: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
486 |
487 | extension DictionaryDecoder {
488 |   open func decode<T: Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |   `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
489 |     storage.push(container: container)
490 |     return try unbox(container, as: T.self)
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:22:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// the latter ones will sort after the former ones.  We do this by using the previous random bits
19 | /// but "incrementing" them by 1 (only in the case of a timestamp collision).
20 | public final class PushID {
   |                    `- note: class 'PushID' does not conform to the 'Sendable' protocol
21 |
22 |   public static let `default` = PushID()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |   // MARK: Static constants
/host/spi-builder-workspace/Sources/Store/store/Store.swift:13:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 11 | /// Represents a opaque reference to a store object.
 12 | /// `Store` and `CodableStore` are the concrete instances.
 13 | public protocol AnyStore: class {
    |                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 14 |
 15 |   // MARK: Observation
/host/spi-builder-workspace/Sources/Store/store/Store.swift:214:57: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
212 |   /// - parameter action: The action that is going to be executed on this store.
213 |   /// - parameter mode: The execution strategy (*sync*/*aysnc*).
214 |   @discardableResult public func transaction<A: Action, M>(
    |                                                         `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
215 |     action: A,
216 |     mode: Executor.Mode = .async(nil)
/host/spi-builder-workspace/Sources/Store/store/Store.swift:237:49: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
235 |   /// - parameter handler: Invoked when the action has finished running.
236 |   /// - returns: The transaction associated to this action execution.
237 |   @discardableResult public func run<A: Action, M>(
    |                                                 `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 |     action: A,
239 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:253:49: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
251 |   /// This means that `actions[1]` will run after `actions[0]` has completed its execution,
252 |   /// `actions[2]` after `actions[1]` and so on.
253 |   @discardableResult public func run<A: Action, M>(
    |                                                 `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
254 |     actions: [A],
255 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:277:54: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
275 |   ///                       during a given window of time.
276 |   /// - returns: A future that is resolved whenever the action has completed its execution.
277 |   @discardableResult public func futureOf<A: Action, M>(
    |                                                      `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
278 |     action: A,
279 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/transactions/Transaction.swift:25:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 23 |
 24 | /// Represents an individual execution for a given action.
 25 | public protocol AnyTransaction: class, Cancellable {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 26 |
 27 |   // MARK: Properties
/host/spi-builder-workspace/Sources/Store/transactions/Transaction.swift:239:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionDisposeBag' may have shared mutable state; this is an error in the Swift 6 language mode
236 | // MARK: - Transaction Dispose Bag (Internal)
237 |
238 | final class TransactionDisposeBag {
    |             `- note: class 'TransactionDisposeBag' does not conform to the 'Sendable' protocol
239 |   static let shared = TransactionDisposeBag()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionDisposeBag' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 |   /// All of the ongoing transactions.
[134/137] Compiling Store Action.swift
/host/spi-builder-workspace/Sources/Store/action/Action.swift:98:60: error: cannot specialize 'Self'
 96 |   }
 97 |
 98 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Mutate' instead?
 99 | }
100 |
/host/spi-builder-workspace/Sources/Store/action/Action.swift:157:60: error: cannot specialize 'Self'
155 |   }
156 |
157 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Assign' instead?
158 | }
159 |
[135/137] Compiling Store KeyPath+Introspection.swift
/host/spi-builder-workspace/Sources/Store/action/Action.swift:98:60: error: cannot specialize 'Self'
 96 |   }
 97 |
 98 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Mutate' instead?
 99 | }
100 |
/host/spi-builder-workspace/Sources/Store/action/Action.swift:157:60: error: cannot specialize 'Self'
155 |   }
156 |
157 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Assign' instead?
158 | }
159 |
[136/137] Compiling Store Transaction.swift
/host/spi-builder-workspace/Sources/Store/transactions/Transaction.swift:25:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 23 |
 24 | /// Represents an individual execution for a given action.
 25 | public protocol AnyTransaction: class, Cancellable {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 26 |
 27 |   // MARK: Properties
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:22:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// the latter ones will sort after the former ones.  We do this by using the previous random bits
19 | /// but "incrementing" them by 1 (only in the case of a timestamp collision).
20 | public final class PushID {
   |                    `- note: class 'PushID' does not conform to the 'Sendable' protocol
21 |
22 |   public static let `default` = PushID()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |   // MARK: Static constants
/host/spi-builder-workspace/Sources/Store/transactions/Transaction.swift:239:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionDisposeBag' may have shared mutable state; this is an error in the Swift 6 language mode
236 | // MARK: - Transaction Dispose Bag (Internal)
237 |
238 | final class TransactionDisposeBag {
    |             `- note: class 'TransactionDisposeBag' does not conform to the 'Sendable' protocol
239 |   static let shared = TransactionDisposeBag()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionDisposeBag' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 |   /// All of the ongoing transactions.
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:20:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
  2 | import Logging
  3 |
  4 | public final class Executor {
    |                    `- note: class 'Executor' does not conform to the 'Sendable' protocol
  5 |
  6 |   public typealias TransactionCompletion = ((Error?) -> Void)?
    :
 18 |   }
 19 |
 20 |   public static let main = Executor()
    |                     |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |   // Private.
[137/137] Compiling Store TransactionContext.swift
/host/spi-builder-workspace/Sources/Store/transactions/Transaction.swift:25:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 23 |
 24 | /// Represents an individual execution for a given action.
 25 | public protocol AnyTransaction: class, Cancellable {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 26 |
 27 |   // MARK: Properties
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:22:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// the latter ones will sort after the former ones.  We do this by using the previous random bits
19 | /// but "incrementing" them by 1 (only in the case of a timestamp collision).
20 | public final class PushID {
   |                    `- note: class 'PushID' does not conform to the 'Sendable' protocol
21 |
22 |   public static let `default` = PushID()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PushID' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |   // MARK: Static constants
/host/spi-builder-workspace/Sources/Store/transactions/Transaction.swift:239:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionDisposeBag' may have shared mutable state; this is an error in the Swift 6 language mode
236 | // MARK: - Transaction Dispose Bag (Internal)
237 |
238 | final class TransactionDisposeBag {
    |             `- note: class 'TransactionDisposeBag' does not conform to the 'Sendable' protocol
239 |   static let shared = TransactionDisposeBag()
    |              |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TransactionDisposeBag' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 |   /// All of the ongoing transactions.
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:20:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
  2 | import Logging
  3 |
  4 | public final class Executor {
    |                    `- note: class 'Executor' does not conform to the 'Sendable' protocol
  5 |
  6 |   public typealias TransactionCompletion = ((Error?) -> Void)?
    :
 18 |   }
 19 |
 20 |   public static let main = Executor()
    |                     |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'Executor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |   // Private.
BUILD FAILURE 6.0 linux