The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-Session, reference master (640596), with Swift 6.3 for Wasm on 13 Apr 2026 09:32:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-Session.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-Session
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 640596e Update CI; Swift 5.2 is now minimum; fix unit tests; Now depend on Kitura 3.0.0 (#75)
Cloned https://github.com/Kitura/Kitura-Session.git
Revision (git rev-parse @):
640596ea1668d5753aa6b51cc3b9cf86c114f2b8
SUCCESS checkout https://github.com/Kitura/Kitura-Session.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Kitura/Kitura-Session.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/Kitura/Kitura.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/1654] Fetching bluecryptor
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.35s)
[1/16907] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (1.61s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (2.03s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.22s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 3.0.1 (0.71s)
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/apple/swift-log.git
[1/2546] Fetching kituracontracts
[282/3317] Fetching kituracontracts, loggerapi
[727/3776] Fetching kituracontracts, loggerapi, typedecoder
[2045/4214] Fetching kituracontracts, loggerapi, typedecoder, kitura-templateengine
[2430/7685] Fetching kituracontracts, loggerapi, typedecoder, kitura-templateengine, kitura-nio
[6197/14206] Fetching kituracontracts, loggerapi, typedecoder, kitura-templateengine, kitura-nio, swift-log
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.54s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.63s)
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.63s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.63s)
Fetched https://github.com/apple/swift-log.git from cache (0.64s)
Fetched https://github.com/Kitura/Kitura-NIO.git from cache (0.64s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (1.07s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.48s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 3.1.1 (0.49s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/2077] Fetching bluesslservice
[2078/8587] Fetching bluesslservice, swift-nio-extras
[8588/24005] Fetching bluesslservice, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.53s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.54s)
[1542/15418] Fetching swift-nio-ssl
[2777/98542] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.26s)
Fetched https://github.com/apple/swift-nio.git from cache (7.40s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (8.00s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (1.81s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.62s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.37s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.43s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (1.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.70s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (0.84s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1796] Fetching swift-asn1
[450/4515] Fetching swift-asn1, swift-service-lifecycle
[1291/5757] Fetching swift-asn1, swift-service-lifecycle, swift-http-structured-headers
[4106/11815] Fetching swift-asn1, swift-service-lifecycle, swift-http-structured-headers, swift-algorithms
[8545/18039] Fetching swift-asn1, swift-service-lifecycle, swift-http-structured-headers, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.36s)
[7850/16797] Fetching swift-asn1, swift-service-lifecycle, swift-algorithms, swift-async-algorithms
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.39s)
[7462/14078] Fetching swift-asn1, swift-algorithms, swift-async-algorithms
Fetching https://github.com/apple/swift-certificates.git
[10781/26180] Fetching swift-asn1, swift-algorithms, swift-async-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git from cache (0.60s)
Fetching https://github.com/apple/swift-http-types.git
[14825/26204] Fetching swift-algorithms, swift-async-algorithms, swift-nio-http2, swift-atomics
Fetched https://github.com/apple/swift-algorithms.git from cache (0.64s)
[9609/20146] Fetching swift-async-algorithms, swift-nio-http2, swift-atomics
[10125/27291] Fetching swift-async-algorithms, swift-nio-http2, swift-atomics, swift-certificates
[17890/28304] Fetching swift-async-algorithms, swift-nio-http2, swift-atomics, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-atomics.git from cache (0.58s)
[26121/26484] Fetching swift-async-algorithms, swift-nio-http2, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.35s)
[25229/25471] Fetching swift-async-algorithms, swift-nio-http2, swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.67s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.55s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.56s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.00s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.89s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (1.84s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.87s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/23537] Fetching swift-collections
[1649/29138] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.01s)
[2590/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.04s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (2.43s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.33s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (2.70s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.39s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.54s)
Fetching https://github.com/apple/swift-crypto.git
[1/17331] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.45s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (2.86s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.66s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (0.58s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (0.40s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/Kitura/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at 3.1.1
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.42.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 3.0.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.33.0
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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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/445] Write sources
[19/445] Compiling _AtomicsShims.c
[20/445] Write sources
[27/445] Compiling CNIOPosix event_loop_id.c
[28/445] Compiling CNIOWindows shim.c
[28/445] Write sources
[30/445] Compiling CNIOWASI CNIOWASI.c
[31/445] Compiling CNIOWindows WSAStartup.c
[31/445] Compiling CNIOLinux shim.c
[33/445] Compiling CNIOOpenBSD shim.c
[34/445] Write swift-version-24593BA9C3E375BF.txt
[35/445] Compiling CNIOLinux liburing_shims.c
[35/445] Compiling CNIOSHA1 c_nio_sha1.c
[37/445] Compiling CNIODarwin shim.c
[37/445] Compiling CNIOLLHTTP c_nio_http.c
[39/448] Compiling CNIOLLHTTP c_nio_api.c
[40/451] Compiling fiat_p256_adx_sqr.S
[41/468] Compiling CNIOBoringSSLShims shims.c
[43/486] Emitting module _NIOBase64
[44/486] Emitting module InternalCollectionsUtilities
[44/488] Compiling CNIOLLHTTP c_nio_llhttp.c
[46/499] Emitting module KituraTemplateEngine
[47/499] Compiling KituraTemplateEngine TemplateEngine.swift
[48/499] Compiling InternalCollectionsUtilities _SortedCollection.swift
[49/499] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[50/499] Compiling InternalCollectionsUtilities String+Padding.swift
[51/499] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[52/500] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[53/500] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[55/500] Compiling Cryptor Cryptor.swift
[56/500] Compiling Cryptor KeyDerivation.swift
[57/500] Compiling Cryptor Random.swift
[58/500] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[59/500] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[60/500] Compiling Cryptor Digest.swift
[61/500] Compiling Cryptor HMAC.swift
[62/500] Compiling Cryptor Crypto.swift
[63/500] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[64/500] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[65/500] Compiling InternalCollectionsUtilities Integer rank.swift
[66/500] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[67/500] Compiling InternalCollectionsUtilities UInt+reversed.swift
[68/501] Compiling fiat_p256_adx_mul.S
[69/501] Compiling fiat_curve25519_adx_square.S
[71/501] Compiling _NIOBase64 Base64.swift
[72/502] Compiling _NIODataStructures PriorityQueue.swift
[73/502] Compiling _NIODataStructures _TinyArray.swift
[73/502] Compiling fiat_curve25519_adx_mul.S
[76/535] Compiling ContainersPreview Producer+Map.swift
[77/535] Compiling ContainersPreview Producer+Reduce.swift
[78/535] Compiling ContainersPreview Producer.swift
[79/535] Compiling ContainersPreview Borrow.swift
[80/539] Compiling ContainersPreview RandomAccessContainer.swift
[81/539] Compiling ContainersPreview RangeExpression2.swift
[82/539] Compiling ContainersPreview RangeReplaceableContainer.swift
[83/539] Compiling ContainersPreview Drain+Map.swift
[84/539] Compiling ContainersPreview Drain+Reduce.swift
[85/539] Compiling ContainersPreview Drain.swift
[86/539] Compiling ContainersPreview Producer+Collect.swift
[87/539] Compiling ContainersPreview Producer+Filter.swift
[88/539] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[89/539] Compiling ContainersPreview BorrowingSequence.swift
[90/539] Compiling ContainersPreview BidirectionalContainer.swift
[91/539] Compiling ContainersPreview Container+Filter.swift
[92/539] Compiling ContainersPreview Container+SpanwiseZip.swift
[93/539] Compiling ContainersPreview Container.swift
[94/539] Compiling ContainersPreview ContainerIterator.swift
[95/539] Compiling ContainersPreview DynamicContainer.swift
[96/539] Compiling ContainersPreview MutableContainer.swift
[97/539] Compiling ContainersPreview PermutableContainer.swift
[98/539] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[99/539] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[100/539] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[101/539] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[102/539] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[103/539] Emitting module ContainersPreview
[104/539] Compiling ContainersPreview Box.swift
[105/539] Compiling ContainersPreview Inout.swift
[106/539] Compiling ContainersPreview InputSpan.swift
[107/539] Compiling ContainersPreview Shared.swift
[108/539] Compiling ContainersPreview OutputSpan+Extras.swift
[109/539] Compiling ContainersPreview TemporaryAllocation.swift
[110/539] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[111/539] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[112/539] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[114/540] Compiling Logging MetadataProvider.swift
[115/540] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[116/540] 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 {
[117/540] Compiling Socket Socket+Equatable.swift
[118/540] Emitting module _NIODataStructures
[119/540] Compiling Socket SocketProtocols.swift
[120/540] Compiling _NIODataStructures Heap.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
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:26:30: error: cannot find type 'Status' in scope
 24 | #endif
 25 |
 26 | public typealias RNGStatus = Status
    |                              `- error: cannot find type 'Status' in scope
 27 |
 28 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:77:38: error: extra argument 'bytes' in call
 75 |
 76 | 		var bytes = Array(repeating: UInt8(0), count:byteCount)
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
 78 |
 79 | 		if status != .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:79:17: error: cannot infer contextual base in reference to member 'success'
 77 |         let status = generate(bytes: &bytes, byteCount: byteCount)
 78 |
 79 | 		if status != .success {
    |                 `- error: cannot infer contextual base in reference to member 'success'
 80 | 			throw status
 81 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Random.swift:102:38: error: extra argument 'bytes' in call
100 |         }
101 | 		var bytes: [UInt8] = Array(repeating: UInt8(0), count:byteCount)
102 |         let status = generate(bytes: &bytes, byteCount: byteCount)
    |                                      `- error: extra argument 'bytes' in call
103 |         throw status
104 |         //return bytes
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/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' 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' only applies to function types
230 |
231 |         self.initializer = initializer
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:257:41: error: cannot find type 'CC_LONG' in scope
255 | 	///		- byteCount:	The length of the buffer.
256 | 	///
257 | 	func update(buffer: Buffer, byteCount: CC_LONG) {
    |                                         `- error: cannot find type 'CC_LONG' in scope
258 |
259 |         _ = updater(context, buffer, byteCount)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:159:50: error: cannot find 'CC_LONG' in scope
157 |     public func update(from buffer: UnsafeRawPointer, byteCount: size_t) -> Self? {
158 |
159 |         engine.update(buffer: buffer, byteCount: CC_LONG(byteCount))
    |                                                  `- error: cannot find 'CC_LONG' in scope
160 |         return self
161 |     }
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:170:38: error: cannot find type 'Status' in scope
168 |
169 |     /// Status of the calculation
170 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
171 |
172 | 	#if os(Linux)
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/HMAC.swift:175:25: error: cannot find 'Context' in scope
173 | 		private let context = HMAC_CTX_new_wrapper()
174 | 	#else
175 | 		private let context = Context.allocate(capacity: 1)
    |                         `- error: cannot find 'Context' in scope
176 | 	#endif
177 |     private var algorithm: Algorithm
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:46:25: error: cannot find 'Status' in scope
 44 |     /// It is here to provide for engines which can fail.
 45 |     ///
 46 |     public var status = Status.success
    |                         `- error: cannot find 'Status' in scope
 47 |
 48 |     ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:189:54: error: cannot find type 'CC_LONG' in scope
187 | 	///		- byteCount:	The length of the buffer.
188 | 	///
189 |     func update(buffer: UnsafeRawPointer, byteCount: CC_LONG)
    |                                                      `- error: cannot find type 'CC_LONG' in scope
190 |
191 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:211:43: error: cannot find type 'CC_LONG' in scope
209 |     typealias Digest = UnsafeMutablePointer<UInt8>
210 |     typealias Initializer = (Context) -> (Int32)
211 |     typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
    |                                           `- error: cannot find type 'CC_LONG' in scope
212 |     typealias Finalizer = (Digest, Context) -> (Int32)
213 |
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Digest.swift:229:52: error: '@escaping' 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' 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)
[126/541] 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' 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' 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 {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                       `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                                           `- error: argument passed to call that takes no arguments
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 |         if self.status != .success {
   |                            `- error: cannot infer contextual base in reference to member 'success'
44 |    	        return nil
45 |        	}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                   `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                    `- error: missing argument for parameter 'from' in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | 		if self.status != .success {
   |                      `- error: cannot infer contextual base in reference to member 'success'
65 | 			return nil
66 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Updatable.swift:26:17: error: cannot find type 'Status' in scope
 24 |
 25 |     /// Status of the calculation.
 26 |     var status: Status { get }
    |                 `- error: cannot find type 'Status' in scope
 27 |
 28 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:474:38: error: cannot find type 'Status' in scope
472 |     ///    Used to get additional information when optional chaining collapes.
473 | 	///
474 |     public internal(set) var status: Status = .success
    |                                      `- error: cannot find type 'Status' in scope
475 |
476 | 	///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:775:58: error: cannot find type 'Status' in scope
773 | 	/// - Returns: a tuple containing the number of output bytes produced and the status (see Status)
774 |     ///
775 | 	public func final(byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                          `- error: cannot find type 'Status' in scope
776 |
777 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:863:110: error: cannot find type 'Status' in scope
861 | 	/// - Returns: Status of the update
862 | 	///
863 | 	public func final(bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                              `- error: cannot find type 'Status' in scope
864 |
865 | 		if self.status == Status.success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:39: error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                       `- error: cannot assign value of type '[UInt8]?' to type '(Int, _)'
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:42:59: error: argument passed to call that takes no arguments
40 | 		var dataOut = Array<UInt8>(repeating: 0, count:byteCount)
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
   |                                                           `- error: argument passed to call that takes no arguments
43 |         if self.status != .success {
44 |    	        return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:43:28: error: cannot infer contextual base in reference to member 'success'
41 |         var dataOutMoved = 0
42 |         (dataOutMoved, self.status) = final(byteArrayOut: &dataOut)
43 |         if self.status != .success {
   |                            `- error: cannot infer contextual base in reference to member 'success'
44 |    	        return nil
45 |        	}
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:694:73: error: cannot find type 'Status' in scope
692 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
693 | 	///
694 | 	public func update(dataIn: Data, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                         `- error: cannot find type 'Status' in scope
695 |
696 | 		let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:719:75: error: cannot find type 'Status' in scope
717 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
718 |     ///
719 | 	public func update(dataIn: NSData, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                           `- error: cannot find type 'Status' in scope
720 |
721 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:737:81: error: cannot find type 'Status' in scope
735 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
736 |     ///
737 | 	public func update(byteArrayIn: [UInt8], byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                                 `- error: cannot find type 'Status' in scope
738 |
739 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:754:77: error: cannot find type 'Status' in scope
752 | 	/// - Returns: A tuple containing the number of output bytes produced and the status (see Status)
753 |     ///
754 | 	public func update(stringIn: String, byteArrayOut: inout [UInt8]) -> (Int, Status) {
    |                                                                             `- error: cannot find type 'Status' in scope
755 |
756 |         let dataOutAvailable = byteArrayOut.count
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/StreamCryptor.swift:797:157: error: cannot find type 'Status' in scope
795 | 	/// - Returns: Status of the update
796 | 	///
797 | 	public func update(bufferIn: UnsafeRawPointer, byteCountIn: Int, bufferOut: UnsafeMutablePointer<UInt8>, byteCapacityOut: Int, byteCountOut: inout Int) -> Status {
    |                                                                                                                                                             `- error: cannot find type 'Status' in scope
798 |
799 |         if self.status == .success {
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:19: error: extra arguments at positions #1, #3, #4, #5 in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                   `- error: extra arguments at positions #1, #3, #4, #5 in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:63:20: error: missing argument for parameter 'from' in call
56 | 	/// - Returns: this Cryptor object or nil if an error occurs (for optional chaining)
57 |     ///
58 | 	public func update(from buffer: UnsafeRawPointer, byteCount: Int) -> Self? {
   |              `- note: 'update(from:byteCount:)' declared here
59 |
60 |         let outputLength = Int(self.getOutputLength(inputByteCount: byteCount, isFinal: false))
61 | 		var dataOut = Array<UInt8>(repeating: 0, count:outputLength)
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
   |                    `- error: missing argument for parameter 'from' in call
64 | 		if self.status != .success {
65 | 			return nil
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Cryptor.swift:64:22: error: cannot infer contextual base in reference to member 'success'
62 |         var dataOutMoved = 0
63 |         _ = update(bufferIn: buffer, byteCountIn: byteCount, bufferOut: &dataOut, byteCapacityOut: dataOut.count, byteCountOut: &dataOutMoved)
64 | 		if self.status != .success {
   |                      `- error: cannot infer contextual base in reference to member 'success'
65 | 			return nil
66 | 		}
[129/542] 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 | }
[130/542] Compiling Cryptor SSLPointerTricks.swift
[131/542] Compiling Cryptor Status.swift
[132/542] 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)
[133/542] 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 | 			}
[134/542] Compiling Socket Socket+Hashable.swift
[135/543] Compiling TypeDecoder OrderedDictionary.swift
[136/543] Compiling TypeDecoder TypeDecoder.swift
[137/543] Emitting module TypeDecoder
[138/544] Compiling Socket Socket.swift
/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:1177:19: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
1175 | 			// First get seconds...
1176 | 			let secs = Int(Double(timeout / 1000))
1177 | 			timer.tv_sec = secs
     |                   `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
1178 |
1179 | 			// Now get the leftover millisecs...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1189:21: error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
1187 | 				timer.tv_usec = Int(uSecs)
1188 | 			#else
1189 | 				timer.tv_usec = Int32(uSecs)
     |                     `- error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
1190 | 			#endif
1191 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1240:34: error: cannot find type 'addrinfo' in scope
1238 | 	public class func createAddress(for host: String, on port: Int32) -> Address? {
1239 |
1240 | 		var info: UnsafeMutablePointer<addrinfo>?
     |                                  `- error: cannot find type 'addrinfo' in scope
1241 |
1242 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1243:23: error: cannot find 'getaddrinfo' in scope
1241 |
1242 | 		// Retrieve the info on our target...
1243 | 		let status: Int32 = getaddrinfo(host, String(port), nil, &info)
     |                       `- error: cannot find 'getaddrinfo' in scope
1244 | 		if status != 0 {
1245 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1243:55: error: 'nil' requires a contextual type
1241 |
1242 | 		// Retrieve the info on our target...
1243 | 		let status: Int32 = getaddrinfo(host, String(port), nil, &info)
     |                                                       `- error: 'nil' requires a contextual type
1244 | 		if status != 0 {
1245 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1253:5: error: cannot find 'freeaddrinfo' in scope
1251 |
1252 | 			if info != nil {
1253 | 				freeaddrinfo(info)
     |     `- error: cannot find 'freeaddrinfo' in scope
1254 | 			}
1255 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1311:20: error: cannot find 'Darwin' in scope
1309 | 			self.socketfd = Glibc.socket(family.value, type.value, sockProto.value)
1310 | 		#else
1311 | 			self.socketfd = Darwin.socket(family.value, type.value, sockProto.value)
     |                    `- error: cannot find 'Darwin' in scope
1312 | 		#endif
1313 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1356:15: error: cannot find 'SOCK_STREAM' in scope
1354 | 			let type = Int32(SOCK_STREAM.rawValue)
1355 | 		#else
1356 | 			let type = SOCK_STREAM
     |               `- error: cannot find 'SOCK_STREAM' in scope
1357 | 		#endif
1358 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1446:16: error: cannot find 'Darwin' in scope
1444 | 						let fd = Glibc.accept(self.socketfd, addressPointer, addressLengthPointer)
1445 | 					#else
1446 | 						let fd = Darwin.accept(self.socketfd, addressPointer, addressLengthPointer)
     |                `- error: cannot find 'Darwin' in scope
1447 | 					#endif
1448 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1559:16: error: cannot find 'Darwin' in scope
1557 | 						let fd = Glibc.accept(self.socketfd, addressPointer, addressLengthPointer)
1558 | 					#else
1559 | 						let fd = Darwin.accept(self.socketfd, addressPointer, addressLengthPointer)
     |                `- error: cannot find 'Darwin' in scope
1560 | 					#endif
1561 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1708:16: error: cannot find 'addrinfo' in scope
1706 | 				ai_next: nil)
1707 | 		#else
1708 | 			var hints = addrinfo(
     |                `- error: cannot find 'addrinfo' in scope
1709 | 				ai_flags: AI_PASSIVE,
1710 | 				ai_family: familyOnly ? signature?.protocolFamily.value ?? AF_UNSPEC : AF_UNSPEC,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1709:15: error: cannot find 'AI_PASSIVE' in scope
1707 | 		#else
1708 | 			var hints = addrinfo(
1709 | 				ai_flags: AI_PASSIVE,
     |               `- error: cannot find 'AI_PASSIVE' in scope
1710 | 				ai_family: familyOnly ? signature?.protocolFamily.value ?? AF_UNSPEC : AF_UNSPEC,
1711 | 				ai_socktype: socketType.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1714:19: error: 'nil' requires a contextual type
1712 | 				ai_protocol: 0,
1713 | 				ai_addrlen: 0,
1714 | 				ai_canonname: nil,
     |                   `- error: 'nil' requires a contextual type
1715 | 				ai_addr: nil,
1716 | 				ai_next: nil)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1715:14: error: 'nil' requires a contextual type
1713 | 				ai_addrlen: 0,
1714 | 				ai_canonname: nil,
1715 | 				ai_addr: nil,
     |              `- error: 'nil' requires a contextual type
1716 | 				ai_next: nil)
1717 | 		#endif
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1716:14: error: 'nil' requires a contextual type
1714 | 				ai_canonname: nil,
1715 | 				ai_addr: nil,
1716 | 				ai_next: nil)
     |              `- error: 'nil' requires a contextual type
1717 | 		#endif
1718 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1719:40: error: cannot find type 'addrinfo' in scope
1717 | 		#endif
1718 |
1719 | 		var targetInfo: UnsafeMutablePointer<addrinfo>?
     |                                        `- error: cannot find type 'addrinfo' in scope
1720 |
1721 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1722:23: error: cannot find 'getaddrinfo' in scope
1720 |
1721 | 		// Retrieve the info on our target...
1722 | 		var status: Int32 = getaddrinfo(host, String(port), &hints, &targetInfo)
     |                       `- error: cannot find 'getaddrinfo' in scope
1723 | 		if status != 0 {
1724 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1726:17: error: cannot find 'EAI_SYSTEM' in scope
1724 |
1725 | 			var errorString: String
1726 | 			if status == EAI_SYSTEM {
     |                 `- error: cannot find 'EAI_SYSTEM' in scope
1727 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
1728 | 			} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1729:42: error: cannot find 'gai_strerror' in scope
1727 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
1728 | 			} else {
1729 | 				errorString = String(validatingUTF8: gai_strerror(status)) ?? "Unknown error code."
     |                                          `- error: cannot find 'gai_strerror' in scope
1730 | 			}
1731 | 			throw Error(code: Socket.SOCKET_ERR_GETADDRINFO_FAILED, reason: errorString)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1738:5: error: cannot find 'freeaddrinfo' in scope
1736 |
1737 | 			if targetInfo != nil {
1738 | 				freeaddrinfo(targetInfo)
     |     `- error: cannot find 'freeaddrinfo' in scope
1739 | 			}
1740 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1750:10: error: cannot find 'Darwin' in scope
1748 | 					_ = Glibc.close(socketDescriptor!)
1749 | 				#else
1750 | 					_ = Darwin.close(socketDescriptor!)
     |          `- error: cannot find 'Darwin' in scope
1751 | 				#endif
1752 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1761:24: error: cannot find 'Darwin' in scope
1759 | 				socketDescriptor = Glibc.socket(info!.pointee.ai_family, info!.pointee.ai_socktype, info!.pointee.ai_protocol)
1760 | 			#else
1761 | 				socketDescriptor = Darwin.socket(info!.pointee.ai_family, info!.pointee.ai_socktype, info!.pointee.ai_protocol)
     |                        `- error: cannot find 'Darwin' in scope
1762 | 			#endif
1763 | 			if socketDescriptor == -1 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1777:60: error: cannot find 'O_NONBLOCK' in scope
1775 | 				}
1776 |
1777 | 				let result = fcntl(socketDescriptor!, F_SETFL, flags | O_NONBLOCK)
     |                                                            `- error: cannot find 'O_NONBLOCK' in scope
1778 | 				if result < 0 {
1779 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1788:14: error: cannot find 'Darwin' in scope
1786 | 				status = Glibc.connect(socketDescriptor!, info!.pointee.ai_addr, info!.pointee.ai_addrlen)
1787 | 			#else
1788 | 				status = Darwin.connect(socketDescriptor!, info!.pointee.ai_addr, info!.pointee.ai_addrlen)
     |              `- error: cannot find 'Darwin' in scope
1789 | 			#endif
1790 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1810:21: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
1808 | 					// First get seconds...
1809 | 					let secs = Int(Double(timeout / 1000))
1810 | 					timer.tv_sec = secs
     |                     `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
1811 |
1812 | 					// Now get the leftover millisecs...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1822:23: error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
1820 | 						timer.tv_usec = Int(uSecs)
1821 | 					#else
1822 | 						timer.tv_usec = Int32(uSecs)
     |                       `- error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
1823 | 					#endif
1824 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1838:52: error: cannot find 'SO_ERROR' in scope
1836 | 						var result: Int = 0
1837 | 						var resultLength = socklen_t(MemoryLayout<Int>.size)
1838 | 						if getsockopt(socketDescriptor!, SOL_SOCKET, SO_ERROR, &result, &resultLength) < 0 {
     |                                                    `- error: cannot find 'SO_ERROR' in scope
1839 |
1840 | 							throw Error(code: Socket.SOCKET_ERR_GETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1862:9: error: cannot find 'Darwin' in scope
1860 | 				_ = Glibc.close(socketDescriptor!)
1861 | 			#else
1862 | 				_ = Darwin.close(socketDescriptor!)
     |         `- error: cannot find 'Darwin' in scope
1863 | 			#endif
1864 | 			socketDescriptor = nil
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1875:10: error: cannot find 'Darwin' in scope
1873 | 					_ = Glibc.close(socketDescriptor!)
1874 | 				#else
1875 | 					_ = Darwin.close(socketDescriptor!)
     |          `- error: cannot find 'Darwin' in scope
1876 | 				#endif
1877 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:1930:56: error: cannot find 'O_NONBLOCK' in scope
1928 | 			}
1929 |
1930 | 			let result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                                                        `- error: cannot find 'O_NONBLOCK' in scope
1931 | 			if result < 0 {
1932 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2004:12: error: cannot find 'Darwin' in scope
2002 | 				return Glibc.connect(self.socketfd, p, socklen_t(addrLen))
2003 | 			#else
2004 | 				return Darwin.connect(self.socketfd, p, socklen_t(addrLen))
     |            `- error: cannot find 'Darwin' in scope
2005 | 			#endif
2006 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2058:13: error: cannot find 'Darwin' in scope
2056 | 					return Glibc.connect(self.socketfd, sockaddr, length)
2057 | 				#else
2058 | 					return Darwin.connect(self.socketfd, sockaddr, length)
     |             `- error: cannot find 'Darwin' in scope
2059 | 				#endif
2060 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2140:6: error: cannot find 'setsockopt' in scope
2138 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2139 | 		var on: Int32 = 1
2140 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
2141 |
2142 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2140:44: error: cannot find 'SO_REUSEADDR' in scope
2138 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2139 | 		var on: Int32 = 1
2140 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                            `- error: cannot find 'SO_REUSEADDR' in scope
2141 |
2142 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2152:7: error: cannot find 'setsockopt' in scope
2150 | 			// instances of a program to each receive UDP/IP multicast or broadcast datagrams
2151 | 			// destined for the bound port.
2152 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEPORT, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |       `- error: cannot find 'setsockopt' in scope
2153 |
2154 | 				// 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:2152:45: error: cannot find 'SO_REUSEPORT' in scope
2150 | 			// instances of a program to each receive UDP/IP multicast or broadcast datagrams
2151 | 			// destined for the bound port.
2152 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEPORT, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                             `- error: cannot find 'SO_REUSEPORT' in scope
2153 |
2154 | 				// 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:2170:16: error: cannot find 'setsockopt' in scope
2168 |         // Configure ipv6 socket so that it can share ports with ipv4 on the same port.
2169 |         if sig.protocolFamily == .inet6 && sig.proto == .tcp {
2170 |             if setsockopt(self.socketfd, Int32(IPPROTO_IPV6), IPV6_V6ONLY, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                `- error: cannot find 'setsockopt' in scope
2171 |
2172 |                 throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2207:16: error: cannot find 'addrinfo' in scope
2205 | 				ai_next: nil)
2206 | 		#else
2207 | 			var hints = addrinfo(
     |                `- error: cannot find 'addrinfo' in scope
2208 | 				ai_flags: AI_PASSIVE,
2209 | 				ai_family: sig.protocolFamily.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2208:15: error: cannot find 'AI_PASSIVE' in scope
2206 | 		#else
2207 | 			var hints = addrinfo(
2208 | 				ai_flags: AI_PASSIVE,
     |               `- error: cannot find 'AI_PASSIVE' in scope
2209 | 				ai_family: sig.protocolFamily.value,
2210 | 				ai_socktype: sig.socketType.value,
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2213:19: error: 'nil' requires a contextual type
2211 | 				ai_protocol: 0,
2212 | 				ai_addrlen: 0,
2213 | 				ai_canonname: nil,
     |                   `- error: 'nil' requires a contextual type
2214 | 				ai_addr: nil,
2215 | 				ai_next: nil)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2214:14: error: 'nil' requires a contextual type
2212 | 				ai_addrlen: 0,
2213 | 				ai_canonname: nil,
2214 | 				ai_addr: nil,
     |              `- error: 'nil' requires a contextual type
2215 | 				ai_next: nil)
2216 | 		#endif
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2215:14: error: 'nil' requires a contextual type
2213 | 				ai_canonname: nil,
2214 | 				ai_addr: nil,
2215 | 				ai_next: nil)
     |              `- error: 'nil' requires a contextual type
2216 | 		#endif
2217 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2218:40: error: cannot find type 'addrinfo' in scope
2216 | 		#endif
2217 |
2218 | 		var targetInfo: UnsafeMutablePointer<addrinfo>?
     |                                        `- error: cannot find type 'addrinfo' in scope
2219 |
2220 | 		// Retrieve the info on our target...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2221:23: error: cannot find 'getaddrinfo' in scope
2219 |
2220 | 		// Retrieve the info on our target...
2221 | 		let status: Int32 = getaddrinfo(node ?? nil, String(port), &hints, &targetInfo)
     |                       `- error: cannot find 'getaddrinfo' in scope
2222 | 		if status != 0 {
2223 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2225:17: error: cannot find 'EAI_SYSTEM' in scope
2223 |
2224 | 			var errorString: String
2225 | 			if status == EAI_SYSTEM {
     |                 `- error: cannot find 'EAI_SYSTEM' in scope
2226 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2227 | 			} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2228:42: error: cannot find 'gai_strerror' in scope
2226 | 				errorString = String(validatingUTF8: strerror(errno)) ?? "Unknown error code."
2227 | 			} else {
2228 | 				errorString = String(validatingUTF8: gai_strerror(errno)) ?? "Unknown error code."
     |                                          `- error: cannot find 'gai_strerror' in scope
2229 | 			}
2230 | 			throw Error(code: Socket.SOCKET_ERR_GETADDRINFO_FAILED, reason: errorString)
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2237:5: error: cannot find 'freeaddrinfo' in scope
2235 |
2236 | 			if targetInfo != nil {
2237 | 				freeaddrinfo(targetInfo)
     |     `- error: cannot find 'freeaddrinfo' in scope
2238 | 			}
2239 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2255:8: error: cannot find 'Darwin' in scope
2253 | 				}
2254 | 			#else
2255 | 				if Darwin.bind(self.socketfd, info!.pointee.ai_addr, info!.pointee.ai_addrlen) == 0 {
     |        `- error: cannot find 'Darwin' in scope
2256 |
2257 | 					// Success... We've found our address...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2279:8: error: cannot find 'getsockname' in scope
2277 | 		if port == 0 {
2278 | 			guard let addressFromSockName = try Address(addressProvider: { (sockaddr, length) in
2279 | 				if getsockname(self.socketfd, sockaddr, length) != 0 {
     |        `- error: cannot find 'getsockname' in scope
2280 | 					throw Error(code: Socket.SOCKET_ERR_BIND_FAILED, reason: "Unable to determine listening socket address after bind.")
2281 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2328:7: error: cannot find 'Darwin' in scope
2326 | 			}
2327 | 		#else
2328 | 			if Darwin.listen(self.socketfd, Int32(maxBacklogSize)) < 0 {
     |       `- error: cannot find 'Darwin' in scope
2329 |
2330 | 				throw Error(code: Socket.SOCKET_ERR_LISTEN_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2364:6: error: cannot find 'setsockopt' in scope
2362 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2363 | 		var on: Int32 = 1
2364 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
2365 |
2366 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2364:44: error: cannot find 'SO_REUSEADDR' in scope
2362 | 		// closes.  (TCP normally imposes a delay before an address can be re-used.)
2363 | 		var on: Int32 = 1
2364 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_REUSEADDR, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                            `- error: cannot find 'SO_REUSEADDR' in scope
2365 |
2366 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2380:8: error: cannot find 'Darwin' in scope
2378 | 			_ = Glibc.unlink(path)
2379 | 		#else
2380 | 			_ = Darwin.unlink(path)
     |        `- error: cannot find 'Darwin' in scope
2381 | 		#endif
2382 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2401:12: error: cannot find 'Darwin' in scope
2399 | 				return Glibc.bind(self.socketfd, p, socklen_t(addrLen))
2400 | 			#else
2401 | 				return Darwin.bind(self.socketfd, p, socklen_t(addrLen))
     |            `- error: cannot find 'Darwin' in scope
2402 | 			#endif
2403 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:2417:7: error: cannot find 'Darwin' in scope
2415 | 			}
2416 | 		#else
2417 | 			if Darwin.listen(self.socketfd, Int32(maxBacklogSize)) < 0 {
     |       `- error: cannot find 'Darwin' in scope
2418 |
2419 | 				throw Error(code: Socket.SOCKET_ERR_LISTEN_FAILED, reason: self.lastError())
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3023:10: error: cannot find 'Darwin' in scope
3021 | 					s = Glibc.send(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags)
3022 | 				#else
3023 | 					s = Darwin.send(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags)
     |          `- error: cannot find 'Darwin' in scope
3024 | 				#endif
3025 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3160:10: error: cannot find 'Darwin' in scope
3158 | 					s = Glibc.sendto(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags, addressPointer, addressLength)
3159 | 				#else
3160 | 					s = Darwin.sendto(self.socketfd, buffer.advanced(by: sent), Int(bufSize - sent), sendFlags, addressPointer, addressLength)
     |          `- error: cannot find 'Darwin' in scope
3161 | 				#endif
3162 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3293:20: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
3291 | 				// First get seconds...
3292 | 				let secs = Int(Double(timeout / 1000))
3293 | 				timer.tv_sec = secs
     |                    `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
3294 |
3295 | 				// Now get the leftover millisecs...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3305:22: error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
3303 | 					timer.tv_usec = Int(uSecs)
3304 | 				#else
3305 | 					timer.tv_usec = Int32(uSecs)
     |                      `- error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
3306 | 				#endif
3307 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3339:52: error: cannot find 'O_NONBLOCK' in scope
3337 | 		if shouldBlock {
3338 |
3339 | 			result = fcntl(self.socketfd, F_SETFL, flags & ~O_NONBLOCK)
     |                                                    `- error: cannot find 'O_NONBLOCK' in scope
3340 |
3341 | 		} else {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3343:51: error: cannot find 'O_NONBLOCK' in scope
3341 | 		} else {
3342 |
3343 | 			result = fcntl(self.socketfd, F_SETFL, flags | O_NONBLOCK)
     |                                                   `- error: cannot find 'O_NONBLOCK' in scope
3344 | 		}
3345 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3370:19: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
3368 | 			// First get seconds...
3369 | 			let secs = Int(Double(value / 1000))
3370 | 			timer.tv_sec = secs
     |                   `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
3371 |
3372 | 			// Now get the leftover millisecs...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3382:21: error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
3380 | 				timer.tv_usec = Int(uSecs)
3381 | 			#else
3382 | 				timer.tv_usec = Int32(uSecs)
     |                     `- error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
3383 | 			#endif
3384 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3386:16: error: cannot find 'setsockopt' in scope
3384 | 		}
3385 |
3386 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_RCVTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                `- error: cannot find 'setsockopt' in scope
3387 |
3388 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3386:54: error: cannot find 'SO_RCVTIMEO' in scope
3384 | 		}
3385 |
3386 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_RCVTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                                      `- error: cannot find 'SO_RCVTIMEO' in scope
3387 |
3388 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3410:19: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
3408 | 			// First get seconds...
3409 | 			let secs = Int(Double(value / 1000))
3410 | 			timer.tv_sec = secs
     |                   `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
3411 |
3412 | 			// Now get the leftover millisecs...
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3422:21: error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
3420 | 				timer.tv_usec = Int(uSecs)
3421 | 			#else
3422 | 				timer.tv_usec = Int32(uSecs)
     |                     `- error: cannot assign value of type 'Int32' to type 'suseconds_t' (aka 'Int64')
3423 | 			#endif
3424 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3426:16: error: cannot find 'setsockopt' in scope
3424 | 		}
3425 |
3426 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_SNDTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                `- error: cannot find 'setsockopt' in scope
3427 |
3428 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3426:54: error: cannot find 'SO_SNDTIMEO' in scope
3424 | 		}
3425 |
3426 | 		let result = setsockopt(self.socketfd, SOL_SOCKET, SO_SNDTIMEO, &timer, socklen_t(MemoryLayout<timeval>.stride))
     |                                                      `- error: cannot find 'SO_SNDTIMEO' in scope
3427 |
3428 | 		if result < 0 {
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3457:6: error: cannot find 'setsockopt' in scope
3455 | 		// Turn on or off UDP broadcasting...
3456 | 		var on: Int32 = enable ? 1 : 0
3457 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_BROADCAST, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |      `- error: cannot find 'setsockopt' in scope
3458 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3459 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3457:44: error: cannot find 'SO_BROADCAST' in scope
3455 | 		// Turn on or off UDP broadcasting...
3456 | 		var on: Int32 = enable ? 1 : 0
3457 | 		if setsockopt(self.socketfd, SOL_SOCKET, SO_BROADCAST, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                            `- error: cannot find 'SO_BROADCAST' in scope
3458 | 			throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3459 | 		}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3490:10: error: cannot find 'Darwin' in scope
3488 | 			#else
3489 | 				if self.isListening {
3490 | 					_ = Darwin.shutdown(self.socketfd, Int32(SHUT_RDWR))
     |          `- error: cannot find 'Darwin' in scope
3491 | 					self.isListening = false
3492 | 				}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3490:47: error: cannot find 'SHUT_RDWR' in scope
3488 | 			#else
3489 | 				if self.isListening {
3490 | 					_ = Darwin.shutdown(self.socketfd, Int32(SHUT_RDWR))
     |                                               `- error: cannot find 'SHUT_RDWR' in scope
3491 | 					self.isListening = false
3492 | 				}
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/__header_sys_socket.h:13:9: note: macro 'SHUT_RDWR' unavailable: structure not supported
11 | #define SHUT_RD __WASI_SDFLAGS_RD
12 | #define SHUT_WR __WASI_SDFLAGS_WR
13 | #define SHUT_RDWR (SHUT_RD | SHUT_WR)
   |         `- note: macro 'SHUT_RDWR' unavailable: structure not supported
14 |
15 | #ifdef __wasilibc_use_wasip2
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3494:9: error: cannot find 'Darwin' in scope
3492 | 				}
3493 | 				self.isConnected = false
3494 | 				_ = Darwin.close(self.socketfd)
     |         `- error: cannot find 'Darwin' in scope
3495 | 			#endif
3496 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3511:10: error: cannot find 'Darwin' in scope
3509 | 					_ = Glibc.unlink(self.signature!.path!)
3510 | 				#else
3511 | 					_ = Darwin.unlink(self.signature!.path!)
     |          `- error: cannot find 'Darwin' in scope
3512 | 				#endif
3513 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3535:23: error: cannot find 'MSG_DONTWAIT' in scope
3533 | 		var recvFlags: Int32 = 0
3534 | 		if self.readStorage.length > 0 {
3535 | 			recvFlags |= Int32(MSG_DONTWAIT)
     |                       `- error: cannot find 'MSG_DONTWAIT' in scope
3536 | 		}
3537 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3547:14: error: cannot find 'Darwin' in scope
3545 | 					count = Glibc.recv(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags)
3546 | 				#else
3547 | 					count = Darwin.recv(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags)
     |              `- error: cannot find 'Darwin' in scope
3548 | 				#endif
3549 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3649:23: error: cannot find 'MSG_DONTWAIT' in scope
3647 | 		var recvFlags: Int32 = 0
3648 | 		if self.readStorage.length > 0 {
3649 | 			recvFlags |= Int32(MSG_DONTWAIT)
     |                       `- error: cannot find 'MSG_DONTWAIT' in scope
3650 | 		}
3651 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3659:18: error: cannot find 'Darwin' in scope
3657 | 					let count = Glibc.recvfrom(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags, addresssPointer, addressLengthPointer)
3658 | 				#else
3659 | 					let count = Darwin.recvfrom(self.socketfd, self.readBuffer, self.readBufferSize, recvFlags, addresssPointer, addressLengthPointer)
     |                  `- error: cannot find 'Darwin' in scope
3660 | 				#endif
3661 |
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3756:7: error: cannot find 'setsockopt' in scope
3754 | 			// MSG_NOSIGNAL flags passed to send.  See the write() functions below.
3755 | 			var on: Int32 = 1
3756 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_NOSIGPIPE, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |       `- error: cannot find 'setsockopt' in scope
3757 | 				throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3758 | 			}
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:3756:45: error: cannot find 'SO_NOSIGPIPE' in scope
3754 | 			// MSG_NOSIGNAL flags passed to send.  See the write() functions below.
3755 | 			var on: Int32 = 1
3756 | 			if setsockopt(self.socketfd, SOL_SOCKET, SO_NOSIGPIPE, &on, socklen_t(MemoryLayout<Int32>.size)) < 0 {
     |                                             `- error: cannot find 'SO_NOSIGPIPE' in scope
3757 | 				throw Error(code: Socket.SOCKET_ERR_SETSOCKOPT_FAILED, reason: self.lastError())
3758 | 			}
[138/544] Compiling tls_record.cc
[141/544] Compiling Logging LogEvent.swift
[142/544] Compiling Logging Locks.swift
[143/544] Compiling Logging Logging.swift
[144/544] Compiling Logging LogHandler.swift
[144/545] Compiling tls_method.cc
[146/545] Compiling tls13_client.cc
[146/545] Compiling tls13_enc.cc
[146/545] Compiling tls13_server.cc
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm