Build Information
Failed to build FTPropertyWrappers, reference main (553872
), with Swift 6.1 for Linux on 26 Apr 2025 15:16:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: generic parameter 'T' could not be inferred
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:134:23: error: cannot find type 'CFString' in scope
132 | refreshPolicy: KeychainDataRefreshPolicy = .onAccess,
133 | defaultValue: T? = nil,
134 | accessOption: CFString,
| `- error: cannot find type 'CFString' in scope
135 | accessFlags: SecAccessControlCreateFlags
136 | ) {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:135:22: error: cannot find type 'SecAccessControlCreateFlags' in scope
133 | defaultValue: T? = nil,
134 | accessOption: CFString,
135 | accessFlags: SecAccessControlCreateFlags
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
136 | ) {
137 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:11:28: error: cannot find type 'CFString' in scope
9 | /// Arguments needed in order to create instance of `SecAccessControl`.
10 | public struct AccessControlSettings {
11 | public let access: CFString
| `- error: cannot find type 'CFString' in scope
12 | public let flags: SecAccessControlCreateFlags
13 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:12:27: error: cannot find type 'SecAccessControlCreateFlags' in scope
10 | public struct AccessControlSettings {
11 | public let access: CFString
12 | public let flags: SecAccessControlCreateFlags
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:47:34: error: cannot find type 'CFString' in scope
45 | constraints: [.override(kSecAttrAccessible)]) open private(set) var accessControl: SecAccessControl?
46 |
47 | override open var itemClass: CFString { kSecClassGenericPassword }
| `- error: cannot find type 'CFString' in scope
48 |
49 | override open var primaryKey: Set<CFString> {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:49:39: error: cannot find type 'CFString' in scope
47 | override open var itemClass: CFString { kSecClassGenericPassword }
48 |
49 | override open var primaryKey: Set<CFString> {
| `- error: cannot find type 'CFString' in scope
50 | [ kSecAttrAccount, kSecAttrService ]
51 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:157:48: error: cannot find type 'CFString' in scope
155 | /// - flags: Access control flags, for more information visit Keychain documentation, since this argument
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
| `- error: cannot find type 'CFString' in scope
158 | var error: Unmanaged<CFError>?
159 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:157:65: error: cannot find type 'SecAccessControlCreateFlags' in scope
155 | /// - flags: Access control flags, for more information visit Keychain documentation, since this argument
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
158 | var error: Unmanaged<CFError>?
159 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:13:24: error: cannot find 'kSecAttrServer' in scope
11 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
12 | /// Delete the item from keychain in order to reset this attribute.
13 | @QueryElement(key: kSecAttrServer) open private(set) var server: String?
| `- error: cannot find 'kSecAttrServer' in scope
14 |
15 | /// `QueryElement` user visible account. Account may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:13:6: error: generic parameter 'T' could not be inferred
11 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
12 | /// Delete the item from keychain in order to reset this attribute.
13 | @QueryElement(key: kSecAttrServer) open private(set) var server: String?
| `- error: generic parameter 'T' could not be inferred
14 |
15 | /// `QueryElement` user visible account. Account may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:19:24: error: cannot find 'kSecAttrAccount' in scope
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: cannot find 'kSecAttrAccount' in scope
20 |
21 | /// `QueryElement` user visible domain. Domain may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:19:6: error: generic parameter 'T' could not be inferred
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: generic parameter 'T' could not be inferred
20 |
21 | /// `QueryElement` user visible domain. Domain may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:25:24: error: cannot find 'kSecAttrSecurityDomain' in scope
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrSecurityDomain) open private(set) var domain: String?
| `- error: cannot find 'kSecAttrSecurityDomain' in scope
26 |
27 | /// `QueryElement` user visible protocol. Values of this attribute are listed in Keychain documentation.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:25:6: error: generic parameter 'T' could not be inferred
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrSecurityDomain) open private(set) var domain: String?
| `- error: generic parameter 'T' could not be inferred
26 |
27 | /// `QueryElement` user visible protocol. Values of this attribute are listed in Keychain documentation.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:32:75: error: cannot find type 'CFString' in scope
30 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
31 | /// Delete the item from keychain in order to reset this attribute.
32 | @QueryElement(key: kSecAttrProtocol) open private(set) var aProtocol: CFString?
| `- error: cannot find type 'CFString' in scope
33 |
34 | /// `QueryElement` user visible server-side authentication type. Values of this attribute are listed in
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:39:94: error: cannot find type 'CFString' in scope
37 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
38 | /// Delete the item from keychain in order to reset this attribute.
39 | @QueryElement(key: kSecAttrAuthenticationType) open private(set) var authenticationType: CFString?
| `- error: cannot find type 'CFString' in scope
40 |
41 | /// `QueryElement` user visible port. Port may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:45:24: error: cannot find 'kSecAttrPort' in scope
43 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
44 | /// Delete the item from keychain in order to reset this attribute.
45 | @QueryElement(key: kSecAttrPort) open private(set) var port: UInt16?
| `- error: cannot find 'kSecAttrPort' in scope
46 |
47 | /// `QueryElement` user visible path. Path may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:45:6: error: generic parameter 'T' could not be inferred
43 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
44 | /// Delete the item from keychain in order to reset this attribute.
45 | @QueryElement(key: kSecAttrPort) open private(set) var port: UInt16?
| `- error: generic parameter 'T' could not be inferred
46 |
47 | /// `QueryElement` user visible path. Path may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:51:24: error: cannot find 'kSecAttrPath' in scope
49 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
50 | /// Delete the item from keychain in order to reset this attribute.
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
| `- error: cannot find 'kSecAttrPath' in scope
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:51:6: error: generic parameter 'T' could not be inferred
49 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
50 | /// Delete the item from keychain in order to reset this attribute.
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
| `- error: generic parameter 'T' could not be inferred
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:88:20: error: cannot find type 'CFString' in scope
86 | account: String? = nil,
87 | domain: String? = nil,
88 | aProtocol: CFString? = nil,
| `- error: cannot find type 'CFString' in scope
89 | authenticationType: CFString? = nil,
90 | port: UInt16? = nil,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:89:29: error: cannot find type 'CFString' in scope
87 | domain: String? = nil,
88 | aProtocol: CFString? = nil,
89 | authenticationType: CFString? = nil,
| `- error: cannot find type 'CFString' in scope
90 | port: UInt16? = nil,
91 | path: String? = nil,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:53:34: error: cannot find type 'CFString' in scope
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
| `- error: cannot find type 'CFString' in scope
54 |
55 | override open var primaryKey: Set<CFString> { [
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:55:39: error: cannot find type 'CFString' in scope
53 | override open var itemClass: CFString { kSecClassInternetPassword }
54 |
55 | override open var primaryKey: Set<CFString> { [
| `- error: cannot find type 'CFString' in scope
56 | kSecAttrAccount,
57 | kSecAttrServer,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:46:19: error: cannot find type 'CFString' in scope
44 |
45 | /// When this `QueryElement`'s value is not nil, attribute specified in this constraint is set to nil.
46 | case override(CFString)
| `- error: cannot find type 'CFString' in scope
47 |
48 | /// When attribute with this key is present in query, this `Query Element` is removed from the query.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:49:22: error: cannot find type 'CFString' in scope
47 |
48 | /// When attribute with this key is present in query, this `Query Element` is removed from the query.
49 | case overridenBy(CFString)
| `- error: cannot find type 'CFString' in scope
50 | }
51 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:134:27: error: cannot find type 'OSStatus' in scope
132 | case accessControllErrorUnknown
133 | case accessControllError(status: Error)
134 | case osSecure(status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
135 | case osSecureDuplicitItem
136 | case osSecureNoSuchItem
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:144:31: error: cannot find type 'OSStatus' in scope
142 | case osSecureInvalidValue
143 |
144 | init(fromOSStatus status: OSStatus) {
| `- error: cannot find type 'OSStatus' in scope
145 | switch status {
146 | case errSecDuplicateItem:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:91:25: error: cannot find type 'CFString' in scope
89 | /// - Warning:
90 | /// This property requires override. Do not call this class's implementation.
91 | open var itemClass: CFString { fatalError("FTPropertyWrappers SingleValueKeychainItem: error: empty class!") }
| `- error: cannot find type 'CFString' in scope
92 |
93 | /// This property must return set of kSecAttr**** keys which are excluded from value-queries and inserted
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:97:30: error: cannot find type 'CFString' in scope
95 | /// - Warning:
96 | /// This property requires override. Do not call this class's implementation.
97 | open var primaryKey: Set<CFString> { fatalError("FTPropertyWrappers SingleValueKeychainItem: error: empty keys!") }
| `- error: cannot find type 'CFString' in scope
98 |
99 | /// This method extracts data of each `QueryElement` property in the subclass hiearchy using reflection.
[6/11] Compiling FTPropertyWrappers GenericPassword.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:19:24: error: cannot find 'kSecAttrAccount' in scope
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: cannot find 'kSecAttrAccount' in scope
20 |
21 | /// `QueryElement` user visible service. The service is part of the primary key of the keychain item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:19:6: error: generic parameter 'T' could not be inferred
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: generic parameter 'T' could not be inferred
20 |
21 | /// `QueryElement` user visible service. The service is part of the primary key of the keychain item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:25:24: error: cannot find 'kSecAttrService' in scope
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrService) open private(set) var service: String?
| `- error: cannot find 'kSecAttrService' in scope
26 |
27 | /// Default value for access control attribute. This default value is applied upon saving in case, that
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:25:6: error: generic parameter 'T' could not be inferred
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrService) open private(set) var service: String?
| `- error: generic parameter 'T' could not be inferred
26 |
27 | /// Default value for access control attribute. This default value is applied upon saving in case, that
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:45:102: error: cannot find type 'SecAccessControl' in scope
43 | /// the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrAccessControl,
45 | constraints: [.override(kSecAttrAccessible)]) open private(set) var accessControl: SecAccessControl?
| `- error: cannot find type 'SecAccessControl' in scope
46 |
47 | override open var itemClass: CFString { kSecClassGenericPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:24: error: cannot find 'kSecAttrDescription' in scope
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: cannot find 'kSecAttrDescription' in scope
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:6: error: generic parameter 'T' could not be inferred
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: generic parameter 'T' could not be inferred
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:24: error: cannot find 'kSecAttrComment' in scope
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: cannot find 'kSecAttrComment' in scope
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:6: error: generic parameter 'T' could not be inferred
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: generic parameter 'T' could not be inferred
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:50:59: error: cannot find type 'CFNumber' in scope
48 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
49 | /// Delete the item from keychain in order to reset this attribute.
50 | @QueryElement(key: kSecAttrCreator) open var creator: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
51 |
52 | /// `QueryElement` type identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:56:53: error: cannot find type 'CFNumber' in scope
54 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
55 | /// Delete the item from keychain in order to reset this attribute.
56 | @QueryElement(key: kSecAttrType) open var type: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
57 |
58 | /// `QueryElement` label. This property may have a default value.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:24: error: cannot find 'kSecAttrLabel' in scope
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: cannot find 'kSecAttrLabel' in scope
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:6: error: generic parameter 'T' could not be inferred
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: generic parameter 'T' could not be inferred
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:24: error: cannot find 'kSecAttrIsInvisible' in scope
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: cannot find 'kSecAttrIsInvisible' in scope
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:6: error: generic parameter 'T' could not be inferred
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: generic parameter 'T' could not be inferred
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:74:64: error: cannot find type 'CFString' in scope
72 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
73 | /// Delete the item from keychain in order to reset this attribute.
74 | @QueryElement(key: kSecAttrAccessible) open var accesible: CFString?
| `- error: cannot find type 'CFString' in scope
75 |
76 | /// Read only `QueryElement` creation date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:32: error: cannot find 'kSecAttrCreationDate' in scope
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: cannot find 'kSecAttrCreationDate' in scope
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:6: error: generic parameter 'T' could not be inferred
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: generic parameter 'T' could not be inferred
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:32: error: cannot find 'kSecAttrModificationDate' in scope
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: cannot find 'kSecAttrModificationDate' in scope
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:6: error: generic parameter 'T' could not be inferred
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: generic parameter 'T' could not be inferred
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:134:23: error: cannot find type 'CFString' in scope
132 | refreshPolicy: KeychainDataRefreshPolicy = .onAccess,
133 | defaultValue: T? = nil,
134 | accessOption: CFString,
| `- error: cannot find type 'CFString' in scope
135 | accessFlags: SecAccessControlCreateFlags
136 | ) {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:135:22: error: cannot find type 'SecAccessControlCreateFlags' in scope
133 | defaultValue: T? = nil,
134 | accessOption: CFString,
135 | accessFlags: SecAccessControlCreateFlags
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
136 | ) {
137 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:11:28: error: cannot find type 'CFString' in scope
9 | /// Arguments needed in order to create instance of `SecAccessControl`.
10 | public struct AccessControlSettings {
11 | public let access: CFString
| `- error: cannot find type 'CFString' in scope
12 | public let flags: SecAccessControlCreateFlags
13 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:12:27: error: cannot find type 'SecAccessControlCreateFlags' in scope
10 | public struct AccessControlSettings {
11 | public let access: CFString
12 | public let flags: SecAccessControlCreateFlags
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:47:34: error: cannot find type 'CFString' in scope
45 | constraints: [.override(kSecAttrAccessible)]) open private(set) var accessControl: SecAccessControl?
46 |
47 | override open var itemClass: CFString { kSecClassGenericPassword }
| `- error: cannot find type 'CFString' in scope
48 |
49 | override open var primaryKey: Set<CFString> {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:49:39: error: cannot find type 'CFString' in scope
47 | override open var itemClass: CFString { kSecClassGenericPassword }
48 |
49 | override open var primaryKey: Set<CFString> {
| `- error: cannot find type 'CFString' in scope
50 | [ kSecAttrAccount, kSecAttrService ]
51 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:157:48: error: cannot find type 'CFString' in scope
155 | /// - flags: Access control flags, for more information visit Keychain documentation, since this argument
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
| `- error: cannot find type 'CFString' in scope
158 | var error: Unmanaged<CFError>?
159 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:157:65: error: cannot find type 'SecAccessControlCreateFlags' in scope
155 | /// - flags: Access control flags, for more information visit Keychain documentation, since this argument
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
158 | var error: Unmanaged<CFError>?
159 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:158:30: error: cannot find type 'CFError' in scope
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
158 | var error: Unmanaged<CFError>?
| `- error: cannot find type 'CFError' in scope
159 |
160 | let access = SecAccessControlCreateWithFlags(nil, accessible, flags, &error)
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:160:22: error: cannot find 'SecAccessControlCreateWithFlags' in scope
158 | var error: Unmanaged<CFError>?
159 |
160 | let access = SecAccessControlCreateWithFlags(nil, accessible, flags, &error)
| `- error: cannot find 'SecAccessControlCreateWithFlags' in scope
161 | if let error = error?.takeRetainedValue() as Error? {
162 | throw KeychainError.accessControllError(status: error)
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:160:54: error: 'nil' requires a contextual type
158 | var error: Unmanaged<CFError>?
159 |
160 | let access = SecAccessControlCreateWithFlags(nil, accessible, flags, &error)
| `- error: 'nil' requires a contextual type
161 | if let error = error?.takeRetainedValue() as Error? {
162 | throw KeychainError.accessControllError(status: error)
[7/11] Compiling FTPropertyWrappers InternetPassword.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:13:24: error: cannot find 'kSecAttrServer' in scope
11 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
12 | /// Delete the item from keychain in order to reset this attribute.
13 | @QueryElement(key: kSecAttrServer) open private(set) var server: String?
| `- error: cannot find 'kSecAttrServer' in scope
14 |
15 | /// `QueryElement` user visible account. Account may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:13:6: error: generic parameter 'T' could not be inferred
11 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
12 | /// Delete the item from keychain in order to reset this attribute.
13 | @QueryElement(key: kSecAttrServer) open private(set) var server: String?
| `- error: generic parameter 'T' could not be inferred
14 |
15 | /// `QueryElement` user visible account. Account may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:19:24: error: cannot find 'kSecAttrAccount' in scope
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: cannot find 'kSecAttrAccount' in scope
20 |
21 | /// `QueryElement` user visible domain. Domain may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:19:6: error: generic parameter 'T' could not be inferred
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: generic parameter 'T' could not be inferred
20 |
21 | /// `QueryElement` user visible domain. Domain may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:25:24: error: cannot find 'kSecAttrSecurityDomain' in scope
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrSecurityDomain) open private(set) var domain: String?
| `- error: cannot find 'kSecAttrSecurityDomain' in scope
26 |
27 | /// `QueryElement` user visible protocol. Values of this attribute are listed in Keychain documentation.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:25:6: error: generic parameter 'T' could not be inferred
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrSecurityDomain) open private(set) var domain: String?
| `- error: generic parameter 'T' could not be inferred
26 |
27 | /// `QueryElement` user visible protocol. Values of this attribute are listed in Keychain documentation.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:32:75: error: cannot find type 'CFString' in scope
30 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
31 | /// Delete the item from keychain in order to reset this attribute.
32 | @QueryElement(key: kSecAttrProtocol) open private(set) var aProtocol: CFString?
| `- error: cannot find type 'CFString' in scope
33 |
34 | /// `QueryElement` user visible server-side authentication type. Values of this attribute are listed in
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:39:94: error: cannot find type 'CFString' in scope
37 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
38 | /// Delete the item from keychain in order to reset this attribute.
39 | @QueryElement(key: kSecAttrAuthenticationType) open private(set) var authenticationType: CFString?
| `- error: cannot find type 'CFString' in scope
40 |
41 | /// `QueryElement` user visible port. Port may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:45:24: error: cannot find 'kSecAttrPort' in scope
43 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
44 | /// Delete the item from keychain in order to reset this attribute.
45 | @QueryElement(key: kSecAttrPort) open private(set) var port: UInt16?
| `- error: cannot find 'kSecAttrPort' in scope
46 |
47 | /// `QueryElement` user visible path. Path may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:45:6: error: generic parameter 'T' could not be inferred
43 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
44 | /// Delete the item from keychain in order to reset this attribute.
45 | @QueryElement(key: kSecAttrPort) open private(set) var port: UInt16?
| `- error: generic parameter 'T' could not be inferred
46 |
47 | /// `QueryElement` user visible path. Path may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:51:24: error: cannot find 'kSecAttrPath' in scope
49 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
50 | /// Delete the item from keychain in order to reset this attribute.
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
| `- error: cannot find 'kSecAttrPath' in scope
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:51:6: error: generic parameter 'T' could not be inferred
49 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
50 | /// Delete the item from keychain in order to reset this attribute.
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
| `- error: generic parameter 'T' could not be inferred
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:24: error: cannot find 'kSecAttrDescription' in scope
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: cannot find 'kSecAttrDescription' in scope
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:6: error: generic parameter 'T' could not be inferred
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: generic parameter 'T' could not be inferred
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:24: error: cannot find 'kSecAttrComment' in scope
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: cannot find 'kSecAttrComment' in scope
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:6: error: generic parameter 'T' could not be inferred
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: generic parameter 'T' could not be inferred
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:50:59: error: cannot find type 'CFNumber' in scope
48 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
49 | /// Delete the item from keychain in order to reset this attribute.
50 | @QueryElement(key: kSecAttrCreator) open var creator: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
51 |
52 | /// `QueryElement` type identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:56:53: error: cannot find type 'CFNumber' in scope
54 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
55 | /// Delete the item from keychain in order to reset this attribute.
56 | @QueryElement(key: kSecAttrType) open var type: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
57 |
58 | /// `QueryElement` label. This property may have a default value.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:24: error: cannot find 'kSecAttrLabel' in scope
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: cannot find 'kSecAttrLabel' in scope
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:6: error: generic parameter 'T' could not be inferred
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: generic parameter 'T' could not be inferred
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:24: error: cannot find 'kSecAttrIsInvisible' in scope
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: cannot find 'kSecAttrIsInvisible' in scope
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:6: error: generic parameter 'T' could not be inferred
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: generic parameter 'T' could not be inferred
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:74:64: error: cannot find type 'CFString' in scope
72 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
73 | /// Delete the item from keychain in order to reset this attribute.
74 | @QueryElement(key: kSecAttrAccessible) open var accesible: CFString?
| `- error: cannot find type 'CFString' in scope
75 |
76 | /// Read only `QueryElement` creation date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:32: error: cannot find 'kSecAttrCreationDate' in scope
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: cannot find 'kSecAttrCreationDate' in scope
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:6: error: generic parameter 'T' could not be inferred
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: generic parameter 'T' could not be inferred
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:32: error: cannot find 'kSecAttrModificationDate' in scope
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: cannot find 'kSecAttrModificationDate' in scope
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:6: error: generic parameter 'T' could not be inferred
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: generic parameter 'T' could not be inferred
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:88:20: error: cannot find type 'CFString' in scope
86 | account: String? = nil,
87 | domain: String? = nil,
88 | aProtocol: CFString? = nil,
| `- error: cannot find type 'CFString' in scope
89 | authenticationType: CFString? = nil,
90 | port: UInt16? = nil,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:89:29: error: cannot find type 'CFString' in scope
87 | domain: String? = nil,
88 | aProtocol: CFString? = nil,
89 | authenticationType: CFString? = nil,
| `- error: cannot find type 'CFString' in scope
90 | port: UInt16? = nil,
91 | path: String? = nil,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:53:34: error: cannot find type 'CFString' in scope
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
| `- error: cannot find type 'CFString' in scope
54 |
55 | override open var primaryKey: Set<CFString> { [
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:55:39: error: cannot find type 'CFString' in scope
53 | override open var itemClass: CFString { kSecClassInternetPassword }
54 |
55 | override open var primaryKey: Set<CFString> { [
| `- error: cannot find type 'CFString' in scope
56 | kSecAttrAccount,
57 | kSecAttrServer,
[8/11] Compiling FTPropertyWrappers KeychainItemPropertyWrapper.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:24: error: cannot find 'kSecAttrDescription' in scope
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: cannot find 'kSecAttrDescription' in scope
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:6: error: generic parameter 'T' could not be inferred
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: generic parameter 'T' could not be inferred
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:24: error: cannot find 'kSecAttrComment' in scope
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: cannot find 'kSecAttrComment' in scope
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:6: error: generic parameter 'T' could not be inferred
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: generic parameter 'T' could not be inferred
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:50:59: error: cannot find type 'CFNumber' in scope
48 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
49 | /// Delete the item from keychain in order to reset this attribute.
50 | @QueryElement(key: kSecAttrCreator) open var creator: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
51 |
52 | /// `QueryElement` type identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:56:53: error: cannot find type 'CFNumber' in scope
54 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
55 | /// Delete the item from keychain in order to reset this attribute.
56 | @QueryElement(key: kSecAttrType) open var type: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
57 |
58 | /// `QueryElement` label. This property may have a default value.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:24: error: cannot find 'kSecAttrLabel' in scope
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: cannot find 'kSecAttrLabel' in scope
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:6: error: generic parameter 'T' could not be inferred
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: generic parameter 'T' could not be inferred
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:24: error: cannot find 'kSecAttrIsInvisible' in scope
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: cannot find 'kSecAttrIsInvisible' in scope
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:6: error: generic parameter 'T' could not be inferred
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: generic parameter 'T' could not be inferred
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:74:64: error: cannot find type 'CFString' in scope
72 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
73 | /// Delete the item from keychain in order to reset this attribute.
74 | @QueryElement(key: kSecAttrAccessible) open var accesible: CFString?
| `- error: cannot find type 'CFString' in scope
75 |
76 | /// Read only `QueryElement` creation date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:32: error: cannot find 'kSecAttrCreationDate' in scope
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: cannot find 'kSecAttrCreationDate' in scope
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:6: error: generic parameter 'T' could not be inferred
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: generic parameter 'T' could not be inferred
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:32: error: cannot find 'kSecAttrModificationDate' in scope
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: cannot find 'kSecAttrModificationDate' in scope
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:6: error: generic parameter 'T' could not be inferred
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: generic parameter 'T' could not be inferred
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
[9/11] Compiling FTPropertyWrappers KeychainTypes.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:46:19: error: cannot find type 'CFString' in scope
44 |
45 | /// When this `QueryElement`'s value is not nil, attribute specified in this constraint is set to nil.
46 | case override(CFString)
| `- error: cannot find type 'CFString' in scope
47 |
48 | /// When attribute with this key is present in query, this `Query Element` is removed from the query.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:49:22: error: cannot find type 'CFString' in scope
47 |
48 | /// When attribute with this key is present in query, this `Query Element` is removed from the query.
49 | case overridenBy(CFString)
| `- error: cannot find type 'CFString' in scope
50 | }
51 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:134:27: error: cannot find type 'OSStatus' in scope
132 | case accessControllErrorUnknown
133 | case accessControllError(status: Error)
134 | case osSecure(status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
135 | case osSecureDuplicitItem
136 | case osSecureNoSuchItem
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:144:31: error: cannot find type 'OSStatus' in scope
142 | case osSecureInvalidValue
143 |
144 | init(fromOSStatus status: OSStatus) {
| `- error: cannot find type 'OSStatus' in scope
145 | switch status {
146 | case errSecDuplicateItem:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:146:14: error: cannot find 'errSecDuplicateItem' in scope
144 | init(fromOSStatus status: OSStatus) {
145 | switch status {
146 | case errSecDuplicateItem:
| `- error: cannot find 'errSecDuplicateItem' in scope
147 | self = .osSecureDuplicitItem
148 | case errSecItemNotFound:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:148:14: error: cannot find 'errSecItemNotFound' in scope
146 | case errSecDuplicateItem:
147 | self = .osSecureDuplicitItem
148 | case errSecItemNotFound:
| `- error: cannot find 'errSecItemNotFound' in scope
149 | self = .osSecureNoSuchItem
150 | case errSecDiskFull:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:150:14: error: cannot find 'errSecDiskFull' in scope
148 | case errSecItemNotFound:
149 | self = .osSecureNoSuchItem
150 | case errSecDiskFull:
| `- error: cannot find 'errSecDiskFull' in scope
151 | self = .osSecureDiskFull
152 | case errSecParam:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:152:14: error: cannot find 'errSecParam' in scope
150 | case errSecDiskFull:
151 | self = .osSecureDiskFull
152 | case errSecParam:
| `- error: cannot find 'errSecParam' in scope
153 | self = .osSucureInvalidParameter
154 | case errSecBadReq:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:154:14: error: cannot find 'errSecBadReq' in scope
152 | case errSecParam:
153 | self = .osSucureInvalidParameter
154 | case errSecBadReq:
| `- error: cannot find 'errSecBadReq' in scope
155 | self = .osSecureBadRequest
156 | case errSecUserCanceled:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:156:14: error: cannot find 'errSecUserCanceled' in scope
154 | case errSecBadReq:
155 | self = .osSecureBadRequest
156 | case errSecUserCanceled:
| `- error: cannot find 'errSecUserCanceled' in scope
157 | self = .osSecureUserCancelledAuthentication
158 | case errSecMissingEntitlement:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:158:14: error: cannot find 'errSecMissingEntitlement' in scope
156 | case errSecUserCanceled:
157 | self = .osSecureUserCancelledAuthentication
158 | case errSecMissingEntitlement:
| `- error: cannot find 'errSecMissingEntitlement' in scope
159 | self = .osSecureMissingEtitlementForThisFeature
160 | case errSecInvalidValue:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:160:14: error: cannot find 'errSecInvalidValue' in scope
158 | case errSecMissingEntitlement:
159 | self = .osSecureMissingEtitlementForThisFeature
160 | case errSecInvalidValue:
| `- error: cannot find 'errSecInvalidValue' in scope
161 | self = .osSecureInvalidValue
162 | default:
[10/11] Compiling FTPropertyWrappers KeychainEncoder.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:134:27: error: cannot find type 'OSStatus' in scope
132 | case accessControllErrorUnknown
133 | case accessControllError(status: Error)
134 | case osSecure(status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
135 | case osSecureDuplicitItem
136 | case osSecureNoSuchItem
[11/11] Compiling FTPropertyWrappers Serialized.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Serialized.swift:74:13: warning: capture of 'self' with non-sendable type 'Serialized<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 | @propertyWrapper
5 | @available(swift, deprecated: 5.5, message: "Use actors instead")
6 | public final class Serialized<Value> {
| `- note: generic class 'Serialized' does not conform to the 'Sendable' protocol
7 |
8 | /// Synchronization queue for the property. Read or write to the property must be perforimed on this queue
:
72 | public func asyncAccess(transform: @escaping (Value) -> Value) {
73 | queue.async {
74 | self.value = transform(self.value)
| `- warning: capture of 'self' with non-sendable type 'Serialized<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Serialized.swift:74:26: warning: capture of 'transform' with non-sendable type '(Value) -> Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 | public func asyncAccess(transform: @escaping (Value) -> Value) {
73 | queue.async {
74 | self.value = transform(self.value)
| |- warning: capture of 'transform' with non-sendable type '(Value) -> Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling FTPropertyWrappers KeychainItemPropertyWrapper.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:134:27: error: cannot find type 'OSStatus' in scope
132 | case accessControllErrorUnknown
133 | case accessControllError(status: Error)
134 | case osSecure(status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
135 | case osSecureDuplicitItem
136 | case osSecureNoSuchItem
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:24: error: cannot find 'kSecAttrDescription' in scope
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: cannot find 'kSecAttrDescription' in scope
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:6: error: generic parameter 'T' could not be inferred
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: generic parameter 'T' could not be inferred
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:24: error: cannot find 'kSecAttrComment' in scope
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: cannot find 'kSecAttrComment' in scope
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:6: error: generic parameter 'T' could not be inferred
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: generic parameter 'T' could not be inferred
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:50:59: error: cannot find type 'CFNumber' in scope
48 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
49 | /// Delete the item from keychain in order to reset this attribute.
50 | @QueryElement(key: kSecAttrCreator) open var creator: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
51 |
52 | /// `QueryElement` type identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:56:53: error: cannot find type 'CFNumber' in scope
54 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
55 | /// Delete the item from keychain in order to reset this attribute.
56 | @QueryElement(key: kSecAttrType) open var type: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
57 |
58 | /// `QueryElement` label. This property may have a default value.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:24: error: cannot find 'kSecAttrLabel' in scope
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: cannot find 'kSecAttrLabel' in scope
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:6: error: generic parameter 'T' could not be inferred
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: generic parameter 'T' could not be inferred
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:24: error: cannot find 'kSecAttrIsInvisible' in scope
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: cannot find 'kSecAttrIsInvisible' in scope
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:6: error: generic parameter 'T' could not be inferred
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: generic parameter 'T' could not be inferred
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:74:64: error: cannot find type 'CFString' in scope
72 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
73 | /// Delete the item from keychain in order to reset this attribute.
74 | @QueryElement(key: kSecAttrAccessible) open var accesible: CFString?
| `- error: cannot find type 'CFString' in scope
75 |
76 | /// Read only `QueryElement` creation date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:32: error: cannot find 'kSecAttrCreationDate' in scope
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: cannot find 'kSecAttrCreationDate' in scope
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:6: error: generic parameter 'T' could not be inferred
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: generic parameter 'T' could not be inferred
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:32: error: cannot find 'kSecAttrModificationDate' in scope
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: cannot find 'kSecAttrModificationDate' in scope
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:6: error: generic parameter 'T' could not be inferred
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: generic parameter 'T' could not be inferred
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:91:25: error: cannot find type 'CFString' in scope
89 | /// - Warning:
90 | /// This property requires override. Do not call this class's implementation.
91 | open var itemClass: CFString { fatalError("FTPropertyWrappers SingleValueKeychainItem: error: empty class!") }
| `- error: cannot find type 'CFString' in scope
92 |
93 | /// This property must return set of kSecAttr**** keys which are excluded from value-queries and inserted
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:97:30: error: cannot find type 'CFString' in scope
95 | /// - Warning:
96 | /// This property requires override. Do not call this class's implementation.
97 | open var primaryKey: Set<CFString> { fatalError("FTPropertyWrappers SingleValueKeychainItem: error: empty keys!") }
| `- error: cannot find type 'CFString' in scope
98 |
99 | /// This method extracts data of each `QueryElement` property in the subclass hiearchy using reflection.
[3/10] Compiling FTPropertyWrappers SingleValueKeychainItem.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:24: error: cannot find 'kSecAttrDescription' in scope
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: cannot find 'kSecAttrDescription' in scope
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:6: error: generic parameter 'T' could not be inferred
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: generic parameter 'T' could not be inferred
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:24: error: cannot find 'kSecAttrComment' in scope
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: cannot find 'kSecAttrComment' in scope
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:6: error: generic parameter 'T' could not be inferred
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: generic parameter 'T' could not be inferred
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:50:59: error: cannot find type 'CFNumber' in scope
48 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
49 | /// Delete the item from keychain in order to reset this attribute.
50 | @QueryElement(key: kSecAttrCreator) open var creator: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
51 |
52 | /// `QueryElement` type identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:56:53: error: cannot find type 'CFNumber' in scope
54 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
55 | /// Delete the item from keychain in order to reset this attribute.
56 | @QueryElement(key: kSecAttrType) open var type: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
57 |
58 | /// `QueryElement` label. This property may have a default value.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:24: error: cannot find 'kSecAttrLabel' in scope
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: cannot find 'kSecAttrLabel' in scope
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:6: error: generic parameter 'T' could not be inferred
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: generic parameter 'T' could not be inferred
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:24: error: cannot find 'kSecAttrIsInvisible' in scope
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: cannot find 'kSecAttrIsInvisible' in scope
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:6: error: generic parameter 'T' could not be inferred
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: generic parameter 'T' could not be inferred
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:74:64: error: cannot find type 'CFString' in scope
72 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
73 | /// Delete the item from keychain in order to reset this attribute.
74 | @QueryElement(key: kSecAttrAccessible) open var accesible: CFString?
| `- error: cannot find type 'CFString' in scope
75 |
76 | /// Read only `QueryElement` creation date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:32: error: cannot find 'kSecAttrCreationDate' in scope
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: cannot find 'kSecAttrCreationDate' in scope
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:6: error: generic parameter 'T' could not be inferred
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: generic parameter 'T' could not be inferred
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:32: error: cannot find 'kSecAttrModificationDate' in scope
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: cannot find 'kSecAttrModificationDate' in scope
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:6: error: generic parameter 'T' could not be inferred
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: generic parameter 'T' could not be inferred
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:91:25: error: cannot find type 'CFString' in scope
89 | /// - Warning:
90 | /// This property requires override. Do not call this class's implementation.
91 | open var itemClass: CFString { fatalError("FTPropertyWrappers SingleValueKeychainItem: error: empty class!") }
| `- error: cannot find type 'CFString' in scope
92 |
93 | /// This property must return set of kSecAttr**** keys which are excluded from value-queries and inserted
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:97:30: error: cannot find type 'CFString' in scope
95 | /// - Warning:
96 | /// This property requires override. Do not call this class's implementation.
97 | open var primaryKey: Set<CFString> { fatalError("FTPropertyWrappers SingleValueKeychainItem: error: empty keys!") }
| `- error: cannot find type 'CFString' in scope
98 |
99 | /// This method extracts data of each `QueryElement` property in the subclass hiearchy using reflection.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:49:22: error: cannot find type 'CFString' in scope
47 |
48 | /// When attribute with this key is present in query, this `Query Element` is removed from the query.
49 | case overridenBy(CFString)
| `- error: cannot find type 'CFString' in scope
50 | }
51 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:151:29: error: cannot find 'kSecValueData' in scope
149 | }
150 |
151 | return searchResult[kSecValueData as String] as? Data
| `- error: cannot find 'kSecValueData' in scope
152 | }
153 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:159:23: error: cannot find 'kSecClass' in scope
157 | private func insertQuery(with itemData: Data) -> [String: Any] {
158 | return composeQueryElements()
159 | .merging([kSecClass as String: itemClass, kSecValueData as String: itemData]) { lhs, _ in lhs }
| `- error: cannot find 'kSecClass' in scope
160 | }
161 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:159:55: error: cannot find 'kSecValueData' in scope
157 | private func insertQuery(with itemData: Data) -> [String: Any] {
158 | return composeQueryElements()
159 | .merging([kSecClass as String: itemClass, kSecValueData as String: itemData]) { lhs, _ in lhs }
| `- error: cannot find 'kSecValueData' in scope
160 | }
161 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:165:98: error: cannot find type 'CFString' in scope
163 | /// `primaryKey`, `kSecClass` identifier, `kSecMatchLimit` set to match one and copy data and attributes.
164 | private func fetchQuery() -> [String: Any] {
165 | var query: [String: Any] = composeQueryElements().filter { primaryKey.contains($0.key as CFString) }
| `- error: cannot find type 'CFString' in scope
166 |
167 | query[kSecClass as String] = itemClass
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:167:15: error: cannot find 'kSecClass' in scope
165 | var query: [String: Any] = composeQueryElements().filter { primaryKey.contains($0.key as CFString) }
166 |
167 | query[kSecClass as String] = itemClass
| `- error: cannot find 'kSecClass' in scope
168 | query[kSecMatchLimit as String] = kSecMatchLimitOne
169 | query[kSecReturnAttributes as String] = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:168:15: error: cannot find 'kSecMatchLimit' in scope
166 |
167 | query[kSecClass as String] = itemClass
168 | query[kSecMatchLimit as String] = kSecMatchLimitOne
| `- error: cannot find 'kSecMatchLimit' in scope
169 | query[kSecReturnAttributes as String] = true
170 | query[kSecReturnData as String] = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:168:43: error: cannot find 'kSecMatchLimitOne' in scope
166 |
167 | query[kSecClass as String] = itemClass
168 | query[kSecMatchLimit as String] = kSecMatchLimitOne
| `- error: cannot find 'kSecMatchLimitOne' in scope
169 | query[kSecReturnAttributes as String] = true
170 | query[kSecReturnData as String] = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:169:15: error: cannot find 'kSecReturnAttributes' in scope
167 | query[kSecClass as String] = itemClass
168 | query[kSecMatchLimit as String] = kSecMatchLimitOne
169 | query[kSecReturnAttributes as String] = true
| `- error: cannot find 'kSecReturnAttributes' in scope
170 | query[kSecReturnData as String] = true
171 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:170:15: error: cannot find 'kSecReturnData' in scope
168 | query[kSecMatchLimit as String] = kSecMatchLimitOne
169 | query[kSecReturnAttributes as String] = true
170 | query[kSecReturnData as String] = true
| `- error: cannot find 'kSecReturnData' in scope
171 |
172 | return query
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:180:23: error: cannot find 'kSecClass' in scope
178 | return composeQueryElements()
179 | .filter { primaryKey.contains($0.key as CFString) }
180 | .merging([kSecClass as String: itemClass]) { lhs, _ in lhs }
| `- error: cannot find 'kSecClass' in scope
181 | }
182 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:179:53: error: cannot find type 'CFString' in scope
177 | private func updateFetchQuery() -> [String: Any] {
178 | return composeQueryElements()
179 | .filter { primaryKey.contains($0.key as CFString) }
| `- error: cannot find type 'CFString' in scope
180 | .merging([kSecClass as String: itemClass]) { lhs, _ in lhs }
181 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:187:23: error: cannot find 'kSecValueData' in scope
185 | private func updateAttributesQuery(with itemData: Data) -> [String: Any] {
186 | return composeQueryElements()
187 | .merging([kSecValueData as String: itemData]) { lhs, _ in lhs }
| `- error: cannot find 'kSecValueData' in scope
188 | }
189 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:195:23: error: cannot find 'kSecClass' in scope
193 | return composeQueryElements()
194 | .filter { primaryKey.contains($0.key as CFString) }
195 | .merging([kSecClass as String: itemClass]) { lhs, _ in lhs }
| `- error: cannot find 'kSecClass' in scope
196 | }
197 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:194:53: error: cannot find type 'CFString' in scope
192 | private var deleteQuery: [String: Any] {
193 | return composeQueryElements()
194 | .filter { primaryKey.contains($0.key as CFString) }
| `- error: cannot find type 'CFString' in scope
195 | .merging([kSecClass as String: itemClass]) { lhs, _ in lhs }
196 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:202:55: error: cannot find type 'CFString' in scope
200 | Mirror(reflecting: self).forEachChildInClassHiearchy { child in
201 | guard var element = child.value as? WrappedConfiguringElement,
202 | !primaryKey.contains(element.key as CFString) else {
| `- error: cannot find type 'CFString' in scope
203 | return
204 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:213:22: error: cannot find 'SecItemAdd' in scope
211 | /// Executes insert query.
212 | func executeInsertQuery(storing data: Data) throws {
213 | let status = SecItemAdd(insertQuery(with: data) as CFDictionary, nil)
| `- error: cannot find 'SecItemAdd' in scope
214 | guard status == errSecSuccess else {
215 | throw KeychainError(fromOSStatus: status)
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:213:60: error: cannot find type 'CFDictionary' in scope
211 | /// Executes insert query.
212 | func executeInsertQuery(storing data: Data) throws {
213 | let status = SecItemAdd(insertQuery(with: data) as CFDictionary, nil)
| `- error: cannot find type 'CFDictionary' in scope
214 | guard status == errSecSuccess else {
215 | throw KeychainError(fromOSStatus: status)
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:213:74: error: 'nil' requires a contextual type
211 | /// Executes insert query.
212 | func executeInsertQuery(storing data: Data) throws {
213 | let status = SecItemAdd(insertQuery(with: data) as CFDictionary, nil)
| `- error: 'nil' requires a contextual type
214 | guard status == errSecSuccess else {
215 | throw KeychainError(fromOSStatus: status)
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:214:25: error: cannot find 'errSecSuccess' in scope
212 | func executeInsertQuery(storing data: Data) throws {
213 | let status = SecItemAdd(insertQuery(with: data) as CFDictionary, nil)
214 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
215 | throw KeychainError(fromOSStatus: status)
216 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:144:31: error: cannot find type 'OSStatus' in scope
142 | case osSecureInvalidValue
143 |
144 | init(fromOSStatus status: OSStatus) {
| `- error: cannot find type 'OSStatus' in scope
145 | switch status {
146 | case errSecDuplicateItem:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:222:19: error: cannot find type 'CFTypeRef' in scope
220 | /// Executed fetch query.
221 | func executeFetchQuery() throws -> Data? {
222 | var item: CFTypeRef?
| `- error: cannot find type 'CFTypeRef' in scope
223 | let status = SecItemCopyMatching(fetchQuery() as CFDictionary, &item)
224 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:223:22: error: cannot find 'SecItemCopyMatching' in scope
221 | func executeFetchQuery() throws -> Data? {
222 | var item: CFTypeRef?
223 | let status = SecItemCopyMatching(fetchQuery() as CFDictionary, &item)
| `- error: cannot find 'SecItemCopyMatching' in scope
224 |
225 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:223:58: error: cannot find type 'CFDictionary' in scope
221 | func executeFetchQuery() throws -> Data? {
222 | var item: CFTypeRef?
223 | let status = SecItemCopyMatching(fetchQuery() as CFDictionary, &item)
| `- error: cannot find type 'CFDictionary' in scope
224 |
225 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:225:25: error: cannot find 'errSecSuccess' in scope
223 | let status = SecItemCopyMatching(fetchQuery() as CFDictionary, &item)
224 |
225 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
226 | throw KeychainError(fromOSStatus: status)
227 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:242:22: error: cannot find 'SecItemUpdate' in scope
240 | let fetchQuery = updateFetchQuery()
241 | let attributeQuery = updateAttributesQuery(with: data).filter { key, _ in fetchQuery[key] == nil }
242 | let status = SecItemUpdate(fetchQuery as CFDictionary, attributeQuery as CFDictionary)
| `- error: cannot find 'SecItemUpdate' in scope
243 |
244 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:242:50: error: cannot find type 'CFDictionary' in scope
240 | let fetchQuery = updateFetchQuery()
241 | let attributeQuery = updateAttributesQuery(with: data).filter { key, _ in fetchQuery[key] == nil }
242 | let status = SecItemUpdate(fetchQuery as CFDictionary, attributeQuery as CFDictionary)
| `- error: cannot find type 'CFDictionary' in scope
243 |
244 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:242:82: error: cannot find type 'CFDictionary' in scope
240 | let fetchQuery = updateFetchQuery()
241 | let attributeQuery = updateAttributesQuery(with: data).filter { key, _ in fetchQuery[key] == nil }
242 | let status = SecItemUpdate(fetchQuery as CFDictionary, attributeQuery as CFDictionary)
| `- error: cannot find type 'CFDictionary' in scope
243 |
244 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:244:25: error: cannot find 'errSecSuccess' in scope
242 | let status = SecItemUpdate(fetchQuery as CFDictionary, attributeQuery as CFDictionary)
243 |
244 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
245 | throw KeychainError(fromOSStatus: status)
246 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:253:22: error: cannot find 'SecItemDelete' in scope
251 | /// Executes delete query.
252 | func executeDeleteQuery() throws {
253 | let status = SecItemDelete(deleteQuery as CFDictionary)
| `- error: cannot find 'SecItemDelete' in scope
254 | guard status == errSecSuccess || status == errSecItemNotFound else {
255 | throw KeychainError(fromOSStatus: status)
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:253:51: error: cannot find type 'CFDictionary' in scope
251 | /// Executes delete query.
252 | func executeDeleteQuery() throws {
253 | let status = SecItemDelete(deleteQuery as CFDictionary)
| `- error: cannot find type 'CFDictionary' in scope
254 | guard status == errSecSuccess || status == errSecItemNotFound else {
255 | throw KeychainError(fromOSStatus: status)
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:254:25: error: cannot find 'errSecSuccess' in scope
252 | func executeDeleteQuery() throws {
253 | let status = SecItemDelete(deleteQuery as CFDictionary)
254 | guard status == errSecSuccess || status == errSecItemNotFound else {
| `- error: cannot find 'errSecSuccess' in scope
255 | throw KeychainError(fromOSStatus: status)
256 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:254:52: error: cannot find 'errSecItemNotFound' in scope
252 | func executeDeleteQuery() throws {
253 | let status = SecItemDelete(deleteQuery as CFDictionary)
254 | guard status == errSecSuccess || status == errSecItemNotFound else {
| `- error: cannot find 'errSecItemNotFound' in scope
255 | throw KeychainError(fromOSStatus: status)
256 | }
[4/10] Compiling FTPropertyWrappers KeychainTypes.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:46:19: error: cannot find type 'CFString' in scope
44 |
45 | /// When this `QueryElement`'s value is not nil, attribute specified in this constraint is set to nil.
46 | case override(CFString)
| `- error: cannot find type 'CFString' in scope
47 |
48 | /// When attribute with this key is present in query, this `Query Element` is removed from the query.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:49:22: error: cannot find type 'CFString' in scope
47 |
48 | /// When attribute with this key is present in query, this `Query Element` is removed from the query.
49 | case overridenBy(CFString)
| `- error: cannot find type 'CFString' in scope
50 | }
51 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:134:27: error: cannot find type 'OSStatus' in scope
132 | case accessControllErrorUnknown
133 | case accessControllError(status: Error)
134 | case osSecure(status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
135 | case osSecureDuplicitItem
136 | case osSecureNoSuchItem
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:144:31: error: cannot find type 'OSStatus' in scope
142 | case osSecureInvalidValue
143 |
144 | init(fromOSStatus status: OSStatus) {
| `- error: cannot find type 'OSStatus' in scope
145 | switch status {
146 | case errSecDuplicateItem:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:146:14: error: cannot find 'errSecDuplicateItem' in scope
144 | init(fromOSStatus status: OSStatus) {
145 | switch status {
146 | case errSecDuplicateItem:
| `- error: cannot find 'errSecDuplicateItem' in scope
147 | self = .osSecureDuplicitItem
148 | case errSecItemNotFound:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:148:14: error: cannot find 'errSecItemNotFound' in scope
146 | case errSecDuplicateItem:
147 | self = .osSecureDuplicitItem
148 | case errSecItemNotFound:
| `- error: cannot find 'errSecItemNotFound' in scope
149 | self = .osSecureNoSuchItem
150 | case errSecDiskFull:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:150:14: error: cannot find 'errSecDiskFull' in scope
148 | case errSecItemNotFound:
149 | self = .osSecureNoSuchItem
150 | case errSecDiskFull:
| `- error: cannot find 'errSecDiskFull' in scope
151 | self = .osSecureDiskFull
152 | case errSecParam:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:152:14: error: cannot find 'errSecParam' in scope
150 | case errSecDiskFull:
151 | self = .osSecureDiskFull
152 | case errSecParam:
| `- error: cannot find 'errSecParam' in scope
153 | self = .osSucureInvalidParameter
154 | case errSecBadReq:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:154:14: error: cannot find 'errSecBadReq' in scope
152 | case errSecParam:
153 | self = .osSucureInvalidParameter
154 | case errSecBadReq:
| `- error: cannot find 'errSecBadReq' in scope
155 | self = .osSecureBadRequest
156 | case errSecUserCanceled:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:156:14: error: cannot find 'errSecUserCanceled' in scope
154 | case errSecBadReq:
155 | self = .osSecureBadRequest
156 | case errSecUserCanceled:
| `- error: cannot find 'errSecUserCanceled' in scope
157 | self = .osSecureUserCancelledAuthentication
158 | case errSecMissingEntitlement:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:158:14: error: cannot find 'errSecMissingEntitlement' in scope
156 | case errSecUserCanceled:
157 | self = .osSecureUserCancelledAuthentication
158 | case errSecMissingEntitlement:
| `- error: cannot find 'errSecMissingEntitlement' in scope
159 | self = .osSecureMissingEtitlementForThisFeature
160 | case errSecInvalidValue:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:160:14: error: cannot find 'errSecInvalidValue' in scope
158 | case errSecMissingEntitlement:
159 | self = .osSecureMissingEtitlementForThisFeature
160 | case errSecInvalidValue:
| `- error: cannot find 'errSecInvalidValue' in scope
161 | self = .osSecureInvalidValue
162 | default:
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module FTPropertyWrappers
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:19:24: error: cannot find 'kSecAttrAccount' in scope
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: cannot find 'kSecAttrAccount' in scope
20 |
21 | /// `QueryElement` user visible service. The service is part of the primary key of the keychain item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:19:6: error: generic parameter 'T' could not be inferred
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: generic parameter 'T' could not be inferred
20 |
21 | /// `QueryElement` user visible service. The service is part of the primary key of the keychain item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:25:24: error: cannot find 'kSecAttrService' in scope
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrService) open private(set) var service: String?
| `- error: cannot find 'kSecAttrService' in scope
26 |
27 | /// Default value for access control attribute. This default value is applied upon saving in case, that
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:25:6: error: generic parameter 'T' could not be inferred
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrService) open private(set) var service: String?
| `- error: generic parameter 'T' could not be inferred
26 |
27 | /// Default value for access control attribute. This default value is applied upon saving in case, that
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:45:102: error: cannot find type 'SecAccessControl' in scope
43 | /// the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrAccessControl,
45 | constraints: [.override(kSecAttrAccessible)]) open private(set) var accessControl: SecAccessControl?
| `- error: cannot find type 'SecAccessControl' in scope
46 |
47 | override open var itemClass: CFString { kSecClassGenericPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:134:23: error: cannot find type 'CFString' in scope
132 | refreshPolicy: KeychainDataRefreshPolicy = .onAccess,
133 | defaultValue: T? = nil,
134 | accessOption: CFString,
| `- error: cannot find type 'CFString' in scope
135 | accessFlags: SecAccessControlCreateFlags
136 | ) {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:135:22: error: cannot find type 'SecAccessControlCreateFlags' in scope
133 | defaultValue: T? = nil,
134 | accessOption: CFString,
135 | accessFlags: SecAccessControlCreateFlags
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
136 | ) {
137 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:11:28: error: cannot find type 'CFString' in scope
9 | /// Arguments needed in order to create instance of `SecAccessControl`.
10 | public struct AccessControlSettings {
11 | public let access: CFString
| `- error: cannot find type 'CFString' in scope
12 | public let flags: SecAccessControlCreateFlags
13 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:12:27: error: cannot find type 'SecAccessControlCreateFlags' in scope
10 | public struct AccessControlSettings {
11 | public let access: CFString
12 | public let flags: SecAccessControlCreateFlags
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:47:34: error: cannot find type 'CFString' in scope
45 | constraints: [.override(kSecAttrAccessible)]) open private(set) var accessControl: SecAccessControl?
46 |
47 | override open var itemClass: CFString { kSecClassGenericPassword }
| `- error: cannot find type 'CFString' in scope
48 |
49 | override open var primaryKey: Set<CFString> {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:49:39: error: cannot find type 'CFString' in scope
47 | override open var itemClass: CFString { kSecClassGenericPassword }
48 |
49 | override open var primaryKey: Set<CFString> {
| `- error: cannot find type 'CFString' in scope
50 | [ kSecAttrAccount, kSecAttrService ]
51 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:157:48: error: cannot find type 'CFString' in scope
155 | /// - flags: Access control flags, for more information visit Keychain documentation, since this argument
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
| `- error: cannot find type 'CFString' in scope
158 | var error: Unmanaged<CFError>?
159 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:157:65: error: cannot find type 'SecAccessControlCreateFlags' in scope
155 | /// - flags: Access control flags, for more information visit Keychain documentation, since this argument
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
158 | var error: Unmanaged<CFError>?
159 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:13:24: error: cannot find 'kSecAttrServer' in scope
11 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
12 | /// Delete the item from keychain in order to reset this attribute.
13 | @QueryElement(key: kSecAttrServer) open private(set) var server: String?
| `- error: cannot find 'kSecAttrServer' in scope
14 |
15 | /// `QueryElement` user visible account. Account may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:13:6: error: generic parameter 'T' could not be inferred
11 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
12 | /// Delete the item from keychain in order to reset this attribute.
13 | @QueryElement(key: kSecAttrServer) open private(set) var server: String?
| `- error: generic parameter 'T' could not be inferred
14 |
15 | /// `QueryElement` user visible account. Account may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:19:24: error: cannot find 'kSecAttrAccount' in scope
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: cannot find 'kSecAttrAccount' in scope
20 |
21 | /// `QueryElement` user visible domain. Domain may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:19:6: error: generic parameter 'T' could not be inferred
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: generic parameter 'T' could not be inferred
20 |
21 | /// `QueryElement` user visible domain. Domain may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:25:24: error: cannot find 'kSecAttrSecurityDomain' in scope
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrSecurityDomain) open private(set) var domain: String?
| `- error: cannot find 'kSecAttrSecurityDomain' in scope
26 |
27 | /// `QueryElement` user visible protocol. Values of this attribute are listed in Keychain documentation.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:25:6: error: generic parameter 'T' could not be inferred
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrSecurityDomain) open private(set) var domain: String?
| `- error: generic parameter 'T' could not be inferred
26 |
27 | /// `QueryElement` user visible protocol. Values of this attribute are listed in Keychain documentation.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:32:75: error: cannot find type 'CFString' in scope
30 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
31 | /// Delete the item from keychain in order to reset this attribute.
32 | @QueryElement(key: kSecAttrProtocol) open private(set) var aProtocol: CFString?
| `- error: cannot find type 'CFString' in scope
33 |
34 | /// `QueryElement` user visible server-side authentication type. Values of this attribute are listed in
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:39:94: error: cannot find type 'CFString' in scope
37 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
38 | /// Delete the item from keychain in order to reset this attribute.
39 | @QueryElement(key: kSecAttrAuthenticationType) open private(set) var authenticationType: CFString?
| `- error: cannot find type 'CFString' in scope
40 |
41 | /// `QueryElement` user visible port. Port may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:45:24: error: cannot find 'kSecAttrPort' in scope
43 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
44 | /// Delete the item from keychain in order to reset this attribute.
45 | @QueryElement(key: kSecAttrPort) open private(set) var port: UInt16?
| `- error: cannot find 'kSecAttrPort' in scope
46 |
47 | /// `QueryElement` user visible path. Path may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:45:6: error: generic parameter 'T' could not be inferred
43 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
44 | /// Delete the item from keychain in order to reset this attribute.
45 | @QueryElement(key: kSecAttrPort) open private(set) var port: UInt16?
| `- error: generic parameter 'T' could not be inferred
46 |
47 | /// `QueryElement` user visible path. Path may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:51:24: error: cannot find 'kSecAttrPath' in scope
49 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
50 | /// Delete the item from keychain in order to reset this attribute.
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
| `- error: cannot find 'kSecAttrPath' in scope
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:51:6: error: generic parameter 'T' could not be inferred
49 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
50 | /// Delete the item from keychain in order to reset this attribute.
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
| `- error: generic parameter 'T' could not be inferred
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:88:20: error: cannot find type 'CFString' in scope
86 | account: String? = nil,
87 | domain: String? = nil,
88 | aProtocol: CFString? = nil,
| `- error: cannot find type 'CFString' in scope
89 | authenticationType: CFString? = nil,
90 | port: UInt16? = nil,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:89:29: error: cannot find type 'CFString' in scope
87 | domain: String? = nil,
88 | aProtocol: CFString? = nil,
89 | authenticationType: CFString? = nil,
| `- error: cannot find type 'CFString' in scope
90 | port: UInt16? = nil,
91 | path: String? = nil,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:53:34: error: cannot find type 'CFString' in scope
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
| `- error: cannot find type 'CFString' in scope
54 |
55 | override open var primaryKey: Set<CFString> { [
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:55:39: error: cannot find type 'CFString' in scope
53 | override open var itemClass: CFString { kSecClassInternetPassword }
54 |
55 | override open var primaryKey: Set<CFString> { [
| `- error: cannot find type 'CFString' in scope
56 | kSecAttrAccount,
57 | kSecAttrServer,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:46:19: error: cannot find type 'CFString' in scope
44 |
45 | /// When this `QueryElement`'s value is not nil, attribute specified in this constraint is set to nil.
46 | case override(CFString)
| `- error: cannot find type 'CFString' in scope
47 |
48 | /// When attribute with this key is present in query, this `Query Element` is removed from the query.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:49:22: error: cannot find type 'CFString' in scope
47 |
48 | /// When attribute with this key is present in query, this `Query Element` is removed from the query.
49 | case overridenBy(CFString)
| `- error: cannot find type 'CFString' in scope
50 | }
51 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:134:27: error: cannot find type 'OSStatus' in scope
132 | case accessControllErrorUnknown
133 | case accessControllError(status: Error)
134 | case osSecure(status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
135 | case osSecureDuplicitItem
136 | case osSecureNoSuchItem
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:144:31: error: cannot find type 'OSStatus' in scope
142 | case osSecureInvalidValue
143 |
144 | init(fromOSStatus status: OSStatus) {
| `- error: cannot find type 'OSStatus' in scope
145 | switch status {
146 | case errSecDuplicateItem:
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:24: error: cannot find 'kSecAttrDescription' in scope
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: cannot find 'kSecAttrDescription' in scope
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:38:6: error: generic parameter 'T' could not be inferred
36 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
37 | /// Delete the item from keychain in order to reset this attribute.
38 | @QueryElement(key: kSecAttrDescription) open var description: String?
| `- error: generic parameter 'T' could not be inferred
39 |
40 | /// `QueryElement` user editable comment.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:24: error: cannot find 'kSecAttrComment' in scope
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: cannot find 'kSecAttrComment' in scope
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:44:6: error: generic parameter 'T' could not be inferred
42 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
43 | /// Delete the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrComment) open var comment: String?
| `- error: generic parameter 'T' could not be inferred
45 |
46 | /// `QueryElement` creator identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:50:59: error: cannot find type 'CFNumber' in scope
48 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
49 | /// Delete the item from keychain in order to reset this attribute.
50 | @QueryElement(key: kSecAttrCreator) open var creator: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
51 |
52 | /// `QueryElement` type identifier.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:56:53: error: cannot find type 'CFNumber' in scope
54 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
55 | /// Delete the item from keychain in order to reset this attribute.
56 | @QueryElement(key: kSecAttrType) open var type: CFNumber?
| `- error: cannot find type 'CFNumber' in scope
57 |
58 | /// `QueryElement` label. This property may have a default value.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:24: error: cannot find 'kSecAttrLabel' in scope
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: cannot find 'kSecAttrLabel' in scope
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:62:6: error: generic parameter 'T' could not be inferred
60 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
61 | /// Delete the item from keychain in order to reset this attribute.
62 | @QueryElement(key: kSecAttrLabel) open var label: String?
| `- error: generic parameter 'T' could not be inferred
63 |
64 | /// `QueryElement` is invisible indicates, whether this item should be displayed in keychain app.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:24: error: cannot find 'kSecAttrIsInvisible' in scope
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: cannot find 'kSecAttrIsInvisible' in scope
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:68:6: error: generic parameter 'T' could not be inferred
66 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
67 | /// Delete the item from keychain in order to reset this attribute.
68 | @QueryElement(key: kSecAttrIsInvisible) open var isInvisible: Bool?
| `- error: generic parameter 'T' could not be inferred
69 |
70 | /// `QueryElement` accessible specifies conditions for accessing this item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:74:64: error: cannot find type 'CFString' in scope
72 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
73 | /// Delete the item from keychain in order to reset this attribute.
74 | @QueryElement(key: kSecAttrAccessible) open var accesible: CFString?
| `- error: cannot find type 'CFString' in scope
75 |
76 | /// Read only `QueryElement` creation date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:32: error: cannot find 'kSecAttrCreationDate' in scope
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: cannot find 'kSecAttrCreationDate' in scope
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:80:6: error: generic parameter 'T' could not be inferred
78 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
79 | /// property to ensure it is up to date.
80 | @QueryElement(readOnlyKey: kSecAttrCreationDate) open private(set) var creationDate: Date?
| `- error: generic parameter 'T' could not be inferred
81 |
82 | /// Read only `QueryElement` last modification date.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:32: error: cannot find 'kSecAttrModificationDate' in scope
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: cannot find 'kSecAttrModificationDate' in scope
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:86:6: error: generic parameter 'T' could not be inferred
84 | /// This read-only attribute is synthesized by the keychain itself. Perform load operation before accessing this
85 | /// property to ensure it is up to date.
86 | @QueryElement(readOnlyKey: kSecAttrModificationDate) open private(set) var modificationDate: Date?
| `- error: generic parameter 'T' could not be inferred
87 |
88 | /// This property must return value for `kSecClass` key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:91:25: error: cannot find type 'CFString' in scope
89 | /// - Warning:
90 | /// This property requires override. Do not call this class's implementation.
91 | open var itemClass: CFString { fatalError("FTPropertyWrappers SingleValueKeychainItem: error: empty class!") }
| `- error: cannot find type 'CFString' in scope
92 |
93 | /// This property must return set of kSecAttr**** keys which are excluded from value-queries and inserted
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/SingleValueKeychainItem.swift:97:30: error: cannot find type 'CFString' in scope
95 | /// - Warning:
96 | /// This property requires override. Do not call this class's implementation.
97 | open var primaryKey: Set<CFString> { fatalError("FTPropertyWrappers SingleValueKeychainItem: error: empty keys!") }
| `- error: cannot find type 'CFString' in scope
98 |
99 | /// This method extracts data of each `QueryElement` property in the subclass hiearchy using reflection.
[6/10] Compiling FTPropertyWrappers KeychainDecoder.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:134:27: error: cannot find type 'OSStatus' in scope
132 | case accessControllErrorUnknown
133 | case accessControllError(status: Error)
134 | case osSecure(status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
135 | case osSecureDuplicitItem
136 | case osSecureNoSuchItem
[7/10] Compiling FTPropertyWrappers InternetPassword.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:13:24: error: cannot find 'kSecAttrServer' in scope
11 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
12 | /// Delete the item from keychain in order to reset this attribute.
13 | @QueryElement(key: kSecAttrServer) open private(set) var server: String?
| `- error: cannot find 'kSecAttrServer' in scope
14 |
15 | /// `QueryElement` user visible account. Account may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:13:6: error: generic parameter 'T' could not be inferred
11 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
12 | /// Delete the item from keychain in order to reset this attribute.
13 | @QueryElement(key: kSecAttrServer) open private(set) var server: String?
| `- error: generic parameter 'T' could not be inferred
14 |
15 | /// `QueryElement` user visible account. Account may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:19:24: error: cannot find 'kSecAttrAccount' in scope
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: cannot find 'kSecAttrAccount' in scope
20 |
21 | /// `QueryElement` user visible domain. Domain may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:19:6: error: generic parameter 'T' could not be inferred
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: generic parameter 'T' could not be inferred
20 |
21 | /// `QueryElement` user visible domain. Domain may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:25:24: error: cannot find 'kSecAttrSecurityDomain' in scope
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrSecurityDomain) open private(set) var domain: String?
| `- error: cannot find 'kSecAttrSecurityDomain' in scope
26 |
27 | /// `QueryElement` user visible protocol. Values of this attribute are listed in Keychain documentation.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:25:6: error: generic parameter 'T' could not be inferred
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrSecurityDomain) open private(set) var domain: String?
| `- error: generic parameter 'T' could not be inferred
26 |
27 | /// `QueryElement` user visible protocol. Values of this attribute are listed in Keychain documentation.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:32:75: error: cannot find type 'CFString' in scope
30 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
31 | /// Delete the item from keychain in order to reset this attribute.
32 | @QueryElement(key: kSecAttrProtocol) open private(set) var aProtocol: CFString?
| `- error: cannot find type 'CFString' in scope
33 |
34 | /// `QueryElement` user visible server-side authentication type. Values of this attribute are listed in
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:39:94: error: cannot find type 'CFString' in scope
37 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
38 | /// Delete the item from keychain in order to reset this attribute.
39 | @QueryElement(key: kSecAttrAuthenticationType) open private(set) var authenticationType: CFString?
| `- error: cannot find type 'CFString' in scope
40 |
41 | /// `QueryElement` user visible port. Port may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:45:24: error: cannot find 'kSecAttrPort' in scope
43 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
44 | /// Delete the item from keychain in order to reset this attribute.
45 | @QueryElement(key: kSecAttrPort) open private(set) var port: UInt16?
| `- error: cannot find 'kSecAttrPort' in scope
46 |
47 | /// `QueryElement` user visible path. Path may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:45:6: error: generic parameter 'T' could not be inferred
43 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
44 | /// Delete the item from keychain in order to reset this attribute.
45 | @QueryElement(key: kSecAttrPort) open private(set) var port: UInt16?
| `- error: generic parameter 'T' could not be inferred
46 |
47 | /// `QueryElement` user visible path. Path may be a part of keychain item's primary key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:51:24: error: cannot find 'kSecAttrPath' in scope
49 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
50 | /// Delete the item from keychain in order to reset this attribute.
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
| `- error: cannot find 'kSecAttrPath' in scope
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:51:6: error: generic parameter 'T' could not be inferred
49 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
50 | /// Delete the item from keychain in order to reset this attribute.
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
| `- error: generic parameter 'T' could not be inferred
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:88:20: error: cannot find type 'CFString' in scope
86 | account: String? = nil,
87 | domain: String? = nil,
88 | aProtocol: CFString? = nil,
| `- error: cannot find type 'CFString' in scope
89 | authenticationType: CFString? = nil,
90 | port: UInt16? = nil,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:89:29: error: cannot find type 'CFString' in scope
87 | domain: String? = nil,
88 | aProtocol: CFString? = nil,
89 | authenticationType: CFString? = nil,
| `- error: cannot find type 'CFString' in scope
90 | port: UInt16? = nil,
91 | path: String? = nil,
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:53:34: error: cannot find type 'CFString' in scope
51 | @QueryElement(key: kSecAttrPath) open private(set) var path: String?
52 |
53 | override open var itemClass: CFString { kSecClassInternetPassword }
| `- error: cannot find type 'CFString' in scope
54 |
55 | override open var primaryKey: Set<CFString> { [
/host/spi-builder-workspace/Sources/FTPropertyWrappers/InternetPassword.swift:55:39: error: cannot find type 'CFString' in scope
53 | override open var itemClass: CFString { kSecClassInternetPassword }
54 |
55 | override open var primaryKey: Set<CFString> { [
| `- error: cannot find type 'CFString' in scope
56 | kSecAttrAccount,
57 | kSecAttrServer,
[8/10] Compiling FTPropertyWrappers GenericPassword.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:19:24: error: cannot find 'kSecAttrAccount' in scope
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: cannot find 'kSecAttrAccount' in scope
20 |
21 | /// `QueryElement` user visible service. The service is part of the primary key of the keychain item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:93:15: error: cannot find type 'CFString' in scope
91 | /// - key: Corresponding kSecAttr**** key at keychain query.
92 | /// - constraints: Constraints are result of conditions described in Apple's documentation.
93 | init(key: CFString, constraints: [KeychainQueryPresenceConstraint] = []) {
| `- error: cannot find type 'CFString' in scope
94 | self.key = key as String
95 | self.readOnly = false
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:102:23: error: cannot find type 'CFString' in scope
100 | /// being written into a query.
101 | /// - Parameter readOnlyKey: Corresponding kSecAttr**** key at keychain query
102 | init(readOnlyKey: CFString) {
| `- error: cannot find type 'CFString' in scope
103 | self.key = readOnlyKey as String
104 | self.readOnly = true
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:19:6: error: generic parameter 'T' could not be inferred
17 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
18 | /// Delete the item from keychain in order to reset this attribute.
19 | @QueryElement(key: kSecAttrAccount) open private(set) var account: String?
| `- error: generic parameter 'T' could not be inferred
20 |
21 | /// `QueryElement` user visible service. The service is part of the primary key of the keychain item.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:25:24: error: cannot find 'kSecAttrService' in scope
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrService) open private(set) var service: String?
| `- error: cannot find 'kSecAttrService' in scope
26 |
27 | /// Default value for access control attribute. This default value is applied upon saving in case, that
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:25:6: error: generic parameter 'T' could not be inferred
23 | /// Once corresponding value stored in keychain, setting this property to `nil` will not have any effect.
24 | /// Delete the item from keychain in order to reset this attribute.
25 | @QueryElement(key: kSecAttrService) open private(set) var service: String?
| `- error: generic parameter 'T' could not be inferred
26 |
27 | /// Default value for access control attribute. This default value is applied upon saving in case, that
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:61:33: note: 'T' declared as parameter to type 'QueryElement'
59 | /// only guarantee is, that if at least one of such properties is not nil, this key will be written to query before
60 | /// contraints are resolved.
61 | public final class QueryElement<T>: WrappedConfiguringElement {
| `- note: 'T' declared as parameter to type 'QueryElement'
62 |
63 | /// Value corresponding to the attribute key.
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:45:102: error: cannot find type 'SecAccessControl' in scope
43 | /// the item from keychain in order to reset this attribute.
44 | @QueryElement(key: kSecAttrAccessControl,
45 | constraints: [.override(kSecAttrAccessible)]) open private(set) var accessControl: SecAccessControl?
| `- error: cannot find type 'SecAccessControl' in scope
46 |
47 | override open var itemClass: CFString { kSecClassGenericPassword }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:134:23: error: cannot find type 'CFString' in scope
132 | refreshPolicy: KeychainDataRefreshPolicy = .onAccess,
133 | defaultValue: T? = nil,
134 | accessOption: CFString,
| `- error: cannot find type 'CFString' in scope
135 | accessFlags: SecAccessControlCreateFlags
136 | ) {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:135:22: error: cannot find type 'SecAccessControlCreateFlags' in scope
133 | defaultValue: T? = nil,
134 | accessOption: CFString,
135 | accessFlags: SecAccessControlCreateFlags
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
136 | ) {
137 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:11:28: error: cannot find type 'CFString' in scope
9 | /// Arguments needed in order to create instance of `SecAccessControl`.
10 | public struct AccessControlSettings {
11 | public let access: CFString
| `- error: cannot find type 'CFString' in scope
12 | public let flags: SecAccessControlCreateFlags
13 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:12:27: error: cannot find type 'SecAccessControlCreateFlags' in scope
10 | public struct AccessControlSettings {
11 | public let access: CFString
12 | public let flags: SecAccessControlCreateFlags
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:47:34: error: cannot find type 'CFString' in scope
45 | constraints: [.override(kSecAttrAccessible)]) open private(set) var accessControl: SecAccessControl?
46 |
47 | override open var itemClass: CFString { kSecClassGenericPassword }
| `- error: cannot find type 'CFString' in scope
48 |
49 | override open var primaryKey: Set<CFString> {
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:49:39: error: cannot find type 'CFString' in scope
47 | override open var itemClass: CFString { kSecClassGenericPassword }
48 |
49 | override open var primaryKey: Set<CFString> {
| `- error: cannot find type 'CFString' in scope
50 | [ kSecAttrAccount, kSecAttrService ]
51 | }
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:157:48: error: cannot find type 'CFString' in scope
155 | /// - flags: Access control flags, for more information visit Keychain documentation, since this argument
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
| `- error: cannot find type 'CFString' in scope
158 | var error: Unmanaged<CFError>?
159 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:157:65: error: cannot find type 'SecAccessControlCreateFlags' in scope
155 | /// - flags: Access control flags, for more information visit Keychain documentation, since this argument
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
| `- error: cannot find type 'SecAccessControlCreateFlags' in scope
158 | var error: Unmanaged<CFError>?
159 |
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:158:30: error: cannot find type 'CFError' in scope
156 | /// is used as-is.
157 | public func modifyAccess(using accessible: CFString, flags: SecAccessControlCreateFlags) throws {
158 | var error: Unmanaged<CFError>?
| `- error: cannot find type 'CFError' in scope
159 |
160 | let access = SecAccessControlCreateWithFlags(nil, accessible, flags, &error)
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:160:22: error: cannot find 'SecAccessControlCreateWithFlags' in scope
158 | var error: Unmanaged<CFError>?
159 |
160 | let access = SecAccessControlCreateWithFlags(nil, accessible, flags, &error)
| `- error: cannot find 'SecAccessControlCreateWithFlags' in scope
161 | if let error = error?.takeRetainedValue() as Error? {
162 | throw KeychainError.accessControllError(status: error)
/host/spi-builder-workspace/Sources/FTPropertyWrappers/GenericPassword.swift:160:54: error: 'nil' requires a contextual type
158 | var error: Unmanaged<CFError>?
159 |
160 | let access = SecAccessControlCreateWithFlags(nil, accessible, flags, &error)
| `- error: 'nil' requires a contextual type
161 | if let error = error?.takeRetainedValue() as Error? {
162 | throw KeychainError.accessControllError(status: error)
[9/10] Compiling FTPropertyWrappers KeychainEncoder.swift
/host/spi-builder-workspace/Sources/FTPropertyWrappers/Keychain - Support/KeychainTypes.swift:134:27: error: cannot find type 'OSStatus' in scope
132 | case accessControllErrorUnknown
133 | case accessControllError(status: Error)
134 | case osSecure(status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
135 | case osSecureDuplicitItem
136 | case osSecureNoSuchItem
[10/10] Compiling FTPropertyWrappers Serialized.swift
BUILD FAILURE 6.1 linux