Build Information
Failed to build ncryptf-swift, reference 0.2.1 (328d8a
), with Swift 6.1 for Android on 27 May 2025 10:52:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ncryptf/ncryptf-swift.git
Reference: 0.2.1
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/ncryptf/ncryptf-swift
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 328d8ae Updating README. Fixing Linux tests
Cloned https://github.com/ncryptf/ncryptf-swift.git
Revision (git rev-parse @):
328d8aee02d466fcb67b9ca4b93fa7721cb085e5
SUCCESS checkout https://github.com/ncryptf/ncryptf-swift.git at 0.2.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ncryptf/ncryptf-swift.git
https://github.com/ncryptf/ncryptf-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
},
{
"identity" : "swift-sodium",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "0.9.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jedisct1/swift-sodium.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.5",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "hkdf",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.0",
"upper_bound" : "3.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Bouke/HKDF"
}
],
"manifest_display_name" : "ncryptf-swift",
"name" : "ncryptf-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ncryptf",
"targets" : [
"ncryptf"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ncryptfTest",
"module_type" : "SwiftTarget",
"name" : "ncryptfTest",
"path" : "Tests/ncryptfTest",
"product_dependencies" : [
"Rainbow"
],
"sources" : [
"AuthorizationTest.swift",
"IntegrationTest.swift",
"RequestResponseTest.swift",
"SignatureTest.swift",
"TestCase.swift",
"UtilsTest.swift",
"helpers.swift"
],
"target_dependencies" : [
"ncryptf"
],
"type" : "test"
},
{
"c99name" : "ncryptf",
"module_type" : "SwiftTarget",
"name" : "ncryptf",
"path" : "ncryptf",
"product_dependencies" : [
"Sodium",
"HKDF",
"CryptoSwift"
],
"product_memberships" : [
"ncryptf"
],
"sources" : [
"Authorization.swift",
"DateFormatter.swift",
"Error.swift",
"Keypair.swift",
"Request.swift",
"Response.swift",
"Signature.swift",
"Token.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jedisct1/swift-sodium.git
Fetching https://github.com/Bouke/HKDF
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/134] Fetching hkdf
[131/13068] Fetching hkdf, cryptoswift
[390/14264] Fetching hkdf, cryptoswift, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.30s)
[2071/13068] Fetching hkdf, cryptoswift
[13065/17555] Fetching hkdf, cryptoswift, swift-sodium
Fetched https://github.com/Bouke/HKDF from cache (4.38s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (4.41s)
Fetched https://github.com/jedisct1/swift-sodium.git from cache (4.48s)
Computing version for https://github.com/Bouke/HKDF
Computed https://github.com/Bouke/HKDF at 3.1.0 (6.66s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1654] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.45s)
Computing version for https://github.com/jedisct1/swift-sodium.git
Computed https://github.com/jedisct1/swift-sodium.git at 0.8.0 (1.05s)
Fetching https://github.com/tiwoc/Clibsodium.git
[1/8] Fetching clibsodium
Fetched https://github.com/tiwoc/Clibsodium.git from cache (0.34s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.0.0 (2.19s)
Computing version for https://github.com/tiwoc/Clibsodium.git
Computed https://github.com/tiwoc/Clibsodium.git at 1.0.0 (0.45s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.48s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.52s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.25s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (0.78s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.0.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Bouke/HKDF
Working copy of https://github.com/Bouke/HKDF resolved at 3.1.0
Creating working copy for https://github.com/jedisct1/swift-sodium.git
Working copy of https://github.com/jedisct1/swift-sodium.git resolved at 0.8.0
Creating working copy for https://github.com/tiwoc/Clibsodium.git
Working copy of https://github.com/tiwoc/Clibsodium.git resolved at 1.0.0
warning: 'clibsodium': ignoring declared target(s) 'Clibsodium' in the system package
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
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 libsodium using your system-packager:
apt-get install libsodium-dev
warning: you may be able to install openssl using your system-packager:
apt-get install openssl libssl-dev
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/104] Emitting module Sodium
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/106] 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 {
[9/107] Compiling CryptoSwift BlockEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[10/107] Compiling CryptoSwift BlockMode.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[11/107] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[12/107] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[13/107] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[14/107] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[15/107] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[16/107] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[17/107] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[18/107] Compiling Sodium Stream.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/116] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[20/116] Compiling Cryptor Crypto.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[21/116] Compiling Cryptor Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[22/116] Compiling Cryptor Digest.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[23/116] Compiling Cryptor HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[24/116] Compiling Cryptor KeyDerivation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[25/116] Compiling Cryptor Random.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[26/116] Compiling CryptoSwift BatchedCollection.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[27/116] Compiling CryptoSwift Bit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[28/116] Compiling CryptoSwift BlockCipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[29/116] Compiling CryptoSwift BlockDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[30/116] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[31/116] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[32/116] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[33/116] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[34/116] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[35/116] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[36/116] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[37/116] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[38/116] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[39/116] Compiling Cryptor SSLPointerTricks.swift
[40/116] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[41/116] Compiling CryptoSwift RandomBytesSequence.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[42/116] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[43/116] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[44/116] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[45/116] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[46/116] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[47/116] Compiling CryptoSwift StreamDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[48/116] Compiling CryptoSwift StreamEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
/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
/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
[51/116] 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)
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
[55/116] Compiling Cryptor Status.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
[57/116] Compiling Sodium Utils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
[58/116] Compiling CryptoSwift HMAC+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[59/116] Compiling CryptoSwift Rabbit+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[60/116] Compiling CryptoSwift String+FoundationExtension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[61/116] Compiling CryptoSwift Utils+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[62/116] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[63/116] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[64/116] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[65/116] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[66/116] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[67/116] Compiling Cryptor Utilities.swift
[68/116] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[69/116] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[70/116] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[71/116] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[72/116] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[73/116] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[74/116] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[75/116] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[76/116] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
/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 | }
/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 | }
/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
/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
[81/116] 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 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[83/116] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[84/116] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[85/116] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[86/116] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[87/116] Compiling CryptoSwift ChaCha20.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[88/116] Compiling CryptoSwift Checksum.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[89/116] Compiling CryptoSwift Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[90/116] Compiling CryptoSwift Collection+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[91/116] Compiling CryptoSwift CompactMap.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[92/116] Compiling CryptoSwift Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[93/116] Compiling CryptoSwift Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[94/116] Compiling CryptoSwift Digest.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[95/116] Compiling CryptoSwift DigestType.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[96/116] Compiling CryptoSwift AES+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[97/116] Compiling CryptoSwift Array+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[98/116] Compiling CryptoSwift Blowfish+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[99/116] Compiling CryptoSwift ChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[100/116] Compiling CryptoSwift Data+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'clibsodium': ignoring declared target(s) 'Clibsodium' in the system package
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
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 libsodium using your system-packager:
apt-get install libsodium-dev
warning: you may be able to install openssl using your system-packager:
apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/99] Compiling Cryptor SSLPointerTricks.swift
[3/99] Compiling CryptoSwift AEAD.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
[4/99] Compiling CryptoSwift AEADChaCha20Poly1305.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
[5/100] Compiling CryptoSwift Array+Extension.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
[6/100] Compiling CryptoSwift Authenticator.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/100] 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 {
[8/100] Compiling CryptoSwift AES.Cryptors.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 | }
[9/100] Compiling CryptoSwift AES.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 | }
[10/100] 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)
[11/100] 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 | }
[12/100] Compiling Cryptor Status.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/100] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
20 | import Darwin
21 | #else
22 | import Glibc
| `- error: no such module 'Glibc'
23 | #endif
24 |
[14/109] Compiling Cryptor Utilities.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
BUILD FAILURE 6.1 android