Build Information
Successful build of swift-security, reference 2.5.1 (7b17d3), with Swift 6.1 for macOS (SPM) on 12 Dec 2025 07:35:28 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dm-zharov/swift-security.git
Reference: 2.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dm-zharov/swift-security
* tag 2.5.1 -> FETCH_HEAD
HEAD is now at 7b17d3b Removes Warnings
Cloned https://github.com/dm-zharov/swift-security.git
Revision (git rev-parse @):
7b17d3b0e9974d69082c1ef2d5b6504033470fd1
SUCCESS checkout https://github.com/dm-zharov/swift-security.git at 2.5.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dm-zharov/swift-security.git
https://github.com/dm-zharov/swift-security.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-security",
"name" : "swift-security",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "maccatalyst",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SwiftSecurity",
"targets" : [
"SwiftSecurity"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSecurityTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSecurityTests",
"path" : "Tests/SwiftSecurityTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSecurityTests/Resources/badssl.p12",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSecurityTests/Resources/www.apple.com.root.der",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AccessPolicyTests.swift",
"EnumTests.swift",
"KeychainTests.swift"
],
"target_dependencies" : [
"SwiftSecurity"
],
"type" : "test"
},
{
"c99name" : "SwiftSecurity",
"module_type" : "SwiftTarget",
"name" : "SwiftSecurity",
"path" : "Sources/SwiftSecurity",
"product_memberships" : [
"SwiftSecurity"
],
"sources" : [
"CryptoKit/SecCertificateConvertible.swift",
"CryptoKit/SecDataConvertible.swift",
"CryptoKit/SecIdentityConvertible.swift",
"CryptoKit/SecKeyConvertible.swift",
"Keychain/AccessGroup.swift",
"Keychain/Keychain.swift",
"Keychain/SecItem/SecImportItemKey.swift",
"Keychain/SecItem/SecItem.swift",
"Keychain/SecItem/SecItemAttrKey.swift",
"Keychain/SecItem/SecItemClass.swift",
"Keychain/SecItem/SecItemSearchKey.swift",
"Keychain/SecItem/SecReturnType.swift",
"Keychain/SecItem/SecValue.swift",
"Keychain/SecItemAttr/AccessPolicy.swift",
"Keychain/SecItemAttr/AuthenticationType.swift",
"Keychain/SecItemAttr/KeyClass.swift",
"Keychain/SecItemAttr/KeyType.swift",
"Keychain/SecItemAttr/ProtocolType.swift",
"Keychain/SecItemAttr/TokenID.swift",
"Keychain/SecItemStore/SecImportItemInfo.swift",
"Keychain/SecItemStore/SecItemInfo.swift",
"Keychain/SecItemStore/SecItemQuery.swift",
"Keychain/SecItemStore/SecItemStore.swift",
"Randomization/SecureRandomDataGenerator.swift",
"Security/Certificate.swift",
"Security/DigitalIdentity.swift",
"Security/PKCS12.swift",
"Security/WebProtectionSpace.swift",
"SharedWebCredential/SharedWebCredential.swift",
"SwiftSecurityError.swift",
"SwiftUI/Credential.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/31] Emitting module SwiftSecurity
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemInfo.swift:11:16: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | public struct SecItemInfo<Value>: RawRepresentable where Value: SecItem {
11 | public let rawValue: [String: Any]
| `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | public init(rawValue: [String: Any]) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:100:5: warning: 'public' modifier is redundant for static method declared in a public extension
98 | /// See [Developer Documentation](https://developer.apple.com/documentation/security/ksecattrsynchronizable).
99 | /// - Returns: ``SecItemQuery<SecKey>``.
100 | public static func key(
| `- warning: 'public' modifier is redundant for static method declared in a public extension
101 | for applicationTag: String? = nil,
102 | descriptor: SecKeyDescriptor = .ecPrivateKey,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:13:22: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
11 | /// A structure that defines an item query.
12 | public struct SecItemQuery<Value> where Value: SecItem {
13 | private(set) var rawValue: [String: Any]
| `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
14 |
15 | /// Creates the query with item class.
[4/34] Compiling SwiftSecurity SecItemSearchKey.swift
[5/34] Compiling SwiftSecurity SecReturnType.swift
[6/34] Compiling SwiftSecurity SecValue.swift
[7/34] Compiling SwiftSecurity SecItem.swift
[8/34] Compiling SwiftSecurity SecItemAttrKey.swift
[9/34] Compiling SwiftSecurity SecItemClass.swift
[10/34] Compiling SwiftSecurity DigitalIdentity.swift
[11/34] Compiling SwiftSecurity PKCS12.swift
[12/34] Compiling SwiftSecurity WebProtectionSpace.swift
[13/34] Compiling SwiftSecurity AccessPolicy.swift
[14/34] Compiling SwiftSecurity AuthenticationType.swift
[15/34] Compiling SwiftSecurity KeyClass.swift
[16/34] Compiling SwiftSecurity SecImportItemInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemInfo.swift:11:16: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | public struct SecItemInfo<Value>: RawRepresentable where Value: SecItem {
11 | public let rawValue: [String: Any]
| `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | public init(rawValue: [String: Any]) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:100:5: warning: 'public' modifier is redundant for static method declared in a public extension
98 | /// See [Developer Documentation](https://developer.apple.com/documentation/security/ksecattrsynchronizable).
99 | /// - Returns: ``SecItemQuery<SecKey>``.
100 | public static func key(
| `- warning: 'public' modifier is redundant for static method declared in a public extension
101 | for applicationTag: String? = nil,
102 | descriptor: SecKeyDescriptor = .ecPrivateKey,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:13:22: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
11 | /// A structure that defines an item query.
12 | public struct SecItemQuery<Value> where Value: SecItem {
13 | private(set) var rawValue: [String: Any]
| `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
14 |
15 | /// Creates the query with item class.
[17/34] Compiling SwiftSecurity SecItemInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemInfo.swift:11:16: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | public struct SecItemInfo<Value>: RawRepresentable where Value: SecItem {
11 | public let rawValue: [String: Any]
| `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | public init(rawValue: [String: Any]) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:100:5: warning: 'public' modifier is redundant for static method declared in a public extension
98 | /// See [Developer Documentation](https://developer.apple.com/documentation/security/ksecattrsynchronizable).
99 | /// - Returns: ``SecItemQuery<SecKey>``.
100 | public static func key(
| `- warning: 'public' modifier is redundant for static method declared in a public extension
101 | for applicationTag: String? = nil,
102 | descriptor: SecKeyDescriptor = .ecPrivateKey,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:13:22: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
11 | /// A structure that defines an item query.
12 | public struct SecItemQuery<Value> where Value: SecItem {
13 | private(set) var rawValue: [String: Any]
| `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
14 |
15 | /// Creates the query with item class.
[18/34] Compiling SwiftSecurity SecItemQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemInfo.swift:11:16: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
9 |
10 | public struct SecItemInfo<Value>: RawRepresentable where Value: SecItem {
11 | public let rawValue: [String: Any]
| `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
12 |
13 | public init(rawValue: [String: Any]) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:100:5: warning: 'public' modifier is redundant for static method declared in a public extension
98 | /// See [Developer Documentation](https://developer.apple.com/documentation/security/ksecattrsynchronizable).
99 | /// - Returns: ``SecItemQuery<SecKey>``.
100 | public static func key(
| `- warning: 'public' modifier is redundant for static method declared in a public extension
101 | for applicationTag: String? = nil,
102 | descriptor: SecKeyDescriptor = .ecPrivateKey,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:13:22: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
11 | /// A structure that defines an item query.
12 | public struct SecItemQuery<Value> where Value: SecItem {
13 | private(set) var rawValue: [String: Any]
| `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
14 |
15 | /// Creates the query with item class.
[19/34] Compiling SwiftSecurity AccessGroup.swift
[20/34] Compiling SwiftSecurity Keychain.swift
[21/34] Compiling SwiftSecurity SecImportItemKey.swift
[22/34] Compiling SwiftSecurity SecItemStore.swift
[23/34] Compiling SwiftSecurity SecureRandomDataGenerator.swift
[24/34] Compiling SwiftSecurity Certificate.swift
[25/34] Compiling SwiftSecurity KeyType.swift
[26/34] Compiling SwiftSecurity ProtocolType.swift
[27/34] Compiling SwiftSecurity TokenID.swift
[28/34] Compiling SwiftSecurity SecCertificateConvertible.swift
[29/34] Compiling SwiftSecurity SecDataConvertible.swift
[30/34] Compiling SwiftSecurity SecIdentityConvertible.swift
[31/34] Compiling SwiftSecurity SecKeyConvertible.swift
[32/34] Compiling SwiftSecurity SharedWebCredential.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:17:15: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
16 | public var wrappedValue: Value? {
17 | get { provider() }
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:26:9: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
:
24 | /// An error encountered during the most recent operation on secure storage.
25 | public var fetchError: Error? {
26 | provider.fetchError
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:30:13: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
:
27 | }
28 |
29 | public func store(_ value: Value?) throws {
| `- note: add '@MainActor' to make instance method 'store' part of global actor 'MainActor'
30 | try provider(set: value)
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:34:13: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
:
31 | }
32 |
33 | public func remove() throws {
| `- note: add '@MainActor' to make instance method 'remove()' part of global actor 'MainActor'
34 | try provider(set: nil)
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 |
[33/34] Compiling SwiftSecurity SwiftSecurityError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:17:15: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
16 | public var wrappedValue: Value? {
17 | get { provider() }
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:26:9: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
:
24 | /// An error encountered during the most recent operation on secure storage.
25 | public var fetchError: Error? {
26 | provider.fetchError
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:30:13: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
:
27 | }
28 |
29 | public func store(_ value: Value?) throws {
| `- note: add '@MainActor' to make instance method 'store' part of global actor 'MainActor'
30 | try provider(set: value)
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:34:13: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
:
31 | }
32 |
33 | public func remove() throws {
| `- note: add '@MainActor' to make instance method 'remove()' part of global actor 'MainActor'
34 | try provider(set: nil)
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 |
[34/34] Compiling SwiftSecurity Credential.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:17:15: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
16 | public var wrappedValue: Value? {
17 | get { provider() }
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:26:9: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
:
24 | /// An error encountered during the most recent operation on secure storage.
25 | public var fetchError: Error? {
26 | provider.fetchError
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:30:13: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
:
27 | }
28 |
29 | public func store(_ value: Value?) throws {
| `- note: add '@MainActor' to make instance method 'store' part of global actor 'MainActor'
30 | try provider(set: value)
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/SwiftUI/Credential.swift:34:13: warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | /// A property wrapper type that reflects a value from secure storage and invalidates a view on a change in value.
12 | @propertyWrapper public struct Credential<Value>: DynamicProperty where Value: SecDataConvertible {
13 | @StateObject private var provider: SecItemProvider<Value>
| `- note: property declared here
14 |
15 | /// The value from the secure storage.
:
31 | }
32 |
33 | public func remove() throws {
| `- note: add '@MainActor' to make instance method 'remove()' part of global actor 'MainActor'
34 | try provider(set: nil)
| `- warning: main actor-isolated property 'provider' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 |
Build complete! (9.88s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-security",
"name" : "swift-security",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "maccatalyst",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SwiftSecurity",
"targets" : [
"SwiftSecurity"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSecurityTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSecurityTests",
"path" : "Tests/SwiftSecurityTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSecurityTests/Resources/badssl.p12",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSecurityTests/Resources/www.apple.com.root.der",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AccessPolicyTests.swift",
"EnumTests.swift",
"KeychainTests.swift"
],
"target_dependencies" : [
"SwiftSecurity"
],
"type" : "test"
},
{
"c99name" : "SwiftSecurity",
"module_type" : "SwiftTarget",
"name" : "SwiftSecurity",
"path" : "Sources/SwiftSecurity",
"product_memberships" : [
"SwiftSecurity"
],
"sources" : [
"CryptoKit/SecCertificateConvertible.swift",
"CryptoKit/SecDataConvertible.swift",
"CryptoKit/SecIdentityConvertible.swift",
"CryptoKit/SecKeyConvertible.swift",
"Keychain/AccessGroup.swift",
"Keychain/Keychain.swift",
"Keychain/SecItem/SecImportItemKey.swift",
"Keychain/SecItem/SecItem.swift",
"Keychain/SecItem/SecItemAttrKey.swift",
"Keychain/SecItem/SecItemClass.swift",
"Keychain/SecItem/SecItemSearchKey.swift",
"Keychain/SecItem/SecReturnType.swift",
"Keychain/SecItem/SecValue.swift",
"Keychain/SecItemAttr/AccessPolicy.swift",
"Keychain/SecItemAttr/AuthenticationType.swift",
"Keychain/SecItemAttr/KeyClass.swift",
"Keychain/SecItemAttr/KeyType.swift",
"Keychain/SecItemAttr/ProtocolType.swift",
"Keychain/SecItemAttr/TokenID.swift",
"Keychain/SecItemStore/SecImportItemInfo.swift",
"Keychain/SecItemStore/SecItemInfo.swift",
"Keychain/SecItemStore/SecItemQuery.swift",
"Keychain/SecItemStore/SecItemStore.swift",
"Randomization/SecureRandomDataGenerator.swift",
"Security/Certificate.swift",
"Security/DigitalIdentity.swift",
"Security/PKCS12.swift",
"Security/WebProtectionSpace.swift",
"SharedWebCredential/SharedWebCredential.swift",
"SwiftSecurityError.swift",
"SwiftUI/Credential.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.