Build Information
Successful build of swift-security, reference main (568085
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 19:12:48 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dm-zharov/swift-security.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dm-zharov/swift-security
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5680858 Improves type-checking for SecItemQuery
Cloned https://github.com/dm-zharov/swift-security.git
Revision (git rev-parse @):
56808589e8b5b02095afdd23357df7915639c6a2
SUCCESS checkout https://github.com/dm-zharov/swift-security.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-security",
"name": "swift-security",
"url": "https://github.com/dm-zharov/swift-security.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-security",
"dependencies": [
]
}
]
}
Fetching https://github.com/dm-zharov/swift-security.git
[1/1312] Fetching swift-security
Fetched https://github.com/dm-zharov/swift-security.git from cache (0.85s)
Creating working copy for https://github.com/dm-zharov/swift-security.git
Working copy of https://github.com/dm-zharov/swift-security.git resolved at main (5680858)
warning: '.resolve-product-dependencies': dependency 'swift-security' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/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",
"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.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/31] Emitting module SwiftSecurity
/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,
[4/34] Compiling SwiftSecurity SecItemSearchKey.swift
[5/34] Compiling SwiftSecurity SecReturnType.swift
[6/34] Compiling SwiftSecurity SecValue.swift
[7/34] Compiling SwiftSecurity KeyType.swift
[8/34] Compiling SwiftSecurity ProtocolType.swift
[9/34] Compiling SwiftSecurity TokenID.swift
[10/34] Compiling SwiftSecurity SecItem.swift
[11/34] Compiling SwiftSecurity SecItemAttrKey.swift
[12/34] Compiling SwiftSecurity SecItemClass.swift
[13/34] Compiling SwiftSecurity SecItemStore.swift
[14/34] Compiling SwiftSecurity SecureRandomDataGenerator.swift
[15/34] Compiling SwiftSecurity Certificate.swift
[16/34] Compiling SwiftSecurity AccessGroup.swift
[17/34] Compiling SwiftSecurity Keychain.swift
[18/34] Compiling SwiftSecurity SecImportItemKey.swift
[19/34] Compiling SwiftSecurity DigitalIdentity.swift
[20/34] Compiling SwiftSecurity PKCS12.swift
[21/34] Compiling SwiftSecurity WebProtectionSpace.swift
[22/34] Compiling SwiftSecurity AccessPolicy.swift
[23/34] Compiling SwiftSecurity AuthenticationType.swift
[24/34] Compiling SwiftSecurity KeyClass.swift
[25/34] Compiling SwiftSecurity SecImportItemInfo.swift
/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,
[26/34] Compiling SwiftSecurity SecItemInfo.swift
/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,
[27/34] Compiling SwiftSecurity SecItemQuery.swift
/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,
[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! (23.35s)
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",
"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.