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 v1.2.4 (063637), with Swift 6.0 for Linux on 4 Nov 2024 18:28:28 UTC.

Swift 6 data race errors: 6

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/Persist.git
Reference: v1.2.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/JosephDuffy/Persist
 * tag               v1.2.4     -> FETCH_HEAD
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 v1.2.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/JosephDuffy/Persist.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/32] Emitting module Persist
/host/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.
/host/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.
/host/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.
/host/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
/host/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 |
/host/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? {
[5/36] Compiling Persist StorableInUserDefaultsTransformer.swift
[6/36] Compiling Persist UserDefaultsStorage.swift
[7/36] Compiling Persist UserDefaultsValue.swift
[8/36] Compiling Persist resource_bundle_accessor.swift
[9/36] Compiling Persist Persisted+FileManager.swift
[10/36] Compiling Persist Persister+FileManager.swift
[11/36] Compiling Persist InMemoryStorage.swift
[12/36] Compiling Persist NSUbiquitousKeyValueStoreStorage.swift
[13/36] Compiling Persist AggregateTransformer.swift
/host/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? {
[14/36] Compiling Persist JSONTransformer.swift
/host/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? {
[15/36] Compiling Persist PropertyListTransformer.swift
/host/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? {
[16/36] Compiling Persist RawRepresentableTransformer.swift
/host/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? {
[17/36] Compiling Persist AnyCancellable.swift
/host/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.
/host/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.
/host/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.
/host/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
[18/36] Compiling Persist Cancellable.swift
/host/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.
/host/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.
/host/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.
/host/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
[19/36] Compiling Persist DefaultValuePersistOption.swift
/host/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.
/host/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.
/host/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.
/host/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
[20/36] Compiling Persist FileManagerStorage.swift
/host/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.
/host/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.
/host/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.
/host/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
[21/36] Compiling Persist StorableInUbiquitousKeyValueStore.swift
[22/36] Compiling Persist ObservablePersister.swift
[23/36] Compiling Persist PersistStorage.swift
[24/36] Compiling Persist Persisted.swift
[25/36] Compiling Persist Transformer.swift
[26/36] Compiling Persist Persisted+UserDefaults.swift
[27/36] Compiling Persist Persister+UserDefaults.swift
[28/36] Compiling Persist StorableInUserDefaults.swift
[29/36] Compiling Persist NSUbiquitousKeyValueStoreValue.swift
[30/36] Compiling Persist Persisted+NSUbiquitousKeyValueStore.swift
[31/36] Compiling Persist Persister+NSUbiquitousKeyValueStore.swift
[32/36] Compiling Persist StorableInNSUbiquitousKeyValueStoreTransformer.swift
[33/36] Compiling Persist PersistenceError.swift
/host/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 |
/host/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.
/host/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.
[34/36] Compiling Persist Persister.swift
/host/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 |
/host/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.
/host/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.
[35/36] Compiling Persist Storage.swift
/host/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 |
/host/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.
/host/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.
[36/36] Compiling Persist Subscription.swift
/host/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 |
/host/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.
/host/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.
Build complete! (14.07s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Persist",
  "name" : "Persist",
  "path" : "/host/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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.