The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Store, reference 3.8.0 (4586ab), with Swift 6.1 for Android on 28 May 2025 02:37:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alexdrone/Store.git
https://github.com/alexdrone/Store.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "opencombine",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OpenCombine/OpenCombine.git"
    }
  ],
  "manifest_display_name" : "Store",
  "name" : "Store",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Store",
      "targets" : [
        "Store"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StoreTests",
      "module_type" : "SwiftTarget",
      "name" : "StoreTests",
      "path" : "Tests/StoreTests",
      "product_dependencies" : [
        "Logging"
      ],
      "sources" : [
        "ChildStoreTests.swift",
        "Protobuf/Data.pb.swift",
        "Protobuf/ProtobufTests.swift",
        "StoreTests.swift",
        "Support/Models.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Store"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Store",
      "module_type" : "SwiftTarget",
      "name" : "Store",
      "path" : "Sources/Store",
      "product_dependencies" : [
        "Logging",
        "OpenCombine",
        "OpenCombineDispatch"
      ],
      "product_memberships" : [
        "Store"
      ],
      "sources" : [
        "action/Action.swift",
        "action/KeyPath+Introspection.swift",
        "concurrency/Executor.swift",
        "concurrency/Locking.swift",
        "concurrency/Operations.swift",
        "middleware/Middleware.swift",
        "serialization/DictionaryCodable.swift",
        "serialization/Diffing.swift",
        "serialization/Signpost.swift",
        "store/BindingProxy.swift",
        "store/CodableStore.swift",
        "store/ModelStorage.swift",
        "store/Store.swift",
        "transactions/PushID.swift",
        "transactions/Transaction.swift",
        "transactions/TransactionContext.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[3837/12116] Fetching swift-log, opencombine
Fetched https://github.com/apple/swift-log.git from cache (0.62s)
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.78s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.69s)
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.3
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[7/103] Compiling OpenCombine Publishers.Retry.swift
[8/103] Compiling OpenCombine Publishers.Scan.swift
[9/103] Compiling OpenCombine Publishers.Sequence.swift
[10/103] Compiling OpenCombine Publishers.SetFailureType.swift
[11/103] Compiling OpenCombine Publishers.Share.swift
[12/103] Compiling OpenCombine Publishers.SubscribeOn.swift
[13/103] Compiling OpenCombine Publishers.SwitchToLatest.swift
[14/103] Compiling OpenCombine Publishers.Throttle.swift
[15/103] Compiling OpenCombine Publishers.Timeout.swift
[16/103] Compiling OpenCombine Publishers.Zip.swift
[17/103] Compiling OpenCombine Publishers.swift
[18/103] Compiling OpenCombine Record.swift
[19/103] Compiling OpenCombine Result.Publisher.swift
[20/115] Compiling OpenCombine AnyCancellable.swift
[21/115] Compiling OpenCombine AnyPublisher.swift
[22/115] Compiling OpenCombine AnySubscriber.swift
[23/115] Compiling OpenCombine Cancellable.swift
[24/115] Compiling OpenCombine Codable.swift
[25/115] Compiling OpenCombine CombineIdentifier.swift
[26/115] Compiling OpenCombine ConcurrencyHelpers.swift
[27/115] Compiling OpenCombine Future+Concurrency.swift
[28/115] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[29/115] Compiling OpenCombine CurrentValueSubject.swift
[30/115] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[31/115] Compiling OpenCombine Future.swift
[32/115] Compiling OpenCombine GENERATED-RootProtocols.swift
[33/115] Compiling OpenCombine ConduitBase.swift
[34/115] Compiling OpenCombine ConduitList.swift
[35/115] Compiling OpenCombine DebugHook.swift
[36/115] Compiling OpenCombine FilterProducer.swift
[37/115] Compiling OpenCombine Locking.swift
[38/115] Compiling OpenCombine PartialCompletion.swift
[39/115] Compiling OpenCombine PublishedSubject.swift
[40/115] Compiling OpenCombine PublishedSubscriber.swift
[41/115] Compiling OpenCombine ReduceProducer.swift
[42/115] Compiling OpenCombine SubjectSubscriber.swift
[43/115] Compiling OpenCombine SubscriberTap.swift
[44/115] Compiling OpenCombine SubscriptionStatus.swift
[45/115] Compiling OpenCombine SubscriptionTap.swift
[46/115] Compiling OpenCombine Utils.swift
[47/115] Compiling OpenCombine Violations.swift
[48/115] Compiling OpenCombine ImmediateScheduler.swift
[49/115] Compiling OpenCombine ObservableObject.swift
[50/115] Compiling OpenCombine PassthroughSubject.swift
[51/115] Compiling OpenCombine Published.swift
[52/115] Compiling OpenCombine Publisher+Subscribe.swift
[53/115] Compiling OpenCombine Deferred.swift
[54/115] Compiling OpenCombine Empty.swift
[55/115] Compiling OpenCombine Fail.swift
[56/115] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[57/115] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[58/115] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[59/115] Compiling OpenCombine Publishers.Count.swift
[60/115] Compiling OpenCombine Publishers.Debounce.swift
[61/115] Compiling OpenCombine Publishers.Delay.swift
[62/115] Compiling OpenCombine Publishers.Drop.swift
[63/115] Compiling OpenCombine Publishers.DropUntilOutput.swift
[64/115] Compiling OpenCombine Publishers.DropWhile.swift
[65/115] Compiling OpenCombine Publishers.Filter.swift
[66/115] Compiling OpenCombine Publishers.First.swift
[67/115] Compiling OpenCombine Publishers.FlatMap.swift
[68/115] Compiling OpenCombine Publishers.HandleEvents.swift
[69/115] Compiling OpenCombine Publishers.IgnoreOutput.swift
[70/115] Compiling OpenCombine Publishers.Last.swift
[71/115] Compiling OpenCombine Publishers.MakeConnectable.swift
[72/115] Emitting module OpenCombine
[73/115] Compiling OpenCombine Publishers.Map.swift
[74/115] Compiling OpenCombine Publishers.MapError.swift
[75/115] Compiling OpenCombine Publishers.MeasureInterval.swift
[76/115] Compiling OpenCombine Publishers.Multicast.swift
[77/115] Compiling OpenCombine Publishers.Output.swift
[78/115] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[79/115] Compiling OpenCombine Publishers.PrefixWhile.swift
[80/115] Compiling OpenCombine Publishers.Print.swift
[81/115] Compiling OpenCombine Publishers.ReceiveOn.swift
[82/115] Compiling OpenCombine Publishers.Reduce.swift
[83/115] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[84/115] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[85/115] Compiling OpenCombine Publishers.ReplaceError.swift
[86/115] Compiling OpenCombine Just.swift
[87/115] Compiling OpenCombine Optional.Publisher.swift
[88/115] Compiling OpenCombine Publishers.AllSatisfy.swift
[89/115] Compiling OpenCombine Publishers.AssertNoFailure.swift
[90/115] Compiling OpenCombine Publishers.Autoconnect.swift
[91/115] Compiling OpenCombine Publishers.Breakpoint.swift
[92/115] Compiling OpenCombine Publishers.Buffer.swift
[93/115] Compiling OpenCombine Publishers.Collect.swift
[94/115] Compiling OpenCombine Publishers.CollectByCount.swift
[95/115] Compiling OpenCombine Publishers.CompactMap.swift
[96/115] Compiling OpenCombine Publishers.Comparison.swift
[97/115] Compiling OpenCombine Publishers.Concatenate.swift
[98/115] Compiling OpenCombine Publishers.Contains.swift
[99/115] Compiling OpenCombine Result.swift
[100/115] Compiling OpenCombine Scheduler.swift
[101/115] Compiling OpenCombine Subject+Void.swift
[102/115] Compiling OpenCombine Subscriber+Void.swift
[103/115] Compiling OpenCombine Subscribers.Assign.swift
[104/115] Compiling OpenCombine Subscribers.Completion.swift
[105/115] Compiling OpenCombine Subscribers.Demand.swift
[106/115] Compiling OpenCombine Subscribers.Sink.swift
[107/115] Compiling OpenCombine Subscribers.swift
[108/115] Compiling OpenCombine Subscription.swift
[109/115] Compiling OpenCombine Subscriptions.swift
[110/115] Compiling OpenCombine _Introspection.swift
[112/118] Compiling Logging MetadataProvider.swift
[113/118] Compiling Logging Locks.swift
[114/118] Compiling Logging LogHandler.swift
[115/118] Emitting module Logging
[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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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`.
[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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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`.
[123/137] Compiling Store Signpost.swift
/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 |
[124/137] Compiling Store BindingProxy.swift
/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 |
[125/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`.
[126/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`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
    |                     `- 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/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/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |   // MARK: Static constants
/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 |   /// All of the ongoing transactions.
[128/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)
[129/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)
[130/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 |
[131/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 |
[132/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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
    |                     `- 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 | }
[133/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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
    |                     `- 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 | }
[134/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
[135/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
[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/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |              `- 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`.
[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/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |              `- 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`.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/98] Compiling Logging MetadataProvider.swift
[3/98] Compiling Logging LogHandler.swift
[4/98] Compiling Logging Locks.swift
[5/98] Emitting module Logging
[6/98] Compiling Logging Logging.swift
[8/99] Emitting module OpenCombine
[9/111] Compiling OpenCombine Result.swift
[10/111] Compiling OpenCombine Scheduler.swift
[11/111] Compiling OpenCombine Subject+Void.swift
[12/111] Compiling OpenCombine Subscriber+Void.swift
[13/111] Compiling OpenCombine Subscribers.Assign.swift
[14/111] Compiling OpenCombine Subscribers.Completion.swift
[15/111] Compiling OpenCombine Subscribers.Demand.swift
[16/111] Compiling OpenCombine Subscribers.Sink.swift
[17/111] Compiling OpenCombine Subscribers.swift
[18/111] Compiling OpenCombine Subscription.swift
[19/111] Compiling OpenCombine Subscriptions.swift
[20/111] Compiling OpenCombine _Introspection.swift
[21/111] Compiling OpenCombine Just.swift
[22/111] Compiling OpenCombine Optional.Publisher.swift
[23/111] Compiling OpenCombine Publishers.AllSatisfy.swift
[24/111] Compiling OpenCombine Publishers.AssertNoFailure.swift
[25/111] Compiling OpenCombine Publishers.Autoconnect.swift
[26/111] Compiling OpenCombine Publishers.Breakpoint.swift
[27/111] Compiling OpenCombine Publishers.Buffer.swift
[28/111] Compiling OpenCombine Publishers.Collect.swift
[29/111] Compiling OpenCombine Publishers.CollectByCount.swift
[30/111] Compiling OpenCombine Publishers.CompactMap.swift
[31/111] Compiling OpenCombine Publishers.Comparison.swift
[32/111] Compiling OpenCombine Publishers.Concatenate.swift
[33/111] Compiling OpenCombine Publishers.Contains.swift
[34/111] Compiling OpenCombine AnyCancellable.swift
[35/111] Compiling OpenCombine AnyPublisher.swift
[36/111] Compiling OpenCombine AnySubscriber.swift
[37/111] Compiling OpenCombine Cancellable.swift
[38/111] Compiling OpenCombine Codable.swift
[39/111] Compiling OpenCombine CombineIdentifier.swift
[40/111] Compiling OpenCombine ConcurrencyHelpers.swift
[41/111] Compiling OpenCombine Future+Concurrency.swift
[42/111] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[43/111] Compiling OpenCombine CurrentValueSubject.swift
[44/111] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[45/111] Compiling OpenCombine Future.swift
[46/111] Compiling OpenCombine GENERATED-RootProtocols.swift
[47/111] Compiling OpenCombine ConduitBase.swift
[48/111] Compiling OpenCombine ConduitList.swift
[49/111] Compiling OpenCombine DebugHook.swift
[50/111] Compiling OpenCombine FilterProducer.swift
[51/111] Compiling OpenCombine Locking.swift
[52/111] Compiling OpenCombine PartialCompletion.swift
[53/111] Compiling OpenCombine PublishedSubject.swift
[54/111] Compiling OpenCombine PublishedSubscriber.swift
[55/111] Compiling OpenCombine ReduceProducer.swift
[56/111] Compiling OpenCombine SubjectSubscriber.swift
[57/111] Compiling OpenCombine SubscriberTap.swift
[58/111] Compiling OpenCombine SubscriptionStatus.swift
[59/111] Compiling OpenCombine SubscriptionTap.swift
[60/111] Compiling OpenCombine Utils.swift
[61/111] Compiling OpenCombine Violations.swift
[62/111] Compiling OpenCombine ImmediateScheduler.swift
[63/111] Compiling OpenCombine ObservableObject.swift
[64/111] Compiling OpenCombine PassthroughSubject.swift
[65/111] Compiling OpenCombine Published.swift
[66/111] Compiling OpenCombine Publisher+Subscribe.swift
[67/111] Compiling OpenCombine Deferred.swift
[68/111] Compiling OpenCombine Empty.swift
[69/111] Compiling OpenCombine Fail.swift
[70/111] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[71/111] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[72/111] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[73/111] Compiling OpenCombine Publishers.Map.swift
[74/111] Compiling OpenCombine Publishers.MapError.swift
[75/111] Compiling OpenCombine Publishers.MeasureInterval.swift
[76/111] Compiling OpenCombine Publishers.Multicast.swift
[77/111] Compiling OpenCombine Publishers.Output.swift
[78/111] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[79/111] Compiling OpenCombine Publishers.PrefixWhile.swift
[80/111] Compiling OpenCombine Publishers.Print.swift
[81/111] Compiling OpenCombine Publishers.ReceiveOn.swift
[82/111] Compiling OpenCombine Publishers.Reduce.swift
[83/111] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[84/111] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[85/111] Compiling OpenCombine Publishers.ReplaceError.swift
[86/111] Compiling OpenCombine Publishers.Count.swift
[87/111] Compiling OpenCombine Publishers.Debounce.swift
[88/111] Compiling OpenCombine Publishers.Delay.swift
[89/111] Compiling OpenCombine Publishers.Drop.swift
[90/111] Compiling OpenCombine Publishers.DropUntilOutput.swift
[91/111] Compiling OpenCombine Publishers.DropWhile.swift
[92/111] Compiling OpenCombine Publishers.Filter.swift
[93/111] Compiling OpenCombine Publishers.First.swift
[94/111] Compiling OpenCombine Publishers.FlatMap.swift
[95/111] Compiling OpenCombine Publishers.HandleEvents.swift
[96/111] Compiling OpenCombine Publishers.IgnoreOutput.swift
[97/111] Compiling OpenCombine Publishers.Last.swift
[98/111] Compiling OpenCombine Publishers.MakeConnectable.swift
[99/111] Compiling OpenCombine Publishers.Retry.swift
[100/111] Compiling OpenCombine Publishers.Scan.swift
[101/111] Compiling OpenCombine Publishers.Sequence.swift
[102/111] Compiling OpenCombine Publishers.SetFailureType.swift
[103/111] Compiling OpenCombine Publishers.Share.swift
[104/111] Compiling OpenCombine Publishers.SubscribeOn.swift
[105/111] Compiling OpenCombine Publishers.SwitchToLatest.swift
[106/111] Compiling OpenCombine Publishers.Throttle.swift
[107/111] Compiling OpenCombine Publishers.Timeout.swift
[108/111] Compiling OpenCombine Publishers.Zip.swift
[109/111] Compiling OpenCombine Publishers.swift
[110/111] Compiling OpenCombine Record.swift
[111/111] Compiling OpenCombine Result.Publisher.swift
[113/114] Emitting module OpenCombineDispatch
[114/114] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[116/130] Compiling Store Signpost.swift
/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 |
[117/130] Compiling Store BindingProxy.swift
/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 |
[118/130] 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/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`.
[119/130] 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/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`.
[120/130] 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`.
[121/130] 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`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[122/132] 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/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/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
[123/132] 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/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`.
[124/132] 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/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`.
[125/132] 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)
[126/132] 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)
[127/132] Compiling Store Executor.swift
/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 | }
[128/132] Compiling Store Locking.swift
/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 | }
[129/132] 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 |
[130/132] 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 |
[131/132] 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/132] 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
BUILD FAILURE 6.1 android