The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Kitura-CredentialsHTTP, reference master (0dcc77), with Swift 6.1 for Wasm on 27 May 2025 20:49:39 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-CredentialsHTTP.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Kitura/Kitura-CredentialsHTTP
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0dcc772 Merge pull request #65 from dannys42-contrib/MISC-org_update
Cloned https://github.com/Kitura/Kitura-CredentialsHTTP.git
Revision (git rev-parse @):
0dcc772f8b471e84f5d9ef89087698651ae6a984
SUCCESS checkout https://github.com/Kitura/Kitura-CredentialsHTTP.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Kitura-CredentialsHTTP.git
https://github.com/Kitura/Kitura-CredentialsHTTP.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura-credentials",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.5.200",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura-Credentials.git"
    }
  ],
  "manifest_display_name" : "Kitura-CredentialsHTTP",
  "name" : "Kitura-CredentialsHTTP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CredentialsHTTP",
      "targets" : [
        "CredentialsHTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CredentialsHTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "CredentialsHTTPTests",
      "path" : "Tests/CredentialsHTTPTests",
      "sources" : [
        "CredentialsTest.swift",
        "PrintLogger.swift",
        "TestBasic.swift",
        "TestDigest.swift",
        "TestTypeSafeBasic.swift"
      ],
      "target_dependencies" : [
        "CredentialsHTTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CredentialsHTTP",
      "module_type" : "SwiftTarget",
      "name" : "CredentialsHTTP",
      "path" : "Sources/CredentialsHTTP",
      "product_dependencies" : [
        "Credentials"
      ],
      "product_memberships" : [
        "CredentialsHTTP"
      ],
      "sources" : [
        "CredentialsHTTPBasic.swift",
        "CredentialsHTTPDigest.swift",
        "TypeSafeHTTPBasic.swift",
        "UserProfileLoader.swift",
        "VerifyPassword.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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Kitura/Kitura-Credentials.git
[1/1797] Fetching kitura-credentials
Fetched https://github.com/Kitura/Kitura-Credentials.git from cache (0.26s)
Computing version for https://github.com/Kitura/Kitura-Credentials.git
Computed https://github.com/Kitura/Kitura-Credentials.git at 2.5.200 (1.20s)
Fetching https://github.com/Kitura/Kitura-Session.git
[1/1561] Fetching kitura-session
Fetched https://github.com/Kitura/Kitura-Session.git from cache (0.32s)
Computing version for https://github.com/Kitura/Kitura-Session.git
Computed https://github.com/Kitura/Kitura-Session.git at 3.3.201 (0.84s)
Fetching https://github.com/Kitura/Kitura.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/1654] Fetching bluecryptor
[1655/18563] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.28s)
[1860/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (1.10s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (1.63s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.21s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.95s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.53s)
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/459] Fetching typedecoder
[130/897] Fetching typedecoder, kitura-templateengine
[898/10441] Fetching typedecoder, kitura-templateengine, kitura-net
[1948/12987] Fetching typedecoder, kitura-templateengine, kitura-net, kituracontracts
[2712/16823] Fetching typedecoder, kitura-templateengine, kitura-net, kituracontracts, swift-log
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.29s)
[3254/16364] Fetching kitura-templateengine, kitura-net, kituracontracts, swift-log
[3471/17135] Fetching kitura-templateengine, kitura-net, kituracontracts, swift-log, loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.40s)
[9850/16364] Fetching kitura-templateengine, kitura-net, kituracontracts, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
[11288/12528] Fetching kitura-templateengine, kitura-net, kituracontracts
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.52s)
[9696/9982] Fetching kitura-templateengine, kitura-net
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.72s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.74s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.24s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.49s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/681] Fetching bluesignals
[682/3623] Fetching bluesignals, bluesocket
[3271/5700] Fetching bluesignals, bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.32s)
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.33s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.33s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.85s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.52s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.57s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.50s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.53s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.52s)
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/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-Credentials.git
Working copy of https://github.com/Kitura/Kitura-Credentials.git resolved at 2.5.200
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/Kitura/Kitura-Session.git
Working copy of https://github.com/Kitura/Kitura-Session.git resolved at 3.3.201
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/17] Write sources
[14/17] Compiling CHTTPParser utils.c
[15/17] Write swift-version-24593BA9C3E375BF.txt
[16/17] Compiling CHTTPParser http_parser.c
[18/44] Emitting module TypeDecoder
[19/44] Emitting module KituraTemplateEngine
[20/44] Compiling KituraTemplateEngine TemplateEngine.swift
[22/45] Compiling Logging LogHandler.swift
[23/45] Compiling Logging Logging.swift
[24/45] Compiling Logging Locks.swift
[25/45] 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)
[26/46] Emitting module Logging
[27/46] Compiling Logging MetadataProvider.swift
[28/46] Compiling Cryptor Digest.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: @escaping attribute only applies to function types
227 | 	/// 	- length:		The digest length.
228 | 	///
229 | 	init(initializer: @escaping Initializer, updater: @escaping Updater, finalizer: @escaping Finalizer, length: Int32) {
    |                                                    `- error: @escaping attribute only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 |     public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 |         engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
    |                                                  `- error: cannot find 'CC_LONG' in scope
160 |         return self
161 |     }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
[29/46] Compiling Cryptor HMAC.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: @escaping attribute only applies to function types
227 | 	/// 	- length:		The digest length.
228 | 	///
229 | 	init(initializer: @escaping Initializer, updater: @escaping Updater, finalizer: @escaping Finalizer, length: Int32) {
    |                                                    `- error: @escaping attribute only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 |     public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 |         engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
    |                                                  `- error: cannot find 'CC_LONG' in scope
160 |         return self
161 |     }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/46] 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 {
[31/47] Compiling TypeDecoder OrderedDictionary.swift
[32/47] Compiling TypeDecoder TypeDecoder.swift
[33/48] 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 | }
[34/48] Compiling Socket SocketProtocols.swift
[35/48] Compiling Cryptor KeyDerivation.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:26:30: error: cannot find type 'Status' in scope
 24 | #endif
 25 |
 26 | public typealias RNGStatus = Status
    |                              `- error: cannot find type 'Status' in scope
 27 |
 28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:77:38: error: extra argument 'bytes' in call
 75 |
 76 | 		var bytes = Array(repeating: UInt8(0), count:byteCount)
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
 78 |
 79 | 		if status != .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:79:17: error: cannot infer contextual base in reference to member 'success'
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
 78 |
 79 | 		if status != .success {
    |                 `- error: cannot infer contextual base in reference to member 'success'
 80 | 			throw status
 81 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:102:38: error: extra argument 'bytes' in call
100 |         }
101 | 		var bytes: [UInt8] = Array(repeating: UInt8(0), count:byteCount)
102 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
103 |         throw status
104 |         //return bytes
[36/48] Compiling Cryptor Random.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:26:30: error: cannot find type 'Status' in scope
 24 | #endif
 25 |
 26 | public typealias RNGStatus = Status
    |                              `- error: cannot find type 'Status' in scope
 27 |
 28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:77:38: error: extra argument 'bytes' in call
 75 |
 76 | 		var bytes = Array(repeating: UInt8(0), count:byteCount)
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
 78 |
 79 | 		if status != .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:79:17: error: cannot infer contextual base in reference to member 'success'
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
 78 |
 79 | 		if status != .success {
    |                 `- error: cannot infer contextual base in reference to member 'success'
 80 | 			throw status
 81 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:102:38: error: extra argument 'bytes' in call
100 |         }
101 | 		var bytes: [UInt8] = Array(repeating: UInt8(0), count:byteCount)
102 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
103 |         throw status
104 |         //return bytes
[38/48] Compiling Cryptor Crypto.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                       `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                                           `- error: argument passed to call that takes no arguments
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 |         if self.status != .success {
   |                            `- error: cannot infer contextual base in reference to member 'success'
44 |    	        return nil
45 |        	}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                   `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                    `- error: missing argument for parameter 'from' in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | 		if self.status != .success {
   |                      `- error: cannot infer contextual base in reference to member 'success'
65 | 			return nil
66 | 		}
[39/48] Compiling Cryptor Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                       `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                                           `- error: argument passed to call that takes no arguments
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 |         if self.status != .success {
   |                            `- error: cannot infer contextual base in reference to member 'success'
44 |    	        return nil
45 |        	}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                   `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                    `- error: missing argument for parameter 'from' in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | 		if self.status != .success {
   |                      `- error: cannot infer contextual base in reference to member 'success'
65 | 			return nil
66 | 		}
[40/48] Compiling Cryptor Status.swift
[41/48] Compiling Cryptor SSLPointerTricks.swift
[43/48] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:152:45: error: cannot find 'fds_bits' in scope
150 | 		@inline(__always)
151 | 		mutating func withCArrayAccess<T>(block: (UnsafeMutablePointer<Int32>) throws -> T) rethrows -> T {
152 | 			return try withUnsafeMutablePointer(to: &fds_bits) {
    |                                             `- error: cannot find 'fds_bits' in scope
153 | 				try block(UnsafeMutableRawPointer($0).assumingMemoryBound(to: Int32.self))
154 | 			}
[44/48] Emitting module Signals
[45/48] Compiling Signals Signals.swift
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:56:18: error: cannot find 'SIGHUP' in scope
 54 | 			switch self {
 55 | 			case .hup:
 56 | 				return Int32(SIGHUP)
    |                  `- error: cannot find 'SIGHUP' in scope
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:58:18: error: cannot find 'SIGINT' in scope
 56 | 				return Int32(SIGHUP)
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
    |                  `- error: cannot find 'SIGINT' in scope
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:60:18: error: cannot find 'SIGQUIT' in scope
 58 | 				return Int32(SIGINT)
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
    |                  `- error: cannot find 'SIGQUIT' in scope
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:62:18: error: cannot find 'SIGABRT' in scope
 60 | 				return Int32(SIGQUIT)
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
    |                  `- error: cannot find 'SIGABRT' in scope
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:64:18: error: cannot find 'SIGKILL' in scope
 62 | 				return Int32(SIGABRT)
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
    |                  `- error: cannot find 'SIGKILL' in scope
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:66:18: error: cannot find 'SIGALRM' in scope
 64 | 				return Int32(SIGKILL)
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
    |                  `- error: cannot find 'SIGALRM' in scope
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:68:18: error: cannot find 'SIGTERM' in scope
 66 | 				return Int32(SIGALRM)
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
    |                  `- error: cannot find 'SIGTERM' in scope
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:70:18: error: cannot find 'SIGPIPE' in scope
 68 | 				return Int32(SIGTERM)
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
    |                  `- error: cannot find 'SIGPIPE' in scope
 71 | 			case .user(let sig):
 72 | 				return Int32(sig)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/48] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:208:13: error: cannot find 'SOCK_STREAM' in scope
 206 | 					return Int32(SOCK_STREAM.rawValue)
 207 | 				#else
 208 | 					return SOCK_STREAM
     |             `- error: cannot find 'SOCK_STREAM' in scope
 209 | 				#endif
 210 | 			case .datagram:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:214:13: error: cannot find 'SOCK_DGRAM' in scope
 212 | 					return Int32(SOCK_DGRAM.rawValue)
 213 | 				#else
 214 | 					return SOCK_DGRAM
     |             `- error: cannot find 'SOCK_DGRAM' in scope
 215 | 				#endif
 216 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:241:10: error: cannot find 'SOCK_STREAM' in scope
 239 | 				switch forValue {
 240 |
 241 | 				case SOCK_STREAM:
     |          `- error: cannot find 'SOCK_STREAM' in scope
 242 | 					return .stream
 243 | 				case SOCK_DGRAM:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:243:10: error: cannot find 'SOCK_DGRAM' in scope
 241 | 				case SOCK_STREAM:
 242 | 					return .stream
 243 | 				case SOCK_DGRAM:
     |          `- error: cannot find 'SOCK_DGRAM' in scope
 244 | 					return .datagram
 245 | 				default:
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:597:63: error: value of type 'sockaddr_un' has no member 'sun_path'
 595 |
 596 | 			// Validate the length...
 597 | 			guard lengthOfPath < MemoryLayout.size(ofValue: remoteAddr.sun_path) else {
     |                                                               `- error: value of type 'sockaddr_un' has no member 'sun_path'
 598 |
 599 | 				throw Error(code: Socket.SOCKET_ERR_BAD_SIGNATURE_PARAMETERS, reason: "Pathname supplied is too long.")
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:603:49: error: value of type 'sockaddr_un' has no member 'sun_path'
 601 |
 602 | 			// Copy the path to the remote address...
 603 | 			_ = withUnsafeMutablePointer(to: &remoteAddr.sun_path.0) { ptr in
     |                                                 `- error: value of type 'sockaddr_un' has no member 'sun_path'
 604 |
 605 | 				path.withCString {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:611:19: error: value of type 'sockaddr_un' has no member 'sun_len'
 609 |
 610 | 			#if !os(Linux)
 611 | 			    remoteAddr.sun_len = UInt8(MemoryLayout<UInt8>.size + MemoryLayout<sa_family_t>.size + path.utf8.count + 1)
     |                   `- error: value of type 'sockaddr_un' has no member 'sun_len'
 612 | 			#endif
 613 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1175:19: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
1173 | 			// First get seconds...
1174 | 			let secs = Int(Double(timeout / 1000))
1175 | 			timer.tv_sec = secs
     |                   `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
1176 |
1177 | 			// Now get the leftover millisecs...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1187:21: error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
1185 | 				timer.tv_usec = Int(uSecs)
1186 | 			#else
1187 | 				timer.tv_usec = Int32(uSecs)
     |                     `- error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
1188 | 			#endif
1189 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1238:34: error: cannot find type 'addrinfo' in scope
1236 | 	public class func createAddress(for host: String, on port: Int32) -> Address? {
1237 |
1238 | 		var info: UnsafeMutablePointer<addrinfo>?
     |                                  `- error: cannot find type 'addrinfo' in scope
1239 |
1240 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1241:23: error: cannot find 'getaddrinfo' in scope
1239 |
1240 | 		// Retrieve the info on our target...
1241 | 		let status: Int32 = getaddrinfo(host, String(port), nil, &info)
     |                       `- error: cannot find 'getaddrinfo' in scope
1242 | 		if status != 0 {
1243 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1241:55: error: 'nil' requires a contextual type
1239 |
1240 | 		// Retrieve the info on our target...
1241 | 		let status: Int32 = getaddrinfo(host, String(port), nil, &info)
     |                                                       `- error: 'nil' requires a contextual type
1242 | 		if status != 0 {
1243 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1251:5: error: cannot find 'freeaddrinfo' in scope
1249 |
1250 | 			if info != nil {
1251 | 				freeaddrinfo(info)
     |     `- error: cannot find 'freeaddrinfo' in scope
1252 | 			}
1253 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1309:20: error: cannot find 'Darwin' in scope
1307 | 			self.socketfd = Glibc.socket(family.value, type.value, sockProto.value)
1308 | 		#else
1309 | 			self.socketfd = Darwin.socket(family.value, type.value, sockProto.value)
     |                    `- error: cannot find 'Darwin' in scope
1310 | 		#endif
1311 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1354:15: error: cannot find 'SOCK_STREAM' in scope
1352 | 			let type = Int32(SOCK_STREAM.rawValue)
1353 | 		#else
1354 | 			let type = SOCK_STREAM
     |               `- error: cannot find 'SOCK_STREAM' in scope
1355 | 		#endif
1356 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1444:16: error: cannot find 'Darwin' in scope
1442 | 						let fd = Glibc.accept(self.socketfd, addressPointer, addressLengthPointer)
1443 | 					#else
1444 | 						let fd = Darwin.accept(self.socketfd, addressPointer, addressLengthPointer)
     |                `- error: cannot find 'Darwin' in scope
1445 | 					#endif
1446 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1557:16: error: cannot find 'Darwin' in scope
1555 | 						let fd = Glibc.accept(self.socketfd, addressPointer, addressLengthPointer)
1556 | 					#else
1557 | 						let fd = Darwin.accept(self.socketfd, addressPointer, addressLengthPointer)
     |                `- error: cannot find 'Darwin' in scope
1558 | 					#endif
1559 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1706:16: error: cannot find 'addrinfo' in scope
1704 | 				ai_next: nil)
1705 | 		#else
1706 | 			var hints = addrinfo(
     |                `- error: cannot find 'addrinfo' in scope
1707 | 				ai_flags: AI_PASSIVE,
1708 | 				ai_family: familyOnly ? signature?.protocolFamily.value ?? AF_UNSPEC : AF_UNSPEC,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1707:15: error: cannot find 'AI_PASSIVE' in scope
1705 | 		#else
1706 | 			var hints = addrinfo(
1707 | 				ai_flags: AI_PASSIVE,
     |               `- error: cannot find 'AI_PASSIVE' in scope
1708 | 				ai_family: familyOnly ? signature?.protocolFamily.value ?? AF_UNSPEC : AF_UNSPEC,
1709 | 				ai_socktype: socketType.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1712:19: error: 'nil' requires a contextual type
1710 | 				ai_protocol: 0,
1711 | 				ai_addrlen: 0,
1712 | 				ai_canonname: nil,
     |                   `- error: 'nil' requires a contextual type
1713 | 				ai_addr: nil,
1714 | 				ai_next: nil)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1713:14: error: 'nil' requires a contextual type
1711 | 				ai_addrlen: 0,
1712 | 				ai_canonname: nil,
1713 | 				ai_addr: nil,
     |              `- error: 'nil' requires a contextual type
1714 | 				ai_next: nil)
1715 | 		#endif
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1714:14: error: 'nil' requires a contextual type
1712 | 				ai_canonname: nil,
1713 | 				ai_addr: nil,
1714 | 				ai_next: nil)
     |              `- error: 'nil' requires a contextual type
1715 | 		#endif
1716 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1717:40: error: cannot find type 'addrinfo' in scope
1715 | 		#endif
1716 |
1717 | 		var targetInfo: UnsafeMutablePointer<addrinfo>?
     |                                        `- error: cannot find type 'addrinfo' in scope
1718 |
1719 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1720:23: error: cannot find 'getaddrinfo' in scope
1718 |
1719 | 		// Retrieve the info on our target...
1720 | 		var status: Int32 = getaddrinfo(host, String(port), &hints, &targetInfo)
     |                       `- error: cannot find 'getaddrinfo' in scope
1721 | 		if status != 0 {
1722 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1724:17: error: cannot find 'EAI_SYSTEM' in scope
1722 |
1723 | 			var errorString: String
1724 | 			if status == EAI_SYSTEM {
     |                 `- error: cannot find 'EAI_SYSTEM' in scope
1725 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
1726 | 			} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1727:42: error: cannot find 'gai_strerror' in scope
1725 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
1726 | 			} else {
1727 | 				errorString = String(validatingUTF8: gai_strerror(status)) ?? "Unknown error code."
     |                                          `- error: cannot find 'gai_strerror' in scope
1728 | 			}
1729 | 			throw Error(code: Socket.SOCKET_ERR_GETADDRINFO_FAILED, reason: errorString)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1736:5: error: cannot find 'freeaddrinfo' in scope
1734 |
1735 | 			if targetInfo != nil {
1736 | 				freeaddrinfo(targetInfo)
     |     `- error: cannot find 'freeaddrinfo' in scope
1737 | 			}
1738 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1748:10: error: cannot find 'Darwin' in scope
1746 | 					_ = Glibc.close(socketDescriptor!)
1747 | 				#else
1748 | 					_ = Darwin.close(socketDescriptor!)
     |          `- error: cannot find 'Darwin' in scope
1749 | 				#endif
1750 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1759:24: error: cannot find 'Darwin' in scope
1757 | 				socketDescriptor = Glibc.socket(info!.pointee.ai_family, info!.pointee.ai_socktype, info!.pointee.ai_protocol)
1758 | 			#else
1759 | 				socketDescriptor = Darwin.socket(info!.pointee.ai_family, info!.pointee.ai_socktype, info!.pointee.ai_protocol)
     |                        `- error: cannot find 'Darwin' in scope
1760 | 			#endif
1761 | 			if socketDescriptor == -1 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1775:60: error: cannot find 'O_NONBLOCK' in scope
1773 | 				}
1774 |
1775 | 				let result = fcntl(socketDescriptor!, F_SETFL, flags | O_NONBLOCK)
     |                                                            `- error: cannot find 'O_NONBLOCK' in scope
1776 | 				if result < 0 {
1777 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1786:14: error: cannot find 'Darwin' in scope
1784 | 				status = Glibc.connect(socketDescriptor!, info!.pointee.ai_addr, info!.pointee.ai_addrlen)
1785 | 			#else
1786 | 				status = Darwin.connect(socketDescriptor!, info!.pointee.ai_addr, info!.pointee.ai_addrlen)
     |              `- error: cannot find 'Darwin' in scope
1787 | 			#endif
1788 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1808:21: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
1806 | 					// First get seconds...
1807 | 					let secs = Int(Double(timeout / 1000))
1808 | 					timer.tv_sec = secs
     |                     `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
1809 |
1810 | 					// Now get the leftover millisecs...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1820:23: error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
1818 | 						timer.tv_usec = Int(uSecs)
1819 | 					#else
1820 | 						timer.tv_usec = Int32(uSecs)
     |                       `- error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
1821 | 					#endif
1822 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1836:52: error: cannot find 'SO_ERROR' in scope
1834 | 						var result: Int = 0
1835 | 						var resultLength = socklen_t(MemoryLayout<Int>.size)
1836 | 						if getsockopt(socketDescriptor!, SOL_SOCKET, SO_ERROR, &result, &resultLength) < 0 {
     |                                                    `- error: cannot find 'SO_ERROR' in scope
1837 |
1838 | 							throw Error(code: Socket.SOCKET_ERR_GETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1860:9: error: cannot find 'Darwin' in scope
1858 | 				_ = Glibc.close(socketDescriptor!)
1859 | 			#else
1860 | 				_ = Darwin.close(socketDescriptor!)
     |         `- error: cannot find 'Darwin' in scope
1861 | 			#endif
1862 | 			socketDescriptor = nil
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1873:10: error: cannot find 'Darwin' in scope
1871 | 					_ = Glibc.close(socketDescriptor!)
1872 | 				#else
1873 | 					_ = Darwin.close(socketDescriptor!)
     |          `- error: cannot find 'Darwin' in scope
1874 | 				#endif
1875 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1928:56: error: cannot find 'O_NONBLOCK' in scope
1926 | 			}
1927 |
1928 | 			let result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                                                        `- error: cannot find 'O_NONBLOCK' in scope
1929 | 			if result < 0 {
1930 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2002:12: error: cannot find 'Darwin' in scope
2000 | 				return Glibc.connect(self.socketfd, p, socklen_t(addrLen))
2001 | 			#else
2002 | 				return Darwin.connect(self.socketfd, p, socklen_t(addrLen))
     |            `- error: cannot find 'Darwin' in scope
2003 | 			#endif
2004 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2056:13: error: cannot find 'Darwin' in scope
2054 | 					return Glibc.connect(self.socketfd, sockaddr, length)
2055 | 				#else
2056 | 					return Darwin.connect(self.socketfd, sockaddr, length)
     |             `- error: cannot find 'Darwin' in scope
2057 | 				#endif
2058 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2138:6: error: cannot find 'setsockopt' in scope
2136 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2137 | 		var on: Int32 = 1
2138 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
2139 |
2140 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2138:44: error: cannot find 'SO_REUSEADDR' in scope
2136 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2137 | 		var on: Int32 = 1
2138 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                            `- error: cannot find 'SO_REUSEADDR' in scope
2139 |
2140 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2150:7: error: cannot find 'setsockopt' in scope
2148 | 			// instances of a program to each receive UDP/IP multicast or broadcast datagrams
2149 | 			// destined for the bound port.
2150 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEPORT, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |       `- error: cannot find 'setsockopt' in scope
2151 |
2152 | 				// Setting of this option on WSL (Windows Subsytem for Linux) is not supported.  Check for
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2150:45: error: cannot find 'SO_REUSEPORT' in scope
2148 | 			// instances of a program to each receive UDP/IP multicast or broadcast datagrams
2149 | 			// destined for the bound port.
2150 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEPORT, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                             `- error: cannot find 'SO_REUSEPORT' in scope
2151 |
2152 | 				// Setting of this option on WSL (Windows Subsytem for Linux) is not supported.  Check for
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2168:16: error: cannot find 'setsockopt' in scope
2166 |         // Configure ipv6 socket so that it can share ports with ipv4 on the same port.
2167 |         if sig.protocolFamily == .inet6 && sig.proto == .tcp {
2168 |             if setsockopt(self.socketfd, Int32(IPPROTO_IPV6), IPV6_V6ONLY, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                `- error: cannot find 'setsockopt' in scope
2169 |
2170 |                 throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2205:16: error: cannot find 'addrinfo' in scope
2203 | 				ai_next: nil)
2204 | 		#else
2205 | 			var hints = addrinfo(
     |                `- error: cannot find 'addrinfo' in scope
2206 | 				ai_flags: AI_PASSIVE,
2207 | 				ai_family: sig.protocolFamily.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2206:15: error: cannot find 'AI_PASSIVE' in scope
2204 | 		#else
2205 | 			var hints = addrinfo(
2206 | 				ai_flags: AI_PASSIVE,
     |               `- error: cannot find 'AI_PASSIVE' in scope
2207 | 				ai_family: sig.protocolFamily.value,
2208 | 				ai_socktype: sig.socketType.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2211:19: error: 'nil' requires a contextual type
2209 | 				ai_protocol: 0,
2210 | 				ai_addrlen: 0,
2211 | 				ai_canonname: nil,
     |                   `- error: 'nil' requires a contextual type
2212 | 				ai_addr: nil,
2213 | 				ai_next: nil)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2212:14: error: 'nil' requires a contextual type
2210 | 				ai_addrlen: 0,
2211 | 				ai_canonname: nil,
2212 | 				ai_addr: nil,
     |              `- error: 'nil' requires a contextual type
2213 | 				ai_next: nil)
2214 | 		#endif
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2213:14: error: 'nil' requires a contextual type
2211 | 				ai_canonname: nil,
2212 | 				ai_addr: nil,
2213 | 				ai_next: nil)
     |              `- error: 'nil' requires a contextual type
2214 | 		#endif
2215 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2216:40: error: cannot find type 'addrinfo' in scope
2214 | 		#endif
2215 |
2216 | 		var targetInfo: UnsafeMutablePointer<addrinfo>?
     |                                        `- error: cannot find type 'addrinfo' in scope
2217 |
2218 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2219:23: error: cannot find 'getaddrinfo' in scope
2217 |
2218 | 		// Retrieve the info on our target...
2219 | 		let status: Int32 = getaddrinfo(node ?? nil, String(port), &hints, &targetInfo)
     |                       `- error: cannot find 'getaddrinfo' in scope
2220 | 		if status != 0 {
2221 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2223:17: error: cannot find 'EAI_SYSTEM' in scope
2221 |
2222 | 			var errorString: String
2223 | 			if status == EAI_SYSTEM {
     |                 `- error: cannot find 'EAI_SYSTEM' in scope
2224 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2225 | 			} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2226:42: error: cannot find 'gai_strerror' in scope
2224 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2225 | 			} else {
2226 | 				errorString = String(validatingUTF8: gai_strerror(errno)) ?? "Unknown error code."
     |                                          `- error: cannot find 'gai_strerror' in scope
2227 | 			}
2228 | 			throw Error(code: Socket.SOCKET_ERR_GETADDRINFO_FAILED, reason: errorString)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2235:5: error: cannot find 'freeaddrinfo' in scope
2233 |
2234 | 			if targetInfo != nil {
2235 | 				freeaddrinfo(targetInfo)
     |     `- error: cannot find 'freeaddrinfo' in scope
2236 | 			}
2237 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2253:8: error: cannot find 'Darwin' in scope
2251 | 				}
2252 | 			#else
2253 | 				if Darwin.bind(self.socketfd, info!.pointee.ai_addr, info!.pointee.ai_addrlen) == 0 {
     |        `- error: cannot find 'Darwin' in scope
2254 |
2255 | 					// Success... We've found our address...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2277:8: error: cannot find 'getsockname' in scope
2275 | 		if port == 0 {
2276 | 			guard let addressFromSockName = try Address(addressProvider: { (sockaddr, length) in
2277 | 				if getsockname(self.socketfd, sockaddr, length) != 0 {
     |        `- error: cannot find 'getsockname' in scope
2278 | 					throw Error(code: Socket.SOCKET_ERR_BIND_FAILED, reason: "Unable to determine listening socket address after bind.")
2279 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2326:7: error: cannot find 'Darwin' in scope
2324 | 			}
2325 | 		#else
2326 | 			if Darwin.listen(self.socketfd, Int32(maxBacklogSize)) < 0 {
     |       `- error: cannot find 'Darwin' in scope
2327 |
2328 | 				throw Error(code: Socket.SOCKET_ERR_LISTEN_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2362:6: error: cannot find 'setsockopt' in scope
2360 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2361 | 		var on: Int32 = 1
2362 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
2363 |
2364 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Emitting module KituraTemplateEngine
[3/28] Compiling Signals Signals.swift
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:56:18: error: cannot find 'SIGHUP' in scope
 54 | 			switch self {
 55 | 			case .hup:
 56 | 				return Int32(SIGHUP)
    |                  `- error: cannot find 'SIGHUP' in scope
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:58:18: error: cannot find 'SIGINT' in scope
 56 | 				return Int32(SIGHUP)
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
    |                  `- error: cannot find 'SIGINT' in scope
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:60:18: error: cannot find 'SIGQUIT' in scope
 58 | 				return Int32(SIGINT)
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
    |                  `- error: cannot find 'SIGQUIT' in scope
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:62:18: error: cannot find 'SIGABRT' in scope
 60 | 				return Int32(SIGQUIT)
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
    |                  `- error: cannot find 'SIGABRT' in scope
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:64:18: error: cannot find 'SIGKILL' in scope
 62 | 				return Int32(SIGABRT)
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
    |                  `- error: cannot find 'SIGKILL' in scope
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:66:18: error: cannot find 'SIGALRM' in scope
 64 | 				return Int32(SIGKILL)
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
    |                  `- error: cannot find 'SIGALRM' in scope
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:68:18: error: cannot find 'SIGTERM' in scope
 66 | 				return Int32(SIGALRM)
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
    |                  `- error: cannot find 'SIGTERM' in scope
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:70:18: error: cannot find 'SIGPIPE' in scope
 68 | 				return Int32(SIGTERM)
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
    |                  `- error: cannot find 'SIGPIPE' in scope
 71 | 			case .user(let sig):
 72 | 				return Int32(sig)
[4/28] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:152:45: error: cannot find 'fds_bits' in scope
150 | 		@inline(__always)
151 | 		mutating func withCArrayAccess<T>(block: (UnsafeMutablePointer<Int32>) throws -> T) rethrows -> T {
152 | 			return try withUnsafeMutablePointer(to: &fds_bits) {
    |                                             `- error: cannot find 'fds_bits' in scope
153 | 				try block(UnsafeMutableRawPointer($0).assumingMemoryBound(to: Int32.self))
154 | 			}
[5/28] Emitting module Signals
[6/28] Compiling KituraTemplateEngine TemplateEngine.swift
[7/29] Compiling Logging LogHandler.swift
[8/29] Emitting module Logging
[9/29] Compiling Logging Locks.swift
[10/29] 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/29] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/29] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/SocketUtils.swift:146:27: error: cannot find '__DARWIN_FD_SETSIZE' in scope
144 | 	// __DARWIN_FD_SETSIZE is number of *bits*, so divide by number bits in each element to get element count
145 | 	// at present this is 1024 / 32 == 32
146 | 	let __fd_set_count = Int(__DARWIN_FD_SETSIZE) / 32
    |                           `- error: cannot find '__DARWIN_FD_SETSIZE' in scope
147 |
148 | 	extension fd_set {
[13/29] Compiling Cryptor Digest.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: @escaping attribute only applies to function types
227 | 	/// 	- length:		The digest length.
228 | 	///
229 | 	init(initializer: @escaping Initializer, updater: @escaping Updater, finalizer: @escaping Finalizer, length: Int32) {
    |                                                    `- error: @escaping attribute only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 |     public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 |         engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
    |                                                  `- error: cannot find 'CC_LONG' in scope
160 |         return self
161 |     }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
[14/29] Compiling Cryptor HMAC.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: @escaping attribute only applies to function types
227 | 	/// 	- length:		The digest length.
228 | 	///
229 | 	init(initializer: @escaping Initializer, updater: @escaping Updater, finalizer: @escaping Finalizer, length: Int32) {
    |                                                    `- error: @escaping attribute only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 |     public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 |         engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
    |                                                  `- error: cannot find 'CC_LONG' in scope
160 |         return self
161 |     }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
BUILD FAILURE 6.1 wasm