Build Information
Failed to build PushNotifications, reference master (48a893
), with Swift 6.1 for Wasm on 27 May 2025 23:54:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/pusher/push-notifications-server-swift.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/pusher/push-notifications-server-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 48a8933 Merge pull request #36 from pusher/tech/networkservice-improvements
Cloned https://github.com/pusher/push-notifications-server-swift.git
Revision (git rev-parse @):
48a89332da1e06fa6987a0ce3055d02c237acda0
SUCCESS checkout https://github.com/pusher/push-notifications-server-swift.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pusher/push-notifications-server-swift.git
https://github.com/pusher/push-notifications-server-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-jwt",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.1",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/Swift-JWT.git"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
}
],
"manifest_display_name" : "PushNotifications",
"name" : "PushNotifications",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PushNotifications",
"targets" : [
"PushNotifications"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PushNotificationsTests",
"module_type" : "SwiftTarget",
"name" : "PushNotificationsTests",
"path" : "Tests/PushNotificationsTests",
"sources" : [
"Extensions/XCTest+Pusher.swift",
"InstanceConfigurationTests.swift",
"InterestsTests.swift",
"Models/TestObjects.swift",
"TokenTests.swift",
"UsersTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"PushNotifications"
],
"type" : "test"
},
{
"c99name" : "PushNotifications",
"module_type" : "SwiftTarget",
"name" : "PushNotifications",
"path" : "Sources/PushNotifications",
"product_dependencies" : [
"SwiftJWT"
],
"product_memberships" : [
"PushNotifications"
],
"sources" : [
"JWTTokenGenerable.swift",
"Models/JWT.swift",
"Models/PublishResponse.swift",
"Models/PushNotificationsError.swift",
"Models/SDKVersion.swift",
"PushNotifications.swift",
"Services/NetworkService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/realm/SwiftLint
Fetching https://github.com/IBM-Swift/Swift-JWT.git
[1/1605] Fetching swift-jwt
[1606/151988] Fetching swift-jwt, swiftlint
Fetched https://github.com/IBM-Swift/Swift-JWT.git from cache (21.80s)
Fetched https://github.com/realm/SwiftLint from cache (23.08s)
Computing version for https://github.com/IBM-Swift/Swift-JWT.git
Computed https://github.com/IBM-Swift/Swift-JWT.git at 3.6.201 (23.58s)
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueRSA.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/771] Fetching loggerapi
[433/2789] Fetching loggerapi, bluersa
[1018/3810] Fetching loggerapi, bluersa, blueecc
[3720/5464] Fetching loggerapi, bluersa, blueecc, bluecryptor
[5374/8010] Fetching loggerapi, bluersa, blueecc, bluecryptor, kituracontracts
Fetched https://github.com/Kitura/BlueRSA.git from cache (3.35s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (3.35s)
Fetched https://github.com/Kitura/BlueECC.git from cache (3.36s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (3.89s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (3.90s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (10.61s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.53s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.33s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (1.52s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.35s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.37s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.203 (0.49s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.55s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (4.49s)
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/Yams.git
[1/16112] Fetching sourcekitten
[16113/17041] Fetching sourcekitten, swiftytexttable
[16550/17125] Fetching sourcekitten, swiftytexttable, collectionconcurrencykit
[17126/30066] Fetching sourcekitten, swiftytexttable, collectionconcurrencykit, cryptoswift
[30067/40723] Fetching sourcekitten, swiftytexttable, collectionconcurrencykit, cryptoswift, yams
[37421/111167] Fetching sourcekitten, swiftytexttable, collectionconcurrencykit, cryptoswift, yams, swift-syntax
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (3.56s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (3.56s)
[62957/110154] Fetching sourcekitten, cryptoswift, yams, swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.59s)
Fetched https://github.com/jpsim/Yams.git from cache (3.61s)
[40768/86556] Fetching sourcekitten, swift-syntax
[70355/101907] Fetching sourcekitten, swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.01s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (7.75s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.79s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (8.45s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.71s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.40s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.0 (0.65s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.33s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (1.12s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.58s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.58s)
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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
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/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.203
Creating working copy for https://github.com/Kitura/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.201
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.0
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.201
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
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
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/47] Emitting module Logging
[14/47] Compiling Logging LogHandler.swift
[15/47] Compiling Logging Locks.swift
[16/47] Compiling Logging MetadataProvider.swift
[17/47] Compiling Logging Logging.swift
[18/48] Compiling CryptorECC EllipticCurve.swift
/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/BlueECC/Sources/CryptorECC/EllipticCurve.swift:132:82: error: cannot find 'CC_LONG' in scope
130 | data.withUnsafeBytes { ptr in
131 | guard let baseAddress = ptr.baseAddress else { return }
132 | _ = self.hashEngine(baseAddress.assumingMemoryBound(to: UInt8.self), CC_LONG(data.count), &hash)
| `- error: cannot find 'CC_LONG' in scope
133 | }
134 | return Data(hash)
[20/49] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:111:30: error: cannot find type 'CFError' in scope
109 |
110 | // Memory storage for error from SecKeyVerifySignature
111 | var error: Unmanaged<CFError>? = nil
| `- error: cannot find type 'CFError' in scope
112 | return SecKeyVerifySignature(ecPublicKey.nativeKey,
113 | ecPublicKey.curve.signingAlgorithm,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:112:16: error: cannot find 'SecKeyVerifySignature' in scope
110 | // Memory storage for error from SecKeyVerifySignature
111 | var error: Unmanaged<CFError>? = nil
112 | return SecKeyVerifySignature(ecPublicKey.nativeKey,
| `- error: cannot find 'SecKeyVerifySignature' in scope
113 | ecPublicKey.curve.signingAlgorithm,
114 | hash as CFData,
/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/ECSignature.swift:114:42: error: cannot find type 'CFData' in scope
112 | return SecKeyVerifySignature(ecPublicKey.nativeKey,
113 | ecPublicKey.curve.signingAlgorithm,
114 | hash as CFData,
| `- error: cannot find type 'CFData' in scope
115 | self.asn1 as CFData,
116 | &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:115:47: error: cannot find type 'CFData' in scope
113 | ecPublicKey.curve.signingAlgorithm,
114 | hash as CFData,
115 | self.asn1 as CFData,
| `- error: cannot find type 'CFData' in scope
116 | &error)
117 | #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/49] 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 {
[22/50] 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
[23/51] 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
[24/51] 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
[25/51] Compiling CryptorECC SSLPointerTricks.swift
[26/51] 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
[27/53] Compiling Cryptor Crypto.swift
/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/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: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: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 {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
| `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 | if self.status != .success {
44 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
| `- error: argument passed to call that takes no arguments
43 | if self.status != .success {
44 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 | if self.status != .success {
| `- error: cannot infer contextual base in reference to member 'success'
44 | return nil
45 | }
/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: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/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | /// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 | ///
58 | public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
| `- note: 'update(from:byteCount:)' declared here
59 |
60 | let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
| `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | if self.status != .success {
65 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | /// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 | ///
58 | public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
| `- note: 'update(from:byteCount:)' declared here
59 |
60 | let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
| `- error: missing argument for parameter 'from' in call
64 | if self.status != .success {
65 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | if self.status != .success {
| `- error: cannot infer contextual base in reference to member 'success'
65 | return nil
66 | }
[28/53] Compiling Cryptor Cryptor.swift
/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/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: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: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 {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
| `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 | if self.status != .success {
44 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
| `- error: argument passed to call that takes no arguments
43 | if self.status != .success {
44 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 | if self.status != .success {
| `- error: cannot infer contextual base in reference to member 'success'
44 | return nil
45 | }
/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: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/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | /// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 | ///
58 | public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
| `- note: 'update(from:byteCount:)' declared here
59 |
60 | let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
| `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | if self.status != .success {
65 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | /// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 | ///
58 | public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
| `- note: 'update(from:byteCount:)' declared here
59 |
60 | let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
| `- error: missing argument for parameter 'from' in call
64 | if self.status != .success {
65 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | if self.status != .success {
| `- error: cannot infer contextual base in reference to member 'success'
65 | return nil
66 | }
[29/53] Compiling Cryptor Updatable.swift
/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/Updatable.swift:55:32: error: cannot infer contextual base in reference to member 'success'
53 |
54 | _ = update(from: data.bytes, byteCount: size_t(data.length))
55 | return self.status == .success ? self : nil
| `- error: cannot infer contextual base in reference to member 'success'
56 | }
57 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:78:26: error: cannot infer contextual base in reference to member 'success'
76 | }
77 | #endif
78 | return self.status == .success ? self : nil
| `- error: cannot infer contextual base in reference to member 'success'
79 | }
80 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:91:26: error: cannot infer contextual base in reference to member 'success'
89 |
90 | _ = update(from: byteArray, byteCount: size_t(byteArray.count))
91 | return self.status == .success ? self : nil
| `- error: cannot infer contextual base in reference to member 'success'
92 | }
93 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:105:26: error: cannot infer contextual base in reference to member 'success'
103 |
104 | _ = update(from: string, byteCount: size_t(string.utf8.count))
105 | return self.status == .success ? self : nil
| `- error: cannot infer contextual base in reference to member 'success'
106 | }
107 | }
[30/53] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/53] 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),
[32/53] Compiling Cryptor SSLPointerTricks.swift
[33/53] Compiling Cryptor StreamCryptor.swift
/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 {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:239:12: error: cannot find 'kCCBlockSizeAES128' in scope
237 |
238 | case .aes, .aes128, .aes192, .aes256:
239 | return kCCBlockSizeAES128
| `- error: cannot find 'kCCBlockSizeAES128' in scope
240 |
241 | case .des:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:242:12: error: cannot find 'kCCBlockSizeDES' in scope
240 |
241 | case .des:
242 | return kCCBlockSizeDES
| `- error: cannot find 'kCCBlockSizeDES' in scope
243 |
244 | case .tripleDes:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:245:12: error: cannot find 'kCCBlockSize3DES' in scope
243 |
244 | case .tripleDes:
245 | return kCCBlockSize3DES
| `- error: cannot find 'kCCBlockSize3DES' in scope
246 |
247 | case .cast:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:248:12: error: cannot find 'kCCBlockSizeCAST' in scope
246 |
247 | case .cast:
248 | return kCCBlockSizeCAST
| `- error: cannot find 'kCCBlockSizeCAST' in scope
249 |
250 | case .rc2:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:251:12: error: cannot find 'kCCBlockSizeRC2' in scope
249 |
250 | case .rc2:
251 | return kCCBlockSizeRC2
| `- error: cannot find 'kCCBlockSizeRC2' in scope
252 |
253 | case .blowfish:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:254:12: error: cannot find 'kCCBlockSizeBlowfish' in scope
252 |
253 | case .blowfish:
254 | return kCCBlockSizeBlowfish
| `- error: cannot find 'kCCBlockSizeBlowfish' in scope
255 | }
256 | }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:263:12: error: cannot find 'kCCKeySizeAES128' in scope
261 |
262 | case .aes, .aes128:
263 | return kCCKeySizeAES128
| `- error: cannot find 'kCCKeySizeAES128' in scope
264 |
265 | case .aes192:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:266:12: error: cannot find 'kCCKeySizeAES192' in scope
264 |
265 | case .aes192:
266 | return kCCKeySizeAES192
| `- error: cannot find 'kCCKeySizeAES192' in scope
267 |
268 | case .aes256:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:269:12: error: cannot find 'kCCKeySizeAES256' in scope
267 |
268 | case .aes256:
269 | return kCCKeySizeAES256
| `- error: cannot find 'kCCKeySizeAES256' in scope
270 |
271 | case .des:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:272:12: error: cannot find 'kCCKeySizeDES' in scope
270 |
271 | case .des:
272 | return kCCKeySizeDES
| `- error: cannot find 'kCCKeySizeDES' in scope
273 |
274 | case .tripleDes:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:275:12: error: cannot find 'kCCKeySize3DES' in scope
273 |
274 | case .tripleDes:
275 | return kCCKeySize3DES
| `- error: cannot find 'kCCKeySize3DES' in scope
276 |
277 | case .cast:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:278:12: error: cannot find 'kCCKeySizeMinCAST' in scope
276 |
277 | case .cast:
278 | return kCCKeySizeMinCAST
| `- error: cannot find 'kCCKeySizeMinCAST' in scope
279 |
280 | case .rc2:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:281:12: error: cannot find 'kCCKeySizeMinRC2' in scope
279 |
280 | case .rc2:
281 | return kCCKeySizeMinRC2
| `- error: cannot find 'kCCKeySizeMinRC2' in scope
282 |
283 | case .blowfish:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:284:12: error: cannot find 'kCCKeySizeMinBlowfish' in scope
282 |
283 | case .blowfish:
284 | return kCCKeySizeMinBlowfish
| `- error: cannot find 'kCCKeySizeMinBlowfish' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:521:27: error: type 'StreamCryptor.Options' has no member 'ecbMode'
519 | }
520 |
521 | guard options.contains(.ecbMode) || ivLength == algorithm.blockSize else {
| `- error: type 'StreamCryptor.Options' has no member 'ecbMode'
522 | throw CryptorError.invalidIVSizeOrLength
523 | }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:799:28: error: cannot infer contextual base in reference to member 'success'
797 | public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
798 |
799 | if self.status == .success {
| `- error: cannot infer contextual base in reference to member 'success'
800 |
801 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:865:21: error: cannot find 'Status' in scope
863 | public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
864 |
865 | if self.status == Status.success {
| `- error: cannot find 'Status' in scope
866 |
867 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
[34/53] Compiling Cryptor KeyDerivation.swift
/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 | }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:102:38: error: extra argument 'bytes' in call
100 | }
101 | var bytes: [UInt8] = Array(repeating: UInt8(0), count:byteCount)
102 | let status = generate(bytes: &bytes, byteCount: byteCount)
| `- error: extra argument 'bytes' in call
103 | throw status
104 | //return bytes
[35/53] Compiling Cryptor Random.swift
/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 | }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:102:38: error: extra argument 'bytes' in call
100 | }
101 | var bytes: [UInt8] = Array(repeating: UInt8(0), count:byteCount)
102 | let status = generate(bytes: &bytes, byteCount: byteCount)
| `- error: extra argument 'bytes' in call
103 | throw status
104 | //return bytes
[36/53] Compiling Cryptor Digest.swift
/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/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: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/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 | public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 | engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
| `- error: cannot find 'CC_LONG' in scope
160 | return self
161 | }
/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
[37/53] Compiling Cryptor HMAC.swift
/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/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: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/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 | public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 | engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
| `- error: cannot find 'CC_LONG' in scope
160 | return self
161 | }
/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
[38/53] Compiling Cryptor Status.swift
[41/53] Compiling CryptorECC ECPublicKey.swift
/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/ECPublicKey.swift:142:34: error: cannot find type 'CFError' in scope
140 | self.nativeKey = ecKey
141 | #else
142 | var error: Unmanaged<CFError>? = nil
| `- error: cannot find type 'CFError' in scope
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:143:32: error: cannot find 'SecKeyCreateWithData' in scope
141 | #else
142 | var error: Unmanaged<CFError>? = nil
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
| `- error: cannot find 'SecKeyCreateWithData' in scope
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:144:54: error: cannot find 'kSecAttrKeyType' in scope
142 | var error: Unmanaged<CFError>? = nil
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
| `- error: cannot find 'kSecAttrKeyType' in scope
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
146 | &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:144:71: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
142 | var error: Unmanaged<CFError>? = nil
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
| `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
146 | &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:145:54: error: cannot find 'kSecAttrKeyClass' in scope
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
| `- error: cannot find 'kSecAttrKeyClass' in scope
146 | &error)
147 | else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:145:72: error: cannot find 'kSecAttrKeyClassPublic' in scope
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
| `- error: cannot find 'kSecAttrKeyClassPublic' in scope
146 | &error)
147 | else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:143:64: error: cannot find type 'CFData' in scope
141 | #else
142 | var error: Unmanaged<CFError>? = nil
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
| `- error: cannot find type 'CFData' in scope
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:145:99: error: cannot find type 'CFDictionary' in scope
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
| `- error: cannot find type 'CFDictionary' in scope
146 | &error)
147 | else {
[42/53] 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
[43/53] 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)
[44/53] 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
[45/53] Compiling CryptorRSA CryptorRSA.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
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignable.swift:89:30: error: cannot find type 'CFError' in scope
87 |
88 | // Memory storage for error from SecKeyCreateSignature
89 | var error: Unmanaged<CFError>? = nil
| `- error: cannot find type 'CFError' in scope
90 | // cfSignature is CFData that is ANS1 encoded as a sequence of two UInts (r and s)
91 | guard let cfSignature = SecKeyCreateSignature(key.nativeKey,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignable.swift:91:33: error: cannot find 'SecKeyCreateSignature' in scope
89 | var error: Unmanaged<CFError>? = nil
90 | // cfSignature is CFData that is ANS1 encoded as a sequence of two UInts (r and s)
91 | guard let cfSignature = SecKeyCreateSignature(key.nativeKey,
| `- error: cannot find 'SecKeyCreateSignature' in scope
92 | key.curve.signingAlgorithm,
93 | hash as CFData,
/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: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>?
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/39] Compiling Logging MetadataProvider.swift
[6/39] 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
[7/40] 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
[8/40] 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
[9/40] Compiling Cryptor Digest.swift
/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/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: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/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 | public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 | engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
| `- error: cannot find 'CC_LONG' in scope
160 | return self
161 | }
/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
[10/40] Compiling Cryptor HMAC.swift
/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/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: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/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 | public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 | engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
| `- error: cannot find 'CC_LONG' in scope
160 | return self
161 | }
/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/41] 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 {
[12/41] Compiling Cryptor Crypto.swift
/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/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: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: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 {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
| `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 | if self.status != .success {
44 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
| `- error: argument passed to call that takes no arguments
43 | if self.status != .success {
44 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 | if self.status != .success {
| `- error: cannot infer contextual base in reference to member 'success'
44 | return nil
45 | }
/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: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/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | /// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 | ///
58 | public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
| `- note: 'update(from:byteCount:)' declared here
59 |
60 | let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
| `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | if self.status != .success {
65 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | /// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 | ///
58 | public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
| `- note: 'update(from:byteCount:)' declared here
59 |
60 | let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
| `- error: missing argument for parameter 'from' in call
64 | if self.status != .success {
65 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | if self.status != .success {
| `- error: cannot infer contextual base in reference to member 'success'
65 | return nil
66 | }
[13/41] Compiling Cryptor Cryptor.swift
/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/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: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: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 {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
| `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 | if self.status != .success {
44 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
| `- error: argument passed to call that takes no arguments
43 | if self.status != .success {
44 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 | var dataOutMoved = 0
42 | (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 | if self.status != .success {
| `- error: cannot infer contextual base in reference to member 'success'
44 | return nil
45 | }
/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: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/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | /// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 | ///
58 | public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
| `- note: 'update(from:byteCount:)' declared here
59 |
60 | let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
| `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | if self.status != .success {
65 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | /// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 | ///
58 | public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
| `- note: 'update(from:byteCount:)' declared here
59 |
60 | let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
| `- error: missing argument for parameter 'from' in call
64 | if self.status != .success {
65 | return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 | var dataOutMoved = 0
63 | _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | if self.status != .success {
| `- error: cannot infer contextual base in reference to member 'success'
65 | return nil
66 | }
[14/41] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignable.swift:89:30: error: cannot find type 'CFError' in scope
87 |
88 | // Memory storage for error from SecKeyCreateSignature
89 | var error: Unmanaged<CFError>? = nil
| `- error: cannot find type 'CFError' in scope
90 | // cfSignature is CFData that is ANS1 encoded as a sequence of two UInts (r and s)
91 | guard let cfSignature = SecKeyCreateSignature(key.nativeKey,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignable.swift:91:33: error: cannot find 'SecKeyCreateSignature' in scope
89 | var error: Unmanaged<CFError>? = nil
90 | // cfSignature is CFData that is ANS1 encoded as a sequence of two UInts (r and s)
91 | guard let cfSignature = SecKeyCreateSignature(key.nativeKey,
| `- error: cannot find 'SecKeyCreateSignature' in scope
92 | key.curve.signingAlgorithm,
93 | hash as CFData,
/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: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/ECSignable.swift:93:63: error: cannot find type 'CFData' in scope
91 | guard let cfSignature = SecKeyCreateSignature(key.nativeKey,
92 | key.curve.signingAlgorithm,
93 | hash as CFData,
| `- error: cannot find type 'CFData' in scope
94 | &error)
95 | else {
[15/41] Compiling CryptorECC ECPublicKey.swift
/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/ECPublicKey.swift:142:34: error: cannot find type 'CFError' in scope
140 | self.nativeKey = ecKey
141 | #else
142 | var error: Unmanaged<CFError>? = nil
| `- error: cannot find type 'CFError' in scope
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:143:32: error: cannot find 'SecKeyCreateWithData' in scope
141 | #else
142 | var error: Unmanaged<CFError>? = nil
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
| `- error: cannot find 'SecKeyCreateWithData' in scope
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:144:54: error: cannot find 'kSecAttrKeyType' in scope
142 | var error: Unmanaged<CFError>? = nil
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
| `- error: cannot find 'kSecAttrKeyType' in scope
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
146 | &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:144:71: error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
142 | var error: Unmanaged<CFError>? = nil
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
| `- error: cannot find 'kSecAttrKeyTypeECSECPrimeRandom' in scope
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
146 | &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:145:54: error: cannot find 'kSecAttrKeyClass' in scope
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
| `- error: cannot find 'kSecAttrKeyClass' in scope
146 | &error)
147 | else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:145:72: error: cannot find 'kSecAttrKeyClassPublic' in scope
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
| `- error: cannot find 'kSecAttrKeyClassPublic' in scope
146 | &error)
147 | else {
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:143:64: error: cannot find type 'CFData' in scope
141 | #else
142 | var error: Unmanaged<CFError>? = nil
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
| `- error: cannot find type 'CFData' in scope
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECPublicKey.swift:145:99: error: cannot find type 'CFDictionary' in scope
143 | guard let secKey = SecKeyCreateWithData(keyData as CFData,
144 | [kSecAttrKeyType: kSecAttrKeyTypeECSECPrimeRandom,
145 | kSecAttrKeyClass: kSecAttrKeyClassPublic] as CFDictionary,
| `- error: cannot find type 'CFDictionary' in scope
146 | &error)
147 | else {
[16/41] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:111:30: error: cannot find type 'CFError' in scope
109 |
110 | // Memory storage for error from SecKeyVerifySignature
111 | var error: Unmanaged<CFError>? = nil
| `- error: cannot find type 'CFError' in scope
112 | return SecKeyVerifySignature(ecPublicKey.nativeKey,
113 | ecPublicKey.curve.signingAlgorithm,
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:112:16: error: cannot find 'SecKeyVerifySignature' in scope
110 | // Memory storage for error from SecKeyVerifySignature
111 | var error: Unmanaged<CFError>? = nil
112 | return SecKeyVerifySignature(ecPublicKey.nativeKey,
| `- error: cannot find 'SecKeyVerifySignature' in scope
113 | ecPublicKey.curve.signingAlgorithm,
114 | hash as CFData,
/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/ECSignature.swift:114:42: error: cannot find type 'CFData' in scope
112 | return SecKeyVerifySignature(ecPublicKey.nativeKey,
113 | ecPublicKey.curve.signingAlgorithm,
114 | hash as CFData,
| `- error: cannot find type 'CFData' in scope
115 | self.asn1 as CFData,
116 | &error)
/host/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/ECSignature.swift:115:47: error: cannot find type 'CFData' in scope
113 | ecPublicKey.curve.signingAlgorithm,
114 | hash as CFData,
115 | self.asn1 as CFData,
| `- error: cannot find type 'CFData' in scope
116 | &error)
117 | #endif
[17/42] Compiling CryptorECC EllipticCurve.swift
/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: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/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:132:82: error: cannot find 'CC_LONG' in scope
130 | data.withUnsafeBytes { ptr in
131 | guard let baseAddress = ptr.baseAddress else { return }
132 | _ = self.hashEngine(baseAddress.assumingMemoryBound(to: UInt8.self), CC_LONG(data.count), &hash)
| `- error: cannot find 'CC_LONG' in scope
133 | }
134 | return Data(hash)
[18/42] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/42] 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
[20/42] Compiling CryptorRSA CryptorRSA.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
[21/42] 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
[22/42] 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
[23/42] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/42] 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: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/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
[25/42] Compiling Logging LogHandler.swift
[26/42] Compiling Logging Locks.swift
[27/42] Emitting module Logging
[28/42] Compiling Cryptor Status.swift
[29/42] Compiling Cryptor SSLPointerTricks.swift
[30/42] Compiling Cryptor StreamCryptor.swift
/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 {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:239:12: error: cannot find 'kCCBlockSizeAES128' in scope
237 |
238 | case .aes, .aes128, .aes192, .aes256:
239 | return kCCBlockSizeAES128
| `- error: cannot find 'kCCBlockSizeAES128' in scope
240 |
241 | case .des:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:242:12: error: cannot find 'kCCBlockSizeDES' in scope
240 |
241 | case .des:
242 | return kCCBlockSizeDES
| `- error: cannot find 'kCCBlockSizeDES' in scope
243 |
244 | case .tripleDes:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:245:12: error: cannot find 'kCCBlockSize3DES' in scope
243 |
244 | case .tripleDes:
245 | return kCCBlockSize3DES
| `- error: cannot find 'kCCBlockSize3DES' in scope
246 |
247 | case .cast:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:248:12: error: cannot find 'kCCBlockSizeCAST' in scope
246 |
247 | case .cast:
248 | return kCCBlockSizeCAST
| `- error: cannot find 'kCCBlockSizeCAST' in scope
249 |
250 | case .rc2:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:251:12: error: cannot find 'kCCBlockSizeRC2' in scope
249 |
250 | case .rc2:
251 | return kCCBlockSizeRC2
| `- error: cannot find 'kCCBlockSizeRC2' in scope
252 |
253 | case .blowfish:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:254:12: error: cannot find 'kCCBlockSizeBlowfish' in scope
252 |
253 | case .blowfish:
254 | return kCCBlockSizeBlowfish
| `- error: cannot find 'kCCBlockSizeBlowfish' in scope
255 | }
256 | }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:263:12: error: cannot find 'kCCKeySizeAES128' in scope
261 |
262 | case .aes, .aes128:
263 | return kCCKeySizeAES128
| `- error: cannot find 'kCCKeySizeAES128' in scope
264 |
265 | case .aes192:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:266:12: error: cannot find 'kCCKeySizeAES192' in scope
264 |
265 | case .aes192:
266 | return kCCKeySizeAES192
| `- error: cannot find 'kCCKeySizeAES192' in scope
267 |
268 | case .aes256:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:269:12: error: cannot find 'kCCKeySizeAES256' in scope
267 |
268 | case .aes256:
269 | return kCCKeySizeAES256
| `- error: cannot find 'kCCKeySizeAES256' in scope
270 |
271 | case .des:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:272:12: error: cannot find 'kCCKeySizeDES' in scope
270 |
271 | case .des:
272 | return kCCKeySizeDES
| `- error: cannot find 'kCCKeySizeDES' in scope
273 |
274 | case .tripleDes:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:275:12: error: cannot find 'kCCKeySize3DES' in scope
273 |
274 | case .tripleDes:
275 | return kCCKeySize3DES
| `- error: cannot find 'kCCKeySize3DES' in scope
276 |
277 | case .cast:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:278:12: error: cannot find 'kCCKeySizeMinCAST' in scope
276 |
277 | case .cast:
278 | return kCCKeySizeMinCAST
| `- error: cannot find 'kCCKeySizeMinCAST' in scope
279 |
280 | case .rc2:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:281:12: error: cannot find 'kCCKeySizeMinRC2' in scope
279 |
280 | case .rc2:
281 | return kCCKeySizeMinRC2
| `- error: cannot find 'kCCKeySizeMinRC2' in scope
282 |
283 | case .blowfish:
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:284:12: error: cannot find 'kCCKeySizeMinBlowfish' in scope
282 |
283 | case .blowfish:
284 | return kCCKeySizeMinBlowfish
| `- error: cannot find 'kCCKeySizeMinBlowfish' in scope
285 | }
286 | }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:521:27: error: type 'StreamCryptor.Options' has no member 'ecbMode'
519 | }
520 |
521 | guard options.contains(.ecbMode) || ivLength == algorithm.blockSize else {
| `- error: type 'StreamCryptor.Options' has no member 'ecbMode'
522 | throw CryptorError.invalidIVSizeOrLength
523 | }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:799:28: error: cannot infer contextual base in reference to member 'success'
797 | public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
798 |
799 | if self.status == .success {
| `- error: cannot infer contextual base in reference to member 'success'
800 |
801 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:865:21: error: cannot find 'Status' in scope
863 | public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
864 |
865 | if self.status == Status.success {
| `- error: cannot find 'Status' in scope
866 |
867 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
BUILD FAILURE 6.1 wasm