Build Information
Successful build of Haversack, reference main (adcec9), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 04:38:32 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jamf/Haversack.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jamf/Haversack
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at adcec90 Merge pull request #13 from JacobHearst/bugfix/search-only-returns-single-value
Cloned https://github.com/jamf/Haversack.git
Revision (git rev-parse @):
adcec900f4d1034de25f33e89751741baa4ac684
SUCCESS checkout https://github.com/jamf/Haversack.git at main
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2271] Fetching swift-docc-plugin
[229/25808] Fetching swift-docc-plugin, swift-collections
[700/29480] Fetching swift-docc-plugin, swift-collections, swift-docc-symbolkit
Fetched https://github.com/apple/swift-collections from cache (2.06s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.06s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (2.06s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (5.30s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.0 (0.79s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.74s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "haversack",
"name": "Haversack",
"url": "https://github.com/jamf/Haversack.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Haversack",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/jamf/Haversack.git
[1/314] Fetching haversack
Fetched https://github.com/jamf/Haversack.git from cache (0.80s)
Fetching https://github.com/apple/swift-collections from cache
Fetched https://github.com/apple/swift-collections from cache (0.54s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (1.27s)
Creating working copy for https://github.com/jamf/Haversack.git
Working copy of https://github.com/jamf/Haversack.git resolved at main (adcec90)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
warning: '.resolve-product-dependencies': dependency 'haversack' is not used by any target
Found 1 product dependencies
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/jamf/Haversack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Copying PrivacyInfo.xcprivacy
[2/9] Write sources
[8/9] Write swift-version--6988338F2F200930.txt
[10/27] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[11/27] Compiling _CollectionsUtilities Specialize.swift
[12/27] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[13/28] Compiling _CollectionsUtilities Debugging.swift
[14/28] Compiling _CollectionsUtilities Descriptions.swift
[15/28] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[16/28] Compiling _CollectionsUtilities _SortedCollection.swift
[17/28] Compiling _CollectionsUtilities _UniqueCollection.swift
[18/28] Compiling _CollectionsUtilities UInt+reversed.swift
[19/28] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[20/28] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[21/28] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[22/28] Compiling _CollectionsUtilities Integer rank.swift
[23/28] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[24/28] Emitting module _CollectionsUtilities
[25/28] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[26/28] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[27/28] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[28/28] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[29/84] Compiling OrderedCollections OrderedSet+Codable.swift
[30/84] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[31/84] Compiling OrderedCollections OrderedSet+Descriptions.swift
[32/84] Compiling OrderedCollections OrderedSet+Diffing.swift
[33/84] Compiling OrderedCollections OrderedSet+Equatable.swift
[34/84] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[35/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[36/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[37/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[38/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[39/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[40/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[41/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[42/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[43/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[44/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[45/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[46/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[47/90] Compiling OrderedCollections OrderedDictionary+Elements.swift
[48/90] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[49/90] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[50/90] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[51/90] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[52/90] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[53/90] Compiling OrderedCollections _Hashtable+Header.swift
[54/90] Compiling OrderedCollections OrderedDictionary+Codable.swift
[55/90] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[56/90] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[57/90] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[58/90] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[59/90] Compiling OrderedCollections OrderedSet+Hashable.swift
[60/90] Compiling OrderedCollections OrderedSet+Initializers.swift
[61/90] Compiling OrderedCollections OrderedSet+Insertions.swift
[62/90] Compiling OrderedCollections OrderedSet+Invariants.swift
[63/90] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[64/90] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[65/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[66/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[67/90] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[68/90] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[69/90] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[70/90] Compiling OrderedCollections OrderedSet+Sendable.swift
[71/90] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[72/90] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[73/90] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[74/90] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[75/90] Compiling OrderedCollections OrderedDictionary+Values.swift
[76/90] Compiling OrderedCollections OrderedDictionary.swift
[77/90] Compiling OrderedCollections _HashTable+Bucket.swift
[78/90] Compiling OrderedCollections _HashTable+BucketIterator.swift
[79/90] Compiling OrderedCollections _HashTable+Constants.swift
[80/90] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[81/90] Compiling OrderedCollections _HashTable+Testing.swift
[82/90] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[83/90] Compiling OrderedCollections _HashTable.swift
[84/90] Compiling OrderedCollections OrderedSet+SubSequence.swift
[85/90] Compiling OrderedCollections OrderedSet+Testing.swift
[86/90] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[87/90] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[88/90] Compiling OrderedCollections OrderedSet.swift
[89/90] Compiling OrderedCollections _UnsafeBitset.swift
[90/90] Emitting module OrderedCollections
[91/124] Emitting module Haversack
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:41:13: warning: 'SecKeychainCopyDomainSearchList' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
39 | var searchList: CFArray?
40 | let status = withUnsafeMutablePointer(to: &searchList) {
41 | SecKeychainCopyDomainSearchList(.system, UnsafeMutablePointer($0))
| `- warning: 'SecKeychainCopyDomainSearchList' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
42 | }
43 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[92/127] Compiling Haversack KeychainItemRetrievability.swift
[93/127] Compiling Haversack RetrievabilityLevel.swift
[94/127] Compiling Haversack resource_bundle_accessor.swift
[95/127] Compiling Haversack CertificateEntity.swift
[96/127] Compiling Haversack Data+X501Name.swift
[97/127] Compiling Haversack GenericPasswordEntity.swift
[98/127] Compiling Haversack IdentityEntity.swift
[99/127] Compiling Haversack Logs.swift
[100/127] Compiling Haversack CertificateBaseQuerying.swift
[101/127] Compiling Haversack CertificateQuery.swift
[102/127] Compiling Haversack GenericPasswordQuery.swift
[103/127] Compiling Haversack InternetPasswordEntity.swift
[104/127] Compiling Haversack KeyEntity.swift
[105/127] Compiling Haversack KeychainStorable.swift
[106/127] Compiling Haversack PasswordBaseEntity.swift
[107/127] Compiling Haversack KeyQuery.swift
[108/127] Compiling Haversack KeychainQueryOptions.swift
[109/127] Compiling Haversack KeychainQuerying.swift
[110/127] Compiling Haversack PasswordBaseQuerying.swift
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:41:13: warning: 'SecKeychainCopyDomainSearchList' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
39 | var searchList: CFArray?
40 | let status = withUnsafeMutablePointer(to: &searchList) {
41 | SecKeychainCopyDomainSearchList(.system, UnsafeMutablePointer($0))
| `- warning: 'SecKeychainCopyDomainSearchList' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:85:13: warning: 'SecKeychainGetPath' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
83 | let pathName = UnsafeMutablePointer<CChar>.allocate(capacity: Int(pathLength))
84 | let status = withUnsafeMutablePointer(to: &pathLength) { pathLength in
85 | SecKeychainGetPath(reference, pathLength, pathName)
| `- warning: 'SecKeychainGetPath' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:127:22: warning: 'SecKeychainOpen' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
125 | func open() throws {
126 | os_log("Attempting to open keychain at %{public}@", log: Logs.keychainFile, type: .default, path)
127 | let status = SecKeychainOpen(path, &reference)
| `- warning: 'SecKeychainOpen' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
128 | if status != errSecSuccess {
129 | os_log("SecKeychainOpen returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:159:22: warning: 'SecKeychainCreate' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
157 |
158 | os_log("Attempting to create keychain at %{public}@", log: Logs.keychainFile, type: .default, path)
159 | let status = SecKeychainCreate(path, UInt32(rawPassword.count), rawPassword, false, nil, &reference)
| `- warning: 'SecKeychainCreate' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
160 | if status != errSecSuccess {
161 | os_log("SecKeychainCreate returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:170:22: warning: 'SecKeychainDelete' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
168 | public func delete() throws {
169 | os_log("Attempting to delete keychain at %{public}@", log: Logs.keychainFile, type: .default, path)
170 | let status = SecKeychainDelete(reference)
| `- warning: 'SecKeychainDelete' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
171 | if status != errSecSuccess {
172 | os_log("SecKeychainDelete returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:186:22: warning: 'SecKeychainGetStatus' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
184 |
185 | var rawStatus: SecKeychainStatus = .zero
186 | let status = SecKeychainGetStatus(keychain, &rawStatus)
| `- warning: 'SecKeychainGetStatus' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
187 | if status == errSecSuccess {
188 | let keychainStatus = KeychainStatusOptions(rawValue: rawStatus)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:206:22: warning: 'SecKeychainLock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
204 |
205 | os_log("Attempting to lock keychain at %{public}@", log: Logs.keychainFile, type: .info, path)
206 | let status = SecKeychainLock(keychain)
| `- warning: 'SecKeychainLock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
207 | if status != errSecSuccess {
208 | os_log("SecKeychainLock returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:228:22: warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
226 | // We can't unlock the system keychain with our password; prompt the user if needed.
227 | os_log("Attempting to unlock keychain at %{public}@", log: Logs.keychainFile, type: .info, path)
228 | status = SecKeychainUnlock(keychain, 0, nil, false)
| `- warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
229 | } else {
230 | guard let passwordFunc = passwordProvider else {
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:238:22: warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
236 | let rawPassword = passwordFunc(path)
237 | os_log("Attempting to unlock keychain at %{public}@", log: Logs.keychainFile, type: .info, path)
238 | status = SecKeychainUnlock(keychain, UInt32(rawPassword.count), rawPassword, true)
| `- warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
239 | }
240 | if status != errSecSuccess {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[111/127] Compiling Haversack ItemSecurity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:41:13: warning: 'SecKeychainCopyDomainSearchList' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
39 | var searchList: CFArray?
40 | let status = withUnsafeMutablePointer(to: &searchList) {
41 | SecKeychainCopyDomainSearchList(.system, UnsafeMutablePointer($0))
| `- warning: 'SecKeychainCopyDomainSearchList' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:85:13: warning: 'SecKeychainGetPath' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
83 | let pathName = UnsafeMutablePointer<CChar>.allocate(capacity: Int(pathLength))
84 | let status = withUnsafeMutablePointer(to: &pathLength) { pathLength in
85 | SecKeychainGetPath(reference, pathLength, pathName)
| `- warning: 'SecKeychainGetPath' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:127:22: warning: 'SecKeychainOpen' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
125 | func open() throws {
126 | os_log("Attempting to open keychain at %{public}@", log: Logs.keychainFile, type: .default, path)
127 | let status = SecKeychainOpen(path, &reference)
| `- warning: 'SecKeychainOpen' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
128 | if status != errSecSuccess {
129 | os_log("SecKeychainOpen returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:159:22: warning: 'SecKeychainCreate' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
157 |
158 | os_log("Attempting to create keychain at %{public}@", log: Logs.keychainFile, type: .default, path)
159 | let status = SecKeychainCreate(path, UInt32(rawPassword.count), rawPassword, false, nil, &reference)
| `- warning: 'SecKeychainCreate' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
160 | if status != errSecSuccess {
161 | os_log("SecKeychainCreate returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:170:22: warning: 'SecKeychainDelete' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
168 | public func delete() throws {
169 | os_log("Attempting to delete keychain at %{public}@", log: Logs.keychainFile, type: .default, path)
170 | let status = SecKeychainDelete(reference)
| `- warning: 'SecKeychainDelete' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
171 | if status != errSecSuccess {
172 | os_log("SecKeychainDelete returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:186:22: warning: 'SecKeychainGetStatus' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
184 |
185 | var rawStatus: SecKeychainStatus = .zero
186 | let status = SecKeychainGetStatus(keychain, &rawStatus)
| `- warning: 'SecKeychainGetStatus' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
187 | if status == errSecSuccess {
188 | let keychainStatus = KeychainStatusOptions(rawValue: rawStatus)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:206:22: warning: 'SecKeychainLock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
204 |
205 | os_log("Attempting to lock keychain at %{public}@", log: Logs.keychainFile, type: .info, path)
206 | let status = SecKeychainLock(keychain)
| `- warning: 'SecKeychainLock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
207 | if status != errSecSuccess {
208 | os_log("SecKeychainLock returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:228:22: warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
226 | // We can't unlock the system keychain with our password; prompt the user if needed.
227 | os_log("Attempting to unlock keychain at %{public}@", log: Logs.keychainFile, type: .info, path)
228 | status = SecKeychainUnlock(keychain, 0, nil, false)
| `- warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
229 | } else {
230 | guard let passwordFunc = passwordProvider else {
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:238:22: warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
236 | let rawPassword = passwordFunc(path)
237 | os_log("Attempting to unlock keychain at %{public}@", log: Logs.keychainFile, type: .info, path)
238 | status = SecKeychainUnlock(keychain, UInt32(rawPassword.count), rawPassword, true)
| `- warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
239 | }
240 | if status != errSecSuccess {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[112/127] Compiling Haversack KeychainFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:41:13: warning: 'SecKeychainCopyDomainSearchList' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
39 | var searchList: CFArray?
40 | let status = withUnsafeMutablePointer(to: &searchList) {
41 | SecKeychainCopyDomainSearchList(.system, UnsafeMutablePointer($0))
| `- warning: 'SecKeychainCopyDomainSearchList' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:85:13: warning: 'SecKeychainGetPath' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
83 | let pathName = UnsafeMutablePointer<CChar>.allocate(capacity: Int(pathLength))
84 | let status = withUnsafeMutablePointer(to: &pathLength) { pathLength in
85 | SecKeychainGetPath(reference, pathLength, pathName)
| `- warning: 'SecKeychainGetPath' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:127:22: warning: 'SecKeychainOpen' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
125 | func open() throws {
126 | os_log("Attempting to open keychain at %{public}@", log: Logs.keychainFile, type: .default, path)
127 | let status = SecKeychainOpen(path, &reference)
| `- warning: 'SecKeychainOpen' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
128 | if status != errSecSuccess {
129 | os_log("SecKeychainOpen returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:159:22: warning: 'SecKeychainCreate' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
157 |
158 | os_log("Attempting to create keychain at %{public}@", log: Logs.keychainFile, type: .default, path)
159 | let status = SecKeychainCreate(path, UInt32(rawPassword.count), rawPassword, false, nil, &reference)
| `- warning: 'SecKeychainCreate' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
160 | if status != errSecSuccess {
161 | os_log("SecKeychainCreate returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:170:22: warning: 'SecKeychainDelete' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
168 | public func delete() throws {
169 | os_log("Attempting to delete keychain at %{public}@", log: Logs.keychainFile, type: .default, path)
170 | let status = SecKeychainDelete(reference)
| `- warning: 'SecKeychainDelete' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
171 | if status != errSecSuccess {
172 | os_log("SecKeychainDelete returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:186:22: warning: 'SecKeychainGetStatus' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
184 |
185 | var rawStatus: SecKeychainStatus = .zero
186 | let status = SecKeychainGetStatus(keychain, &rawStatus)
| `- warning: 'SecKeychainGetStatus' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
187 | if status == errSecSuccess {
188 | let keychainStatus = KeychainStatusOptions(rawValue: rawStatus)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:206:22: warning: 'SecKeychainLock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
204 |
205 | os_log("Attempting to lock keychain at %{public}@", log: Logs.keychainFile, type: .info, path)
206 | let status = SecKeychainLock(keychain)
| `- warning: 'SecKeychainLock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
207 | if status != errSecSuccess {
208 | os_log("SecKeychainLock returned error %{public}d", log: Logs.keychainFile, type: .error, status)
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:228:22: warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
226 | // We can't unlock the system keychain with our password; prompt the user if needed.
227 | os_log("Attempting to unlock keychain at %{public}@", log: Logs.keychainFile, type: .info, path)
228 | status = SecKeychainUnlock(keychain, 0, nil, false)
| `- warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
229 | } else {
230 | guard let passwordFunc = passwordProvider else {
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Security/KeychainFile.swift:238:22: warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
236 | let rawPassword = passwordFunc(path)
237 | os_log("Attempting to unlock keychain at %{public}@", log: Logs.keychainFile, type: .info, path)
238 | status = SecKeychainUnlock(keychain, UInt32(rawPassword.count), rawPassword, true)
| `- warning: 'SecKeychainUnlock' was deprecated in macOS 10.10: SecKeychain is deprecated [#DeprecatedDeclaration]
239 | }
240 | if status != errSecSuccess {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[113/127] Compiling Haversack IdentityQuery.swift
[114/127] Compiling Haversack InternetPasswordQuery.swift
[115/127] Compiling Haversack KeyBaseQuerying.swift
[116/127] Compiling Haversack GenericPasswordConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:11:58: warning: converting a value of type '(__shared sending Result<T.Entity, any Error>) -> ()' to type '(Result<T.Entity, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
9 | public func first<T: KeychainQuerying>(where query: T) async throws -> T.Entity {
10 | try await withCheckedThrowingContinuation { continuation in
11 | first(where: query, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T.Entity, any Error>) -> ()' to type '(Result<T.Entity, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:18:59: warning: converting a value of type '(__shared sending Result<[T.Entity], any Error>) -> ()' to type '(Result<[T.Entity], any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
16 | public func search<T: KeychainQuerying>(where query: T) async throws -> [T.Entity] {
17 | try await withCheckedThrowingContinuation { continuation in
18 | search(where: query, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T.Entity], any Error>) -> ()' to type '(Result<[T.Entity], any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:26:109: warning: converting a value of type '(__shared sending Result<T, any Error>) -> ()' to type '(Result<T, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
24 | public func save<T: KeychainStorable>(_ item: T, itemSecurity: ItemSecurity, updateExisting: Bool) async throws -> T {
25 | try await withCheckedThrowingContinuation { continuation in
26 | save(item, itemSecurity: itemSecurity, updateExisting: updateExisting, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T, any Error>) -> ()' to type '(Result<T, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:33:98: warning: converting a value of type '(__shared sending Result<SecKey, any Error>) -> ()' to type '(Result<SecKey, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
31 | public func generateKey(fromConfig config: KeyGenerationConfig, itemSecurity: ItemSecurity) async throws -> SecKey {
32 | try await withCheckedThrowingContinuation { continuation in
33 | generateKey(fromConfig: config, itemSecurity: itemSecurity, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<SecKey, any Error>) -> ()' to type '(Result<SecKey, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:40:107: warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
38 | public func delete<T: KeychainQuerying>(where query: T, treatNotFoundAsSuccess: Bool = true) async throws {
39 | let error = try await withCheckedThrowingContinuation { continuation in
40 | delete(where: query, treatNotFoundAsSuccess: treatNotFoundAsSuccess, completion: continuation.resume)
| |- warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:51:99: warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
49 | public func delete<T: KeychainStorable>(_ item: T, treatNotFoundAsSuccess: Bool = true) async throws {
50 | let error = try await withCheckedThrowingContinuation { continuation in
51 | delete(item, treatNotFoundAsSuccess: treatNotFoundAsSuccess, completion: continuation.resume)
| |- warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
52 | }
53 |
[117/127] Compiling Haversack Haversack+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:11:58: warning: converting a value of type '(__shared sending Result<T.Entity, any Error>) -> ()' to type '(Result<T.Entity, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
9 | public func first<T: KeychainQuerying>(where query: T) async throws -> T.Entity {
10 | try await withCheckedThrowingContinuation { continuation in
11 | first(where: query, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T.Entity, any Error>) -> ()' to type '(Result<T.Entity, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:18:59: warning: converting a value of type '(__shared sending Result<[T.Entity], any Error>) -> ()' to type '(Result<[T.Entity], any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
16 | public func search<T: KeychainQuerying>(where query: T) async throws -> [T.Entity] {
17 | try await withCheckedThrowingContinuation { continuation in
18 | search(where: query, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T.Entity], any Error>) -> ()' to type '(Result<[T.Entity], any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:26:109: warning: converting a value of type '(__shared sending Result<T, any Error>) -> ()' to type '(Result<T, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
24 | public func save<T: KeychainStorable>(_ item: T, itemSecurity: ItemSecurity, updateExisting: Bool) async throws -> T {
25 | try await withCheckedThrowingContinuation { continuation in
26 | save(item, itemSecurity: itemSecurity, updateExisting: updateExisting, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T, any Error>) -> ()' to type '(Result<T, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:33:98: warning: converting a value of type '(__shared sending Result<SecKey, any Error>) -> ()' to type '(Result<SecKey, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
31 | public func generateKey(fromConfig config: KeyGenerationConfig, itemSecurity: ItemSecurity) async throws -> SecKey {
32 | try await withCheckedThrowingContinuation { continuation in
33 | generateKey(fromConfig: config, itemSecurity: itemSecurity, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<SecKey, any Error>) -> ()' to type '(Result<SecKey, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:40:107: warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
38 | public func delete<T: KeychainQuerying>(where query: T, treatNotFoundAsSuccess: Bool = true) async throws {
39 | let error = try await withCheckedThrowingContinuation { continuation in
40 | delete(where: query, treatNotFoundAsSuccess: treatNotFoundAsSuccess, completion: continuation.resume)
| |- warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:51:99: warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
49 | public func delete<T: KeychainStorable>(_ item: T, treatNotFoundAsSuccess: Bool = true) async throws {
50 | let error = try await withCheckedThrowingContinuation { continuation in
51 | delete(item, treatNotFoundAsSuccess: treatNotFoundAsSuccess, completion: continuation.resume)
| |- warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
52 | }
53 |
[118/127] Compiling Haversack Haversack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:11:58: warning: converting a value of type '(__shared sending Result<T.Entity, any Error>) -> ()' to type '(Result<T.Entity, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
9 | public func first<T: KeychainQuerying>(where query: T) async throws -> T.Entity {
10 | try await withCheckedThrowingContinuation { continuation in
11 | first(where: query, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T.Entity, any Error>) -> ()' to type '(Result<T.Entity, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:18:59: warning: converting a value of type '(__shared sending Result<[T.Entity], any Error>) -> ()' to type '(Result<[T.Entity], any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
16 | public func search<T: KeychainQuerying>(where query: T) async throws -> [T.Entity] {
17 | try await withCheckedThrowingContinuation { continuation in
18 | search(where: query, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T.Entity], any Error>) -> ()' to type '(Result<[T.Entity], any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:26:109: warning: converting a value of type '(__shared sending Result<T, any Error>) -> ()' to type '(Result<T, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
24 | public func save<T: KeychainStorable>(_ item: T, itemSecurity: ItemSecurity, updateExisting: Bool) async throws -> T {
25 | try await withCheckedThrowingContinuation { continuation in
26 | save(item, itemSecurity: itemSecurity, updateExisting: updateExisting, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T, any Error>) -> ()' to type '(Result<T, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:33:98: warning: converting a value of type '(__shared sending Result<SecKey, any Error>) -> ()' to type '(Result<SecKey, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
31 | public func generateKey(fromConfig config: KeyGenerationConfig, itemSecurity: ItemSecurity) async throws -> SecKey {
32 | try await withCheckedThrowingContinuation { continuation in
33 | generateKey(fromConfig: config, itemSecurity: itemSecurity, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<SecKey, any Error>) -> ()' to type '(Result<SecKey, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:40:107: warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
38 | public func delete<T: KeychainQuerying>(where query: T, treatNotFoundAsSuccess: Bool = true) async throws {
39 | let error = try await withCheckedThrowingContinuation { continuation in
40 | delete(where: query, treatNotFoundAsSuccess: treatNotFoundAsSuccess, completion: continuation.resume)
| |- warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:51:99: warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
49 | public func delete<T: KeychainStorable>(_ item: T, treatNotFoundAsSuccess: Bool = true) async throws {
50 | let error = try await withCheckedThrowingContinuation { continuation in
51 | delete(item, treatNotFoundAsSuccess: treatNotFoundAsSuccess, completion: continuation.resume)
| |- warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
52 | }
53 |
[119/127] Compiling Haversack HaversackConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:11:58: warning: converting a value of type '(__shared sending Result<T.Entity, any Error>) -> ()' to type '(Result<T.Entity, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
9 | public func first<T: KeychainQuerying>(where query: T) async throws -> T.Entity {
10 | try await withCheckedThrowingContinuation { continuation in
11 | first(where: query, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T.Entity, any Error>) -> ()' to type '(Result<T.Entity, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
12 | }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:18:59: warning: converting a value of type '(__shared sending Result<[T.Entity], any Error>) -> ()' to type '(Result<[T.Entity], any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
16 | public func search<T: KeychainQuerying>(where query: T) async throws -> [T.Entity] {
17 | try await withCheckedThrowingContinuation { continuation in
18 | search(where: query, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T.Entity], any Error>) -> ()' to type '(Result<[T.Entity], any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:26:109: warning: converting a value of type '(__shared sending Result<T, any Error>) -> ()' to type '(Result<T, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
24 | public func save<T: KeychainStorable>(_ item: T, itemSecurity: ItemSecurity, updateExisting: Bool) async throws -> T {
25 | try await withCheckedThrowingContinuation { continuation in
26 | save(item, itemSecurity: itemSecurity, updateExisting: updateExisting, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T, any Error>) -> ()' to type '(Result<T, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:33:98: warning: converting a value of type '(__shared sending Result<SecKey, any Error>) -> ()' to type '(Result<SecKey, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
31 | public func generateKey(fromConfig config: KeyGenerationConfig, itemSecurity: ItemSecurity) async throws -> SecKey {
32 | try await withCheckedThrowingContinuation { continuation in
33 | generateKey(fromConfig: config, itemSecurity: itemSecurity, completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<SecKey, any Error>) -> ()' to type '(Result<SecKey, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:40:107: warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
38 | public func delete<T: KeychainQuerying>(where query: T, treatNotFoundAsSuccess: Bool = true) async throws {
39 | let error = try await withCheckedThrowingContinuation { continuation in
40 | delete(where: query, treatNotFoundAsSuccess: treatNotFoundAsSuccess, completion: continuation.resume)
| |- warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Haversack+AsyncAwait.swift:51:99: warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
49 | public func delete<T: KeychainStorable>(_ item: T, treatNotFoundAsSuccess: Bool = true) async throws {
50 | let error = try await withCheckedThrowingContinuation { continuation in
51 | delete(item, treatNotFoundAsSuccess: treatNotFoundAsSuccess, completion: continuation.resume)
| |- warning: converting a value of type '(sending (any Error)?) -> ()' to type '((any Error)?) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
52 | }
53 |
[120/127] Compiling Haversack HaversackError.swift
[121/127] Compiling Haversack HaversackStrategy.swift
[122/127] Compiling Haversack KeychainExportConfig.swift
[123/127] Compiling Haversack KeychainImportConfig.swift
[124/127] Compiling Haversack KeychainPortable.swift
[125/127] Compiling Haversack PassphraseStrategy.swift
[126/127] Compiling Haversack PrivateKeyImporting.swift
[127/127] Compiling Haversack KeyGenerationConfig.swift
[128/133] Emitting module HaversackCryptoKit
[129/133] Compiling HaversackCryptoKit GenericPasswordConvertible+CryptoKit.swift
[130/133] Compiling HaversackCryptoKit SecKeyConvertible.swift
[131/133] Compiling HaversackMock HaversackEphemeralStrategy.swift
[132/133] Emitting module HaversackMock
[133/133] Compiling HaversackMock HaversackEphemeralStrategy+mocking.swift
Build complete! (22.07s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Haversack",
"name" : "Haversack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "Haversack",
"targets" : [
"Haversack"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HaversackCryptoKit",
"targets" : [
"HaversackCryptoKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HaversackMock",
"targets" : [
"HaversackMock"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HaversackTests",
"module_type" : "SwiftTarget",
"name" : "HaversackTests",
"path" : "Tests/HaversackTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HaversackTests/TestResources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CertificateIntegrationTests.swift",
"Data+X501NameTests.swift",
"EphemeralStrategyTests.swift",
"GenericPasswordConvertibleTests.swift",
"GenericPasswordIntegrationTests.swift",
"HaversackAsyncAwaitTests.swift",
"HaversackTests.swift",
"IdentityIntegrationTests.swift",
"InternetPasswordIntegrationTests.swift",
"KeyGenerationConfigTests.swift",
"KeyGenerationIntegrationTests.swift",
"KeychainExportConfigTests.swift",
"KeychainExportIntegrationTests.swift",
"KeychainFileIntegrationTests.swift",
"KeychainImportConfigTests.swift",
"KeychainImportIntegrationTests.swift",
"QueryCertificateTests.swift",
"QueryIdentityTests.swift",
"QueryKeyTests.swift",
"QueryPasswordTests.swift",
"SystemKeychainIntegrationTests.swift",
"XCTestCase+TestResources.swift"
],
"target_dependencies" : [
"HaversackMock"
],
"type" : "test"
},
{
"c99name" : "HaversackMock",
"module_type" : "SwiftTarget",
"name" : "HaversackMock",
"path" : "Sources/HaversackMock",
"product_memberships" : [
"HaversackMock"
],
"sources" : [
"HaversackEphemeralStrategy+mocking.swift",
"HaversackEphemeralStrategy.swift"
],
"target_dependencies" : [
"Haversack"
],
"type" : "library"
},
{
"c99name" : "HaversackCryptoKit",
"module_type" : "SwiftTarget",
"name" : "HaversackCryptoKit",
"path" : "Sources/HaversackCryptoKit",
"product_memberships" : [
"HaversackCryptoKit"
],
"sources" : [
"GenericPasswordConvertible+CryptoKit.swift",
"SecKeyConvertible.swift"
],
"target_dependencies" : [
"Haversack"
],
"type" : "library"
},
{
"c99name" : "Haversack",
"module_type" : "SwiftTarget",
"name" : "Haversack",
"path" : "Sources/Haversack",
"product_dependencies" : [
"OrderedCollections"
],
"product_memberships" : [
"Haversack",
"HaversackCryptoKit",
"HaversackMock"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Haversack/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Entities/CertificateEntity.swift",
"Entities/Data+X501Name.swift",
"Entities/GenericPasswordEntity.swift",
"Entities/IdentityEntity.swift",
"Entities/InternetPasswordEntity.swift",
"Entities/KeyEntity.swift",
"Entities/KeychainStorable.swift",
"Entities/PasswordBaseEntity.swift",
"GenericPasswordConvertible.swift",
"Haversack+AsyncAwait.swift",
"Haversack.swift",
"HaversackConfiguration.swift",
"HaversackError.swift",
"HaversackStrategy.swift",
"ImportExport/KeychainExportConfig.swift",
"ImportExport/KeychainImportConfig.swift",
"ImportExport/KeychainPortable.swift",
"ImportExport/PassphraseStrategy.swift",
"ImportExport/PrivateKeyImporting.swift",
"KeyGenerationConfig.swift",
"Logs.swift",
"Queries/CertificateBaseQuerying.swift",
"Queries/CertificateQuery.swift",
"Queries/GenericPasswordQuery.swift",
"Queries/IdentityQuery.swift",
"Queries/InternetPasswordQuery.swift",
"Queries/KeyBaseQuerying.swift",
"Queries/KeyQuery.swift",
"Queries/KeychainQueryOptions.swift",
"Queries/KeychainQuerying.swift",
"Queries/PasswordBaseQuerying.swift",
"Security/ItemSecurity.swift",
"Security/KeychainFile.swift",
"Security/KeychainItemRetrievability.swift",
"Security/RetrievabilityLevel.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.