The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CredentialsMicrosoft, reference master (01c74f), with Swift 6.1 for Wasm on 27 May 2025 22:17:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crspybits/CredentialsMicrosoft.git
Reference: master
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/crspybits/CredentialsMicrosoft
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 01c74f2 Update Package.resolved
Cloned https://github.com/crspybits/CredentialsMicrosoft.git
Revision (git rev-parse @):
01c74f249629cc75b3c673e1c440e6a288ba6dde
SUCCESS checkout https://github.com/crspybits/CredentialsMicrosoft.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/crspybits/CredentialsMicrosoft.git
https://github.com/crspybits/CredentialsMicrosoft.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura-credentials",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.5.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura-Credentials.git"
    },
    {
      "identity" : "swift-jwt",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.5.3",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/Swift-JWT.git"
    },
    {
      "identity" : "heliumlogger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/HeliumLogger.git"
    }
  ],
  "manifest_display_name" : "CredentialsMicrosoft",
  "name" : "CredentialsMicrosoft",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CredentialsMicrosoft",
      "targets" : [
        "CredentialsMicrosoft"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CredentialsMicrosoftTests",
      "module_type" : "SwiftTarget",
      "name" : "CredentialsMicrosoftTests",
      "path" : "Tests/CredentialsMicrosoftTests",
      "sources" : [
        "CredentialsMicrosoftTests.swift",
        "ServerTestSetup.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CredentialsMicrosoft"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CredentialsMicrosoft",
      "module_type" : "SwiftTarget",
      "name" : "CredentialsMicrosoft",
      "path" : "Sources/CredentialsMicrosoft",
      "product_dependencies" : [
        "Credentials",
        "SwiftJWT",
        "HeliumLogger"
      ],
      "product_memberships" : [
        "CredentialsMicrosoft"
      ],
      "sources" : [
        "CredentialsMicrosoftOptions.swift",
        "CredentialsMicrosoftToken.swift",
        "MicrosoftClaims.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/IBM-Swift/Swift-JWT.git
Fetching https://github.com/IBM-Swift/HeliumLogger.git
Fetching https://github.com/Kitura/Kitura-Credentials.git
[1/1797] Fetching kitura-credentials
[720/3064] Fetching kitura-credentials, heliumlogger
[1774/4669] Fetching kitura-credentials, heliumlogger, swift-jwt
Fetched https://github.com/Kitura/Kitura-Credentials.git from cache (1.63s)
Fetched https://github.com/IBM-Swift/HeliumLogger.git from cache (1.63s)
Fetched https://github.com/IBM-Swift/Swift-JWT.git from cache (1.63s)
Computing version for https://github.com/Kitura/Kitura-Credentials.git
Computed https://github.com/Kitura/Kitura-Credentials.git at 2.5.200 (2.53s)
Fetching https://github.com/Kitura/Kitura-Session.git
[1/1561] Fetching kitura-session
Fetched https://github.com/Kitura/Kitura-Session.git from cache (0.34s)
Computing version for https://github.com/Kitura/Kitura-Session.git
Computed https://github.com/Kitura/Kitura-Session.git at 3.3.201 (1.38s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1654] Fetching bluecryptor
[1655/18563] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.10s)
Fetched https://github.com/Kitura/Kitura.git from cache (1.12s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (1.82s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.28s)
Computing version for https://github.com/IBM-Swift/HeliumLogger.git
Computed https://github.com/IBM-Swift/HeliumLogger.git at 1.9.200 (0.91s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/apple/swift-log.git
[1/771] Fetching loggerapi
[772/4607] Fetching loggerapi, swift-log
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.44s)
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (1.00s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.33s)
Computing version for https://github.com/IBM-Swift/Swift-JWT.git
Computed https://github.com/IBM-Swift/Swift-JWT.git at 3.6.200 (0.88s)
Fetching https://github.com/Kitura/BlueRSA.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/BlueECC.git
[1/2018] Fetching bluersa
[365/3039] Fetching bluersa, blueecc
[1881/5585] Fetching bluersa, blueecc, kituracontracts
Fetched https://github.com/Kitura/BlueECC.git from cache (0.57s)
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.57s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.58s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (1.69s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.203 (0.98s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.98s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (1.15s)
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-net.git
[1/438] Fetching kitura-templateengine
[439/897] Fetching kitura-templateengine, typedecoder
[898/10441] Fetching kitura-templateengine, typedecoder, kitura-net
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.46s)
[1700/10003] Fetching typedecoder, kitura-net
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.52s)
[2100/9544] Fetching kitura-net
Fetched https://github.com/Kitura/Kitura-net.git from cache (1.18s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (3.68s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (1.65s)
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSignals.git
[1/681] Fetching bluesignals
[682/3623] Fetching bluesignals, bluesocket
[683/5700] Fetching bluesignals, bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.39s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (1.24s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.81s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.63s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.64s)
Creating working copy for https://github.com/Kitura/Kitura-Session.git
Working copy of https://github.com/Kitura/Kitura-Session.git resolved at 3.3.201
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/IBM-Swift/Swift-JWT.git
Working copy of https://github.com/IBM-Swift/Swift-JWT.git resolved at 3.6.200
Creating working copy for https://github.com/Kitura/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.203
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/IBM-Swift/HeliumLogger.git
Working copy of https://github.com/IBM-Swift/HeliumLogger.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/Kitura/Kitura-Credentials.git
Working copy of https://github.com/Kitura/Kitura-Credentials.git resolved at 2.5.200
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.201
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/21] Write sources
[18/21] Compiling CHTTPParser utils.c
[19/21] Write swift-version-24593BA9C3E375BF.txt
[20/21] Compiling CHTTPParser http_parser.c
[22/67] Emitting module Signals
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/67] Emitting module CryptorECC
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:60:31: error: cannot find type 'SecKey' in scope
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |         typealias NativeKey = SecKey
    |                               `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:60:27: error: cannot find type 'SecKey' in scope
 58 |     deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |     typealias NativeKey = SecKey
    |                           `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:63:56: error: cannot find type 'CC_LONG' in scope
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
    |                                                        `- error: cannot find type 'CC_LONG' in scope
 64 |     let hashLength: CC_LONG
 65 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:64:21: error: cannot find type 'CC_LONG' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
    |                     `- error: cannot find type 'CC_LONG' in scope
 65 |     #endif
 66 |     let keySize: Int
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:62:31: error: cannot find 'SecKeyAlgorithm' in scope
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
    |                               `- error: cannot find 'SecKeyAlgorithm' in scope
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:90:49: error: cannot find 'CC_SHA256' in scope
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
    |                                                 `- error: cannot find 'CC_SHA256' in scope
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
 92 |                                     keySize: 65)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:49: error: cannot find 'CC_LONG' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:57: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:88:62: error: cannot infer contextual base in reference to member 'prime256v1'
 86 |     #else
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                                                              `- error: cannot infer contextual base in reference to member 'prime256v1'
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:89:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:97:49: error: cannot find 'CC_SHA384' in scope
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
    |                                                 `- error: cannot find 'CC_SHA384' in scope
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
 99 |                                     keySize: 97)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:49: error: cannot find 'CC_LONG' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:57: error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:95:62: error: cannot infer contextual base in reference to member 'secp384r1'
 93 |
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp384r1'
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:96:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:104:49: error: cannot find 'CC_SHA512' in scope
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
    |                                                 `- error: cannot find 'CC_SHA512' in scope
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
106 |                                     keySize: 133)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:49: error: cannot find 'CC_LONG' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:57: error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:102:62: error: cannot infer contextual base in reference to member 'secp521r1'
100 |
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp521r1'
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:103:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/68] Emitting module Cryptor
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: @escaping attribute only applies to function types
227 | 	/// 	- length:		The digest length.
228 | 	///
229 | 	init(initializer: @escaping Initializer, updater: @escaping Updater, finalizer: @escaping Finalizer, length: Int32) {
    |                                                    `- error: @escaping attribute only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:26:30: error: cannot find type 'Status' in scope
 24 | #endif
 25 |
 26 | public typealias RNGStatus = Status
    |                              `- error: cannot find type 'Status' in scope
 27 |
 28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
[25/69] Emitting module KituraTemplateEngine
[26/69] Compiling KituraTemplateEngine TemplateEngine.swift
[27/70] Compiling CryptorECC SSLPointerTricks.swift
[28/70] Emitting module TypeDecoder
[29/70] Compiling TypeDecoder OrderedDictionary.swift
[30/70] Emitting module Logging
[32/70] Compiling Logging MetadataProvider.swift
[33/70] Compiling Logging LogHandler.swift
[34/70] Compiling Logging Locks.swift
[35/70] Compiling Logging Logging.swift
[37/71] Compiling CryptorRSA CryptorRSADigest.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[38/71] Compiling Cryptor SSLPointerTricks.swift
[39/72] Compiling Signals Signals.swift
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:56:18: error: cannot find 'SIGHUP' in scope
 54 | 			switch self {
 55 | 			case .hup:
 56 | 				return Int32(SIGHUP)
    |                  `- error: cannot find 'SIGHUP' in scope
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:58:18: error: cannot find 'SIGINT' in scope
 56 | 				return Int32(SIGHUP)
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
    |                  `- error: cannot find 'SIGINT' in scope
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:60:18: error: cannot find 'SIGQUIT' in scope
 58 | 				return Int32(SIGINT)
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
    |                  `- error: cannot find 'SIGQUIT' in scope
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:62:18: error: cannot find 'SIGABRT' in scope
 60 | 				return Int32(SIGQUIT)
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
    |                  `- error: cannot find 'SIGABRT' in scope
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:64:18: error: cannot find 'SIGKILL' in scope
 62 | 				return Int32(SIGABRT)
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
    |                  `- error: cannot find 'SIGKILL' in scope
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:66:18: error: cannot find 'SIGALRM' in scope
 64 | 				return Int32(SIGKILL)
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
    |                  `- error: cannot find 'SIGALRM' in scope
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:68:18: error: cannot find 'SIGTERM' in scope
 66 | 				return Int32(SIGALRM)
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
    |                  `- error: cannot find 'SIGTERM' in scope
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:70:18: error: cannot find 'SIGPIPE' in scope
 68 | 				return Int32(SIGTERM)
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
    |                  `- error: cannot find 'SIGPIPE' in scope
 71 | 			case .user(let sig):
 72 | 				return Int32(sig)
[40/72] Compiling CryptorRSA CryptorRSAKey.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[41/72] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:152:45: error: cannot find 'fds_bits' in scope
150 | 		@inline(__always)
151 | 		mutating func withCArrayAccess<T>(block: (UnsafeMutablePointer<Int32>) throws -> T) rethrows -> T {
152 | 			return try withUnsafeMutablePointer(to: &fds_bits) {
    |                                             `- error: cannot find 'fds_bits' in scope
153 | 				try block(UnsafeMutableRawPointer($0).assumingMemoryBound(to: Int32.self))
154 | 			}
[42/72] Compiling CryptorRSA CryptorRSAUtilities.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[43/72] Compiling Cryptor Digest.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:60:31: error: cannot find type 'SecKey' in scope
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |         typealias NativeKey = SecKey
    |                               `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:90:49: error: cannot find 'CC_SHA256' in scope
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
    |                                                 `- error: cannot find 'CC_SHA256' in scope
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
 92 |                                     keySize: 65)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:49: error: cannot find 'CC_LONG' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:57: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:63:56: error: cannot find type 'CC_LONG' in scope
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
    |                                                        `- error: cannot find type 'CC_LONG' in scope
 64 |     let hashLength: CC_LONG
 65 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:64:21: error: cannot find type 'CC_LONG' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
    |                     `- error: cannot find type 'CC_LONG' in scope
 65 |     #endif
 66 |     let keySize: Int
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:62:31: error: cannot find 'SecKeyAlgorithm' in scope
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
    |                               `- error: cannot find 'SecKeyAlgorithm' in scope
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:88:62: error: cannot infer contextual base in reference to member 'prime256v1'
 86 |     #else
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                                                              `- error: cannot infer contextual base in reference to member 'prime256v1'
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:89:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:97:49: error: cannot find 'CC_SHA384' in scope
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
    |                                                 `- error: cannot find 'CC_SHA384' in scope
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
 99 |                                     keySize: 97)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:49: error: cannot find 'CC_LONG' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:57: error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:95:62: error: cannot infer contextual base in reference to member 'secp384r1'
 93 |
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp384r1'
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:96:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:104:49: error: cannot find 'CC_SHA512' in scope
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
    |                                                 `- error: cannot find 'CC_SHA512' in scope
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
106 |                                     keySize: 133)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:49: error: cannot find 'CC_LONG' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:57: error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:102:62: error: cannot infer contextual base in reference to member 'secp521r1'
100 |
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp521r1'
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:103:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:282:47: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
280 |         }
281 |         #else
282 |         let kAsymmetricCryptoManagerKeyType = kSecAttrKeyTypeECSECPrimeRandom
    |                                               `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
283 |         let kAsymmetricCryptoManagerKeySize: Int
284 |         if curve == .prime256v1 {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:293:13: error: cannot find 'kSecAttrKeyType' in scope
291 |         // parameters
292 |         let parameters: [String: AnyObject] = [
293 |             kSecAttrKeyType as String:          kAsymmetricCryptoManagerKeyType,
    |             `- error: cannot find 'kSecAttrKeyType' in scope
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
295 |             ]
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:294:13: error: cannot find 'kSecAttrKeySizeInBits' in scope
292 |         let parameters: [String: AnyObject] = [
293 |             kSecAttrKeyType as String:          kAsymmetricCryptoManagerKeyType,
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
    |             `- error: cannot find 'kSecAttrKeySizeInBits' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:296:30: error: cannot find type 'SecKey' in scope
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
295 |             ]
296 |         var pubKey, privKey: SecKey?
    |                              `- error: cannot find type 'SecKey' in scope
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:297:22: error: cannot find 'SecKeyGeneratePair' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
    |                      `- error: cannot find 'SecKeyGeneratePair' in scope
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
299 |             throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:297:55: error: cannot find type 'CFDictionary' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
    |                                                       `- error: cannot find type 'CFDictionary' in scope
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
299 |             throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:301:30: error: cannot find type 'CFError' in scope
299 |             throw ECError.failedNativeKeyCreation
300 |         }
301 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
302 |         guard let pubBytes = SecKeyCopyExternalRepresentation(newPubKey, &error) else {
303 |             guard let error = error?.takeRetainedValue() else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:302:30: error: cannot find 'SecKeyCopyExternalRepresentation' in scope
300 |         }
301 |         var error: Unmanaged<CFError>? = nil
302 |         guard let pubBytes = SecKeyCopyExternalRepresentation(newPubKey, &error) else {
    |                              `- error: cannot find 'SecKeyCopyExternalRepresentation' in scope
303 |             guard let error = error?.takeRetainedValue() else {
304 |                 throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:362:34: error: cannot find type 'CFError' in scope
360 |             }
361 |         #else
362 |             var error: Unmanaged<CFError>? = nil
    |                                  `- error: cannot find type 'CFError' in scope
363 |             /*
364 |              From Apple docs:
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:367:34: error: cannot find 'SecKeyCopyExternalRepresentation' in scope
365 |              For an elliptic curve private key, `SecKeyCopyExternalRepresentation` output is formatted as the public key concatenated with the big endian encoding of the secret scalar, or 04 || X || Y || K.
366 |              */
367 |             guard let keyBytes = SecKeyCopyExternalRepresentation(nativeKey, &error) else {
    |                                  `- error: cannot find 'SecKeyCopyExternalRepresentation' in scope
368 |                 guard let error = error?.takeRetainedValue() else {
369 |                     throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:449:34: error: cannot find type 'CFError' in scope
447 |         #else
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
    |                                  `- error: cannot find type 'CFError' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:450:32: error: cannot find 'SecKeyCreateWithData' in scope
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                `- error: cannot find 'SecKeyCreateWithData' in scope
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:451:54: error: cannot find 'kSecAttrKeyType' in scope
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                      `- error: cannot find 'kSecAttrKeyType' in scope
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
453 |                                                     &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:451:71: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                                       `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
453 |                                                     &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:54: error: cannot find 'kSecAttrKeyClass' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                      `- error: cannot find 'kSecAttrKeyClass' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:72: error: cannot find 'kSecAttrKeyClassPrivate' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                                        `- error: cannot find 'kSecAttrKeyClassPrivate' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:450:64: error: cannot find type 'CFData' in scope
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                                                `- error: cannot find type 'CFData' in scope
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:100: error: cannot find type 'CFDictionary' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                                                                    `- error: cannot find type 'CFDictionary' in scope
453 |                                                     &error)
454 |             else {
[44/72] Compiling Cryptor HMAC.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:60:31: error: cannot find type 'SecKey' in scope
 58 |         deinit { EC_KEY_free(.make(optional: self.nativeKey)) }
 59 |     #else
 60 |         typealias NativeKey = SecKey
    |                               `- error: cannot find type 'SecKey' in scope
 61 |     #endif
 62 |     let nativeKey: NativeKey
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:90:49: error: cannot find 'CC_SHA256' in scope
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
    |                                                 `- error: cannot find 'CC_SHA256' in scope
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
 92 |                                     keySize: 65)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:49: error: cannot find 'CC_LONG' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:57: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:63:56: error: cannot find type 'CC_LONG' in scope
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
    |                                                        `- error: cannot find type 'CC_LONG' in scope
 64 |     let hashLength: CC_LONG
 65 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:64:21: error: cannot find type 'CC_LONG' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
    |                     `- error: cannot find type 'CC_LONG' in scope
 65 |     #endif
 66 |     let keySize: Int
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:62:31: error: cannot find 'SecKeyAlgorithm' in scope
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
    |                               `- error: cannot find 'SecKeyAlgorithm' in scope
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:88:62: error: cannot infer contextual base in reference to member 'prime256v1'
 86 |     #else
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                                                              `- error: cannot infer contextual base in reference to member 'prime256v1'
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:89:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:97:49: error: cannot find 'CC_SHA384' in scope
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
    |                                                 `- error: cannot find 'CC_SHA384' in scope
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
 99 |                                     keySize: 97)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:49: error: cannot find 'CC_LONG' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:57: error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:95:62: error: cannot infer contextual base in reference to member 'secp384r1'
 93 |
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp384r1'
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:96:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:104:49: error: cannot find 'CC_SHA512' in scope
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
    |                                                 `- error: cannot find 'CC_SHA512' in scope
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
106 |                                     keySize: 133)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:49: error: cannot find 'CC_LONG' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:57: error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:102:62: error: cannot infer contextual base in reference to member 'secp521r1'
100 |
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp521r1'
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:103:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:282:47: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
280 |         }
281 |         #else
282 |         let kAsymmetricCryptoManagerKeyType = kSecAttrKeyTypeECSECPrimeRandom
    |                                               `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
283 |         let kAsymmetricCryptoManagerKeySize: Int
284 |         if curve == .prime256v1 {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:293:13: error: cannot find 'kSecAttrKeyType' in scope
291 |         // parameters
292 |         let parameters: [String: AnyObject] = [
293 |             kSecAttrKeyType as String:          kAsymmetricCryptoManagerKeyType,
    |             `- error: cannot find 'kSecAttrKeyType' in scope
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
295 |             ]
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:294:13: error: cannot find 'kSecAttrKeySizeInBits' in scope
292 |         let parameters: [String: AnyObject] = [
293 |             kSecAttrKeyType as String:          kAsymmetricCryptoManagerKeyType,
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
    |             `- error: cannot find 'kSecAttrKeySizeInBits' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:296:30: error: cannot find type 'SecKey' in scope
294 |             kSecAttrKeySizeInBits as String:    kAsymmetricCryptoManagerKeySize as AnyObject,
295 |             ]
296 |         var pubKey, privKey: SecKey?
    |                              `- error: cannot find type 'SecKey' in scope
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:297:22: error: cannot find 'SecKeyGeneratePair' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
    |                      `- error: cannot find 'SecKeyGeneratePair' in scope
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
299 |             throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:297:55: error: cannot find type 'CFDictionary' in scope
295 |             ]
296 |         var pubKey, privKey: SecKey?
297 |         let status = SecKeyGeneratePair(parameters as CFDictionary, &pubKey, &privKey)
    |                                                       `- error: cannot find type 'CFDictionary' in scope
298 |         guard status == 0, let newPubKey = pubKey, let newPrivKey = privKey else {
299 |             throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:301:30: error: cannot find type 'CFError' in scope
299 |             throw ECError.failedNativeKeyCreation
300 |         }
301 |         var error: Unmanaged<CFError>? = nil
    |                              `- error: cannot find type 'CFError' in scope
302 |         guard let pubBytes = SecKeyCopyExternalRepresentation(newPubKey, &error) else {
303 |             guard let error = error?.takeRetainedValue() else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:302:30: error: cannot find 'SecKeyCopyExternalRepresentation' in scope
300 |         }
301 |         var error: Unmanaged<CFError>? = nil
302 |         guard let pubBytes = SecKeyCopyExternalRepresentation(newPubKey, &error) else {
    |                              `- error: cannot find 'SecKeyCopyExternalRepresentation' in scope
303 |             guard let error = error?.takeRetainedValue() else {
304 |                 throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:362:34: error: cannot find type 'CFError' in scope
360 |             }
361 |         #else
362 |             var error: Unmanaged<CFError>? = nil
    |                                  `- error: cannot find type 'CFError' in scope
363 |             /*
364 |              From Apple docs:
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:367:34: error: cannot find 'SecKeyCopyExternalRepresentation' in scope
365 |              For an elliptic curve private key, `SecKeyCopyExternalRepresentation` output is formatted as the public key concatenated with the big endian encoding of the secret scalar, or 04 || X || Y || K.
366 |              */
367 |             guard let keyBytes = SecKeyCopyExternalRepresentation(nativeKey, &error) else {
    |                                  `- error: cannot find 'SecKeyCopyExternalRepresentation' in scope
368 |                 guard let error = error?.takeRetainedValue() else {
369 |                     throw ECError.failedNativeKeyCreation
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:449:34: error: cannot find type 'CFError' in scope
447 |         #else
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
    |                                  `- error: cannot find type 'CFError' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:450:32: error: cannot find 'SecKeyCreateWithData' in scope
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                `- error: cannot find 'SecKeyCreateWithData' in scope
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:451:54: error: cannot find 'kSecAttrKeyType' in scope
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                      `- error: cannot find 'kSecAttrKeyType' in scope
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
453 |                                                     &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:451:71: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
    |                                                                       `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
453 |                                                     &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:54: error: cannot find 'kSecAttrKeyClass' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                      `- error: cannot find 'kSecAttrKeyClass' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:72: error: cannot find 'kSecAttrKeyClassPrivate' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                                        `- error: cannot find 'kSecAttrKeyClassPrivate' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:450:64: error: cannot find type 'CFData' in scope
448 |             let keyData = publicKeyData + privateKeyData
449 |             var error: Unmanaged<CFError>? = nil
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
    |                                                                `- error: cannot find type 'CFData' in scope
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPrivateKey.swift:452:100: error: cannot find type 'CFDictionary' in scope
450 |             guard let secKey = SecKeyCreateWithData(keyData as CFData,
451 |                                                     [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
452 |                                                      kSecAttrKeyClass: kSecAttrKeyClassPrivate] as CFDictionary,
    |                                                                                                    `- error: cannot find type 'CFDictionary' in scope
453 |                                                     &error)
454 |             else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:61:27: error: cannot find type 'SecKeyAlgorithm' in scope
 59 |     let hashLength = CC_LONG(SHA256_DIGEST_LENGTH)
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
    |                           `- error: cannot find type 'SecKeyAlgorithm' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:63:56: error: cannot find type 'CC_LONG' in scope
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
    |                                                        `- error: cannot find type 'CC_LONG' in scope
 64 |     let hashLength: CC_LONG
 65 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:64:21: error: cannot find type 'CC_LONG' in scope
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
    |                     `- error: cannot find type 'CC_LONG' in scope
 65 |     #endif
 66 |     let keySize: Int
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:62:31: error: cannot find 'SecKeyAlgorithm' in scope
 60 |     #else
 61 |     let signingAlgorithm: SecKeyAlgorithm
 62 |     let encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM
    |                               `- error: cannot find 'SecKeyAlgorithm' in scope
 63 |     let hashEngine: (_ data: UnsafeRawPointer?, _ len: CC_LONG, _ md: UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>?
 64 |     let hashLength: CC_LONG
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:90:49: error: cannot find 'CC_SHA256' in scope
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
    |                                                 `- error: cannot find 'CC_SHA256' in scope
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
 92 |                                     keySize: 65)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:49: error: cannot find 'CC_LONG' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:91:57: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
 92 |                                     keySize: 65)
 93 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:88:62: error: cannot infer contextual base in reference to member 'prime256v1'
 86 |     #else
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
    |                                                              `- error: cannot infer contextual base in reference to member 'prime256v1'
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
 90 |                                     hashEngine: CC_SHA256,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:89:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 87 |     /// Secure Hash Algorithm 2 256-bit
 88 |     static let p256 = EllipticCurve(internalRepresentation: .prime256v1,
 89 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA256,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA256'
 90 |                                     hashEngine: CC_SHA256,
 91 |                                     hashLength: CC_LONG(CC_SHA256_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:97:49: error: cannot find 'CC_SHA384' in scope
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
    |                                                 `- error: cannot find 'CC_SHA384' in scope
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
 99 |                                     keySize: 97)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:49: error: cannot find 'CC_LONG' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:98:57: error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA384_DIGEST_LENGTH' in scope
 99 |                                     keySize: 97)
100 |
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:95:62: error: cannot infer contextual base in reference to member 'secp384r1'
 93 |
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp384r1'
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
 97 |                                     hashEngine: CC_SHA384,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:96:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 94 |     /// Secure Hash Algorithm 2 384-bit
 95 |     static let p384 = EllipticCurve(internalRepresentation: .secp384r1,
 96 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA384,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA384'
 97 |                                     hashEngine: CC_SHA384,
 98 |                                     hashLength: CC_LONG(CC_SHA384_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:104:49: error: cannot find 'CC_SHA512' in scope
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
    |                                                 `- error: cannot find 'CC_SHA512' in scope
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
106 |                                     keySize: 133)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:49: error: cannot find 'CC_LONG' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                 `- error: cannot find 'CC_LONG' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:105:57: error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
    |                                                         `- error: cannot find 'CC_SHA512_DIGEST_LENGTH' in scope
106 |                                     keySize: 133)
107 |     #endif
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:102:62: error: cannot infer contextual base in reference to member 'secp521r1'
100 |
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
    |                                                              `- error: cannot infer contextual base in reference to member 'secp521r1'
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
104 |                                     hashEngine: CC_SHA512,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:103:56: error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
101 |     /// Secure Hash Algorithm 512-bit
102 |     static let p521 = EllipticCurve(internalRepresentation: .secp521r1,
103 |                                     signingAlgorithm: .ecdsaSignatureDigestX962SHA512,
    |                                                        `- error: cannot infer contextual base in reference to member 'ecdsaSignatureDigestX962SHA512'
104 |                                     hashEngine: CC_SHA512,
105 |                                     hashLength: CC_LONG(CC_SHA512_DIGEST_LENGTH),
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:26:30: error: cannot find type 'Status' in scope
 24 | #endif
 25 |
 26 | public typealias RNGStatus = Status
    |                              `- error: cannot find type 'Status' in scope
 27 |
 28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:77:38: error: extra argument 'bytes' in call
 75 |
 76 | 		var bytes = Array(repeating: UInt8(0), count:byteCount)
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
 78 |
 79 | 		if status != .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:79:17: error: cannot infer contextual base in reference to member 'success'
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
 78 |
 79 | 		if status != .success {
    |                 `- error: cannot infer contextual base in reference to member 'success'
 80 | 			throw status
 81 | 		}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling CryptorRSA Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[3/21] Compiling CryptorRSA SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[4/21] Compiling CryptorRSA CryptorRSAConstants.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/32] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
[6/42] Emitting module Signals
[7/42] Compiling Signals Signals.swift
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:56:18: error: cannot find 'SIGHUP' in scope
 54 | 			switch self {
 55 | 			case .hup:
 56 | 				return Int32(SIGHUP)
    |                  `- error: cannot find 'SIGHUP' in scope
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:58:18: error: cannot find 'SIGINT' in scope
 56 | 				return Int32(SIGHUP)
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
    |                  `- error: cannot find 'SIGINT' in scope
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:60:18: error: cannot find 'SIGQUIT' in scope
 58 | 				return Int32(SIGINT)
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
    |                  `- error: cannot find 'SIGQUIT' in scope
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:62:18: error: cannot find 'SIGABRT' in scope
 60 | 				return Int32(SIGQUIT)
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
    |                  `- error: cannot find 'SIGABRT' in scope
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:64:18: error: cannot find 'SIGKILL' in scope
 62 | 				return Int32(SIGABRT)
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
    |                  `- error: cannot find 'SIGKILL' in scope
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:66:18: error: cannot find 'SIGALRM' in scope
 64 | 				return Int32(SIGKILL)
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
    |                  `- error: cannot find 'SIGALRM' in scope
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:68:18: error: cannot find 'SIGTERM' in scope
 66 | 				return Int32(SIGALRM)
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
    |                  `- error: cannot find 'SIGTERM' in scope
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:70:18: error: cannot find 'SIGPIPE' in scope
 68 | 				return Int32(SIGTERM)
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
    |                  `- error: cannot find 'SIGPIPE' in scope
 71 | 			case .user(let sig):
 72 | 				return Int32(sig)
[8/48] Compiling CryptorRSA CryptorRSADigest.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[9/48] Compiling CryptorRSA CryptorRSAErrors.swift
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/48] Emitting module CryptorRSA
/host/spi-builder-workspace/.build/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSADigest.swift:22:9: error: no such module 'CommonCrypto'
 20 |
 21 | #if !os(Linux)
 22 | 	import CommonCrypto
    |         `- error: no such module 'CommonCrypto'
 23 | #elseif os(Linux)
 24 | 	import OpenSSL
[11/48] Compiling KituraTemplateEngine TemplateEngine.swift
[12/48] Emitting module KituraTemplateEngine
BUILD FAILURE 6.1 wasm