The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MongoORM, reference 3.1.1 (891451), with Swift 6.3 for Linux on 21 Apr 2026 11:50:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cuba/mongoorm.git
Reference: 3.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/cuba/mongoorm
 * tag               3.1.1      -> FETCH_HEAD
HEAD is now at 891451e Fix warnings
Cloned https://github.com/cuba/mongoorm.git
Revision (git rev-parse @):
891451e8cb3eafd54a7189c32c72a26f9a703e56
SUCCESS checkout https://github.com/cuba/mongoorm.git at 3.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/cuba/mongoorm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/OpenKitten/MongoKitten.git
[1/14466] Fetching mongokitten
Fetched https://github.com/OpenKitten/MongoKitten.git from cache (0.74s)
Computing version for https://github.com/OpenKitten/MongoKitten.git
Computed https://github.com/OpenKitten/MongoKitten.git at 5.1.15 (1.23s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/OpenKitten/BSON.git
Fetching https://github.com/OpenKitten/NioDNS.git
[1/6030] Fetching bson
[1509/7749] Fetching bson, niodns
Fetched https://github.com/OpenKitten/NioDNS.git from cache (0.41s)
[1/15419] Fetching swift-nio-ssl
Fetched https://github.com/OpenKitten/BSON.git from cache (0.45s)
[2777/98590] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.65s)
Fetched https://github.com/apple/swift-nio.git from cache (7.79s)
Computing version for https://github.com/OpenKitten/NioDNS.git
Computed https://github.com/OpenKitten/NioDNS.git at 1.0.2 (11.40s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.59s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.25s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.77s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.30s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.85s)
Computing version for https://github.com/OpenKitten/BSON.git
Computed https://github.com/OpenKitten/BSON.git at 6.0.11 (3.47s)
Creating working copy for https://github.com/OpenKitten/NioDNS.git
Working copy of https://github.com/OpenKitten/NioDNS.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/OpenKitten/BSON.git
Working copy of https://github.com/OpenKitten/BSON.git resolved at 6.0.11
Creating working copy for https://github.com/OpenKitten/MongoKitten.git
Working copy of https://github.com/OpenKitten/MongoKitten.git resolved at 5.1.15
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 1.4.0
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/18] Write sources
[7/18] Compiling CNIOLinux ifaddrs-android.c
[8/18] Compiling CNIODarwin shim.c
[9/18] Compiling CNIOLinux shim.c
[10/18] Compiling CNIOSHA1 c_nio_sha1.c
[11/18] Write sources
[14/18] Compiling CNIOOpenSSL shims.c
[15/18] Compiling CNIOOpenSSL helpers.c
[16/18] Write swift-version-24593BA9C3E375BF.txt
[17/29] Compiling c-atomics.c
[19/32] Compiling _MongoKittenCrypto SHA1.swift
[20/33] Compiling _MongoKittenCrypto SHA256.swift
[21/33] Compiling NIOConcurrencyHelpers atomics.swift
[22/33] Compiling NIOConcurrencyHelpers lock.swift
[23/33] Emitting module NIOConcurrencyHelpers
[25/34] Compiling _MongoKittenCrypto Hash.swift
[26/34] Compiling _MongoKittenCrypto HMAC.swift
[27/34] Emitting module _MongoKittenCrypto
[28/34] Compiling _MongoKittenCrypto Hex.swift
[29/34] Compiling NIOPriorityQueue PriorityQueue.swift
[30/34] Emitting module NIOPriorityQueue
[31/34] Compiling NIOPriorityQueue Heap.swift
[33/35] Compiling _MongoKittenCrypto MongoDB-CR.swift
[34/35] Compiling _MongoKittenCrypto PBKDF2.swift
[35/35] Compiling _MongoKittenCrypto MD5.swift
[37/86] Compiling NIO ByteBuffer-int.swift
[38/86] Compiling NIO ByteBuffer-views.swift
[39/86] Compiling NIO Channel.swift
[40/86] Compiling NIO ChannelHandler.swift
[41/86] Compiling NIO ChannelHandlers.swift
[42/86] Compiling NIO ChannelInvoker.swift
[43/86] Compiling NIO ChannelOption.swift
[44/92] Emitting module NIO
[45/92] Compiling NIO MarkedCircularBuffer.swift
[46/92] Compiling NIO MulticastChannel.swift
[47/92] Compiling NIO NIOAny.swift
[48/92] Compiling NIO NonBlockingFileIO.swift
[49/92] Compiling NIO PendingDatagramWritesManager.swift
[50/92] Compiling NIO PendingWritesManager.swift
[51/92] Compiling NIO PriorityQueue.swift
[52/92] Compiling NIO EventLoop.swift
[53/92] Compiling NIO EventLoopFuture.swift
[54/92] Compiling NIO FileDescriptor.swift
[55/92] Compiling NIO FileHandle.swift
[56/92] Compiling NIO FileRegion.swift
[57/92] Compiling NIO GetaddrinfoResolver.swift
[58/92] Compiling NIO HappyEyeballs.swift
[59/92] Compiling NIO Heap.swift
[60/92] Compiling NIO IO.swift
[61/92] Compiling NIO IOData.swift
[62/92] Compiling NIO IntegerTypes.swift
[63/92] Compiling NIO Interfaces.swift
[64/92] Compiling NIO Linux.swift
[65/92] Compiling NIO LinuxCPUSet.swift
[66/92] Compiling NIO RecvByteBufferAllocator.swift
[67/92] Compiling NIO Resolver.swift
[68/92] Compiling NIO Selectable.swift
[69/92] Compiling NIO Selector.swift
[70/92] Compiling NIO ServerSocket.swift
[71/92] Compiling NIO Socket.swift
[72/92] Compiling NIO SocketAddresses.swift
[73/92] Compiling NIO ChannelPipeline.swift
[74/92] Compiling NIO CircularBuffer.swift
[75/92] Compiling NIO Codec.swift
[76/92] Compiling NIO CompositeError.swift
[77/92] Compiling NIO ContiguousCollection.swift
[78/92] Compiling NIO DeadChannel.swift
[79/92] Compiling NIO Embedded.swift
[80/92] Compiling NIO AddressedEnvelope.swift
[81/92] Compiling NIO BaseSocket.swift
[82/92] Compiling NIO BaseSocketChannel.swift
[83/92] Compiling NIO BlockingIOThreadPool.swift
[84/92] Compiling NIO Bootstrap.swift
[85/92] Compiling NIO ByteBuffer-aux.swift
[86/92] Compiling NIO ByteBuffer-core.swift
[87/92] Compiling NIO SocketChannel.swift
[88/92] Compiling NIO SocketOptionProvider.swift
[89/92] Compiling NIO System.swift
[90/92] Compiling NIO Thread.swift
[91/92] Compiling NIO TypeAssistedChannelHandler.swift
[92/92] Compiling NIO Utilities.swift
[94/137] Compiling NIOTLS TLSEvents.swift
[95/137] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[96/137] Emitting module NIOTLS
[97/137] Compiling NIOTLS SNIHandler.swift
[99/154] Emitting module NIOOpenSSL
[100/156] Compiling NioDNS SRV.swift
[101/156] Compiling NioDNS ConfigParser.swift
[102/156] Compiling NioDNS MessageOptions.swift
[103/156] Compiling NioDNS DNSClient+Connect.swift
[104/156] Emitting module NioDNS
[105/156] Compiling NIOOpenSSL SSLErrors.swift
[106/156] Compiling NIOOpenSSL SSLInit.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[107/156] Emitting module BSON
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[108/160] Compiling NIOOpenSSL SSLPrivateKey.swift
[109/160] Compiling NIOOpenSSL SSLPublicKey.swift
[110/160] Compiling BSON Null.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Types/Optional.swift:3:9: error: type 'Document' does not conform to protocol 'Collection'
 1 | extension Optional where Wrapped == Primitive {
 2 |     public subscript(key: String) -> Primitive? {
 3 |         get {
   |         `- error: type 'Document' does not conform to protocol 'Collection'
 4 |             return (self as? Document)?[key]
 5 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Types/Optional.swift:3:9: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 1 | extension Optional where Wrapped == Primitive {
 2 |     public subscript(key: String) -> Primitive? {
 3 |         get {
   |         `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 4 |             return (self as? Document)?[key]
 5 |         }
[111/160] Compiling BSON ObjectId.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Types/Optional.swift:3:9: error: type 'Document' does not conform to protocol 'Collection'
 1 | extension Optional where Wrapped == Primitive {
 2 |     public subscript(key: String) -> Primitive? {
 3 |         get {
   |         `- error: type 'Document' does not conform to protocol 'Collection'
 4 |             return (self as? Document)?[key]
 5 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Types/Optional.swift:3:9: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 1 | extension Optional where Wrapped == Primitive {
 2 |     public subscript(key: String) -> Primitive? {
 3 |         get {
   |         `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 4 |             return (self as? Document)?[key]
 5 |         }
[112/160] Compiling BSON Optional.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Types/Optional.swift:3:9: error: type 'Document' does not conform to protocol 'Collection'
 1 | extension Optional where Wrapped == Primitive {
 2 |     public subscript(key: String) -> Primitive? {
 3 |         get {
   |         `- error: type 'Document' does not conform to protocol 'Collection'
 4 |             return (self as? Document)?[key]
 5 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Types/Optional.swift:3:9: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 1 | extension Optional where Wrapped == Primitive {
 2 |     public subscript(key: String) -> Primitive? {
 3 |         get {
   |         `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 4 |             return (self as? Document)?[key]
 5 |         }
[113/160] Compiling BSON PrimitiveConvertible.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Types/Optional.swift:3:9: error: type 'Document' does not conform to protocol 'Collection'
 1 | extension Optional where Wrapped == Primitive {
 2 |     public subscript(key: String) -> Primitive? {
 3 |         get {
   |         `- error: type 'Document' does not conform to protocol 'Collection'
 4 |             return (self as? Document)?[key]
 5 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Types/Optional.swift:3:9: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 1 | extension Optional where Wrapped == Primitive {
 2 |     public subscript(key: String) -> Primitive? {
 3 |         get {
   |         `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 4 |             return (self as? Document)?[key]
 5 |         }
[114/160] Compiling BSON PointerHelpers.swift
[115/160] Compiling BSON Binary.swift
[116/160] Compiling BSON Decimal128.swift
[117/160] Compiling BSON JavaScript.swift
[118/160] Compiling BSON Document+Validation.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[119/160] Compiling BSON Document.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[120/160] Compiling BSON DocumentSlice.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[121/160] Compiling BSON ByteBuffer+Helpers.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: type 'DocumentSlice' does not conform to protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: type 'DocumentSlice' does not conform to protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/DocumentSlice.swift:1:15: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 1 | public struct DocumentSlice: BidirectionalCollection {
   |               `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
 2 |     public func index(before i: DocumentIndex) -> DocumentIndex {
 3 |         return DocumentIndex(offset: i.offset - 1)
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[122/160] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[123/160] Compiling NIOOpenSSL TLSConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[125/160] Compiling NIOOpenSSL SSLConnection.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[126/160] Compiling NIOOpenSSL SSLContext.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[127/160] Compiling NIOOpenSSL ByteBufferBIO.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[128/160] Compiling NIOOpenSSL IdentityVerification.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'BidirectionalCollection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.BidirectionalCollection.subscript:2:10: note: requirement 'subscript(_:)' declared here
1 | protocol BidirectionalCollection {
2 | override subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: requirement 'subscript(_:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: type 'Document' does not conform to protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: type 'Document' does not conform to protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Collection.swift:1:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  1 | extension Document: BidirectionalCollection {
    | `- error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
  2 |     public subscript(position: DocumentIndex) -> (String, Primitive) {
  3 |         let type = typeIdentifier(at: position.offset)!
Swift.Collection.subscript:3:10: note: 'subscript(_:)' declared here
1 | protocol Collection {
2 | @available(*, unavailable)
3 |   public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  |          `- note: 'subscript(_:)' declared here
4 |
Swift.Collection.subscript:2:1: note: requirement 'subscript(_:)' declared here
1 | protocol Collection {
2 | subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }}
  | `- note: requirement 'subscript(_:)' declared here
3 |
[129/160] Compiling NIOOpenSSL PosixPort.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'Collection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'Collection'
 22 |         switch self {
 23 |         case .double, .adaptive:
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 22 |         switch self {
 23 |         case .double, .adaptive:
[130/160] Compiling NIOOpenSSL SSLCertificate.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'Collection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'Collection'
 22 |         switch self {
 23 |         case .double, .adaptive:
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 22 |         switch self {
 23 |         case .double, .adaptive:
[131/160] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'Collection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'Collection'
 22 |         switch self {
 23 |         case .double, .adaptive:
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 22 |         switch self {
 23 |         case .double, .adaptive:
[132/160] Compiling NIOOpenSSL SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'Collection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'Collection'
 22 |         switch self {
 23 |         case .double, .adaptive:
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 22 |         switch self {
 23 |         case .double, .adaptive:
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'Collection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'Collection'
 22 |         switch self {
 23 |         case .double, .adaptive:
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Decoding/BSONDecoder.swift:21:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 19 | extension BSONDecoderSettings.FloatDecodingStrategy {
 20 |     /// Decodes the `value` with a key of `key` to a `Float` using the current strategy
 21 |     internal func decode<K: CodingKey>(fromKey key: K, in value: DecoderValue, path: [String]) throws -> Float {
    |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
 22 |         switch self {
 23 |         case .double, .adaptive:
[134/160] Compiling NIOOpenSSL OpenSSLClientHandler.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'Collection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'Collection'
47 |         if let value = self[key] as? P {
48 |             return value
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
47 |         if let value = self[key] as? P {
48 |             return value
[135/160] Compiling NIOOpenSSL OpenSSLHandler.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'Collection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'Collection'
47 |         if let value = self[key] as? P {
48 |             return value
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
47 |         if let value = self[key] as? P {
48 |             return value
[136/160] Compiling NIOOpenSSL OpenSSLServerHandler.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'Collection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'Collection'
47 |         if let value = self[key] as? P {
48 |             return value
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
47 |         if let value = self[key] as? P {
48 |             return value
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'Collection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'Collection'
47 |         if let value = self[key] as? P {
48 |             return value
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
47 |         if let value = self[key] as? P {
48 |             return value
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'Collection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'Collection'
47 |         if let value = self[key] as? P {
48 |             return value
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Document/Document+Helpers.swift:46:19: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
44 |     }
45 |
46 |     internal func assertPrimitive<P: Primitive>(typeOf type: P.Type, forKey key: String) throws -> P {
   |                   `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
47 |         if let value = self[key] as? P {
48 |             return value
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'Collection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'Collection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'Collection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'Collection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
[141/160] Compiling BSON BSONEncoder.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'Collection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'Collection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
[142/160] Compiling BSON BSONEncoderStrategies.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'Collection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'Collection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
[143/160] Compiling BSON PrimitiveEncoding.swift
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'Collection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'Collection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
/host/spi-builder-workspace/.build/checkouts/BSON/Sources/BSON/Codable/Encoding/BSONEncoder.swift:142:9: error: type 'Document' does not conform to protocol 'BidirectionalCollection'
140 |
141 |     subscript(key: CodingKey) -> Primitive? {
142 |         get {
    |         `- error: type 'Document' does not conform to protocol 'BidirectionalCollection'
143 |             return self.document[converted(key.stringValue)]
144 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                             `- error: cannot find 'SSL_get_peer_certificate' in scope
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                                                       `- error: cannot infer contextual base in reference to member 'make'
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
128 |         CNIOOpenSSL_SSL_CTX_set_mode(ctx, Int(SSL_MODE_RELEASE_BUFFERS | SSL_MODE_AUTO_RETRY))
129 |
130 |         var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
    |                                  `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
131 |
132 |         // Handle TLS versions
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
133 |         switch configuration.minimumTLSVersion {
134 |         case .tlsv13:
135 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
136 |             fallthrough
137 |         case .tlsv12:
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:138:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
136 |             fallthrough
137 |         case .tlsv12:
138 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
139 |             fallthrough
140 |         case .tlsv11:
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
139 |             fallthrough
140 |         case .tlsv11:
141 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
142 |             fallthrough
143 |         case .tlsv1:
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
142 |             fallthrough
143 |         case .tlsv1:
144 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
145 |             fallthrough
146 |         case .sslv3:
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
153 |         switch configuration.maximumTLSVersion {
154 |         case .some(.sslv2):
155 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
158 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:161:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
161 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
164 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
165 |             fallthrough
166 |         case .some(.tlsv12):
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
165 |             fallthrough
166 |         case .some(.tlsv12):
167 |             opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
    |                                   `- error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
168 |         case .some(.tlsv13), .none:
169 |             break
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                             `- error: cannot find 'SSL_get_peer_certificate' in scope
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
306 |     /// if available.
307 |     func getPeerCertificate() -> OpenSSLCertificate? {
308 |         guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
    |                                                       `- error: cannot infer contextual base in reference to member 'make'
309 |             return nil
310 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
128 |         CNIOOpenSSL_SSL_CTX_set_mode(ctx, Int(SSL_MODE_RELEASE_BUFFERS | SSL_MODE_AUTO_RETRY))
129 |
130 |         var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
    |                                  `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
131 |
132 |         // Handle TLS versions
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
133 |         switch configuration.minimumTLSVersion {
134 |         case .tlsv13:
135 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
136 |             fallthrough
137 |         case .tlsv12:
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:138:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
136 |             fallthrough
137 |         case .tlsv12:
138 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
139 |             fallthrough
140 |         case .tlsv11:
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
139 |             fallthrough
140 |         case .tlsv11:
141 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
142 |             fallthrough
143 |         case .tlsv1:
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
142 |             fallthrough
143 |         case .tlsv1:
144 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
145 |             fallthrough
146 |         case .sslv3:
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
153 |         switch configuration.maximumTLSVersion {
154 |         case .some(.sslv2):
155 |             opensslOptions |= Int(SSL_OP_NO_SSLv3)
    |                                   `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
156 |             fallthrough
157 |         case .some(.sslv3):
158 |             opensslOptions |= Int(SSL_OP_NO_TLSv1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
     |          `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:161:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
159 |             fallthrough
160 |         case .some(.tlsv1):
161 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
     |          `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
 423 | # define SSL_OP_NO_DTLSv1                                SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
162 |             fallthrough
163 |         case .some(.tlsv11):
164 |             opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
    |                                   `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
165 |             fallthrough
166 |         case .some(.tlsv12):
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
     |          `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
 421 | # define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
 422 | # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
165 |             fallthrough
166 |         case .some(.tlsv12):
167 |             opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
    |                                   `- error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
168 |         case .some(.tlsv13), .none:
169 |             break
[155/160] Compiling NioDNS Message.swift
[156/160] Compiling NioDNS NioDNS.swift
BUILD FAILURE 6.3 linux