The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Store, reference 3.8.0 (4586ab), with Swift 6.2 (beta) for Linux on 19 Jun 2025 05:00:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexdrone/Store.git
Reference: 3.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/alexdrone/Store
 * tag               3.8.0      -> FETCH_HEAD
HEAD is now at 4586abe Fix demo
Cloned https://github.com/alexdrone/Store.git
Revision (git rev-parse @):
4586abebae909f9ceb583e0c40aaa5d914afed17
SUCCESS checkout https://github.com/alexdrone/Store.git at 3.8.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/alexdrone/Store.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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
[4554/8280] Fetching opencombine
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.51s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.96s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.37s)
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
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-24593BA9C3E375BF.txt
[5/6] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[7/103] Emitting module OpenCombine
[8/115] Compiling OpenCombine Result.swift
[9/115] Compiling OpenCombine Scheduler.swift
[10/115] Compiling OpenCombine Subject+Void.swift
[11/115] Compiling OpenCombine Subscriber+Void.swift
[12/115] Compiling OpenCombine Subscribers.Assign.swift
[13/115] Compiling OpenCombine Subscribers.Completion.swift
[14/115] Compiling OpenCombine Subscribers.Demand.swift
[15/115] Compiling OpenCombine Subscribers.Sink.swift
[16/115] Compiling OpenCombine Subscribers.swift
[17/115] Compiling OpenCombine Subscription.swift
[18/115] Compiling OpenCombine Subscriptions.swift
[19/115] Compiling OpenCombine _Introspection.swift
[20/115] Compiling OpenCombine Utils.swift
[21/115] Compiling OpenCombine Violations.swift
[22/115] Compiling OpenCombine ImmediateScheduler.swift
[23/115] Compiling OpenCombine ObservableObject.swift
[24/115] Compiling OpenCombine PassthroughSubject.swift
[25/115] Compiling OpenCombine Published.swift
[26/115] Compiling OpenCombine Publisher+Subscribe.swift
[27/115] Compiling OpenCombine Deferred.swift
[28/115] Compiling OpenCombine Empty.swift
[29/115] Compiling OpenCombine Fail.swift
[30/115] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[31/115] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[32/115] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.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 AnyCancellable.swift
[47/115] Compiling OpenCombine AnyPublisher.swift
[48/115] Compiling OpenCombine AnySubscriber.swift
[49/115] Compiling OpenCombine Cancellable.swift
[50/115] Compiling OpenCombine Codable.swift
[51/115] Compiling OpenCombine CombineIdentifier.swift
[52/115] Compiling OpenCombine ConcurrencyHelpers.swift
[53/115] Compiling OpenCombine Future+Concurrency.swift
[54/115] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[55/115] Compiling OpenCombine CurrentValueSubject.swift
[56/115] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[57/115] Compiling OpenCombine Future.swift
[58/115] Compiling OpenCombine GENERATED-RootProtocols.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] Compiling OpenCombine Publishers.Map.swift
[73/115] Compiling OpenCombine Publishers.MapError.swift
[74/115] Compiling OpenCombine Publishers.MeasureInterval.swift
[75/115] Compiling OpenCombine Publishers.Multicast.swift
[76/115] Compiling OpenCombine Publishers.Output.swift
[77/115] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[78/115] Compiling OpenCombine Publishers.PrefixWhile.swift
[79/115] Compiling OpenCombine Publishers.Print.swift
[80/115] Compiling OpenCombine Publishers.ReceiveOn.swift
[81/115] Compiling OpenCombine Publishers.Reduce.swift
[82/115] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[83/115] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[84/115] Compiling OpenCombine Publishers.ReplaceError.swift
[85/115] Compiling OpenCombine Just.swift
[86/115] Compiling OpenCombine Optional.Publisher.swift
[87/115] Compiling OpenCombine Publishers.AllSatisfy.swift
[88/115] Compiling OpenCombine Publishers.AssertNoFailure.swift
[89/115] Compiling OpenCombine Publishers.Autoconnect.swift
[90/115] Compiling OpenCombine Publishers.Breakpoint.swift
[91/115] Compiling OpenCombine Publishers.Buffer.swift
[92/115] Compiling OpenCombine Publishers.Collect.swift
[93/115] Compiling OpenCombine Publishers.CollectByCount.swift
[94/115] Compiling OpenCombine Publishers.CompactMap.swift
[95/115] Compiling OpenCombine Publishers.Comparison.swift
[96/115] Compiling OpenCombine Publishers.Concatenate.swift
[97/115] Compiling OpenCombine Publishers.Contains.swift
[98/115] Compiling OpenCombine Publishers.Retry.swift
[99/115] Compiling OpenCombine Publishers.Scan.swift
[100/115] Compiling OpenCombine Publishers.Sequence.swift
[101/115] Compiling OpenCombine Publishers.SetFailureType.swift
[102/115] Compiling OpenCombine Publishers.Share.swift
[103/115] Compiling OpenCombine Publishers.SubscribeOn.swift
[104/115] Compiling OpenCombine Publishers.SwitchToLatest.swift
[105/115] Compiling OpenCombine Publishers.Throttle.swift
[106/115] Compiling OpenCombine Publishers.Timeout.swift
[107/115] Compiling OpenCombine Publishers.Zip.swift
[108/115] Compiling OpenCombine Publishers.swift
[109/115] Compiling OpenCombine Record.swift
[110/115] Compiling OpenCombine Result.Publisher.swift
[112/118] Compiling Logging MetadataProvider.swift
[113/118] Compiling Logging Locks.swift
[114/118] Emitting module Logging
[115/118] Compiling Logging Logging.swift
[116/118] Compiling Logging LogHandler.swift
[118/119] Emitting module OpenCombineDispatch
[119/119] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[121/135] 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 | }
[122/135] 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 | }
[123/137] 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 [#deprecation]
 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 [#deprecation]
 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`.
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:74:49: error: cannot find 'arc4random' in scope
72 |     if !duplicateTime {
73 |       for i in 0..<12 {
74 |         self.lastRandChars[i] = Int(64 * Double(arc4random()) / Double(UInt32.max))
   |                                                 `- error: cannot find 'arc4random' in scope
75 |       }
76 |     } else {
[124/137] 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 [#deprecation]
 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 [#deprecation]
 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`.
/host/spi-builder-workspace/Sources/Store/transactions/PushID.swift:74:49: error: cannot find 'arc4random' in scope
72 |     if !duplicateTime {
73 |       for i in 0..<12 {
74 |         self.lastRandChars[i] = Int(64 * Double(arc4random()) / Double(UInt32.max))
   |                                                 `- error: cannot find 'arc4random' in scope
75 |       }
76 |     } else {
[125/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 [#deprecation]
 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 [#deprecation]
 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`.
[126/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 [#deprecation]
 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 [#deprecation]
 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`.
[127/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 |
[128/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 |
[129/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`.
[130/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)
[131/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/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 [#deprecation]
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 [#deprecation]
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 32 |
 33 | extension DictionaryEncoder {
 34 |   open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |   `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
486 |
487 | extension DictionaryDecoder {
488 |   open func decode<T: Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |   `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 [#deprecation]
 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 [#deprecation]
 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 [#deprecation]
 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 [#deprecation]
 26 |
 27 |   // MARK: Properties
[132/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 |
[133/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 |
[134/137] Compiling Store DictionaryCodable.swift
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:34:3: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 32 |
 33 | extension DictionaryEncoder {
 34 |   open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |   `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
486 |
487 | extension DictionaryDecoder {
488 |   open func decode<T: Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |   `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
489 |     storage.push(container: container)
490 |     return try unbox(container, as: T.self)
[135/137] Compiling Store Diffing.swift
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:34:3: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 32 |
 33 | extension DictionaryEncoder {
 34 |   open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |   `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
486 |
487 | extension DictionaryDecoder {
488 |   open func decode<T: Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |   `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
489 |     storage.push(container: container)
490 |     return try unbox(container, as: T.self)
[136/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 [#deprecation]
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 [#deprecation]
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
[137/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 [#deprecation]
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 [#deprecation]
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.2 linux