Build Information
Successful build of FHPropertyWrappers with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FelixHerrmann/FHPropertyWrappers.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FelixHerrmann/FHPropertyWrappers
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at dca88d0 Merge pull request #11 from FelixHerrmann/improvement/user-defaults-access-reason
Cloned https://github.com/FelixHerrmann/FHPropertyWrappers.git
Revision (git rev-parse @):
dca88d06c29e177f7cc997e3b7e439fca238f3be
SUCCESS checkout https://github.com/FelixHerrmann/FHPropertyWrappers.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/FelixHerrmann/FHPropertyWrappers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/15] Compiling FHPropertyWrappers Storable+SupportedTypes.swift
[5/16] Compiling FHPropertyWrappers Storable.swift
[6/16] Compiling FHPropertyWrappers RawStorable.swift
[7/16] Compiling FHPropertyWrappers StoreKey.swift
[8/16] Compiling FHPropertyWrappers Stored.swift
[9/16] Compiling FHPropertyWrappers SecureStoreKey.swift
[10/16] Compiling FHPropertyWrappers SecureStorable.swift
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:18:23: warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
16 | ///
17 | /// This is the default value for keychain items added without explicitly setting an accessibility constant.
18 | public static let whenUnlocked = SecureStoreAccessibility(_value: kSecAttrAccessibleWhenUnlocked)
| |- warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whenUnlocked' 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
19 |
20 | /// Cannot be accessed after a restart until the device has been unlocked once by the user.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:25:23: warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
23 | /// This is recommended for items that need to be accessed by background applications.
24 | /// Items with this attribute migrate to a new device when using encrypted backups.
25 | public static let afterFirstUnlock = SecureStoreAccessibility(_value: kSecAttrAccessibleAfterFirstUnlock)
| |- warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterFirstUnlock' 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
26 |
27 | /// Can always be accessed regardless of whether the device is locked.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:34:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
32 | @available(macCatalyst, introduced: 13.0, deprecated: 13.0, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock")
33 | @available(macOS, introduced: 10.9, deprecated: 10.14, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock")
34 | public static let always = SecureStoreAccessibility(_value: kSecAttrAccessibleAlways)
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
35 |
36 | /// Can only be accessed when the device is unlocked. Only available if a passcode is set on the device.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:43:23: warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
41 | /// No items can be stored in this class on devices without a passcode.
42 | /// Disabling the device passcode causes all items in this class to be deleted.
43 | public static let whenPasscodeSetThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
| |- warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whenPasscodeSetThisDeviceOnly' 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
44 |
45 | /// Can be accessed only while the device is unlocked by the user.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:50:23: warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
48 | /// Items with this attribute do not migrate to a new device.
49 | /// Thus, after restoring from a backup of a different device, these items will not be present.
50 | public static let whenUnlockedThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
| |- warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whenUnlockedThisDeviceOnly' 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
51 |
52 | /// Cannot be accessed after a restart until the device has been unlocked once by the user.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:58:23: warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
56 | /// Items with this attribute do not migrate to a new device.
57 | /// Thus, after restoring from a backup of a different device, these items will not be present.
58 | public static let afterFirstUnlockThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
| |- warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterFirstUnlockThisDeviceOnly' 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
59 |
60 | /// Can always be accessed regardless of whether the device is locked.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:68:23: warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
66 | @available(macCatalyst, introduced: 13.0, deprecated: 13.0, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly")
67 | @available(macOS, introduced: 10.9, deprecated: 10.14, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly")
68 | public static let alwaysThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleAlwaysThisDeviceOnly)
| |- warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alwaysThisDeviceOnly' 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
69 | }
70 |
[11/16] Compiling FHPropertyWrappers SecureStoreAccessibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:18:23: warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
16 | ///
17 | /// This is the default value for keychain items added without explicitly setting an accessibility constant.
18 | public static let whenUnlocked = SecureStoreAccessibility(_value: kSecAttrAccessibleWhenUnlocked)
| |- warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whenUnlocked' 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
19 |
20 | /// Cannot be accessed after a restart until the device has been unlocked once by the user.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:25:23: warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
23 | /// This is recommended for items that need to be accessed by background applications.
24 | /// Items with this attribute migrate to a new device when using encrypted backups.
25 | public static let afterFirstUnlock = SecureStoreAccessibility(_value: kSecAttrAccessibleAfterFirstUnlock)
| |- warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterFirstUnlock' 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
26 |
27 | /// Can always be accessed regardless of whether the device is locked.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:34:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
32 | @available(macCatalyst, introduced: 13.0, deprecated: 13.0, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock")
33 | @available(macOS, introduced: 10.9, deprecated: 10.14, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock")
34 | public static let always = SecureStoreAccessibility(_value: kSecAttrAccessibleAlways)
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
35 |
36 | /// Can only be accessed when the device is unlocked. Only available if a passcode is set on the device.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:43:23: warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
41 | /// No items can be stored in this class on devices without a passcode.
42 | /// Disabling the device passcode causes all items in this class to be deleted.
43 | public static let whenPasscodeSetThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
| |- warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whenPasscodeSetThisDeviceOnly' 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
44 |
45 | /// Can be accessed only while the device is unlocked by the user.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:50:23: warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
48 | /// Items with this attribute do not migrate to a new device.
49 | /// Thus, after restoring from a backup of a different device, these items will not be present.
50 | public static let whenUnlockedThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
| |- warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whenUnlockedThisDeviceOnly' 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
51 |
52 | /// Cannot be accessed after a restart until the device has been unlocked once by the user.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:58:23: warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
56 | /// Items with this attribute do not migrate to a new device.
57 | /// Thus, after restoring from a backup of a different device, these items will not be present.
58 | public static let afterFirstUnlockThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
| |- warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterFirstUnlockThisDeviceOnly' 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
59 |
60 | /// Can always be accessed regardless of whether the device is locked.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:68:23: warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
66 | @available(macCatalyst, introduced: 13.0, deprecated: 13.0, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly")
67 | @available(macOS, introduced: 10.9, deprecated: 10.14, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly")
68 | public static let alwaysThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleAlwaysThisDeviceOnly)
| |- warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alwaysThisDeviceOnly' 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
69 | }
70 |
[12/16] Compiling FHPropertyWrappers KeychainHelper.swift
[13/16] Compiling FHPropertyWrappers SecureStorable+SupportedTypes.swift
[14/16] Emitting module FHPropertyWrappers
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:18:23: warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
16 | ///
17 | /// This is the default value for keychain items added without explicitly setting an accessibility constant.
18 | public static let whenUnlocked = SecureStoreAccessibility(_value: kSecAttrAccessibleWhenUnlocked)
| |- warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whenUnlocked' 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
19 |
20 | /// Cannot be accessed after a restart until the device has been unlocked once by the user.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:25:23: warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
23 | /// This is recommended for items that need to be accessed by background applications.
24 | /// Items with this attribute migrate to a new device when using encrypted backups.
25 | public static let afterFirstUnlock = SecureStoreAccessibility(_value: kSecAttrAccessibleAfterFirstUnlock)
| |- warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterFirstUnlock' 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
26 |
27 | /// Can always be accessed regardless of whether the device is locked.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:34:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
32 | @available(macCatalyst, introduced: 13.0, deprecated: 13.0, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock")
33 | @available(macOS, introduced: 10.9, deprecated: 10.14, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock")
34 | public static let always = SecureStoreAccessibility(_value: kSecAttrAccessibleAlways)
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
35 |
36 | /// Can only be accessed when the device is unlocked. Only available if a passcode is set on the device.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:43:23: warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
41 | /// No items can be stored in this class on devices without a passcode.
42 | /// Disabling the device passcode causes all items in this class to be deleted.
43 | public static let whenPasscodeSetThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
| |- warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whenPasscodeSetThisDeviceOnly' 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
44 |
45 | /// Can be accessed only while the device is unlocked by the user.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:50:23: warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
48 | /// Items with this attribute do not migrate to a new device.
49 | /// Thus, after restoring from a backup of a different device, these items will not be present.
50 | public static let whenUnlockedThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
| |- warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whenUnlockedThisDeviceOnly' 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
51 |
52 | /// Cannot be accessed after a restart until the device has been unlocked once by the user.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:58:23: warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
56 | /// Items with this attribute do not migrate to a new device.
57 | /// Thus, after restoring from a backup of a different device, these items will not be present.
58 | public static let afterFirstUnlockThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
| |- warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterFirstUnlockThisDeviceOnly' 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
59 |
60 | /// Can always be accessed regardless of whether the device is locked.
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:68:23: warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
66 | @available(macCatalyst, introduced: 13.0, deprecated: 13.0, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly")
67 | @available(macOS, introduced: 10.9, deprecated: 10.14, message: "Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly")
68 | public static let alwaysThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleAlwaysThisDeviceOnly)
| |- warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alwaysThisDeviceOnly' 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
69 | }
70 |
[15/16] Compiling FHPropertyWrappers SecureStored.swift
/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/SecureStored/SecureStoreAccessibility.swift:58:23: warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// The accessibility level of a keychain item.
7 | public struct SecureStoreAccessibility {
| `- note: consider making struct 'SecureStoreAccessibility' conform to the 'Sendable' protocol
8 | internal var _value: CFString
9 | }
:
56 | /// Items with this attribute do not migrate to a new device.
57 | /// Thus, after restoring from a backup of a different device, these items will not be present.
58 | public static let afterFirstUnlockThisDeviceOnly = SecureStoreAccessibility(_value: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
| |- warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'SecureStoreAccessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterFirstUnlockThisDeviceOnly' 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
59 |
60 | /// Can always be accessed regardless of whether the device is locked.
[16/16] Compiling FHPropertyWrappers resource_bundle_accessor.swift
Build complete! (22.97s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FHPropertyWrappers",
"name" : "FHPropertyWrappers",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "FHPropertyWrappers",
"targets" : [
"FHPropertyWrappers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FHPropertyWrappersTests",
"module_type" : "SwiftTarget",
"name" : "FHPropertyWrappersTests",
"path" : "Tests/FHPropertyWrappersTests",
"sources" : [
"SecureStoredTests.swift",
"StoredTests.swift"
],
"target_dependencies" : [
"FHPropertyWrappers"
],
"type" : "test"
},
{
"c99name" : "FHPropertyWrappers",
"module_type" : "SwiftTarget",
"name" : "FHPropertyWrappers",
"path" : "Sources/FHPropertyWrappers",
"product_memberships" : [
"FHPropertyWrappers"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/FHPropertyWrappers/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"SecureStored/Internal/KeychainHelper.swift",
"SecureStored/SecureStorable+SupportedTypes.swift",
"SecureStored/SecureStorable.swift",
"SecureStored/SecureStoreAccessibility.swift",
"SecureStored/SecureStoreKey.swift",
"SecureStored/SecureStored.swift",
"Stored/RawStorable.swift",
"Stored/Storable+SupportedTypes.swift",
"Stored/Storable.swift",
"Stored/StoreKey.swift",
"Stored/Stored.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.