The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build IBM Security Verify, reference v3.0.11 (4189b9), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 17:55:41 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibm-security-verify/verify-sdk-ios.git
Reference: v3.0.11
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ibm-security-verify/verify-sdk-ios
 * tag               v3.0.11    -> FETCH_HEAD
HEAD is now at 4189b9c Support for digital credentials (#14)
Cloned https://github.com/ibm-security-verify/verify-sdk-ios.git
Revision (git rev-parse @):
4189b9c5ec63b4a53b6de05f26b0de5072ab0989
SUCCESS checkout https://github.com/ibm-security-verify/verify-sdk-ios.git at v3.0.11
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ibm-security-verify/verify-sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/20] Write sources
[3/20] Copying Info.plist
[5/20] Copying README.md
[5/20] Copying Localizable.strings
[5/20] Copying README.md
[9/20] Copying Info.plist
[11/20] Copying README.md
[18/20] Write sources
[19/20] Write swift-version-1EA4D86E10B52AF.txt
[21/54] Compiling Core Data+Extension.swift
[22/54] Compiling Core DateFormatter+Extension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/55] Emitting module Core
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:332:90: error: 'Digest' is only available in macOS 10.15 or newer
292 | }
293 |
294 | extension RSA.Signing.PrivateKey {
    | `- note: add @available attribute to enclosing extension
295 |     /// Creates the cryptographic signature for a block of data. SHA512 is used as the hash function.
296 |     ///
    :
330 |     /// - Returns: The digital signature.
331 |     /// - Throws: If there is a failure producing the signature.
332 |     public func signature<D>(for digest: D) throws -> RSA.Signing.RSASignature where D : Digest {
    |                 |                                                                        `- error: 'Digest' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
333 |         let algorithm = try SecKeyAlgorithm(digestType: D.self)
334 |         let dataToSign = Data(digest)
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:389:109: error: 'Digest' is only available in macOS 10.15 or newer
347 | }
348 |
349 | extension RSA.Signing.PublicKey {
    | `- note: add @available attribute to enclosing extension
350 |     /// Verifies the cryptographic signature of a block of data using a public key. SHA512 is used as the hash function.
351 |     ///
    :
387 |     /// ```
388 |     /// - Returns: A Boolean value that’s `true` if the signature is valid for the given data.
389 |     public func isValidSignature<D>(_ signature: RSA.Signing.RSASignature, for digest: D) -> Bool where D : Digest {
    |                 |                                                                                           `- error: 'Digest' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
390 |         do {
391 |             let algorithm = try SecKeyAlgorithm(digestType: D.self)
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:451:25: error: 'Digest' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 |       `- error: 'Digest' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:471:13: error: 'Digest' is only available in macOS 10.15 or newer
465 | }
466 |
467 | extension Data {
    | `- note: add @available attribute to enclosing extension
468 |     /// Initializes a Data from a Digest.
469 |     ///  - Parameters:
470 |     ///    - digest: The digest that was signed.
471 |     init<D: Digest>(_ digest: D) {
    |     |       `- error: 'Digest' is only available in macOS 10.15 or newer
    |     `- note: add @available attribute to enclosing initializer
472 |         self = digest.withUnsafeBytes {
473 |             Data($0)
/Users/admin/builder/spi-builder-workspace/Sources/core/KeychainService.swift:139:25: error: 'Logger' is only available in macOS 11.0 or newer
135 | /// The keychain is the best place to store small secrets, like passwords and cryptographic keys. Use the functions of the keychain services API to add, retrieve, delete, or modify keychain items.
136 | /// - Note: The keychain service is specific to the IBM Security Verify in that, the keychain is not synchronized with Apple iCloud and access to the items in the keychain occurs after the first device unlock operation.
137 | public final class KeychainService: NSObject {
    |                    `- note: add @available attribute to enclosing class
138 |     // MARK: Variables
139 |     private let logger: Logger
    |                         `- error: 'Logger' is only available in macOS 11.0 or newer
140 |     private let serviceName = Bundle.main.bundleIdentifier!
141 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:16:25: error: 'Logger' is only available in macOS 11.0 or newer
 12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
 13 |  /// - Remark: Using this class should **ONLY** be used for testing purposes.
 14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
    |                    `- note: add @available attribute to enclosing class
 15 |     // MARK: Variables
 16 |     private let logger: Logger
    |                         `- error: 'Logger' is only available in macOS 11.0 or newer
 17 |     private let serviceName = Bundle.main.bundleIdentifier!
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:52:25: error: 'Logger' is only available in macOS 11.0 or newer
 48 |
 49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
 50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
    |                    `- note: add @available attribute to enclosing class
 51 |     // MARK: Variables
 52 |     private let logger: Logger
    |                         `- error: 'Logger' is only available in macOS 11.0 or newer
 53 |     private let serviceName = Bundle.main.bundleIdentifier!
 54 |
[24/55] Compiling Core Codeable+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:332:90: error: 'Digest' is only available in macOS 10.15 or newer
292 | }
293 |
294 | extension RSA.Signing.PrivateKey {
    | `- note: add @available attribute to enclosing extension
295 |     /// Creates the cryptographic signature for a block of data. SHA512 is used as the hash function.
296 |     ///
    :
330 |     /// - Returns: The digital signature.
331 |     /// - Throws: If there is a failure producing the signature.
332 |     public func signature<D>(for digest: D) throws -> RSA.Signing.RSASignature where D : Digest {
    |                 |                                                                        `- error: 'Digest' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
333 |         let algorithm = try SecKeyAlgorithm(digestType: D.self)
334 |         let dataToSign = Data(digest)
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:389:109: error: 'Digest' is only available in macOS 10.15 or newer
347 | }
348 |
349 | extension RSA.Signing.PublicKey {
    | `- note: add @available attribute to enclosing extension
350 |     /// Verifies the cryptographic signature of a block of data using a public key. SHA512 is used as the hash function.
351 |     ///
    :
387 |     /// ```
388 |     /// - Returns: A Boolean value that’s `true` if the signature is valid for the given data.
389 |     public func isValidSignature<D>(_ signature: RSA.Signing.RSASignature, for digest: D) -> Bool where D : Digest {
    |                 |                                                                                           `- error: 'Digest' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
390 |         do {
391 |             let algorithm = try SecKeyAlgorithm(digestType: D.self)
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:451:25: error: 'Digest' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 |       `- error: 'Digest' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:471:13: error: 'Digest' is only available in macOS 10.15 or newer
465 | }
466 |
467 | extension Data {
    | `- note: add @available attribute to enclosing extension
468 |     /// Initializes a Data from a Digest.
469 |     ///  - Parameters:
470 |     ///    - digest: The digest that was signed.
471 |     init<D: Digest>(_ digest: D) {
    |     |       `- error: 'Digest' is only available in macOS 10.15 or newer
    |     `- note: add @available attribute to enclosing initializer
472 |         self = digest.withUnsafeBytes {
473 |             Data($0)
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:313:25: warning: conformance of 'SHA512Digest' to 'Digest' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
292 | }
293 |
294 | extension RSA.Signing.PrivateKey {
    | `- note: add @available attribute to enclosing extension
295 |     /// Creates the cryptographic signature for a block of data. SHA512 is used as the hash function.
296 |     ///
    :
310 |     /// - Returns: The digital signature.
311 |     /// - Throws: If there is a failure producing the signature.
312 |     public func signature<D>(for data: D) throws -> RSA.Signing.RSASignature where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
313 |         return try self.signature(for: SHA512.hash(data: data))
    |                         |- warning: conformance of 'SHA512Digest' to 'Digest' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                         `- note: add 'if #available' version check
314 |     }
315 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:313:40: error: 'SHA512' is only available in macOS 10.15 or newer
292 | }
293 |
294 | extension RSA.Signing.PrivateKey {
    | `- note: add @available attribute to enclosing extension
295 |     /// Creates the cryptographic signature for a block of data. SHA512 is used as the hash function.
296 |     ///
    :
310 |     /// - Returns: The digital signature.
311 |     /// - Throws: If there is a failure producing the signature.
312 |     public func signature<D>(for data: D) throws -> RSA.Signing.RSASignature where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
313 |         return try self.signature(for: SHA512.hash(data: data))
    |                                        |- error: 'SHA512' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
314 |     }
315 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:313:47: error: 'hash(data:)' is only available in macOS 10.15 or newer
292 | }
293 |
294 | extension RSA.Signing.PrivateKey {
    | `- note: add @available attribute to enclosing extension
295 |     /// Creates the cryptographic signature for a block of data. SHA512 is used as the hash function.
296 |     ///
    :
310 |     /// - Returns: The digital signature.
311 |     /// - Throws: If there is a failure producing the signature.
312 |     public func signature<D>(for data: D) throws -> RSA.Signing.RSASignature where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
313 |         return try self.signature(for: SHA512.hash(data: data))
    |                                               |- error: 'hash(data:)' is only available in macOS 10.15 or newer
    |                                               `- note: add 'if #available' version check
314 |     }
315 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:369:21: warning: conformance of 'SHA512Digest' to 'Digest' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
347 | }
348 |
349 | extension RSA.Signing.PublicKey {
    | `- note: add @available attribute to enclosing extension
350 |     /// Verifies the cryptographic signature of a block of data using a public key. SHA512 is used as the hash function.
351 |     ///
    :
366 |     /// ```
367 |     /// - Returns: A Boolean value that’s `true` if the signature is valid for the given data.
368 |     public func isValidSignature<D>(_ signature: RSA.Signing.RSASignature, for data: D) -> Bool where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
369 |         return self.isValidSignature(signature, for: SHA512.hash(data: data))
    |                     |- warning: conformance of 'SHA512Digest' to 'Digest' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                     `- note: add 'if #available' version check
370 |     }
371 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:369:54: error: 'SHA512' is only available in macOS 10.15 or newer
347 | }
348 |
349 | extension RSA.Signing.PublicKey {
    | `- note: add @available attribute to enclosing extension
350 |     /// Verifies the cryptographic signature of a block of data using a public key. SHA512 is used as the hash function.
351 |     ///
    :
366 |     /// ```
367 |     /// - Returns: A Boolean value that’s `true` if the signature is valid for the given data.
368 |     public func isValidSignature<D>(_ signature: RSA.Signing.RSASignature, for data: D) -> Bool where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
369 |         return self.isValidSignature(signature, for: SHA512.hash(data: data))
    |                                                      |- error: 'SHA512' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
370 |     }
371 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:369:61: error: 'hash(data:)' is only available in macOS 10.15 or newer
347 | }
348 |
349 | extension RSA.Signing.PublicKey {
    | `- note: add @available attribute to enclosing extension
350 |     /// Verifies the cryptographic signature of a block of data using a public key. SHA512 is used as the hash function.
351 |     ///
    :
366 |     /// ```
367 |     /// - Returns: A Boolean value that’s `true` if the signature is valid for the given data.
368 |     public func isValidSignature<D>(_ signature: RSA.Signing.RSASignature, for data: D) -> Bool where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
369 |         return self.isValidSignature(signature, for: SHA512.hash(data: data))
    |                                                             |- error: 'hash(data:)' is only available in macOS 10.15 or newer
    |                                                             `- note: add 'if #available' version check
370 |     }
371 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:453:17: error: 'Insecure' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    |                 |- error: 'Insecure' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
454 |             self = .rsaSignatureDigestPKCS1v15SHA1
455 |         case is SHA256.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:453:17: error: 'Insecure' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    |                 |- error: 'Insecure' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
454 |             self = .rsaSignatureDigestPKCS1v15SHA1
455 |         case is SHA256.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:455:17: error: 'SHA256' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
454 |             self = .rsaSignatureDigestPKCS1v15SHA1
455 |         case is SHA256.Digest.Type:
    |                 |- error: 'SHA256' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
456 |             self = .rsaSignatureDigestPKCS1v15SHA256
457 |         case is SHA384.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:455:17: error: 'SHA256' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
454 |             self = .rsaSignatureDigestPKCS1v15SHA1
455 |         case is SHA256.Digest.Type:
    |                 |- error: 'SHA256' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
456 |             self = .rsaSignatureDigestPKCS1v15SHA256
457 |         case is SHA384.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:457:17: error: 'SHA384' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
455 |         case is SHA256.Digest.Type:
456 |             self = .rsaSignatureDigestPKCS1v15SHA256
457 |         case is SHA384.Digest.Type:
    |                 |- error: 'SHA384' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
458 |             self = .rsaSignatureDigestPKCS1v15SHA384
459 |         case is SHA512.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:457:17: error: 'SHA384' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
455 |         case is SHA256.Digest.Type:
456 |             self = .rsaSignatureDigestPKCS1v15SHA256
457 |         case is SHA384.Digest.Type:
    |                 |- error: 'SHA384' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
458 |             self = .rsaSignatureDigestPKCS1v15SHA384
459 |         case is SHA512.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:459:17: error: 'SHA512' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
457 |         case is SHA384.Digest.Type:
458 |             self = .rsaSignatureDigestPKCS1v15SHA384
459 |         case is SHA512.Digest.Type:
    |                 |- error: 'SHA512' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
460 |             self = .rsaSignatureDigestPKCS1v15SHA512
461 |         default:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:459:17: error: 'SHA512' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
457 |         case is SHA384.Digest.Type:
458 |             self = .rsaSignatureDigestPKCS1v15SHA384
459 |         case is SHA512.Digest.Type:
    |                 |- error: 'SHA512' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
460 |             self = .rsaSignatureDigestPKCS1v15SHA512
461 |         default:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:462:19: error: 'CryptoKitError' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
460 |             self = .rsaSignatureDigestPKCS1v15SHA512
461 |         default:
462 |             throw CryptoKitError.incorrectParameterSize
    |                   |- error: 'CryptoKitError' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
463 |         }
464 |     }
[25/55] Compiling Core CryptoKit+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:332:90: error: 'Digest' is only available in macOS 10.15 or newer
292 | }
293 |
294 | extension RSA.Signing.PrivateKey {
    | `- note: add @available attribute to enclosing extension
295 |     /// Creates the cryptographic signature for a block of data. SHA512 is used as the hash function.
296 |     ///
    :
330 |     /// - Returns: The digital signature.
331 |     /// - Throws: If there is a failure producing the signature.
332 |     public func signature<D>(for digest: D) throws -> RSA.Signing.RSASignature where D : Digest {
    |                 |                                                                        `- error: 'Digest' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
333 |         let algorithm = try SecKeyAlgorithm(digestType: D.self)
334 |         let dataToSign = Data(digest)
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:389:109: error: 'Digest' is only available in macOS 10.15 or newer
347 | }
348 |
349 | extension RSA.Signing.PublicKey {
    | `- note: add @available attribute to enclosing extension
350 |     /// Verifies the cryptographic signature of a block of data using a public key. SHA512 is used as the hash function.
351 |     ///
    :
387 |     /// ```
388 |     /// - Returns: A Boolean value that’s `true` if the signature is valid for the given data.
389 |     public func isValidSignature<D>(_ signature: RSA.Signing.RSASignature, for digest: D) -> Bool where D : Digest {
    |                 |                                                                                           `- error: 'Digest' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
390 |         do {
391 |             let algorithm = try SecKeyAlgorithm(digestType: D.self)
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:451:25: error: 'Digest' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 |       `- error: 'Digest' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:471:13: error: 'Digest' is only available in macOS 10.15 or newer
465 | }
466 |
467 | extension Data {
    | `- note: add @available attribute to enclosing extension
468 |     /// Initializes a Data from a Digest.
469 |     ///  - Parameters:
470 |     ///    - digest: The digest that was signed.
471 |     init<D: Digest>(_ digest: D) {
    |     |       `- error: 'Digest' is only available in macOS 10.15 or newer
    |     `- note: add @available attribute to enclosing initializer
472 |         self = digest.withUnsafeBytes {
473 |             Data($0)
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:313:25: warning: conformance of 'SHA512Digest' to 'Digest' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
292 | }
293 |
294 | extension RSA.Signing.PrivateKey {
    | `- note: add @available attribute to enclosing extension
295 |     /// Creates the cryptographic signature for a block of data. SHA512 is used as the hash function.
296 |     ///
    :
310 |     /// - Returns: The digital signature.
311 |     /// - Throws: If there is a failure producing the signature.
312 |     public func signature<D>(for data: D) throws -> RSA.Signing.RSASignature where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
313 |         return try self.signature(for: SHA512.hash(data: data))
    |                         |- warning: conformance of 'SHA512Digest' to 'Digest' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                         `- note: add 'if #available' version check
314 |     }
315 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:313:40: error: 'SHA512' is only available in macOS 10.15 or newer
292 | }
293 |
294 | extension RSA.Signing.PrivateKey {
    | `- note: add @available attribute to enclosing extension
295 |     /// Creates the cryptographic signature for a block of data. SHA512 is used as the hash function.
296 |     ///
    :
310 |     /// - Returns: The digital signature.
311 |     /// - Throws: If there is a failure producing the signature.
312 |     public func signature<D>(for data: D) throws -> RSA.Signing.RSASignature where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
313 |         return try self.signature(for: SHA512.hash(data: data))
    |                                        |- error: 'SHA512' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
314 |     }
315 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:313:47: error: 'hash(data:)' is only available in macOS 10.15 or newer
292 | }
293 |
294 | extension RSA.Signing.PrivateKey {
    | `- note: add @available attribute to enclosing extension
295 |     /// Creates the cryptographic signature for a block of data. SHA512 is used as the hash function.
296 |     ///
    :
310 |     /// - Returns: The digital signature.
311 |     /// - Throws: If there is a failure producing the signature.
312 |     public func signature<D>(for data: D) throws -> RSA.Signing.RSASignature where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
313 |         return try self.signature(for: SHA512.hash(data: data))
    |                                               |- error: 'hash(data:)' is only available in macOS 10.15 or newer
    |                                               `- note: add 'if #available' version check
314 |     }
315 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:369:21: warning: conformance of 'SHA512Digest' to 'Digest' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
347 | }
348 |
349 | extension RSA.Signing.PublicKey {
    | `- note: add @available attribute to enclosing extension
350 |     /// Verifies the cryptographic signature of a block of data using a public key. SHA512 is used as the hash function.
351 |     ///
    :
366 |     /// ```
367 |     /// - Returns: A Boolean value that’s `true` if the signature is valid for the given data.
368 |     public func isValidSignature<D>(_ signature: RSA.Signing.RSASignature, for data: D) -> Bool where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
369 |         return self.isValidSignature(signature, for: SHA512.hash(data: data))
    |                     |- warning: conformance of 'SHA512Digest' to 'Digest' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                     `- note: add 'if #available' version check
370 |     }
371 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:369:54: error: 'SHA512' is only available in macOS 10.15 or newer
347 | }
348 |
349 | extension RSA.Signing.PublicKey {
    | `- note: add @available attribute to enclosing extension
350 |     /// Verifies the cryptographic signature of a block of data using a public key. SHA512 is used as the hash function.
351 |     ///
    :
366 |     /// ```
367 |     /// - Returns: A Boolean value that’s `true` if the signature is valid for the given data.
368 |     public func isValidSignature<D>(_ signature: RSA.Signing.RSASignature, for data: D) -> Bool where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
369 |         return self.isValidSignature(signature, for: SHA512.hash(data: data))
    |                                                      |- error: 'SHA512' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
370 |     }
371 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:369:61: error: 'hash(data:)' is only available in macOS 10.15 or newer
347 | }
348 |
349 | extension RSA.Signing.PublicKey {
    | `- note: add @available attribute to enclosing extension
350 |     /// Verifies the cryptographic signature of a block of data using a public key. SHA512 is used as the hash function.
351 |     ///
    :
366 |     /// ```
367 |     /// - Returns: A Boolean value that’s `true` if the signature is valid for the given data.
368 |     public func isValidSignature<D>(_ signature: RSA.Signing.RSASignature, for data: D) -> Bool where D : DataProtocol {
    |                 `- note: add @available attribute to enclosing instance method
369 |         return self.isValidSignature(signature, for: SHA512.hash(data: data))
    |                                                             |- error: 'hash(data:)' is only available in macOS 10.15 or newer
    |                                                             `- note: add 'if #available' version check
370 |     }
371 |
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:453:17: error: 'Insecure' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    |                 |- error: 'Insecure' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
454 |             self = .rsaSignatureDigestPKCS1v15SHA1
455 |         case is SHA256.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:453:17: error: 'Insecure' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    |                 |- error: 'Insecure' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
454 |             self = .rsaSignatureDigestPKCS1v15SHA1
455 |         case is SHA256.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:455:17: error: 'SHA256' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
454 |             self = .rsaSignatureDigestPKCS1v15SHA1
455 |         case is SHA256.Digest.Type:
    |                 |- error: 'SHA256' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
456 |             self = .rsaSignatureDigestPKCS1v15SHA256
457 |         case is SHA384.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:455:17: error: 'SHA256' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
454 |             self = .rsaSignatureDigestPKCS1v15SHA1
455 |         case is SHA256.Digest.Type:
    |                 |- error: 'SHA256' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
456 |             self = .rsaSignatureDigestPKCS1v15SHA256
457 |         case is SHA384.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:457:17: error: 'SHA384' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
455 |         case is SHA256.Digest.Type:
456 |             self = .rsaSignatureDigestPKCS1v15SHA256
457 |         case is SHA384.Digest.Type:
    |                 |- error: 'SHA384' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
458 |             self = .rsaSignatureDigestPKCS1v15SHA384
459 |         case is SHA512.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:457:17: error: 'SHA384' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
455 |         case is SHA256.Digest.Type:
456 |             self = .rsaSignatureDigestPKCS1v15SHA256
457 |         case is SHA384.Digest.Type:
    |                 |- error: 'SHA384' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
458 |             self = .rsaSignatureDigestPKCS1v15SHA384
459 |         case is SHA512.Digest.Type:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:459:17: error: 'SHA512' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
457 |         case is SHA384.Digest.Type:
458 |             self = .rsaSignatureDigestPKCS1v15SHA384
459 |         case is SHA512.Digest.Type:
    |                 |- error: 'SHA512' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
460 |             self = .rsaSignatureDigestPKCS1v15SHA512
461 |         default:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:459:17: error: 'SHA512' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
457 |         case is SHA384.Digest.Type:
458 |             self = .rsaSignatureDigestPKCS1v15SHA384
459 |         case is SHA512.Digest.Type:
    |                 |- error: 'SHA512' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
460 |             self = .rsaSignatureDigestPKCS1v15SHA512
461 |         default:
/Users/admin/builder/spi-builder-workspace/Sources/core/CryptoKit+Extension.swift:462:19: error: 'CryptoKitError' is only available in macOS 10.15 or newer
448 | }
449 |
450 | extension SecKeyAlgorithm {
    | `- note: add @available attribute to enclosing extension
451 |     fileprivate init<D: Digest>(digestType: D.Type = D.self) throws {
    |                 `- note: add @available attribute to enclosing initializer
452 |         switch digestType {
453 |         case is Insecure.SHA1.Digest.Type:
    :
460 |             self = .rsaSignatureDigestPKCS1v15SHA512
461 |         default:
462 |             throw CryptoKitError.incorrectParameterSize
    |                   |- error: 'CryptoKitError' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
463 |         }
464 |     }
[26/55] Compiling Core Thread+Extension.swift
[27/55] Compiling Core String+Extension.swift
[28/55] Compiling FIDO2 PublicKeyCredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/fido2/PublicKeyCredentialProvider.swift:9:8: error: no such module 'UIKit'
  7 | import LocalAuthentication
  8 | import os.log
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// A type that indicates when Fido2ApiClient encounters an error.
[29/55] Compiling FIDO2 PublicKeyCredential.swift
/Users/admin/builder/spi-builder-workspace/Sources/fido2/PublicKeyCredentialProvider.swift:9:8: error: no such module 'UIKit'
  7 | import LocalAuthentication
  8 | import os.log
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | /// A type that indicates when Fido2ApiClient encounters an error.
[30/56] Compiling Adaptive Evaluation.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import os.log
  7 |
[31/56] Compiling Adaptive Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import os.log
  7 |
[32/56] Compiling Adaptive AdaptiveContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import os.log
  7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/56] Compiling Adaptive resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import os.log
  7 |
[34/56] Emitting module Adaptive
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import os.log
  7 |
[35/56] Compiling Adaptive Enums.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import os.log
  7 |
[36/56] Compiling Adaptive AssessmentsFactors.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import os.log
  7 |
[37/56] Compiling Adaptive AdaptiveResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
  3 | //
  4 |
  5 | import UIKit
    |        `- error: no such module 'UIKit'
  6 | import os.log
  7 |
BUILD FAILURE 6.2 macosSpm