This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Blessed with Swift 5.9 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/trilemma-dev/Blessed.git
Reference: 0.6.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/trilemma-dev/Blessed
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at e7c730e Merge pull request #16 from trilemma-dev/bless-only
Cloned https://github.com/trilemma-dev/Blessed.git
Revision (git rev-parse @):
e7c730ea4bcd2df7b61f022dbd38c5cdc2c875de
SUCCESS checkout https://github.com/trilemma-dev/Blessed.git at 0.6.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/trilemma-dev/Authorized.git
Fetching https://github.com/trilemma-dev/Required.git
Fetching https://github.com/trilemma-dev/EmbeddedPropertyList.git
[1/36] Fetching authorized
[37/193] Fetching authorized, embeddedpropertylist
[89/469] Fetching authorized, embeddedpropertylist, required
Fetched https://github.com/trilemma-dev/EmbeddedPropertyList.git (0.37s)
Fetched https://github.com/trilemma-dev/Authorized.git (0.38s)
Fetched https://github.com/trilemma-dev/Required.git (0.38s)
Computing version for https://github.com/trilemma-dev/Authorized.git
Computed https://github.com/trilemma-dev/Authorized.git at 1.0.0 (0.40s)
Computing version for https://github.com/trilemma-dev/Required.git
Computed https://github.com/trilemma-dev/Required.git at 0.1.1 (0.46s)
Computing version for https://github.com/trilemma-dev/EmbeddedPropertyList.git
Computed https://github.com/trilemma-dev/EmbeddedPropertyList.git at 2.0.2 (0.77s)
Creating working copy for https://github.com/trilemma-dev/Required.git
Working copy of https://github.com/trilemma-dev/Required.git resolved at 0.1.1
Creating working copy for https://github.com/trilemma-dev/Authorized.git
Working copy of https://github.com/trilemma-dev/Authorized.git resolved at 1.0.0
Creating working copy for https://github.com/trilemma-dev/EmbeddedPropertyList.git
Working copy of https://github.com/trilemma-dev/EmbeddedPropertyList.git resolved at 2.0.2
Building for debugging...
[1/48] Compiling Required ParenthesesRequirement.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[2/48] Compiling Required Parser.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[3/48] Compiling Required ParserError.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[4/48] Compiling Required Requirement.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[5/48] Compiling Required RequirementSet.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[6/53] Compiling Required Symbols.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[7/53] Compiling Required WildcardString.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[8/53] Compiling Required Token.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[9/53] Compiling Required TokenizationError.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[10/53] Compiling Required Tokenizer.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[11/53] Compiling Required InfoConstraint.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[12/53] Compiling Required KeyExpression.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[13/53] Compiling Required MatchExpression.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[14/53] Compiling Required NegationRequirement.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[15/53] Compiling Required OrRequirement.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[16/53] Compiling Authorized AuthorizationError.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:41:16: error: cannot find type 'OSStatus' in scope
    case other(OSStatus)
               ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:44:9: error: cannot find 'errAuthorizationInvalidSet' in scope
        errAuthorizationInvalidSet:             invalidSet,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:45:9: error: cannot find 'errAuthorizationInvalidRef' in scope
        errAuthorizationInvalidRef:             invalidRef,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:46:9: error: cannot find 'errAuthorizationInvalidTag' in scope
        errAuthorizationInvalidTag:             invalidTag,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:47:9: error: cannot find 'errAuthorizationInvalidPointer' in scope
        errAuthorizationInvalidPointer:         invalidPointer,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:48:9: error: cannot find 'errAuthorizationDenied' in scope
        errAuthorizationDenied:                 denied,
        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:49:9: error: cannot find 'errAuthorizationCanceled' in scope
        errAuthorizationCanceled:               canceled,
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:50:9: error: cannot find 'errAuthorizationInteractionNotAllowed' in scope
        errAuthorizationInteractionNotAllowed:  interactionNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:51:9: error: cannot find 'errAuthorizationInternal' in scope
        errAuthorizationInternal:               internalError,
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:52:9: error: cannot find 'errAuthorizationExternalizeNotAllowed' in scope
        errAuthorizationExternalizeNotAllowed:  externalizeNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:53:9: error: cannot find 'errAuthorizationInternalizeNotAllowed' in scope
        errAuthorizationInternalizeNotAllowed:  internalizeNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:54:9: error: cannot find 'errAuthorizationInvalidFlags' in scope
        errAuthorizationInvalidFlags:           invalidFlags,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:55:9: error: cannot find 'errAuthorizationToolExecuteFailure' in scope
        errAuthorizationToolExecuteFailure:     toolExecuteFailure,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:56:9: error: cannot find 'errAuthorizationToolEnvironmentError' in scope
        errAuthorizationToolEnvironmentError:   toolEnvironmentError,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:57:9: error: cannot find 'errAuthorizationBadAddress' in scope
        errAuthorizationBadAddress:             badAddress
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:61:73: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure(_ authorizationFunction: () -> (OSStatus)) throws {
                                                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:70:84: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure<T>(_ authorizationFunction: (inout T?) -> (OSStatus)) throws -> T {
                                                                                   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:82:47: error: cannot find type 'OSStatus' in scope
    internal static func fromResult(_ result: OSStatus) -> AuthorizationError {
                                              ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:63:22: error: cannot find 'errSecSuccess' in scope
        if result != errSecSuccess {
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:73:22: error: cannot find 'errSecSuccess' in scope
        if result == errSecSuccess, let value = value {
                     ^~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/53] Emitting module Authorized
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:40:34: error: cannot find type 'AuthorizationRef' in scope
    public let authorizationRef: AuthorizationRef
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:67:71: error: cannot find 'AuthorizationExternalForm' in scope
    private static let externalFormChildrenCount = Mirror(reflecting: AuthorizationExternalForm().bytes).children.count
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:70:73: error: cannot find type 'AuthorizationRef' in scope
    private static func deserialize(from serialization: Data) throws -> AuthorizationRef {
                                                                        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:256:20: error: cannot find type 'AuthorizationItem' in scope
internal extension AuthorizationItem {
                   ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:272:20: error: cannot find type 'AuthorizationItemSet' in scope
internal extension AuthorizationItemSet {
                   ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:23:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:213:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:222:17: error: cannot find type 'AuthorizationItem' in scope
        items: [AuthorizationItem],
                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:223:30: error: cannot find type 'AuthorizationItemSet' in scope
        body: (UnsafePointer<AuthorizationItemSet>) throws -> Result
                             ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:41:16: error: cannot find type 'OSStatus' in scope
    case other(OSStatus)
               ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:44:9: error: cannot find 'errAuthorizationInvalidSet' in scope
        errAuthorizationInvalidSet:             invalidSet,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:45:9: error: cannot find 'errAuthorizationInvalidRef' in scope
        errAuthorizationInvalidRef:             invalidRef,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:46:9: error: cannot find 'errAuthorizationInvalidTag' in scope
        errAuthorizationInvalidTag:             invalidTag,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:47:9: error: cannot find 'errAuthorizationInvalidPointer' in scope
        errAuthorizationInvalidPointer:         invalidPointer,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:48:9: error: cannot find 'errAuthorizationDenied' in scope
        errAuthorizationDenied:                 denied,
        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:49:9: error: cannot find 'errAuthorizationCanceled' in scope
        errAuthorizationCanceled:               canceled,
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:50:9: error: cannot find 'errAuthorizationInteractionNotAllowed' in scope
        errAuthorizationInteractionNotAllowed:  interactionNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:51:9: error: cannot find 'errAuthorizationInternal' in scope
        errAuthorizationInternal:               internalError,
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:52:9: error: cannot find 'errAuthorizationExternalizeNotAllowed' in scope
        errAuthorizationExternalizeNotAllowed:  externalizeNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:53:9: error: cannot find 'errAuthorizationInternalizeNotAllowed' in scope
        errAuthorizationInternalizeNotAllowed:  internalizeNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:54:9: error: cannot find 'errAuthorizationInvalidFlags' in scope
        errAuthorizationInvalidFlags:           invalidFlags,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:55:9: error: cannot find 'errAuthorizationToolExecuteFailure' in scope
        errAuthorizationToolExecuteFailure:     toolExecuteFailure,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:56:9: error: cannot find 'errAuthorizationToolEnvironmentError' in scope
        errAuthorizationToolEnvironmentError:   toolEnvironmentError,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:57:9: error: cannot find 'errAuthorizationBadAddress' in scope
        errAuthorizationBadAddress:             badAddress
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:61:73: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure(_ authorizationFunction: () -> (OSStatus)) throws {
                                                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:70:84: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure<T>(_ authorizationFunction: (inout T?) -> (OSStatus)) throws -> T {
                                                                                   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:82:47: error: cannot find type 'OSStatus' in scope
    internal static func fromResult(_ result: OSStatus) -> AuthorizationError {
                                              ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:34:36: error: cannot find type 'AuthorizationFlags' in scope
    func asAuthorizationFlags() -> AuthorizationFlags {
                                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:142:82: error: cannot find 'kAuthorizationRuleIsAdmin' in scope
    public static let isAdmin: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleIsAdmin)
                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:145:34: error: cannot find 'kAuthorizationRuleAuthenticateAsAdmin' in scope
        AuthorizationRight(name: kAuthorizationRuleAuthenticateAsAdmin)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:148:34: error: cannot find 'kAuthorizationRuleAuthenticateAsSessionUser' in scope
        AuthorizationRight(name: kAuthorizationRuleAuthenticateAsSessionUser)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:150:85: error: cannot find 'kAuthorizationRuleClassAllow' in scope
    public static let classAllow: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleClassAllow)
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:152:84: error: cannot find 'kAuthorizationRuleClassDeny' in scope
    public static let classDeny: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleClassDeny)
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:206:31: error: cannot find type 'CFDictionary' in scope
    fileprivate init(entries: CFDictionary) {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:300:29: error: cannot find type 'SecRequirement' in scope
    public var requirement: SecRequirement? {
                            ^~~~~~~~~~~~~~
[18/53] Compiling Authorized Authorization.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:40:34: error: cannot find type 'AuthorizationRef' in scope
    public let authorizationRef: AuthorizationRef
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:67:71: error: cannot find 'AuthorizationExternalForm' in scope
    private static let externalFormChildrenCount = Mirror(reflecting: AuthorizationExternalForm().bytes).children.count
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:70:73: error: cannot find type 'AuthorizationRef' in scope
    private static func deserialize(from serialization: Data) throws -> AuthorizationRef {
                                                                        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:47:13: error: cannot find 'AuthorizationCreate' in scope
            AuthorizationCreate(nil, nil, [], &authorization)
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:70:84: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure<T>(_ authorizationFunction: (inout T?) -> (OSStatus)) throws -> T {
                                                                                   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:61:73: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure(_ authorizationFunction: () -> (OSStatus)) throws {
                                                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:47:33: error: 'nil' requires a contextual type
            AuthorizationCreate(nil, nil, [], &authorization)
                                ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:47:38: error: 'nil' requires a contextual type
            AuthorizationCreate(nil, nil, [], &authorization)
                                     ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:53:9: error: cannot find 'AuthorizationFree' in scope
        AuthorizationFree(self.authorizationRef, AuthorizationFlags())
        ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:53:50: error: cannot find 'AuthorizationFlags' in scope
        AuthorizationFree(self.authorizationRef, AuthorizationFlags())
                                                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:73:44: error: cannot find 'errSecInvalidEncoding' in scope
            throw AuthorizationError.other(errSecInvalidEncoding)
                                           ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:41:16: error: cannot find type 'OSStatus' in scope
    case other(OSStatus)
               ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:86:28: error: cannot find 'AuthorizationExternalForm' in scope
        var externalForm = AuthorizationExternalForm(bytes: bytes)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:122:21: error: cannot find 'AuthorizationCreate' in scope
                    AuthorizationCreate(rightsPointer, environmentPointer, options.asAuthorizationFlags(), nil)
                    ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:213:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:34:36: error: cannot find type 'AuthorizationFlags' in scope
    func asAuthorizationFlags() -> AuthorizationFlags {
                                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:122:108: error: 'nil' requires a contextual type
                    AuthorizationCreate(rightsPointer, environmentPointer, options.asAuthorizationFlags(), nil)
                                                                                                           ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:186:21: error: cannot find 'AuthorizationCopyRights' in scope
                    AuthorizationCopyRights(self.authorizationRef,
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:184:60: error: cannot find type 'AuthorizationItemSet' in scope
                let authorizedRights: UnsafeMutablePointer<AuthorizationItemSet> =
                                                           ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:182:27: error: type of expression is ambiguous without a type annotation
        return try rights.withUnsafePointer { rightsPointer in
               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:226:26: error: cannot find 'errAuthorizationSuccess' in scope
            if status == errAuthorizationSuccess, let rightsPointer = rightsPointer {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:224:41: error: cannot find type 'OSStatus' in scope
        let legacyCallback = { (status: OSStatus, rightsPointer: UnsafeMutablePointer<AuthorizationRights>?) in
                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:224:87: error: cannot find type 'AuthorizationRights' in scope
        let legacyCallback = { (status: OSStatus, rightsPointer: UnsafeMutablePointer<AuthorizationRights>?) in
                                                                                      ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:226:16: error: cannot convert value of type '_' to expected argument type '(any Any.Type)?'
            if status == errAuthorizationSuccess, let rightsPointer = rightsPointer {
               ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:236:17: error: cannot find 'AuthorizationCopyRightsAsync' in scope
                AuthorizationCopyRightsAsync(self.authorizationRef,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:297:17: error: cannot find 'AuthorizationCopyInfo' in scope
                AuthorizationCopyInfo(self.authorizationRef, tagPointer, &info)
                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:296:44: error: cannot find type 'AuthorizationItemSet' in scope
            let info: UnsafeMutablePointer<AuthorizationItemSet> = try AuthorizationError.throwIfFailure { info in
                                           ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:295:31: error: unable to infer closure type without a type annotation
        let copyInfoClosure = { (tagPointer: UnsafePointer<Int8>?) -> [AuthorizationInfo] in
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:306:40: error: converting non-escaping value to '(UnsafePointer<Int8>) throws -> [AuthorizationInfo]' may allow it to escape
            info = try tag.withCString(copyInfoClosure)
                                       ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:308:40: error: 'nil' requires a contextual type
            info = try copyInfoClosure(nil)
                                       ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:256:20: error: cannot find type 'AuthorizationItem' in scope
internal extension AuthorizationItem {
                   ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:272:20: error: cannot find type 'AuthorizationItemSet' in scope
internal extension AuthorizationItemSet {
                   ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:320:13: error: cannot find 'AuthorizationFree' in scope
            AuthorizationFree(self.authorizationRef, AuthorizationFlags([.destroyRights]))
            ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:320:54: error: cannot find 'AuthorizationFlags' in scope
            AuthorizationFree(self.authorizationRef, AuthorizationFlags([.destroyRights]))
                                                     ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:320:75: error: reference to member 'destroyRights' cannot be resolved without a contextual type
            AuthorizationFree(self.authorizationRef, AuthorizationFlags([.destroyRights]))
                                                                          ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:338:28: error: cannot find 'AuthorizationExternalForm' in scope
        var externalForm = AuthorizationExternalForm()
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:340:13: error: cannot find 'AuthorizationMakeExternalForm' in scope
            AuthorizationMakeExternalForm(self.authorizationRef, &externalForm)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[19/53] Compiling Authorized AuthorizationElements.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:256:20: error: cannot find type 'AuthorizationItem' in scope
internal extension AuthorizationItem {
                   ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:272:20: error: cannot find type 'AuthorizationItemSet' in scope
internal extension AuthorizationItemSet {
                   ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:23:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:213:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:222:17: error: cannot find type 'AuthorizationItem' in scope
        items: [AuthorizationItem],
                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:223:30: error: cannot find type 'AuthorizationItemSet' in scope
        body: (UnsafePointer<AuthorizationItemSet>) throws -> Result
                             ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:27:28: error: cannot find 'AuthorizationItem' in scope
                let item = AuthorizationItem(name: namePointer,
                           ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:33:35: error: cannot find 'AuthorizationItemSet' in scope
                    var itemSet = AuthorizationItemSet(count: 1, items: buffer.baseAddress)
                                  ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:93:30: error: cannot find 'kAuthorizationFlagCanNotPreAuthorize' in scope
        return self.flags == kAuthorizationFlagCanNotPreAuthorize
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:152:52: error: cannot find 'kAuthorizationEnvironmentUsername' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentUsername, value: username)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:161:52: error: cannot find 'kAuthorizationEnvironmentPassword' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentPassword, value: password)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:171:52: error: cannot find 'kAuthorizationEnvironmentShared' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentShared, value: [])
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:179:52: error: cannot find 'kAuthorizationEnvironmentPrompt' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentPrompt, value: message)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:186:52: error: cannot find 'kAuthorizationEnvironmentIcon' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentIcon, value: icon.absoluteString)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:233:32: error: cannot find 'AuthorizationItem' in scope
                    let item = AuthorizationItem(name: namePointer,
                               ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:248:31: error: cannot find 'AuthorizationItemSet' in scope
                var itemSet = AuthorizationItemSet(count: count, items: buffer.baseAddress)
                              ^~~~~~~~~~~~~~~~~~~~
[20/53] Compiling EmbeddedPropertyList ReadError.swift
[21/53] Compiling Authorized AuthorizationOption.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:34:36: error: cannot find type 'AuthorizationFlags' in scope
    func asAuthorizationFlags() -> AuthorizationFlags {
                                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:35:22: error: cannot find 'AuthorizationFlags' in scope
        var flags = [AuthorizationFlags]()
                     ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:35:21: error: cannot call value of non-function type '[Any]'
        var flags = [AuthorizationFlags]()
                    ^                   ~~

/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:38:58: error: cannot find 'AuthorizationFlags' in scope
                case .interactionAllowed:   flags.append(AuthorizationFlags.interactionAllowed)
                                                         ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:39:58: error: cannot find 'AuthorizationFlags' in scope
                case .extendRights:         flags.append(AuthorizationFlags.extendRights)
                                                         ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:40:58: error: cannot find 'AuthorizationFlags' in scope
                case .partialRights:        flags.append(AuthorizationFlags.partialRights)
                                                         ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:41:58: error: cannot find 'AuthorizationFlags' in scope
                case .destroyRights:        flags.append(AuthorizationFlags.destroyRights)
                                                         ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:42:58: error: cannot find 'AuthorizationFlags' in scope
                case .preAuthorize:         flags.append(AuthorizationFlags.preAuthorize)
                                                         ^~~~~~~~~~~~~~~~~~
[22/53] Compiling Authorized AuthorizationPolicyDatabase.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:142:82: error: cannot find 'kAuthorizationRuleIsAdmin' in scope
    public static let isAdmin: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleIsAdmin)
                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:256:20: error: cannot find type 'AuthorizationItem' in scope
internal extension AuthorizationItem {
                   ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:272:20: error: cannot find type 'AuthorizationItemSet' in scope
internal extension AuthorizationItemSet {
                   ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:145:34: error: cannot find 'kAuthorizationRuleAuthenticateAsAdmin' in scope
        AuthorizationRight(name: kAuthorizationRuleAuthenticateAsAdmin)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:148:34: error: cannot find 'kAuthorizationRuleAuthenticateAsSessionUser' in scope
        AuthorizationRight(name: kAuthorizationRuleAuthenticateAsSessionUser)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:150:85: error: cannot find 'kAuthorizationRuleClassAllow' in scope
    public static let classAllow: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleClassAllow)
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:152:84: error: cannot find 'kAuthorizationRuleClassDeny' in scope
    public static let classDeny: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleClassDeny)
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:206:31: error: cannot find type 'CFDictionary' in scope
    fileprivate init(entries: CFDictionary) {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:300:29: error: cannot find type 'SecRequirement' in scope
    public var requirement: SecRequirement? {
                            ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:26:26: error: cannot find 'AuthorizationRightGet' in scope
            let result = AuthorizationRightGet(namePointer, &entries)
                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:27:26: error: cannot find 'errAuthorizationSuccess' in scope
            if result == errAuthorizationSuccess, let entries = entries {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:29:33: error: cannot find 'errAuthorizationDenied' in scope
            } else if result == errAuthorizationDenied {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:25:26: error: cannot find type 'CFDictionary' in scope
            var entries: CFDictionary?
                         ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:23:30: error: type of expression is ambiguous without a type annotation
        return try self.name.withCString { namePointer in
               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:48:26: error: cannot find 'AuthorizationRightGet' in scope
            let result = AuthorizationRightGet(namePointer, nil)
                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:49:26: error: cannot find 'errAuthorizationSuccess' in scope
            if result == errAuthorizationSuccess {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:51:33: error: cannot find 'errAuthorizationDenied' in scope
            } else if result == errAuthorizationDenied {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:48:61: error: 'nil' requires a contextual type
            let result = AuthorizationRightGet(namePointer, nil)
                                                            ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:85:28: error: cannot find 'CFBundleCreate' in scope
                cfBundle = CFBundleCreate(nil, bundle.bundleURL as CFURL)
                           ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:91:33: error: cannot find 'kAuthorizationRightRule' in scope
                rightDefinition[kAuthorizationRightRule] = rule.name
                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:94:33: error: cannot find 'kAuthorizationComment' in scope
                rightDefinition[kAuthorizationComment] = comment
                                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:106:17: error: cannot find 'AuthorizationRightSet' in scope
                AuthorizationRightSet(auth.authorizationRef,
                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:83:27: error: cannot find type 'CFBundle' in scope
            var cfBundle: CFBundle?
                          ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:81:23: error: type of expression is ambiguous without a type annotation
        try self.name.withCString { namePointer in
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:125:17: error: cannot find 'AuthorizationRightRemove' in scope
                AuthorizationRightRemove(authorization.authorizationRef, namePointer)
                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:70:84: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure<T>(_ authorizationFunction: (inout T?) -> (OSStatus)) throws -> T {
                                                                                   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:61:73: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure(_ authorizationFunction: () -> (OSStatus)) throws {
                                                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:40:34: error: cannot find type 'AuthorizationRef' in scope
    public let authorizationRef: AuthorizationRef
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:251:22: error: cannot find 'kAuthorizationComment' in scope
        self.entries[kAuthorizationComment] as? String
                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:259:44: error: cannot find 'kAuthorizationRightRule' in scope
        if let ruleElements = self.entries[kAuthorizationRightRule] as? [String] {
                                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:301:26: error: cannot find type 'SecRequirement' in scope
        var requirement: SecRequirement?
                         ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:303:13: error: cannot find 'SecRequirementCreateWithString' in scope
            SecRequirementCreateWithString(requirementString as CFString, SecCSFlags(), &requirement)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:303:75: error: cannot find 'SecCSFlags' in scope
            SecRequirementCreateWithString(requirementString as CFString, SecCSFlags(), &requirement)
                                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:303:65: error: cannot find type 'CFString' in scope
            SecRequirementCreateWithString(requirementString as CFString, SecCSFlags(), &requirement)
                                                                ^~~~~~~~
[23/53] Compiling Required CertificateConstraint.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[24/53] Compiling Required CodeDirectoryHashConstraint.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[25/53] Compiling Required Constraint.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[26/53] Compiling Required EntitlementConstraint.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[27/53] Compiling Required IdentifierConstraint.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[28/53] Compiling Required SecStaticCode+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[29/53] Compiling Required SecTask+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[30/53] Compiling Required SecurityCommon.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[31/53] Compiling Required SecurityError.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[32/53] Compiling Required AndRequirement.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[33/53] Compiling Required IdentifierConstraint+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[34/53] Compiling Required InfoConstraint+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[35/53] Compiling Required MatchExpression+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[36/53] Compiling Required NegationRequirement+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[37/53] Compiling Required OrRequirement+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[38/53] Compiling Required ParenthesesRequirement+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[39/53] Compiling Required Requirement+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[40/53] Compiling Required Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[41/53] Compiling Required SecCertificate+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[42/53] Compiling Required SecCode+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[43/53] Compiling Required SecRequirement+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/53] Emitting module Required
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[0/1] Planning build
Building for debugging...
[1/39] Compiling Authorized AuthorizationError.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:41:16: error: cannot find type 'OSStatus' in scope
    case other(OSStatus)
               ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:44:9: error: cannot find 'errAuthorizationInvalidSet' in scope
        errAuthorizationInvalidSet:             invalidSet,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:45:9: error: cannot find 'errAuthorizationInvalidRef' in scope
        errAuthorizationInvalidRef:             invalidRef,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:46:9: error: cannot find 'errAuthorizationInvalidTag' in scope
        errAuthorizationInvalidTag:             invalidTag,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:47:9: error: cannot find 'errAuthorizationInvalidPointer' in scope
        errAuthorizationInvalidPointer:         invalidPointer,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:48:9: error: cannot find 'errAuthorizationDenied' in scope
        errAuthorizationDenied:                 denied,
        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:49:9: error: cannot find 'errAuthorizationCanceled' in scope
        errAuthorizationCanceled:               canceled,
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:50:9: error: cannot find 'errAuthorizationInteractionNotAllowed' in scope
        errAuthorizationInteractionNotAllowed:  interactionNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:51:9: error: cannot find 'errAuthorizationInternal' in scope
        errAuthorizationInternal:               internalError,
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:52:9: error: cannot find 'errAuthorizationExternalizeNotAllowed' in scope
        errAuthorizationExternalizeNotAllowed:  externalizeNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:53:9: error: cannot find 'errAuthorizationInternalizeNotAllowed' in scope
        errAuthorizationInternalizeNotAllowed:  internalizeNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:54:9: error: cannot find 'errAuthorizationInvalidFlags' in scope
        errAuthorizationInvalidFlags:           invalidFlags,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:55:9: error: cannot find 'errAuthorizationToolExecuteFailure' in scope
        errAuthorizationToolExecuteFailure:     toolExecuteFailure,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:56:9: error: cannot find 'errAuthorizationToolEnvironmentError' in scope
        errAuthorizationToolEnvironmentError:   toolEnvironmentError,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:57:9: error: cannot find 'errAuthorizationBadAddress' in scope
        errAuthorizationBadAddress:             badAddress
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:61:73: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure(_ authorizationFunction: () -> (OSStatus)) throws {
                                                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:70:84: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure<T>(_ authorizationFunction: (inout T?) -> (OSStatus)) throws -> T {
                                                                                   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:82:47: error: cannot find type 'OSStatus' in scope
    internal static func fromResult(_ result: OSStatus) -> AuthorizationError {
                                              ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:63:22: error: cannot find 'errSecSuccess' in scope
        if result != errSecSuccess {
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:73:22: error: cannot find 'errSecSuccess' in scope
        if result == errSecSuccess, let value = value {
                     ^~~~~~~~~~~~~
[2/47] Compiling Authorized Authorization.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:40:34: error: cannot find type 'AuthorizationRef' in scope
    public let authorizationRef: AuthorizationRef
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:67:71: error: cannot find 'AuthorizationExternalForm' in scope
    private static let externalFormChildrenCount = Mirror(reflecting: AuthorizationExternalForm().bytes).children.count
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:70:73: error: cannot find type 'AuthorizationRef' in scope
    private static func deserialize(from serialization: Data) throws -> AuthorizationRef {
                                                                        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:47:13: error: cannot find 'AuthorizationCreate' in scope
            AuthorizationCreate(nil, nil, [], &authorization)
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:70:84: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure<T>(_ authorizationFunction: (inout T?) -> (OSStatus)) throws -> T {
                                                                                   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:61:73: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure(_ authorizationFunction: () -> (OSStatus)) throws {
                                                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:47:33: error: 'nil' requires a contextual type
            AuthorizationCreate(nil, nil, [], &authorization)
                                ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:47:38: error: 'nil' requires a contextual type
            AuthorizationCreate(nil, nil, [], &authorization)
                                     ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:53:9: error: cannot find 'AuthorizationFree' in scope
        AuthorizationFree(self.authorizationRef, AuthorizationFlags())
        ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:53:50: error: cannot find 'AuthorizationFlags' in scope
        AuthorizationFree(self.authorizationRef, AuthorizationFlags())
                                                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:73:44: error: cannot find 'errSecInvalidEncoding' in scope
            throw AuthorizationError.other(errSecInvalidEncoding)
                                           ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:41:16: error: cannot find type 'OSStatus' in scope
    case other(OSStatus)
               ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:86:28: error: cannot find 'AuthorizationExternalForm' in scope
        var externalForm = AuthorizationExternalForm(bytes: bytes)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:122:21: error: cannot find 'AuthorizationCreate' in scope
                    AuthorizationCreate(rightsPointer, environmentPointer, options.asAuthorizationFlags(), nil)
                    ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:213:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:34:36: error: cannot find type 'AuthorizationFlags' in scope
    func asAuthorizationFlags() -> AuthorizationFlags {
                                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:122:108: error: 'nil' requires a contextual type
                    AuthorizationCreate(rightsPointer, environmentPointer, options.asAuthorizationFlags(), nil)
                                                                                                           ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:186:21: error: cannot find 'AuthorizationCopyRights' in scope
                    AuthorizationCopyRights(self.authorizationRef,
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:184:60: error: cannot find type 'AuthorizationItemSet' in scope
                let authorizedRights: UnsafeMutablePointer<AuthorizationItemSet> =
                                                           ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:182:27: error: type of expression is ambiguous without a type annotation
        return try rights.withUnsafePointer { rightsPointer in
               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:226:26: error: cannot find 'errAuthorizationSuccess' in scope
            if status == errAuthorizationSuccess, let rightsPointer = rightsPointer {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:224:41: error: cannot find type 'OSStatus' in scope
        let legacyCallback = { (status: OSStatus, rightsPointer: UnsafeMutablePointer<AuthorizationRights>?) in
                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:224:87: error: cannot find type 'AuthorizationRights' in scope
        let legacyCallback = { (status: OSStatus, rightsPointer: UnsafeMutablePointer<AuthorizationRights>?) in
                                                                                      ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:226:16: error: cannot convert value of type '_' to expected argument type '(any Any.Type)?'
            if status == errAuthorizationSuccess, let rightsPointer = rightsPointer {
               ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:236:17: error: cannot find 'AuthorizationCopyRightsAsync' in scope
                AuthorizationCopyRightsAsync(self.authorizationRef,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:297:17: error: cannot find 'AuthorizationCopyInfo' in scope
                AuthorizationCopyInfo(self.authorizationRef, tagPointer, &info)
                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:296:44: error: cannot find type 'AuthorizationItemSet' in scope
            let info: UnsafeMutablePointer<AuthorizationItemSet> = try AuthorizationError.throwIfFailure { info in
                                           ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:295:31: error: unable to infer closure type without a type annotation
        let copyInfoClosure = { (tagPointer: UnsafePointer<Int8>?) -> [AuthorizationInfo] in
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:306:40: error: converting non-escaping value to '(UnsafePointer<Int8>) throws -> [AuthorizationInfo]' may allow it to escape
            info = try tag.withCString(copyInfoClosure)
                                       ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:308:40: error: 'nil' requires a contextual type
            info = try copyInfoClosure(nil)
                                       ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:256:20: error: cannot find type 'AuthorizationItem' in scope
internal extension AuthorizationItem {
                   ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:272:20: error: cannot find type 'AuthorizationItemSet' in scope
internal extension AuthorizationItemSet {
                   ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:320:13: error: cannot find 'AuthorizationFree' in scope
            AuthorizationFree(self.authorizationRef, AuthorizationFlags([.destroyRights]))
            ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:320:54: error: cannot find 'AuthorizationFlags' in scope
            AuthorizationFree(self.authorizationRef, AuthorizationFlags([.destroyRights]))
                                                     ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:320:75: error: reference to member 'destroyRights' cannot be resolved without a contextual type
            AuthorizationFree(self.authorizationRef, AuthorizationFlags([.destroyRights]))
                                                                          ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:338:28: error: cannot find 'AuthorizationExternalForm' in scope
        var externalForm = AuthorizationExternalForm()
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:340:13: error: cannot find 'AuthorizationMakeExternalForm' in scope
            AuthorizationMakeExternalForm(self.authorizationRef, &externalForm)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/47] Emitting module Authorized
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:40:34: error: cannot find type 'AuthorizationRef' in scope
    public let authorizationRef: AuthorizationRef
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:67:71: error: cannot find 'AuthorizationExternalForm' in scope
    private static let externalFormChildrenCount = Mirror(reflecting: AuthorizationExternalForm().bytes).children.count
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:70:73: error: cannot find type 'AuthorizationRef' in scope
    private static func deserialize(from serialization: Data) throws -> AuthorizationRef {
                                                                        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:256:20: error: cannot find type 'AuthorizationItem' in scope
internal extension AuthorizationItem {
                   ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:272:20: error: cannot find type 'AuthorizationItemSet' in scope
internal extension AuthorizationItemSet {
                   ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:23:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:213:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:222:17: error: cannot find type 'AuthorizationItem' in scope
        items: [AuthorizationItem],
                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:223:30: error: cannot find type 'AuthorizationItemSet' in scope
        body: (UnsafePointer<AuthorizationItemSet>) throws -> Result
                             ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:41:16: error: cannot find type 'OSStatus' in scope
    case other(OSStatus)
               ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:44:9: error: cannot find 'errAuthorizationInvalidSet' in scope
        errAuthorizationInvalidSet:             invalidSet,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:45:9: error: cannot find 'errAuthorizationInvalidRef' in scope
        errAuthorizationInvalidRef:             invalidRef,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:46:9: error: cannot find 'errAuthorizationInvalidTag' in scope
        errAuthorizationInvalidTag:             invalidTag,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:47:9: error: cannot find 'errAuthorizationInvalidPointer' in scope
        errAuthorizationInvalidPointer:         invalidPointer,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:48:9: error: cannot find 'errAuthorizationDenied' in scope
        errAuthorizationDenied:                 denied,
        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:49:9: error: cannot find 'errAuthorizationCanceled' in scope
        errAuthorizationCanceled:               canceled,
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:50:9: error: cannot find 'errAuthorizationInteractionNotAllowed' in scope
        errAuthorizationInteractionNotAllowed:  interactionNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:51:9: error: cannot find 'errAuthorizationInternal' in scope
        errAuthorizationInternal:               internalError,
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:52:9: error: cannot find 'errAuthorizationExternalizeNotAllowed' in scope
        errAuthorizationExternalizeNotAllowed:  externalizeNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:53:9: error: cannot find 'errAuthorizationInternalizeNotAllowed' in scope
        errAuthorizationInternalizeNotAllowed:  internalizeNotAllowed,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:54:9: error: cannot find 'errAuthorizationInvalidFlags' in scope
        errAuthorizationInvalidFlags:           invalidFlags,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:55:9: error: cannot find 'errAuthorizationToolExecuteFailure' in scope
        errAuthorizationToolExecuteFailure:     toolExecuteFailure,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:56:9: error: cannot find 'errAuthorizationToolEnvironmentError' in scope
        errAuthorizationToolEnvironmentError:   toolEnvironmentError,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:57:9: error: cannot find 'errAuthorizationBadAddress' in scope
        errAuthorizationBadAddress:             badAddress
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:61:73: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure(_ authorizationFunction: () -> (OSStatus)) throws {
                                                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:70:84: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure<T>(_ authorizationFunction: (inout T?) -> (OSStatus)) throws -> T {
                                                                                   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:82:47: error: cannot find type 'OSStatus' in scope
    internal static func fromResult(_ result: OSStatus) -> AuthorizationError {
                                              ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:34:36: error: cannot find type 'AuthorizationFlags' in scope
    func asAuthorizationFlags() -> AuthorizationFlags {
                                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:142:82: error: cannot find 'kAuthorizationRuleIsAdmin' in scope
    public static let isAdmin: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleIsAdmin)
                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:145:34: error: cannot find 'kAuthorizationRuleAuthenticateAsAdmin' in scope
        AuthorizationRight(name: kAuthorizationRuleAuthenticateAsAdmin)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:148:34: error: cannot find 'kAuthorizationRuleAuthenticateAsSessionUser' in scope
        AuthorizationRight(name: kAuthorizationRuleAuthenticateAsSessionUser)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:150:85: error: cannot find 'kAuthorizationRuleClassAllow' in scope
    public static let classAllow: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleClassAllow)
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:152:84: error: cannot find 'kAuthorizationRuleClassDeny' in scope
    public static let classDeny: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleClassDeny)
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:206:31: error: cannot find type 'CFDictionary' in scope
    fileprivate init(entries: CFDictionary) {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:300:29: error: cannot find type 'SecRequirement' in scope
    public var requirement: SecRequirement? {
                            ^~~~~~~~~~~~~~
[4/47] Compiling Required IdentifierConstraint+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[5/47] Compiling Required InfoConstraint+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[6/47] Compiling Required MatchExpression+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[7/47] Compiling Required NegationRequirement+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[8/47] Compiling Required OrRequirement+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[9/47] Compiling Required ParenthesesRequirement+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[10/47] Compiling Required Requirement+Evaluate.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[11/47] Compiling Required Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[12/47] Compiling Required SecCertificate+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[13/47] Compiling Required SecCode+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[14/47] Compiling Required SecRequirement+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[15/52] Compiling Authorized AuthorizationElements.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:256:20: error: cannot find type 'AuthorizationItem' in scope
internal extension AuthorizationItem {
                   ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:272:20: error: cannot find type 'AuthorizationItemSet' in scope
internal extension AuthorizationItemSet {
                   ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:23:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:213:59: error: cannot find type 'AuthorizationItemSet' in scope
    func withUnsafePointer<Result>(_ body: (UnsafePointer<AuthorizationItemSet>) throws -> Result) rethrows -> Result {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:222:17: error: cannot find type 'AuthorizationItem' in scope
        items: [AuthorizationItem],
                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:223:30: error: cannot find type 'AuthorizationItemSet' in scope
        body: (UnsafePointer<AuthorizationItemSet>) throws -> Result
                             ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:27:28: error: cannot find 'AuthorizationItem' in scope
                let item = AuthorizationItem(name: namePointer,
                           ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:33:35: error: cannot find 'AuthorizationItemSet' in scope
                    var itemSet = AuthorizationItemSet(count: 1, items: buffer.baseAddress)
                                  ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:93:30: error: cannot find 'kAuthorizationFlagCanNotPreAuthorize' in scope
        return self.flags == kAuthorizationFlagCanNotPreAuthorize
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:152:52: error: cannot find 'kAuthorizationEnvironmentUsername' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentUsername, value: username)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:161:52: error: cannot find 'kAuthorizationEnvironmentPassword' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentPassword, value: password)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:171:52: error: cannot find 'kAuthorizationEnvironmentShared' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentShared, value: [])
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:179:52: error: cannot find 'kAuthorizationEnvironmentPrompt' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentPrompt, value: message)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:186:52: error: cannot find 'kAuthorizationEnvironmentIcon' in scope
        return AuthorizationEnvironmentEntry(name: kAuthorizationEnvironmentIcon, value: icon.absoluteString)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:233:32: error: cannot find 'AuthorizationItem' in scope
                    let item = AuthorizationItem(name: namePointer,
                               ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:248:31: error: cannot find 'AuthorizationItemSet' in scope
                var itemSet = AuthorizationItemSet(count: count, items: buffer.baseAddress)
                              ^~~~~~~~~~~~~~~~~~~~
[16/52] Compiling Authorized AuthorizationOption.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:34:36: error: cannot find type 'AuthorizationFlags' in scope
    func asAuthorizationFlags() -> AuthorizationFlags {
                                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:35:22: error: cannot find 'AuthorizationFlags' in scope
        var flags = [AuthorizationFlags]()
                     ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:35:21: error: cannot call value of non-function type '[Any]'
        var flags = [AuthorizationFlags]()
                    ^                   ~~

/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:38:58: error: cannot find 'AuthorizationFlags' in scope
                case .interactionAllowed:   flags.append(AuthorizationFlags.interactionAllowed)
                                                         ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:39:58: error: cannot find 'AuthorizationFlags' in scope
                case .extendRights:         flags.append(AuthorizationFlags.extendRights)
                                                         ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:40:58: error: cannot find 'AuthorizationFlags' in scope
                case .partialRights:        flags.append(AuthorizationFlags.partialRights)
                                                         ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:41:58: error: cannot find 'AuthorizationFlags' in scope
                case .destroyRights:        flags.append(AuthorizationFlags.destroyRights)
                                                         ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationOption.swift:42:58: error: cannot find 'AuthorizationFlags' in scope
                case .preAuthorize:         flags.append(AuthorizationFlags.preAuthorize)
                                                         ^~~~~~~~~~~~~~~~~~
[17/52] Compiling Authorized AuthorizationPolicyDatabase.swift
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:142:82: error: cannot find 'kAuthorizationRuleIsAdmin' in scope
    public static let isAdmin: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleIsAdmin)
                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:256:20: error: cannot find type 'AuthorizationItem' in scope
internal extension AuthorizationItem {
                   ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationElements.swift:272:20: error: cannot find type 'AuthorizationItemSet' in scope
internal extension AuthorizationItemSet {
                   ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:145:34: error: cannot find 'kAuthorizationRuleAuthenticateAsAdmin' in scope
        AuthorizationRight(name: kAuthorizationRuleAuthenticateAsAdmin)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:148:34: error: cannot find 'kAuthorizationRuleAuthenticateAsSessionUser' in scope
        AuthorizationRight(name: kAuthorizationRuleAuthenticateAsSessionUser)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:150:85: error: cannot find 'kAuthorizationRuleClassAllow' in scope
    public static let classAllow: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleClassAllow)
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:152:84: error: cannot find 'kAuthorizationRuleClassDeny' in scope
    public static let classDeny: AuthorizationRightRule = AuthorizationRight(name: kAuthorizationRuleClassDeny)
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:206:31: error: cannot find type 'CFDictionary' in scope
    fileprivate init(entries: CFDictionary) {
                              ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:300:29: error: cannot find type 'SecRequirement' in scope
    public var requirement: SecRequirement? {
                            ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:26:26: error: cannot find 'AuthorizationRightGet' in scope
            let result = AuthorizationRightGet(namePointer, &entries)
                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:27:26: error: cannot find 'errAuthorizationSuccess' in scope
            if result == errAuthorizationSuccess, let entries = entries {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:29:33: error: cannot find 'errAuthorizationDenied' in scope
            } else if result == errAuthorizationDenied {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:25:26: error: cannot find type 'CFDictionary' in scope
            var entries: CFDictionary?
                         ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:23:30: error: type of expression is ambiguous without a type annotation
        return try self.name.withCString { namePointer in
               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:48:26: error: cannot find 'AuthorizationRightGet' in scope
            let result = AuthorizationRightGet(namePointer, nil)
                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:49:26: error: cannot find 'errAuthorizationSuccess' in scope
            if result == errAuthorizationSuccess {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:51:33: error: cannot find 'errAuthorizationDenied' in scope
            } else if result == errAuthorizationDenied {
                                ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:48:61: error: 'nil' requires a contextual type
            let result = AuthorizationRightGet(namePointer, nil)
                                                            ^
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:85:28: error: cannot find 'CFBundleCreate' in scope
                cfBundle = CFBundleCreate(nil, bundle.bundleURL as CFURL)
                           ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:91:33: error: cannot find 'kAuthorizationRightRule' in scope
                rightDefinition[kAuthorizationRightRule] = rule.name
                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:94:33: error: cannot find 'kAuthorizationComment' in scope
                rightDefinition[kAuthorizationComment] = comment
                                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:106:17: error: cannot find 'AuthorizationRightSet' in scope
                AuthorizationRightSet(auth.authorizationRef,
                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:83:27: error: cannot find type 'CFBundle' in scope
            var cfBundle: CFBundle?
                          ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:81:23: error: type of expression is ambiguous without a type annotation
        try self.name.withCString { namePointer in
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:125:17: error: cannot find 'AuthorizationRightRemove' in scope
                AuthorizationRightRemove(authorization.authorizationRef, namePointer)
                ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:70:84: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure<T>(_ authorizationFunction: (inout T?) -> (OSStatus)) throws -> T {
                                                                                   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationError.swift:61:73: error: cannot find type 'OSStatus' in scope
    internal static func throwIfFailure(_ authorizationFunction: () -> (OSStatus)) throws {
                                                                        ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/Authorization.swift:40:34: error: cannot find type 'AuthorizationRef' in scope
    public let authorizationRef: AuthorizationRef
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:251:22: error: cannot find 'kAuthorizationComment' in scope
        self.entries[kAuthorizationComment] as? String
                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:259:44: error: cannot find 'kAuthorizationRightRule' in scope
        if let ruleElements = self.entries[kAuthorizationRightRule] as? [String] {
                                           ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:301:26: error: cannot find type 'SecRequirement' in scope
        var requirement: SecRequirement?
                         ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:303:13: error: cannot find 'SecRequirementCreateWithString' in scope
            SecRequirementCreateWithString(requirementString as CFString, SecCSFlags(), &requirement)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:303:75: error: cannot find 'SecCSFlags' in scope
            SecRequirementCreateWithString(requirementString as CFString, SecCSFlags(), &requirement)
                                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Authorized/Sources/Authorized/AuthorizationPolicyDatabase.swift:303:65: error: cannot find type 'CFString' in scope
            SecRequirementCreateWithString(requirementString as CFString, SecCSFlags(), &requirement)
                                                                ^~~~~~~~
[18/52] Compiling Required InfoConstraint.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[19/52] Compiling Required KeyExpression.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[20/52] Compiling Required MatchExpression.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[21/52] Compiling Required NegationRequirement.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
[22/52] Compiling Required OrRequirement.swift
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
error: fatalError
/host/spi-builder-workspace/.build/checkouts/Required/Sources/Required/Evaluator/AndRequirement+Evaluate.swift:8:8: error: no such module 'Security'
import Security
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
BUILD FAILURE 5.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.