The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IBM Verify, reference main (1f800f), with Swift 6.1 for macOS (SPM) on 23 Apr 2026 03:55:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM-Verify/verify-sdk-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/IBM-Verify/verify-sdk-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1f800ff Release/3.1.1 (#21)
Cloned https://github.com/IBM-Verify/verify-sdk-ios.git
Revision (git rev-parse @):
1f800fff5a5d317968691ac395cf2357aa5dcd3a
SUCCESS checkout https://github.com/IBM-Verify/verify-sdk-ios.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/IBM-Verify/verify-sdk-ios.git
https://github.com/IBM-Verify/verify-sdk-ios.git
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "IBM Verify",
  "name" : "IBM Verify",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "FIDO2",
      "targets" : [
        "FIDO2"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Adaptive",
      "targets" : [
        "Adaptive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Core",
      "targets" : [
        "Core"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Authentication",
      "targets" : [
        "Authentication"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MFA",
      "targets" : [
        "MFA"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MFATests",
      "module_type" : "SwiftTarget",
      "name" : "MFATests",
      "path" : "Tests/MFATests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MFATests/Files",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CloudAuthenticatorServiceTests.swift",
        "CloudAuthenticatorTests.swift",
        "CloudRegistrationProviderTests.swift",
        "FactorInfoTests.swift",
        "MFAAttributeInfoTests.swift",
        "MFARegistrationControllerTests.swift",
        "MFAServiceControllerTests.swift",
        "MockHTTPResponse.swift",
        "OTPAuthenticatorTests.swift",
        "OTPGeneratorTests.swift",
        "OnPremiseAuthenticatorServiceTests.swift",
        "OnPremiseAuthenticatorTests.swift",
        "OnPremiseRegistrationProviderTest.swift",
        "PendingTransactionInfoTest.swift",
        "SigningAlgorithmTests.swift",
        "StringExtensionTests.swift"
      ],
      "target_dependencies" : [
        "MFA",
        "Core",
        "Authentication"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MFA",
      "module_type" : "SwiftTarget",
      "name" : "MFA",
      "path" : "Sources/mfa",
      "product_memberships" : [
        "MFA"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/mfa/README.md",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/mfa/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AuthenticatorDescriptor.swift",
        "BiometricFactorInfo.swift",
        "CloudAuthenticator.swift",
        "CloudAuthenticatorService.swift",
        "CloudRegistrationProvider.swift",
        "EnrollableFactor.swift",
        "FactorDescriptor.swift",
        "HOTPFactorInfo.swift",
        "MFAAttributeInfo.swift",
        "MFARegistrationController.swift",
        "MFAServiceController.swift",
        "OTPAuthenticator.swift",
        "OTPDescriptor.swift",
        "OnPremiseAuthenticator.swift",
        "OnPremiseAuthenticatorService.swift",
        "OnPremiseRegistrationProvider.swift",
        "PendingTransactionInfo.swift",
        "String+Extension.swift",
        "TOTPFactorInfo.swift",
        "UserPresenceFactorInfo.swift"
      ],
      "target_dependencies" : [
        "Core",
        "Authentication"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FIDO2Tests",
      "module_type" : "SwiftTarget",
      "name" : "FIDO2Tests",
      "path" : "Tests/FIDO2Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/FIDO2Tests/Files",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AttestationStatementProviderTests.swift",
        "CBORTests.swift",
        "COSETests.swift",
        "ExtensionsTests.swift",
        "PublicKeyCredentialCreationOptionsTests.swift",
        "PublicKeyCredentialProviderTests.swift",
        "PublicKeyCredentialRequestOptionsTest.swift",
        "PublicKeyCredentialTests.swift",
        "SecKeyStoreTests.swift"
      ],
      "target_dependencies" : [
        "FIDO2"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FIDO2",
      "module_type" : "SwiftTarget",
      "name" : "FIDO2",
      "path" : "Sources/fido2",
      "product_memberships" : [
        "FIDO2"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/fido2/README.md",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AttestationStatementProvider.swift",
        "AuthenticatorExtensions.swift",
        "AuthenticatorSelectionCriteria.swift",
        "CBOR.swift",
        "COSE.swift",
        "Extensions.swift",
        "PublicKeyCredential.swift",
        "PublicKeyCredentialProvider.swift",
        "SecKeyConvertible.swift",
        "SecKeyStore.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreTests",
      "path" : "Tests/CoreTests",
      "sources" : [
        "AnyCodableTests.swift",
        "CryptoKit+ExtensionTests.swift",
        "Data+ExtensionTests.swift",
        "Date+ExtensionTests.swift",
        "DefaultValueTests.swift",
        "JSONDecoderTest.swift",
        "KeychainServiceTests.swift",
        "KeyedDecodingContainerTest.swift",
        "String+ExtensionTests.swift",
        "Thread+ExtensionTests.swift",
        "URLSession+ExtensionTests.swift",
        "URLSessionDelegateHelperTests.swift"
      ],
      "target_dependencies" : [
        "Core"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Core",
      "module_type" : "SwiftTarget",
      "name" : "Core",
      "path" : "Sources/core",
      "product_memberships" : [
        "Core",
        "Authentication",
        "MFA"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/core/README.md",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Codeable+Extension.swift",
        "CryptoKit+Extension.swift",
        "Data+Extension.swift",
        "DateFormatter+Extension.swift",
        "DefaultValue+Extension.swift",
        "DefaultValuePropertyWrapper.swift",
        "JSONDecoder+Extension.swift",
        "KeychainService.swift",
        "KeyedDecodingContainer+Extension.swift",
        "NSNumber+Extension.swift",
        "String+Extension.swift",
        "Thread+Extension.swift",
        "URLSession+Extension.swift",
        "URLSessionDelegateHelper.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AuthenticationTests",
      "module_type" : "SwiftTarget",
      "name" : "AuthenticationTests",
      "path" : "Tests/AuthenticationTests",
      "sources" : [
        "DPoPHelperTest.swift",
        "MockToken.swift",
        "OAuthProviderTests.swift",
        "PKCEHelperTests.swift",
        "TokenInfoTests.swift"
      ],
      "target_dependencies" : [
        "Authentication",
        "Core"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Authentication",
      "module_type" : "SwiftTarget",
      "name" : "Authentication",
      "path" : "Sources/authentication",
      "product_memberships" : [
        "Authentication",
        "MFA"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/authentication/README.md",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DPoPHelper.swift",
        "OAuthProvider.swift",
        "OIDCMetadataInfo.swift",
        "PKCEHelper.swift",
        "TokenInfo.swift"
      ],
      "target_dependencies" : [
        "Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AdaptiveTests",
      "module_type" : "SwiftTarget",
      "name" : "AdaptiveTests",
      "path" : "Tests/AdaptiveTests",
      "sources" : [
        "AdaptiveContextTests.swift",
        "AdaptiveError.swift",
        "FactorTypeTests.swift",
        "LocalMock.swift",
        "LocalMockAdaptiveTests.swift",
        "MockCollectionService.swift",
        "MockHelpers.swift",
        "SessionIdTests.swift"
      ],
      "target_dependencies" : [
        "Adaptive"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Adaptive",
      "module_type" : "SwiftTarget",
      "name" : "Adaptive",
      "path" : "Sources/adaptive",
      "product_memberships" : [
        "Adaptive"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/adaptive/README.md",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AdaptiveContext.swift",
        "AdaptiveResult.swift",
        "AssessmentsFactors.swift",
        "Enums.swift",
        "Evaluation.swift",
        "Helpers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/17] Write sources
[3/17] Copying Info.plist
[3/17] Copying README.md
[3/17] Write sources
[3/17] Copying Info.plist
[4/17] Copying README.md
[6/17] Copying Localizable.xcstrings
[7/17] Copying README.md
[7/17] Copying Info.plist
[11/17] Copying README.md
[13/17] Copying Info.plist
[14/17] Write sources
[15/17] Copying README.md
[16/17] Write swift-version-2F0A5646E1D333AE.txt
[18/51] Compiling Core URLSessionDelegateHelper.swift
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:21:18: 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
    :
 18 |
 19 |     /// Initializes the `SelfSignedCertificateDelegate`.
 20 |     public override init() {
    |                     `- note: add @available attribute to enclosing initializer
 21 |         logger = Logger(subsystem: serviceName, category: "networking")
    |                  |- error: 'Logger' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
 22 |     }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:32:26: error: 'OSLogMessage' 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
    :
 28 |     ///   - completionHandler: A handler that your delegate method must call.
 29 |     /// - Remark: This completion handler uses `credential`.
 30 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 31 |         if let error = challenge.error {
 32 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    |                          |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                          `- note: add 'if #available' version check
 33 |             completionHandler(.cancelAuthenticationChallenge, nil)
 34 |             return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:32:61: error: 'appendInterpolation(_:align:privacy:)' 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
    :
 28 |     ///   - completionHandler: A handler that your delegate method must call.
 29 |     /// - Remark: This completion handler uses `credential`.
 30 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 31 |         if let error = challenge.error {
 32 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    |                                                             |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
    |                                                             `- note: add 'if #available' version check
 33 |             completionHandler(.cancelAuthenticationChallenge, nil)
 34 |             return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:38:25: error: 'OSLogMessage' 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
    :
 28 |     ///   - completionHandler: A handler that your delegate method must call.
 29 |     /// - Remark: This completion handler uses `credential`.
 30 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 31 |         if let error = challenge.error {
 32 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    :
 36 |
 37 |         guard let serverTrust = challenge.protectionSpace.serverTrust else {
 38 |             logger.info("SSL certificate trust for the challenge protection space was nil.")
    |                         |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                         `- note: add 'if #available' version check
 39 |             completionHandler(.performDefaultHandling, nil)
 40 |             return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:43:21: error: 'OSLogMessage' 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
    :
 28 |     ///   - completionHandler: A handler that your delegate method must call.
 29 |     /// - Remark: This completion handler uses `credential`.
 30 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 31 |         if let error = challenge.error {
 32 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    :
 41 |         }
 42 |
 43 |         logger.info("Allowing self-signed certificate to be trusted for challenge.")
    |                     |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                     `- note: add 'if #available' version check
 44 |
 45 |         completionHandler(.useCredential, URLCredential(trust: serverTrust))
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:61:18: 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
    :
 58 |     /// Initializes a `PinnedCertificateDelegate` with a certificate represented as a base64 `String`.
 59 |     /// - Parameter certificate: A base64 encoded DER (Distinguished Encoding Rules) representation of an X.509 certificate.
 60 |     public init?(with certificate: String) {
    |            `- note: add @available attribute to enclosing initializer
 61 |         logger = Logger(subsystem: serviceName, category: "networking")
    |                  |- error: 'Logger' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
 62 |
 63 |         guard let data = Data(base64Encoded: certificate) else {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:64:26: error: 'OSLogMessage' 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
    :
 58 |     /// Initializes a `PinnedCertificateDelegate` with a certificate represented as a base64 `String`.
 59 |     /// - Parameter certificate: A base64 encoded DER (Distinguished Encoding Rules) representation of an X.509 certificate.
 60 |     public init?(with certificate: String) {
    |            `- note: add @available attribute to enclosing initializer
 61 |         logger = Logger(subsystem: serviceName, category: "networking")
 62 |
 63 |         guard let data = Data(base64Encoded: certificate) else {
 64 |             logger.error("The base64 encoded certificate was invalid.")
    |                          |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                          `- note: add 'if #available' version check
 65 |             return nil
 66 |         }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:78:26: error: 'OSLogMessage' 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
    :
 74 |     ///   - challenge: An object that contains the request for authentication.
 75 |     ///   - completionHandler: A handler that your delegate method must call.
 76 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 77 |         if let error = challenge.error {
 78 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    |                          |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                          `- note: add 'if #available' version check
 79 |             completionHandler(.cancelAuthenticationChallenge, nil)
 80 |             return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:78:61: error: 'appendInterpolation(_:align:privacy:)' 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
    :
 74 |     ///   - challenge: An object that contains the request for authentication.
 75 |     ///   - completionHandler: A handler that your delegate method must call.
 76 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 77 |         if let error = challenge.error {
 78 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    |                                                             |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
    |                                                             `- note: add 'if #available' version check
 79 |             completionHandler(.cancelAuthenticationChallenge, nil)
 80 |             return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:85:25: error: 'OSLogMessage' 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
    :
 74 |     ///   - challenge: An object that contains the request for authentication.
 75 |     ///   - completionHandler: A handler that your delegate method must call.
 76 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 77 |         if let error = challenge.error {
 78 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    :
 83 |         guard let serverTrust = challenge.protectionSpace.serverTrust else {
 84 |             // Terminate further processing, no certificate at index 0
 85 |             logger.info("SSL certificate trust chain for the challenge protection space was not found.")
    |                         |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                         `- note: add 'if #available' version check
 86 |             completionHandler(.cancelAuthenticationChallenge, nil)
 87 |             return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:91:31: error: 'SecTrustCopyCertificateChain' is only available in macOS 12.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
    :
 74 |     ///   - challenge: An object that contains the request for authentication.
 75 |     ///   - completionHandler: A handler that your delegate method must call.
 76 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 77 |         if let error = challenge.error {
 78 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    :
 89 |
 90 |         // Compare the presented certificate to the pinned certificate.
 91 |         if let certificates = SecTrustCopyCertificateChain(serverTrust) as? [SecCertificate] {
    |                               |- error: 'SecTrustCopyCertificateChain' is only available in macOS 12.0 or newer
    |                               `- note: add 'if #available' version check
 92 |             let serverCertificatesData = Set(
 93 |                 certificates.map { SecCertificateCopyData($0) as Data }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:97:29: error: 'OSLogMessage' 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
    :
 74 |     ///   - challenge: An object that contains the request for authentication.
 75 |     ///   - completionHandler: A handler that your delegate method must call.
 76 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 77 |         if let error = challenge.error {
 78 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    :
 95 |
 96 |             if serverCertificatesData.contains(certificateData) {
 97 |                 logger.info("SSL certificate presented in challenge matches the pinned certificate.")
    |                             |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                             `- note: add 'if #available' version check
 98 |                 completionHandler(.useCredential, URLCredential(trust: serverTrust))
 99 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:105:21: error: 'OSLogMessage' 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
    :
 74 |     ///   - challenge: An object that contains the request for authentication.
 75 |     ///   - completionHandler: A handler that your delegate method must call.
 76 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 77 |         if let error = challenge.error {
 78 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    :
103 |
104 |         // Don't trust the presented certificate by default.
105 |         logger.info("SSL certificate presented in challenge does not match the pinned certificate.")
    |                     |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                     `- note: add 'if #available' version check
106 |         completionHandler(.cancelAuthenticationChallenge, nil)
107 |     }
[19/52] 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 |
[20/52] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/52] 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 |
[22/52] 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 |
[23/52] 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 |
[24/52] 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 |
[25/52] 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 |
[26/52] 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 |
/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.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/35] 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 |
[3/35] 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 |
[4/35] 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 |
[5/35] 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 |
[6/35] 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 |
[7/35] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/35] 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 |
[9/35] 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 |
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:21:18: 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
    :
 18 |
 19 |     /// Initializes the `SelfSignedCertificateDelegate`.
 20 |     public override init() {
    |                     `- note: add @available attribute to enclosing initializer
 21 |         logger = Logger(subsystem: serviceName, category: "networking")
    |                  |- error: 'Logger' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
 22 |     }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:32:26: error: 'OSLogMessage' 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
    :
 28 |     ///   - completionHandler: A handler that your delegate method must call.
 29 |     /// - Remark: This completion handler uses `credential`.
 30 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 31 |         if let error = challenge.error {
 32 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    |                          |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                          `- note: add 'if #available' version check
 33 |             completionHandler(.cancelAuthenticationChallenge, nil)
 34 |             return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:32:61: error: 'appendInterpolation(_:align:privacy:)' 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
    :
 28 |     ///   - completionHandler: A handler that your delegate method must call.
 29 |     /// - Remark: This completion handler uses `credential`.
 30 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 31 |         if let error = challenge.error {
 32 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    |                                                             |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
    |                                                             `- note: add 'if #available' version check
 33 |             completionHandler(.cancelAuthenticationChallenge, nil)
 34 |             return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:38:25: error: 'OSLogMessage' 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
    :
 28 |     ///   - completionHandler: A handler that your delegate method must call.
 29 |     /// - Remark: This completion handler uses `credential`.
 30 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 31 |         if let error = challenge.error {
 32 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    :
 36 |
 37 |         guard let serverTrust = challenge.protectionSpace.serverTrust else {
 38 |             logger.info("SSL certificate trust for the challenge protection space was nil.")
    |                         |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                         `- note: add 'if #available' version check
 39 |             completionHandler(.performDefaultHandling, nil)
 40 |             return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:43:21: error: 'OSLogMessage' 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
    :
 28 |     ///   - completionHandler: A handler that your delegate method must call.
 29 |     /// - Remark: This completion handler uses `credential`.
 30 |     public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                 `- note: add @available attribute to enclosing instance method
 31 |         if let error = challenge.error {
 32 |             logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
    :
 41 |         }
 42 |
 43 |         logger.info("Allowing self-signed certificate to be trusted for challenge.")
    |                     |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                     `- note: add 'if #available' version check
 44 |
 45 |         completionHandler(.useCredential, URLCredential(trust: serverTrust))
BUILD FAILURE 6.1 macosSpm