The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Store, reference 3.8.0 (4586ab), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 16:42:15 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexdrone/Store.git
Reference: 3.8.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/apple/swift-log.git from cache
[1/8280] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.23s)
Fetched https://github.com/apple/swift-log.git from cache (1.23s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.12.0 (1.90s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.1 (0.56s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.1
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.12.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "store",
      "name": "Store",
      "url": "https://github.com/alexdrone/Store.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Store",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        },
        {
          "identity": "opencombine",
          "name": "OpenCombine",
          "url": "https://github.com/OpenCombine/OpenCombine.git",
          "version": "0.14.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenCombine",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/alexdrone/Store.git
[1/3485] Fetching store
Fetched https://github.com/alexdrone/Store.git from cache (1.86s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/OpenCombine/OpenCombine.git from cache
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.54s)
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Creating working copy for https://github.com/alexdrone/Store.git
Working copy of https://github.com/alexdrone/Store.git resolved at 3.8.0 (4586abe)
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
warning: '.resolve-product-dependencies': dependency 'store' is not used by any target
Found 2 product dependencies
  - swift-log
  - OpenCombine
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alexdrone/Store.git
https://github.com/alexdrone/Store.git
{
  "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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-2F0A5646E1D333AE.txt
[5/10] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[7/98] Emitting module OpenCombine
[8/107] Compiling OpenCombine AnyCancellable.swift
[9/107] Compiling OpenCombine AnyPublisher.swift
[10/107] Compiling OpenCombine AnySubscriber.swift
[11/107] Compiling OpenCombine Cancellable.swift
[12/107] Compiling OpenCombine Codable.swift
[13/107] Compiling OpenCombine CombineIdentifier.swift
[14/107] Compiling OpenCombine ConnectablePublisher.swift
[15/107] Compiling OpenCombine CurrentValueSubject.swift
[16/107] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[17/107] Compiling OpenCombine Future.swift
[18/107] Compiling OpenCombine Publishers.Delay.swift
[19/107] Compiling OpenCombine Publishers.Drop.swift
[20/107] Compiling OpenCombine Publishers.DropUntilOutput.swift
[21/107] Compiling OpenCombine Publishers.DropWhile.swift
[22/107] Compiling OpenCombine Publishers.Filter.swift
[23/107] Compiling OpenCombine Publishers.First.swift
[24/107] Compiling OpenCombine Publishers.FlatMap.swift
[25/107] Compiling OpenCombine Publishers.HandleEvents.swift
[26/107] Compiling OpenCombine Publishers.IgnoreOutput.swift
[27/107] Compiling OpenCombine Publishers.Last.swift
[28/107] Compiling OpenCombine ConduitBase.swift
[29/107] Compiling OpenCombine ConduitList.swift
[30/107] Compiling OpenCombine DebugHook.swift
[31/107] Compiling OpenCombine FilterProducer.swift
[32/107] Compiling OpenCombine Locking.swift
[33/107] Compiling OpenCombine PartialCompletion.swift
[34/107] Compiling OpenCombine PublishedSubject.swift
[35/107] Compiling OpenCombine PublishedSubscriber.swift
[36/107] Compiling OpenCombine ReduceProducer.swift
[37/107] Compiling OpenCombine SubjectSubscriber.swift
[38/107] Compiling OpenCombine Subscriber.swift
[39/107] Compiling OpenCombine Subscribers.Assign.swift
[40/107] Compiling OpenCombine Subscribers.Completion.swift
[41/107] Compiling OpenCombine Subscribers.Demand.swift
[42/107] Compiling OpenCombine Subscribers.Sink.swift
[43/107] Compiling OpenCombine Subscribers.swift
[44/107] Compiling OpenCombine Subscription.swift
[45/107] Compiling OpenCombine Subscriptions.swift
[46/107] Compiling OpenCombine _Introspection.swift
[47/107] Compiling OpenCombine Empty.swift
[48/107] Compiling OpenCombine Fail.swift
[49/107] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[50/107] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[51/107] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[52/107] Compiling OpenCombine Just.swift
[53/107] Compiling OpenCombine Optional.Publisher.swift
[54/107] Compiling OpenCombine Publishers.AllSatisfy.swift
[55/107] Compiling OpenCombine Publishers.AssertNoFailure.swift
[56/107] Compiling OpenCombine Publishers.Autoconnect.swift
[57/107] Compiling OpenCombine SubscriberTap.swift
[58/107] Compiling OpenCombine SubscriptionStatus.swift
[59/107] Compiling OpenCombine SubscriptionTap.swift
[60/107] Compiling OpenCombine Violations.swift
[61/107] Compiling OpenCombine ImmediateScheduler.swift
[62/107] Compiling OpenCombine ObservableObject.swift
[63/107] Compiling OpenCombine PassthroughSubject.swift
[64/107] Compiling OpenCombine Published.swift
[65/107] Compiling OpenCombine Publisher.swift
[66/107] Compiling OpenCombine Deferred.swift
[67/107] Compiling OpenCombine Publishers.SubscribeOn.swift
[68/107] Compiling OpenCombine Publishers.SwitchToLatest.swift
[69/107] Compiling OpenCombine Publishers.Timeout.swift
[70/107] Compiling OpenCombine Publishers.swift
[71/107] Compiling OpenCombine Record.swift
[72/107] Compiling OpenCombine Result.Publisher.swift
[73/107] Compiling OpenCombine Result.swift
[74/107] Compiling OpenCombine Scheduler.swift
[75/107] Compiling OpenCombine Subject.swift
[76/107] Compiling OpenCombine Publishers.MakeConnectable.swift
[77/107] Compiling OpenCombine Publishers.Map.swift
[78/107] Compiling OpenCombine Publishers.MapError.swift
[79/107] Compiling OpenCombine Publishers.MeasureInterval.swift
[80/107] Compiling OpenCombine Publishers.Multicast.swift
[81/107] Compiling OpenCombine Publishers.Output.swift
[82/107] Compiling OpenCombine Publishers.PrefixWhile.swift
[83/107] Compiling OpenCombine Publishers.Print.swift
[84/107] Compiling OpenCombine Publishers.ReceiveOn.swift
[85/107] Compiling OpenCombine Publishers.Breakpoint.swift
[86/107] Compiling OpenCombine Publishers.Buffer.swift
[87/107] Compiling OpenCombine Publishers.Collect.swift
[88/107] Compiling OpenCombine Publishers.CollectByCount.swift
[89/107] Compiling OpenCombine Publishers.CompactMap.swift
[90/107] Compiling OpenCombine Publishers.Comparison.swift
[91/107] Compiling OpenCombine Publishers.Concatenate.swift
[92/107] Compiling OpenCombine Publishers.Contains.swift
[93/107] Compiling OpenCombine Publishers.Count.swift
[94/107] Compiling OpenCombine Publishers.Debounce.swift
[95/107] Compiling OpenCombine Publishers.Reduce.swift
[96/107] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[97/107] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[98/107] Compiling OpenCombine Publishers.ReplaceError.swift
[99/107] Compiling OpenCombine Publishers.Retry.swift
[100/107] Compiling OpenCombine Publishers.Scan.swift
[101/107] Compiling OpenCombine Publishers.Sequence.swift
[102/107] Compiling OpenCombine Publishers.SetFailureType.swift
[103/107] Compiling OpenCombine Publishers.Share.swift
[104/107] Compiling Logging Locks.swift
[105/107] Compiling Logging Logging.swift
[106/107] Emitting module Logging
[107/107] Compiling Logging LogHandler.swift
[108/109] Emitting module OpenCombineDispatch
[109/109] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[110/125] Compiling Store PushID.swift
/Users/admin/builder/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
[111/125] Compiling Store Store.swift
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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),
/Users/admin/builder/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),
/Users/admin/builder/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),
error: emit-module command failed with exit code 1 (use -v to see invocation)
[112/126] Emitting module Store
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:24:12: warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
22 | /// The infra logger.
23 | /// The output stream can be redirected.
24 | public let logger = Logger(label: "io.store")
   |            `- warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | public final class LoggerMiddleware: Middleware {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:38:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
  36 | ///     logger.info("Hello World!")
  37 | ///
  38 | public struct Logger {
     |               `- note: struct 'Logger' does not conform to the 'Sendable' protocol
  39 |     @usableFromInline
  40 |     var handler: LogHandler
/Users/admin/builder/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logging'
 1 | import Foundation
 2 | import Logging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logging'
 3 | #if canImport(Combine)
 4 | import Combine
   :
22 | /// The infra logger.
23 | /// The output stream can be redirected.
24 | public let logger = Logger(label: "io.store")
   |            |- note: add '@MainActor' to make let 'logger' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public final class LoggerMiddleware: Middleware {
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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),
/Users/admin/builder/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),
/Users/admin/builder/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),
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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.
[113/126] Compiling Store Action.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[114/126] Compiling Store KeyPath+Introspection.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[115/126] Compiling Store TransactionContext.swift
[116/126] Compiling Store Transaction.swift
/Users/admin/builder/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
/Users/admin/builder/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.
[117/126] Compiling Store DictionaryCodable.swift
/Users/admin/builder/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))
/Users/admin/builder/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)
[118/126] Compiling Store Diffing.swift
/Users/admin/builder/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))
/Users/admin/builder/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)
[119/126] Compiling Store CodableStore.swift
/Users/admin/builder/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
[120/126] Compiling Store ModelStorage.swift
/Users/admin/builder/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
[121/126] Compiling Store Executor.swift
/Users/admin/builder/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.
/Users/admin/builder/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
 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
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 44 |       }
 45 |       /// Set the completion handler as dependent from every operation.
/Users/admin/builder/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:43:27: warning: capture of 'error' with non-sendable type 'ErrorStorage' in a '@Sendable' closure
 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
 44 |       }
 45 |       /// Set the completion handler as dependent from every operation.
/Users/admin/builder/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 | }
[122/126] Compiling Store Locking.swift
/Users/admin/builder/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.
/Users/admin/builder/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
 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
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 44 |       }
 45 |       /// Set the completion handler as dependent from every operation.
/Users/admin/builder/spi-builder-workspace/Sources/Store/concurrency/Executor.swift:43:27: warning: capture of 'error' with non-sendable type 'ErrorStorage' in a '@Sendable' closure
 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
 44 |       }
 45 |       /// Set the completion handler as dependent from every operation.
/Users/admin/builder/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 | }
[123/126] Compiling Store Operations.swift
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:24:12: warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
22 | /// The infra logger.
23 | /// The output stream can be redirected.
24 | public let logger = Logger(label: "io.store")
   |            `- warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | public final class LoggerMiddleware: Middleware {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:38:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
  36 | ///     logger.info("Hello World!")
  37 | ///
  38 | public struct Logger {
     |               `- note: struct 'Logger' does not conform to the 'Sendable' protocol
  39 |     @usableFromInline
  40 |     var handler: LogHandler
/Users/admin/builder/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logging'
 1 | import Foundation
 2 | import Logging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logging'
 3 | #if canImport(Combine)
 4 | import Combine
   :
22 | /// The infra logger.
23 | /// The output stream can be redirected.
24 | public let logger = Logger(label: "io.store")
   |            |- note: add '@MainActor' to make let 'logger' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public final class LoggerMiddleware: Middleware {
[124/126] Compiling Store Middleware.swift
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:24:12: warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
22 | /// The infra logger.
23 | /// The output stream can be redirected.
24 | public let logger = Logger(label: "io.store")
   |            `- warning: let 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | public final class LoggerMiddleware: Middleware {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:38:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
  36 | ///     logger.info("Hello World!")
  37 | ///
  38 | public struct Logger {
     |               `- note: struct 'Logger' does not conform to the 'Sendable' protocol
  39 |     @usableFromInline
  40 |     var handler: LogHandler
/Users/admin/builder/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logging'
 1 | import Foundation
 2 | import Logging
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logging'
 3 | #if canImport(Combine)
 4 | import Combine
   :
22 | /// The infra logger.
23 | /// The output stream can be redirected.
24 | public let logger = Logger(label: "io.store")
   |            |- note: add '@MainActor' to make let 'logger' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public final class LoggerMiddleware: Middleware {
[125/126] Compiling Store Signpost.swift
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:30:12: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 |
27 | /// Optional Coalescing for Bindings.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 |   Binding(
30 |     get: { lhs.wrappedValue ?? rhs },
   |            `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 |     set: { lhs.wrappedValue = $0 }
32 |   )
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:30:32: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 |
27 | /// Optional Coalescing for Bindings.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 |   Binding(
30 |     get: { lhs.wrappedValue ?? rhs },
   |                                `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 |     set: { lhs.wrappedValue = $0 }
32 |   )
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:30:32: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 |
27 | /// Optional Coalescing for Bindings.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 |   Binding(
30 |     get: { lhs.wrappedValue ?? rhs },
   |                                `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 |     set: { lhs.wrappedValue = $0 }
32 |   )
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:31:12: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 |
27 | /// Optional Coalescing for Bindings.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 |   Binding(
30 |     get: { lhs.wrappedValue ?? rhs },
31 |     set: { lhs.wrappedValue = $0 }
   |            `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 |   )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:43:14: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
41 |   func onUpdate(_ closure: @escaping () -> Void) -> Binding<Value> {
42 |     Binding(
43 |       get: { wrappedValue },
   |              `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
44 |       set: {
45 |         wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:45:9: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
43 |       get: { wrappedValue },
44 |       set: {
45 |         wrappedValue = $0
   |         `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
46 |         closure()
47 |       })
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:46:9: warning: capture of 'closure' with non-sendable type '() -> Void' in a '@Sendable' closure
44 |       set: {
45 |         wrappedValue = $0
46 |         closure()
   |         |- warning: capture of 'closure' with non-sendable type '() -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 |       })
48 |   }
[126/126] Compiling Store BindingProxy.swift
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:30:12: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 |
27 | /// Optional Coalescing for Bindings.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 |   Binding(
30 |     get: { lhs.wrappedValue ?? rhs },
   |            `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 |     set: { lhs.wrappedValue = $0 }
32 |   )
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:30:32: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 |
27 | /// Optional Coalescing for Bindings.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 |   Binding(
30 |     get: { lhs.wrappedValue ?? rhs },
   |                                `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 |     set: { lhs.wrappedValue = $0 }
32 |   )
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:30:32: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 |
27 | /// Optional Coalescing for Bindings.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 |   Binding(
30 |     get: { lhs.wrappedValue ?? rhs },
   |                                `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 |     set: { lhs.wrappedValue = $0 }
32 |   )
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:31:12: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 |
27 | /// Optional Coalescing for Bindings.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
   |                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 |   Binding(
30 |     get: { lhs.wrappedValue ?? rhs },
31 |     set: { lhs.wrappedValue = $0 }
   |            `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 |   )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:43:14: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
41 |   func onUpdate(_ closure: @escaping () -> Void) -> Binding<Value> {
42 |     Binding(
43 |       get: { wrappedValue },
   |              `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
44 |       set: {
45 |         wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:45:9: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
43 |       get: { wrappedValue },
44 |       set: {
45 |         wrappedValue = $0
   |         `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
46 |         closure()
47 |       })
/Users/admin/builder/spi-builder-workspace/Sources/Store/store/BindingProxy.swift:46:9: warning: capture of 'closure' with non-sendable type '() -> Void' in a '@Sendable' closure
44 |       set: {
45 |         wrappedValue = $0
46 |         closure()
   |         |- warning: capture of 'closure' with non-sendable type '() -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 |       })
48 |   }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/93] Compiling Logging LogHandler.swift
[3/93] Compiling Logging Locks.swift
[4/93] Emitting module Logging
[5/93] Compiling Logging Logging.swift
[6/93] Compiling OpenCombine ConduitBase.swift
[7/93] Compiling OpenCombine ConduitList.swift
[8/93] Compiling OpenCombine DebugHook.swift
[9/93] Compiling OpenCombine FilterProducer.swift
[10/93] Compiling OpenCombine Locking.swift
[11/93] Compiling OpenCombine PartialCompletion.swift
[12/93] Compiling OpenCombine PublishedSubject.swift
[13/93] Compiling OpenCombine PublishedSubscriber.swift
[14/93] Compiling OpenCombine ReduceProducer.swift
[15/93] Compiling OpenCombine SubjectSubscriber.swift
[16/102] Compiling OpenCombine Publishers.MakeConnectable.swift
[17/102] Compiling OpenCombine Publishers.Map.swift
[18/102] Compiling OpenCombine Publishers.MapError.swift
[19/102] Compiling OpenCombine Publishers.MeasureInterval.swift
[20/102] Compiling OpenCombine Publishers.Multicast.swift
[21/102] Compiling OpenCombine Publishers.Output.swift
[22/102] Compiling OpenCombine Publishers.PrefixWhile.swift
[23/102] Compiling OpenCombine Publishers.Print.swift
[24/102] Compiling OpenCombine Publishers.ReceiveOn.swift
[25/102] Compiling OpenCombine Publishers.SubscribeOn.swift
[26/102] Compiling OpenCombine Publishers.SwitchToLatest.swift
[27/102] Compiling OpenCombine Publishers.Timeout.swift
[28/102] Compiling OpenCombine Publishers.swift
[29/102] Compiling OpenCombine Record.swift
[30/102] Compiling OpenCombine Result.Publisher.swift
[31/102] Compiling OpenCombine Result.swift
[32/102] Compiling OpenCombine Scheduler.swift
[33/102] Compiling OpenCombine Subject.swift
[34/102] Compiling OpenCombine Publishers.Breakpoint.swift
[35/102] Compiling OpenCombine Publishers.Buffer.swift
[36/102] Compiling OpenCombine Publishers.Collect.swift
[37/102] Compiling OpenCombine Publishers.CollectByCount.swift
[38/102] Compiling OpenCombine Publishers.CompactMap.swift
[39/102] Compiling OpenCombine Publishers.Comparison.swift
[40/102] Compiling OpenCombine Publishers.Concatenate.swift
[41/102] Compiling OpenCombine Publishers.Contains.swift
[42/102] Compiling OpenCombine Publishers.Count.swift
[43/102] Compiling OpenCombine Publishers.Debounce.swift
[44/102] Compiling OpenCombine Publishers.Delay.swift
[45/102] Compiling OpenCombine Publishers.Drop.swift
[46/102] Compiling OpenCombine Publishers.DropUntilOutput.swift
[47/102] Compiling OpenCombine Publishers.DropWhile.swift
[48/102] Compiling OpenCombine Publishers.Filter.swift
[49/102] Compiling OpenCombine Publishers.First.swift
[50/102] Compiling OpenCombine Publishers.FlatMap.swift
[51/102] Compiling OpenCombine Publishers.HandleEvents.swift
[52/102] Compiling OpenCombine Publishers.IgnoreOutput.swift
[53/102] Compiling OpenCombine Publishers.Last.swift
[54/102] Emitting module OpenCombine
[55/102] Compiling OpenCombine AnyCancellable.swift
[56/102] Compiling OpenCombine AnyPublisher.swift
[57/102] Compiling OpenCombine AnySubscriber.swift
[58/102] Compiling OpenCombine Cancellable.swift
[59/102] Compiling OpenCombine Codable.swift
[60/102] Compiling OpenCombine CombineIdentifier.swift
[61/102] Compiling OpenCombine ConnectablePublisher.swift
[62/102] Compiling OpenCombine CurrentValueSubject.swift
[63/102] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
[64/102] Compiling OpenCombine Future.swift
[65/102] Compiling OpenCombine Publishers.Reduce.swift
[66/102] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[67/102] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[68/102] Compiling OpenCombine Publishers.ReplaceError.swift
[69/102] Compiling OpenCombine Publishers.Retry.swift
[70/102] Compiling OpenCombine Publishers.Scan.swift
[71/102] Compiling OpenCombine Publishers.Sequence.swift
[72/102] Compiling OpenCombine Publishers.SetFailureType.swift
[73/102] Compiling OpenCombine Publishers.Share.swift
[74/102] Compiling OpenCombine SubscriberTap.swift
[75/102] Compiling OpenCombine SubscriptionStatus.swift
[76/102] Compiling OpenCombine SubscriptionTap.swift
[77/102] Compiling OpenCombine Violations.swift
[78/102] Compiling OpenCombine ImmediateScheduler.swift
[79/102] Compiling OpenCombine ObservableObject.swift
[80/102] Compiling OpenCombine PassthroughSubject.swift
[81/102] Compiling OpenCombine Published.swift
[82/102] Compiling OpenCombine Publisher.swift
[83/102] Compiling OpenCombine Deferred.swift
[84/102] Compiling OpenCombine Empty.swift
[85/102] Compiling OpenCombine Fail.swift
[86/102] Compiling OpenCombine GENERATED-Publishers.Catch.swift
[87/102] Compiling OpenCombine GENERATED-Publishers.Encode.swift
[88/102] Compiling OpenCombine GENERATED-Publishers.MapKeyPath.swift
[89/102] Compiling OpenCombine Just.swift
[90/102] Compiling OpenCombine Optional.Publisher.swift
[91/102] Compiling OpenCombine Publishers.AllSatisfy.swift
[92/102] Compiling OpenCombine Publishers.AssertNoFailure.swift
[93/102] Compiling OpenCombine Publishers.Autoconnect.swift
[94/102] Compiling OpenCombine Subscriber.swift
[95/102] Compiling OpenCombine Subscribers.Assign.swift
[96/102] Compiling OpenCombine Subscribers.Completion.swift
[97/102] Compiling OpenCombine Subscribers.Demand.swift
[98/102] Compiling OpenCombine Subscribers.Sink.swift
[99/102] Compiling OpenCombine Subscribers.swift
[100/102] Compiling OpenCombine Subscription.swift
[101/102] Compiling OpenCombine Subscriptions.swift
[102/102] Compiling OpenCombine _Introspection.swift
[103/104] Compiling OpenCombineDispatch DispatchQueue+Scheduler.swift
[104/104] Emitting module OpenCombineDispatch
[105/120] Compiling Store Transaction.swift
/Users/admin/builder/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
[106/121] Compiling Store TransactionContext.swift
[107/121] Compiling Store Operations.swift
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[108/121] Compiling Store Middleware.swift
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
[109/121] Compiling Store PushID.swift
[110/121] Compiling Store Signpost.swift
/Users/admin/builder/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 |
[111/121] Compiling Store BindingProxy.swift
/Users/admin/builder/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 |
[112/121] Compiling Store Store.swift
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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),
/Users/admin/builder/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),
/Users/admin/builder/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),
[113/121] Compiling Store CodableStore.swift
[114/121] Compiling Store ModelStorage.swift
[115/121] Compiling Store Executor.swift
[116/121] Compiling Store Locking.swift
[117/121] Compiling Store DictionaryCodable.swift
/Users/admin/builder/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))
/Users/admin/builder/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)
[118/121] Compiling Store Diffing.swift
/Users/admin/builder/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))
/Users/admin/builder/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)
[119/121] Emitting module Store
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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),
/Users/admin/builder/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),
/Users/admin/builder/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),
/Users/admin/builder/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
[120/121] Compiling Store Action.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[121/121] Compiling Store KeyPath+Introspection.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
BUILD FAILURE 6.1 macosSpm