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

Successful build of Persist, reference master (063637), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 22:41:22 UTC.

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/Persist.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JosephDuffy/Persist
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 063637a Add PrivacyInfo.xcprivacy
Cloned https://github.com/JosephDuffy/Persist.git
Revision (git rev-parse @):
063637a6d0bfadd0e66cad1d98bafb5cc3b28fce
SUCCESS checkout https://github.com/JosephDuffy/Persist.git at master
========================================
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": "persist",
      "name": "Persist",
      "url": "https://github.com/JosephDuffy/Persist.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Persist",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/JosephDuffy/Persist.git
[1/3742] Fetching persist
Fetched https://github.com/JosephDuffy/Persist.git from cache (1.31s)
Creating working copy for https://github.com/JosephDuffy/Persist.git
Working copy of https://github.com/JosephDuffy/Persist.git resolved at master (063637a)
warning: '.resolve-product-dependencies': dependency 'persist' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/JosephDuffy/Persist.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Persist",
  "name" : "Persist",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "Persist",
      "targets" : [
        "Persist"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PersistTests",
      "module_type" : "SwiftTarget",
      "name" : "PersistTests",
      "path" : "Tests/PersistTests",
      "sources" : [
        "AggregateTransformerTests.swift",
        "AnyCancellableTests.swift",
        "CodableStruct.swift",
        "FileManager/FileManagerTests.swift",
        "FileManager/Persisted+FileManagerPropertyWrapperAPITests.swift",
        "FileManager/Persisted+FileManagerTests.swift",
        "FileManager/Persister+FileManagerTests.swift",
        "JSONTransformerTests.swift",
        "MockTransformer.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreAPITests.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorageTests.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreValueTests.swift",
        "NSUbiquitousKeyValueStore/Persisted+NSUbiquitousKeyValueStorePropertyWrapperAPITests.swift",
        "NSUbiquitousKeyValueStore/Persisted+NSUbiquitousKeyValueStoreTests.swift",
        "NSUbiquitousKeyValueStore/Persister+NSUbiquitousKeyValueStoreTests.swift",
        "NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTests.swift",
        "NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTransformerTests.swift",
        "ObservablePersisterTests.swift",
        "PersistStorageTests.swift",
        "PersistedPropertyWrapperAPITests.swift",
        "PersistedTests.swift",
        "PersisterTests.swift",
        "PropertyListTransformerTests.swift",
        "RawRepresentableTransformerTests.swift",
        "SlowStorage.swift",
        "SubscriptionTests.swift",
        "UserDefaults/Persisted+UserDefaultsPropertyWrapperAPITests.swift",
        "UserDefaults/Persisted+UserDefaultsTests.swift",
        "UserDefaults/Persister+UserDefaultsTests.swift",
        "UserDefaults/StorableInUserDefaultsTests.swift",
        "UserDefaults/StorableInUserDefaultsTransformerTests.swift",
        "UserDefaults/UserDefaultsAPITests.swift",
        "UserDefaults/UserDefaultsStorageTests.swift",
        "UserDefaults/UserDefaultsValueTests.swift"
      ],
      "target_dependencies" : [
        "Persist"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Persist",
      "module_type" : "SwiftTarget",
      "name" : "Persist",
      "path" : "Sources/Persist",
      "product_memberships" : [
        "Persist"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Persist/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyCancellable.swift",
        "Cancellable.swift",
        "DefaultValuePersistOption.swift",
        "FileManager/FileManagerStorage.swift",
        "FileManager/Persisted+FileManager.swift",
        "FileManager/Persister+FileManager.swift",
        "InMemoryStorage.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreValue.swift",
        "NSUbiquitousKeyValueStore/Persisted+NSUbiquitousKeyValueStore.swift",
        "NSUbiquitousKeyValueStore/Persister+NSUbiquitousKeyValueStore.swift",
        "NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTransformer.swift",
        "NSUbiquitousKeyValueStore/StorableInUbiquitousKeyValueStore.swift",
        "ObservablePersister.swift",
        "PersistStorage.swift",
        "Persisted.swift",
        "PersistenceError.swift",
        "Persister.swift",
        "Storage.swift",
        "Subscription.swift",
        "Transformer/AggregateTransformer.swift",
        "Transformer/JSONTransformer.swift",
        "Transformer/PropertyListTransformer.swift",
        "Transformer/RawRepresentableTransformer.swift",
        "Transformer/Transformer.swift",
        "UserDefaults/Persisted+UserDefaults.swift",
        "UserDefaults/Persister+UserDefaults.swift",
        "UserDefaults/StorableInUserDefaults.swift",
        "UserDefaults/StorableInUserDefaultsTransformer.swift",
        "UserDefaults/UserDefaultsStorage.swift",
        "UserDefaults/UserDefaultsValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/33] Emitting module Persist
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:5:23: warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
 5 |     public static let persistWhenNil = DefaultValuePersistOption(rawValue: 1 << 0)
   |                       |- warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistWhenNil' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:8:23: warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
 8 |     public static let persistOnError = DefaultValuePersistOption(rawValue: 1 << 1)
   |                       |- warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistOnError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:11:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
11 |     public static let all: DefaultValuePersistOption = [.persistWhenNil, .persistOnError]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     /// The raw value of the option set.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:12:38: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |     /// Returns the default singleton instance.
12 |     internal private(set) static var `default` = FileManagerStorage(fileManager: .default)
   |                                      |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                      |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                                      |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     private let fileManager: FileManager
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTransformer.swift:7:13: warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInNSUbiquitousKeyValueStoreConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 3 |  A transformer that transforms between a `StorableInNSUbiquitousKeyValueStore` value and `NSUbiquitousKeyValueStoreValue`.
 4 |  */
 5 | internal struct StorableInNSUbiquitousKeyValueStoreTransformer<Input: StorableInNSUbiquitousKeyValueStore>: Transformer {
   |                                                                `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
 6 |     struct InternalStorableInNSUbiquitousKeyValueStoreConformanceError: Error, CustomStringConvertible {
 7 |         let conformedValue: Input
   |             `- warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInNSUbiquitousKeyValueStoreConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 8 |
 9 |         var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:34:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |     private var observableObject: ObservablePersister<Value>
36 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistenceError.swift:8:10: warning: associated value 'unexpectedValueType(value:expected:)' of 'Sendable'-conforming enum 'PersistenceError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 6 |      A value was provided, but it was not of the expected type.
 7 |      */
 8 |     case unexpectedValueType(value: Any, expected: Any.Type)
   |          `- warning: associated value 'unexpectedValueType(value:expected:)' of 'Sendable'-conforming enum 'PersistenceError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Persist/Transformer/RawRepresentableTransformer.swift:10:14: warning: associated value 'invalidRawValue' of 'Sendable'-conforming enum 'UntransformError' has non-sendable type 'Type.RawValue'; this is an error in the Swift 6 language mode
 8 |     public enum UntransformError: LocalizedError {
 9 |         /// The raw value could not be used to construct a value of `Type`.
10 |         case invalidRawValue(Type.RawValue)
   |              `- warning: associated value 'invalidRawValue' of 'Sendable'-conforming enum 'UntransformError' has non-sendable type 'Type.RawValue'; this is an error in the Swift 6 language mode
11 |
12 |         public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/Persist/UserDefaults/StorableInUserDefaultsTransformer.swift:7:13: warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInUserDefaultsConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 3 |  A transformer that transforms between a `StorableInUserDefaults` value and `UserDefaultsValue`.
 4 |  */
 5 | internal struct StorableInUserDefaultsTransformer<Input: StorableInUserDefaults>: Transformer {
   |                                                   `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
 6 |     struct InternalStorableInUserDefaultsConformanceError: Error, CustomStringConvertible {
 7 |         let conformedValue: Input
   |             `- warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInUserDefaultsConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 8 |
 9 |         var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/Persist/UserDefaults/UserDefaultsStorage.swift:11:28: warning: static property 'suppressDotInKeyWarning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |     /// A property that – when set to `true` – will suppress the message warning of the downsides of
 10 |     /// using `UserDefaults` keys with a dot (`.`) in them.
 11 |     fileprivate static var suppressDotInKeyWarning = false
    |                            |- warning: static property 'suppressDotInKeyWarning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'suppressDotInKeyWarning' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'suppressDotInKeyWarning' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     /// The value type the `UserDefaultsStorage` can store.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:34:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
   |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
   |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
35 |     private var observableObject: ObservablePersister<Value>
36 |
[5/36] Compiling Persist AnyCancellable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:5:23: warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
 5 |     public static let persistWhenNil = DefaultValuePersistOption(rawValue: 1 << 0)
   |                       |- warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistWhenNil' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:8:23: warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
 8 |     public static let persistOnError = DefaultValuePersistOption(rawValue: 1 << 1)
   |                       |- warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistOnError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:11:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
11 |     public static let all: DefaultValuePersistOption = [.persistWhenNil, .persistOnError]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     /// The raw value of the option set.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:12:38: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |     /// Returns the default singleton instance.
12 |     internal private(set) static var `default` = FileManagerStorage(fileManager: .default)
   |                                      |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                      |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                                      |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     private let fileManager: FileManager
[6/36] Compiling Persist Cancellable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:5:23: warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
 5 |     public static let persistWhenNil = DefaultValuePersistOption(rawValue: 1 << 0)
   |                       |- warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistWhenNil' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:8:23: warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
 8 |     public static let persistOnError = DefaultValuePersistOption(rawValue: 1 << 1)
   |                       |- warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistOnError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:11:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
11 |     public static let all: DefaultValuePersistOption = [.persistWhenNil, .persistOnError]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     /// The raw value of the option set.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:12:38: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |     /// Returns the default singleton instance.
12 |     internal private(set) static var `default` = FileManagerStorage(fileManager: .default)
   |                                      |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                      |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                                      |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     private let fileManager: FileManager
[7/36] Compiling Persist DefaultValuePersistOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:5:23: warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
 5 |     public static let persistWhenNil = DefaultValuePersistOption(rawValue: 1 << 0)
   |                       |- warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistWhenNil' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:8:23: warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
 8 |     public static let persistOnError = DefaultValuePersistOption(rawValue: 1 << 1)
   |                       |- warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistOnError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:11:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
11 |     public static let all: DefaultValuePersistOption = [.persistWhenNil, .persistOnError]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     /// The raw value of the option set.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:12:38: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |     /// Returns the default singleton instance.
12 |     internal private(set) static var `default` = FileManagerStorage(fileManager: .default)
   |                                      |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                      |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                                      |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     private let fileManager: FileManager
[8/36] Compiling Persist FileManagerStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:5:23: warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
 5 |     public static let persistWhenNil = DefaultValuePersistOption(rawValue: 1 << 0)
   |                       |- warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistWhenNil' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:8:23: warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
 8 |     public static let persistOnError = DefaultValuePersistOption(rawValue: 1 << 1)
   |                       |- warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistOnError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:11:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
11 |     public static let all: DefaultValuePersistOption = [.persistWhenNil, .persistOnError]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     /// The raw value of the option set.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:12:38: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |     /// Returns the default singleton instance.
12 |     internal private(set) static var `default` = FileManagerStorage(fileManager: .default)
   |                                      |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                      |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                                      |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     private let fileManager: FileManager
[9/36] Compiling Persist Persisted+FileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift:88:30: warning: capture of 'self' with non-sendable type 'NSUbiquitousKeyValueStoreStorage?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 |  A `Storage` wrapper around an `NSUbiquitousKeyValueStore` instance.
  6 |  */
  7 | internal final class NSUbiquitousKeyValueStoreStorage: Storage {
    |                      `- note: class 'NSUbiquitousKeyValueStoreStorage' does not conform to the 'Sendable' protocol
  8 |
  9 |     /// The value type the `NSUbiquitousKeyValueStoreStorage` can store.
    :
 86 |             queue: nil
 87 |         ) { [weak self] notification in
 88 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'NSUbiquitousKeyValueStoreStorage?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 |             guard let keys = notification.userInfo?[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String] else { return }
 90 |             guard keys.contains(key) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift:93:13: warning: capture of 'updateListener' with non-sendable type 'NSUbiquitousKeyValueStoreStorage.UpdateListener' (aka '(Optional<NSUbiquitousKeyValueStoreValue>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |
 92 |             let newValue = self.retrieveValue(for: key)
 93 |             updateListener(newValue)
    |             |- warning: capture of 'updateListener' with non-sendable type 'NSUbiquitousKeyValueStoreStorage.UpdateListener' (aka '(Optional<NSUbiquitousKeyValueStoreValue>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 94 |         }
 95 |
[10/36] Compiling Persist Persister+FileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift:88:30: warning: capture of 'self' with non-sendable type 'NSUbiquitousKeyValueStoreStorage?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 |  A `Storage` wrapper around an `NSUbiquitousKeyValueStore` instance.
  6 |  */
  7 | internal final class NSUbiquitousKeyValueStoreStorage: Storage {
    |                      `- note: class 'NSUbiquitousKeyValueStoreStorage' does not conform to the 'Sendable' protocol
  8 |
  9 |     /// The value type the `NSUbiquitousKeyValueStoreStorage` can store.
    :
 86 |             queue: nil
 87 |         ) { [weak self] notification in
 88 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'NSUbiquitousKeyValueStoreStorage?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 |             guard let keys = notification.userInfo?[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String] else { return }
 90 |             guard keys.contains(key) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift:93:13: warning: capture of 'updateListener' with non-sendable type 'NSUbiquitousKeyValueStoreStorage.UpdateListener' (aka '(Optional<NSUbiquitousKeyValueStoreValue>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |
 92 |             let newValue = self.retrieveValue(for: key)
 93 |             updateListener(newValue)
    |             |- warning: capture of 'updateListener' with non-sendable type 'NSUbiquitousKeyValueStoreStorage.UpdateListener' (aka '(Optional<NSUbiquitousKeyValueStoreValue>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 94 |         }
 95 |
[11/36] Compiling Persist InMemoryStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift:88:30: warning: capture of 'self' with non-sendable type 'NSUbiquitousKeyValueStoreStorage?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 |  A `Storage` wrapper around an `NSUbiquitousKeyValueStore` instance.
  6 |  */
  7 | internal final class NSUbiquitousKeyValueStoreStorage: Storage {
    |                      `- note: class 'NSUbiquitousKeyValueStoreStorage' does not conform to the 'Sendable' protocol
  8 |
  9 |     /// The value type the `NSUbiquitousKeyValueStoreStorage` can store.
    :
 86 |             queue: nil
 87 |         ) { [weak self] notification in
 88 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'NSUbiquitousKeyValueStoreStorage?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 |             guard let keys = notification.userInfo?[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String] else { return }
 90 |             guard keys.contains(key) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift:93:13: warning: capture of 'updateListener' with non-sendable type 'NSUbiquitousKeyValueStoreStorage.UpdateListener' (aka '(Optional<NSUbiquitousKeyValueStoreValue>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |
 92 |             let newValue = self.retrieveValue(for: key)
 93 |             updateListener(newValue)
    |             |- warning: capture of 'updateListener' with non-sendable type 'NSUbiquitousKeyValueStoreStorage.UpdateListener' (aka '(Optional<NSUbiquitousKeyValueStoreValue>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 94 |         }
 95 |
[12/36] Compiling Persist NSUbiquitousKeyValueStoreStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift:88:30: warning: capture of 'self' with non-sendable type 'NSUbiquitousKeyValueStoreStorage?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 |  A `Storage` wrapper around an `NSUbiquitousKeyValueStore` instance.
  6 |  */
  7 | internal final class NSUbiquitousKeyValueStoreStorage: Storage {
    |                      `- note: class 'NSUbiquitousKeyValueStoreStorage' does not conform to the 'Sendable' protocol
  8 |
  9 |     /// The value type the `NSUbiquitousKeyValueStoreStorage` can store.
    :
 86 |             queue: nil
 87 |         ) { [weak self] notification in
 88 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'NSUbiquitousKeyValueStoreStorage?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 89 |             guard let keys = notification.userInfo?[NSUbiquitousKeyValueStoreChangedKeysKey] as? [String] else { return }
 90 |             guard keys.contains(key) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift:93:13: warning: capture of 'updateListener' with non-sendable type 'NSUbiquitousKeyValueStoreStorage.UpdateListener' (aka '(Optional<NSUbiquitousKeyValueStoreValue>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |
 92 |             let newValue = self.retrieveValue(for: key)
 93 |             updateListener(newValue)
    |             |- warning: capture of 'updateListener' with non-sendable type 'NSUbiquitousKeyValueStoreStorage.UpdateListener' (aka '(Optional<NSUbiquitousKeyValueStoreValue>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 94 |         }
 95 |
[13/36] Compiling Persist UserDefaultsStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/UserDefaults/UserDefaultsStorage.swift:11:28: warning: static property 'suppressDotInKeyWarning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |     /// A property that – when set to `true` – will suppress the message warning of the downsides of
 10 |     /// using `UserDefaults` keys with a dot (`.`) in them.
 11 |     fileprivate static var suppressDotInKeyWarning = false
    |                            |- warning: static property 'suppressDotInKeyWarning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'suppressDotInKeyWarning' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'suppressDotInKeyWarning' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     /// The value type the `UserDefaultsStorage` can store.
[14/36] Compiling Persist UserDefaultsValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/UserDefaults/UserDefaultsStorage.swift:11:28: warning: static property 'suppressDotInKeyWarning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |     /// A property that – when set to `true` – will suppress the message warning of the downsides of
 10 |     /// using `UserDefaults` keys with a dot (`.`) in them.
 11 |     fileprivate static var suppressDotInKeyWarning = false
    |                            |- warning: static property 'suppressDotInKeyWarning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'suppressDotInKeyWarning' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'suppressDotInKeyWarning' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     /// The value type the `UserDefaultsStorage` can store.
[15/36] Compiling Persist resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/UserDefaults/UserDefaultsStorage.swift:11:28: warning: static property 'suppressDotInKeyWarning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |     /// A property that – when set to `true` – will suppress the message warning of the downsides of
 10 |     /// using `UserDefaults` keys with a dot (`.`) in them.
 11 |     fileprivate static var suppressDotInKeyWarning = false
    |                            |- warning: static property 'suppressDotInKeyWarning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'suppressDotInKeyWarning' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'suppressDotInKeyWarning' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     /// The value type the `UserDefaultsStorage` can store.
[16/36] Compiling Persist NSUbiquitousKeyValueStoreValue.swift
[17/36] Compiling Persist Persisted+NSUbiquitousKeyValueStore.swift
[18/36] Compiling Persist Persister+NSUbiquitousKeyValueStore.swift
[19/36] Compiling Persist Persister.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:8:23: warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
 8 |     public static let persistOnError = DefaultValuePersistOption(rawValue: 1 << 1)
   |                       |- warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistOnError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:5:23: warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
 5 |     public static let persistWhenNil = DefaultValuePersistOption(rawValue: 1 << 0)
   |                       |- warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistWhenNil' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
[20/36] Compiling Persist Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:8:23: warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
 8 |     public static let persistOnError = DefaultValuePersistOption(rawValue: 1 << 1)
   |                       |- warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistOnError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:5:23: warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
 5 |     public static let persistWhenNil = DefaultValuePersistOption(rawValue: 1 << 0)
   |                       |- warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistWhenNil' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
[21/36] Compiling Persist Subscription.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:8:23: warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
   :
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
 8 |     public static let persistOnError = DefaultValuePersistOption(rawValue: 1 << 1)
   |                       |- warning: static property 'persistOnError' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistOnError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     /// Persist the default value when the `Persister` returns `nil` or throws and error.
/Users/admin/builder/spi-builder-workspace/Sources/Persist/DefaultValuePersistOption.swift:5:23: warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// An option to persist the default value when returned by a `Persister`.
 2 | public struct DefaultValuePersistOption: OptionSet {
   |               `- note: consider making struct 'DefaultValuePersistOption' conform to the 'Sendable' protocol
 3 |
 4 |     /// Persist the default value when the stored value is `nil`.
 5 |     public static let persistWhenNil = DefaultValuePersistOption(rawValue: 1 << 0)
   |                       |- warning: static property 'persistWhenNil' is not concurrency-safe because non-'Sendable' type 'DefaultValuePersistOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'persistWhenNil' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     /// Persist the default value when an error is thrown when trying to retrieve a value.
[22/36] Compiling Persist Persister+UserDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/UserDefaults/StorableInUserDefaultsTransformer.swift:7:13: warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInUserDefaultsConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 3 |  A transformer that transforms between a `StorableInUserDefaults` value and `UserDefaultsValue`.
 4 |  */
 5 | internal struct StorableInUserDefaultsTransformer<Input: StorableInUserDefaults>: Transformer {
   |                                                   `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
 6 |     struct InternalStorableInUserDefaultsConformanceError: Error, CustomStringConvertible {
 7 |         let conformedValue: Input
   |             `- warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInUserDefaultsConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 8 |
 9 |         var description: String {
[23/36] Compiling Persist StorableInUserDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/UserDefaults/StorableInUserDefaultsTransformer.swift:7:13: warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInUserDefaultsConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 3 |  A transformer that transforms between a `StorableInUserDefaults` value and `UserDefaultsValue`.
 4 |  */
 5 | internal struct StorableInUserDefaultsTransformer<Input: StorableInUserDefaults>: Transformer {
   |                                                   `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
 6 |     struct InternalStorableInUserDefaultsConformanceError: Error, CustomStringConvertible {
 7 |         let conformedValue: Input
   |             `- warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInUserDefaultsConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 8 |
 9 |         var description: String {
[24/36] Compiling Persist StorableInUserDefaultsTransformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/UserDefaults/StorableInUserDefaultsTransformer.swift:7:13: warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInUserDefaultsConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 3 |  A transformer that transforms between a `StorableInUserDefaults` value and `UserDefaultsValue`.
 4 |  */
 5 | internal struct StorableInUserDefaultsTransformer<Input: StorableInUserDefaults>: Transformer {
   |                                                   `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
 6 |     struct InternalStorableInUserDefaultsConformanceError: Error, CustomStringConvertible {
 7 |         let conformedValue: Input
   |             `- warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInUserDefaultsConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 8 |
 9 |         var description: String {
[25/36] Compiling Persist AggregateTransformer.swift
[26/36] Compiling Persist JSONTransformer.swift
[27/36] Compiling Persist PropertyListTransformer.swift
[28/36] Compiling Persist RawRepresentableTransformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/Transformer/RawRepresentableTransformer.swift:10:14: warning: associated value 'invalidRawValue' of 'Sendable'-conforming enum 'UntransformError' has non-sendable type 'Type.RawValue'; this is an error in the Swift 6 language mode
 8 |     public enum UntransformError: LocalizedError {
 9 |         /// The raw value could not be used to construct a value of `Type`.
10 |         case invalidRawValue(Type.RawValue)
   |              `- warning: associated value 'invalidRawValue' of 'Sendable'-conforming enum 'UntransformError' has non-sendable type 'Type.RawValue'; this is an error in the Swift 6 language mode
11 |
12 |         public var errorDescription: String? {
[29/36] Compiling Persist Transformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/Transformer/RawRepresentableTransformer.swift:10:14: warning: associated value 'invalidRawValue' of 'Sendable'-conforming enum 'UntransformError' has non-sendable type 'Type.RawValue'; this is an error in the Swift 6 language mode
 8 |     public enum UntransformError: LocalizedError {
 9 |         /// The raw value could not be used to construct a value of `Type`.
10 |         case invalidRawValue(Type.RawValue)
   |              `- warning: associated value 'invalidRawValue' of 'Sendable'-conforming enum 'UntransformError' has non-sendable type 'Type.RawValue'; this is an error in the Swift 6 language mode
11 |
12 |         public var errorDescription: String? {
[30/36] Compiling Persist Persisted+UserDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/Transformer/RawRepresentableTransformer.swift:10:14: warning: associated value 'invalidRawValue' of 'Sendable'-conforming enum 'UntransformError' has non-sendable type 'Type.RawValue'; this is an error in the Swift 6 language mode
 8 |     public enum UntransformError: LocalizedError {
 9 |         /// The raw value could not be used to construct a value of `Type`.
10 |         case invalidRawValue(Type.RawValue)
   |              `- warning: associated value 'invalidRawValue' of 'Sendable'-conforming enum 'UntransformError' has non-sendable type 'Type.RawValue'; this is an error in the Swift 6 language mode
11 |
12 |         public var errorDescription: String? {
[31/36] Compiling Persist StorableInNSUbiquitousKeyValueStoreTransformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTransformer.swift:7:13: warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInNSUbiquitousKeyValueStoreConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 3 |  A transformer that transforms between a `StorableInNSUbiquitousKeyValueStore` value and `NSUbiquitousKeyValueStoreValue`.
 4 |  */
 5 | internal struct StorableInNSUbiquitousKeyValueStoreTransformer<Input: StorableInNSUbiquitousKeyValueStore>: Transformer {
   |                                                                `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
 6 |     struct InternalStorableInNSUbiquitousKeyValueStoreConformanceError: Error, CustomStringConvertible {
 7 |         let conformedValue: Input
   |             `- warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInNSUbiquitousKeyValueStoreConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 8 |
 9 |         var description: String {
[32/36] Compiling Persist StorableInUbiquitousKeyValueStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTransformer.swift:7:13: warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInNSUbiquitousKeyValueStoreConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 3 |  A transformer that transforms between a `StorableInNSUbiquitousKeyValueStore` value and `NSUbiquitousKeyValueStoreValue`.
 4 |  */
 5 | internal struct StorableInNSUbiquitousKeyValueStoreTransformer<Input: StorableInNSUbiquitousKeyValueStore>: Transformer {
   |                                                                `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
 6 |     struct InternalStorableInNSUbiquitousKeyValueStoreConformanceError: Error, CustomStringConvertible {
 7 |         let conformedValue: Input
   |             `- warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInNSUbiquitousKeyValueStoreConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 8 |
 9 |         var description: String {
[33/36] Compiling Persist ObservablePersister.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTransformer.swift:7:13: warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInNSUbiquitousKeyValueStoreConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 3 |  A transformer that transforms between a `StorableInNSUbiquitousKeyValueStore` value and `NSUbiquitousKeyValueStoreValue`.
 4 |  */
 5 | internal struct StorableInNSUbiquitousKeyValueStoreTransformer<Input: StorableInNSUbiquitousKeyValueStore>: Transformer {
   |                                                                `- note: consider making generic parameter 'Input' conform to the 'Sendable' protocol
 6 |     struct InternalStorableInNSUbiquitousKeyValueStoreConformanceError: Error, CustomStringConvertible {
 7 |         let conformedValue: Input
   |             `- warning: stored property 'conformedValue' of 'Sendable'-conforming struct 'InternalStorableInNSUbiquitousKeyValueStoreConformanceError' has non-sendable type 'Input'; this is an error in the Swift 6 language mode
 8 |
 9 |         var description: String {
[34/36] Compiling Persist PersistStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:34:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |     private var observableObject: ObservablePersister<Value>
36 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:11:15: warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 9 | public struct PersistStorage<Value>: DynamicProperty {
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   |               `- warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
12 |         nonmutating set {
13 |             try? observableObject.persister.persist(newValue)
   :
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: property declared here
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:13:18: warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |         get { observableObject.value }
12 |         nonmutating set {
13 |             try? observableObject.persister.persist(newValue)
   |                  `- warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |         }
15 |     }
   :
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: property declared here
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:20:20: warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 7 | @available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
 8 | @propertyWrapper
 9 | public struct PersistStorage<Value>: DynamicProperty {
   |               `- note: consider making generic struct 'PersistStorage' conform to the 'Sendable' protocol
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   :
18 |     public var projectedValue: Binding<Value> {
19 |         Binding(
20 |             get: { self.wrappedValue },
   |                    `- warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |             set: { value, transaction in
22 |                 withTransaction(transaction) {
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:23:21: warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 7 | @available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
 8 | @propertyWrapper
 9 | public struct PersistStorage<Value>: DynamicProperty {
   |               `- note: consider making generic struct 'PersistStorage' conform to the 'Sendable' protocol
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   :
21 |             set: { value, transaction in
22 |                 withTransaction(transaction) {
23 |                     self.wrappedValue = value
   |                     `- warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |                 }
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:23:21: warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in an isolated closure; this is an error in the Swift 6 language mode
 7 | @available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
 8 | @propertyWrapper
 9 | public struct PersistStorage<Value>: DynamicProperty {
   |               `- note: consider making generic struct 'PersistStorage' conform to the 'Sendable' protocol
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   :
21 |             set: { value, transaction in
22 |                 withTransaction(transaction) {
23 |                     self.wrappedValue = value
   |                     `- warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in an isolated closure; this is an error in the Swift 6 language mode
24 |                 }
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:31:9: warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |     /// The ``Persister`` used to persist and retrieve the stored value.
30 |     public var persister: Persister<Value> {
31 |         observableObject.persister
   |         `- warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: property declared here
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:42:9: warning: main actor-isolated property 'observableObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: mutation of this property is only permitted within the actor
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
   :
40 |     /// - parameter persister: The ``Persister`` used to persist and retrieve the stored value.
41 |     public init(persister: Persister<Value>) {
42 |         observableObject = ObservablePersister(persister: persister)
   |         `- warning: main actor-isolated property 'observableObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistenceError.swift:8:10: warning: associated value 'unexpectedValueType(value:expected:)' of 'Sendable'-conforming enum 'PersistenceError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 6 |      A value was provided, but it was not of the expected type.
 7 |      */
 8 |     case unexpectedValueType(value: Any, expected: Any.Type)
   |          `- warning: associated value 'unexpectedValueType(value:expected:)' of 'Sendable'-conforming enum 'PersistenceError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:34:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
   |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
   |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
35 |     private var observableObject: ObservablePersister<Value>
36 |
[35/36] Compiling Persist Persisted.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:34:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |     private var observableObject: ObservablePersister<Value>
36 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:11:15: warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 9 | public struct PersistStorage<Value>: DynamicProperty {
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   |               `- warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
12 |         nonmutating set {
13 |             try? observableObject.persister.persist(newValue)
   :
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: property declared here
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:13:18: warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |         get { observableObject.value }
12 |         nonmutating set {
13 |             try? observableObject.persister.persist(newValue)
   |                  `- warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |         }
15 |     }
   :
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: property declared here
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:20:20: warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 7 | @available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
 8 | @propertyWrapper
 9 | public struct PersistStorage<Value>: DynamicProperty {
   |               `- note: consider making generic struct 'PersistStorage' conform to the 'Sendable' protocol
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   :
18 |     public var projectedValue: Binding<Value> {
19 |         Binding(
20 |             get: { self.wrappedValue },
   |                    `- warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |             set: { value, transaction in
22 |                 withTransaction(transaction) {
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:23:21: warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 7 | @available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
 8 | @propertyWrapper
 9 | public struct PersistStorage<Value>: DynamicProperty {
   |               `- note: consider making generic struct 'PersistStorage' conform to the 'Sendable' protocol
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   :
21 |             set: { value, transaction in
22 |                 withTransaction(transaction) {
23 |                     self.wrappedValue = value
   |                     `- warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |                 }
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:23:21: warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in an isolated closure; this is an error in the Swift 6 language mode
 7 | @available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
 8 | @propertyWrapper
 9 | public struct PersistStorage<Value>: DynamicProperty {
   |               `- note: consider making generic struct 'PersistStorage' conform to the 'Sendable' protocol
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   :
21 |             set: { value, transaction in
22 |                 withTransaction(transaction) {
23 |                     self.wrappedValue = value
   |                     `- warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in an isolated closure; this is an error in the Swift 6 language mode
24 |                 }
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:31:9: warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |     /// The ``Persister`` used to persist and retrieve the stored value.
30 |     public var persister: Persister<Value> {
31 |         observableObject.persister
   |         `- warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: property declared here
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:42:9: warning: main actor-isolated property 'observableObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: mutation of this property is only permitted within the actor
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
   :
40 |     /// - parameter persister: The ``Persister`` used to persist and retrieve the stored value.
41 |     public init(persister: Persister<Value>) {
42 |         observableObject = ObservablePersister(persister: persister)
   |         `- warning: main actor-isolated property 'observableObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistenceError.swift:8:10: warning: associated value 'unexpectedValueType(value:expected:)' of 'Sendable'-conforming enum 'PersistenceError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 6 |      A value was provided, but it was not of the expected type.
 7 |      */
 8 |     case unexpectedValueType(value: Any, expected: Any.Type)
   |          `- warning: associated value 'unexpectedValueType(value:expected:)' of 'Sendable'-conforming enum 'PersistenceError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:34:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
   |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
   |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
35 |     private var observableObject: ObservablePersister<Value>
36 |
[36/36] Compiling Persist PersistenceError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:34:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |     private var observableObject: ObservablePersister<Value>
36 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:11:15: warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 9 | public struct PersistStorage<Value>: DynamicProperty {
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   |               `- warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
12 |         nonmutating set {
13 |             try? observableObject.persister.persist(newValue)
   :
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: property declared here
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:13:18: warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |         get { observableObject.value }
12 |         nonmutating set {
13 |             try? observableObject.persister.persist(newValue)
   |                  `- warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |         }
15 |     }
   :
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: property declared here
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:20:20: warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 7 | @available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
 8 | @propertyWrapper
 9 | public struct PersistStorage<Value>: DynamicProperty {
   |               `- note: consider making generic struct 'PersistStorage' conform to the 'Sendable' protocol
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   :
18 |     public var projectedValue: Binding<Value> {
19 |         Binding(
20 |             get: { self.wrappedValue },
   |                    `- warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |             set: { value, transaction in
22 |                 withTransaction(transaction) {
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:23:21: warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 7 | @available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
 8 | @propertyWrapper
 9 | public struct PersistStorage<Value>: DynamicProperty {
   |               `- note: consider making generic struct 'PersistStorage' conform to the 'Sendable' protocol
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   :
21 |             set: { value, transaction in
22 |                 withTransaction(transaction) {
23 |                     self.wrappedValue = value
   |                     `- warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |                 }
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:23:21: warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in an isolated closure; this is an error in the Swift 6 language mode
 7 | @available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
 8 | @propertyWrapper
 9 | public struct PersistStorage<Value>: DynamicProperty {
   |               `- note: consider making generic struct 'PersistStorage' conform to the 'Sendable' protocol
10 |     public var wrappedValue: Value {
11 |         get { observableObject.value }
   :
21 |             set: { value, transaction in
22 |                 withTransaction(transaction) {
23 |                     self.wrappedValue = value
   |                     `- warning: capture of 'self' with non-sendable type 'PersistStorage<Value>' in an isolated closure; this is an error in the Swift 6 language mode
24 |                 }
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:31:9: warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |     /// The ``Persister`` used to persist and retrieve the stored value.
30 |     public var persister: Persister<Value> {
31 |         observableObject.persister
   |         `- warning: main actor-isolated property 'observableObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: property declared here
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:42:9: warning: main actor-isolated property 'observableObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 |
34 |     @ObservedObject
35 |     private var observableObject: ObservablePersister<Value>
   |                 `- note: mutation of this property is only permitted within the actor
36 |
37 |     /// Create a new ``PersistStorage`` using the provided persister to
   :
40 |     /// - parameter persister: The ``Persister`` used to persist and retrieve the stored value.
41 |     public init(persister: Persister<Value>) {
42 |         observableObject = ObservablePersister(persister: persister)
   |         `- warning: main actor-isolated property 'observableObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
43 |     }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistenceError.swift:8:10: warning: associated value 'unexpectedValueType(value:expected:)' of 'Sendable'-conforming enum 'PersistenceError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 6 |      A value was provided, but it was not of the expected type.
 7 |      */
 8 |     case unexpectedValueType(value: Any, expected: Any.Type)
   |          `- warning: associated value 'unexpectedValueType(value:expected:)' of 'Sendable'-conforming enum 'PersistenceError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Persist/PersistStorage.swift:34:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
32 |     }
33 |
34 |     @ObservedObject
   |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
   |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
35 |     private var observableObject: ObservablePersister<Value>
36 |
Build complete! (20.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Persist",
  "name" : "Persist",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "Persist",
      "targets" : [
        "Persist"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PersistTests",
      "module_type" : "SwiftTarget",
      "name" : "PersistTests",
      "path" : "Tests/PersistTests",
      "sources" : [
        "AggregateTransformerTests.swift",
        "AnyCancellableTests.swift",
        "CodableStruct.swift",
        "FileManager/FileManagerTests.swift",
        "FileManager/Persisted+FileManagerPropertyWrapperAPITests.swift",
        "FileManager/Persisted+FileManagerTests.swift",
        "FileManager/Persister+FileManagerTests.swift",
        "JSONTransformerTests.swift",
        "MockTransformer.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreAPITests.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorageTests.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreValueTests.swift",
        "NSUbiquitousKeyValueStore/Persisted+NSUbiquitousKeyValueStorePropertyWrapperAPITests.swift",
        "NSUbiquitousKeyValueStore/Persisted+NSUbiquitousKeyValueStoreTests.swift",
        "NSUbiquitousKeyValueStore/Persister+NSUbiquitousKeyValueStoreTests.swift",
        "NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTests.swift",
        "NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTransformerTests.swift",
        "ObservablePersisterTests.swift",
        "PersistStorageTests.swift",
        "PersistedPropertyWrapperAPITests.swift",
        "PersistedTests.swift",
        "PersisterTests.swift",
        "PropertyListTransformerTests.swift",
        "RawRepresentableTransformerTests.swift",
        "SlowStorage.swift",
        "SubscriptionTests.swift",
        "UserDefaults/Persisted+UserDefaultsPropertyWrapperAPITests.swift",
        "UserDefaults/Persisted+UserDefaultsTests.swift",
        "UserDefaults/Persister+UserDefaultsTests.swift",
        "UserDefaults/StorableInUserDefaultsTests.swift",
        "UserDefaults/StorableInUserDefaultsTransformerTests.swift",
        "UserDefaults/UserDefaultsAPITests.swift",
        "UserDefaults/UserDefaultsStorageTests.swift",
        "UserDefaults/UserDefaultsValueTests.swift"
      ],
      "target_dependencies" : [
        "Persist"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Persist",
      "module_type" : "SwiftTarget",
      "name" : "Persist",
      "path" : "Sources/Persist",
      "product_memberships" : [
        "Persist"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Persist/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyCancellable.swift",
        "Cancellable.swift",
        "DefaultValuePersistOption.swift",
        "FileManager/FileManagerStorage.swift",
        "FileManager/Persisted+FileManager.swift",
        "FileManager/Persister+FileManager.swift",
        "InMemoryStorage.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreStorage.swift",
        "NSUbiquitousKeyValueStore/NSUbiquitousKeyValueStoreValue.swift",
        "NSUbiquitousKeyValueStore/Persisted+NSUbiquitousKeyValueStore.swift",
        "NSUbiquitousKeyValueStore/Persister+NSUbiquitousKeyValueStore.swift",
        "NSUbiquitousKeyValueStore/StorableInNSUbiquitousKeyValueStoreTransformer.swift",
        "NSUbiquitousKeyValueStore/StorableInUbiquitousKeyValueStore.swift",
        "ObservablePersister.swift",
        "PersistStorage.swift",
        "Persisted.swift",
        "PersistenceError.swift",
        "Persister.swift",
        "Storage.swift",
        "Subscription.swift",
        "Transformer/AggregateTransformer.swift",
        "Transformer/JSONTransformer.swift",
        "Transformer/PropertyListTransformer.swift",
        "Transformer/RawRepresentableTransformer.swift",
        "Transformer/Transformer.swift",
        "UserDefaults/Persisted+UserDefaults.swift",
        "UserDefaults/Persister+UserDefaults.swift",
        "UserDefaults/StorableInUserDefaults.swift",
        "UserDefaults/StorableInUserDefaultsTransformer.swift",
        "UserDefaults/UserDefaultsStorage.swift",
        "UserDefaults/UserDefaultsValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.