Build Information
Failed to build MongoORM, reference 3.1.1 (891451), with Swift 6.2 for Linux on 17 Jun 2025 17:17:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path: $PWD
https://github.com/cuba/mongoorm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/OpenKitten/MongoKitten.git
[1/14248] Fetching mongokitten
Fetched https://github.com/OpenKitten/MongoKitten.git from cache (1.21s)
Computing version for https://github.com/OpenKitten/MongoKitten.git
Computed https://github.com/OpenKitten/MongoKitten.git at 5.1.15 (2.55s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/OpenKitten/NioDNS.git
Fetching https://github.com/OpenKitten/BSON.git
[1/6004] Fetching bson
[1082/7148] Fetching bson, niodns
Fetched https://github.com/OpenKitten/NioDNS.git from cache (0.34s)
[1/14890] Fetching swift-nio-ssl
Fetched https://github.com/OpenKitten/BSON.git from cache (0.40s)
[1490/91217] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.87s)
[52666/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.57s)
Computing version for https://github.com/OpenKitten/NioDNS.git
Computed https://github.com/OpenKitten/NioDNS.git at 1.0.2 (8.95s)
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.77s)
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.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.20s)
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.38s)
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 (1.50s)
Computing version for https://github.com/OpenKitten/BSON.git
Computed https://github.com/OpenKitten/BSON.git at 6.0.11 (2.72s)
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/OpenKitten/NioDNS.git
Working copy of https://github.com/OpenKitten/NioDNS.git resolved at 1.0.2
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/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/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/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
[9/18] Compiling CNIOLinux ifaddrs-android.c
[10/18] Write sources
[11/18] Compiling CNIODarwin shim.c
[12/18] Compiling CNIOLinux shim.c
[13/18] Compiling CNIOSHA1 c_nio_sha1.c
[14/18] Write swift-version-24593BA9C3E375BF.txt
[15/29] Compiling CNIOOpenSSL helpers.c
[16/29] Compiling CNIOOpenSSL shims.c
[17/29] Compiling c-atomics.c
[19/32] Compiling NIOPriorityQueue PriorityQueue.swift
[20/32] Compiling _MongoKittenCrypto SHA1.swift
[21/33] Compiling _MongoKittenCrypto SHA256.swift
[22/33] Compiling NIOConcurrencyHelpers atomics.swift
[23/33] Emitting module NIOConcurrencyHelpers
[24/33] Compiling NIOConcurrencyHelpers lock.swift
[26/34] Emitting module NIOPriorityQueue
[27/34] Compiling NIOPriorityQueue Heap.swift
[28/35] Compiling _MongoKittenCrypto MD5.swift
[29/35] Compiling _MongoKittenCrypto MongoDB-CR.swift
[31/35] Compiling _MongoKittenCrypto Hash.swift
[32/35] Compiling _MongoKittenCrypto HMAC.swift
[33/35] Emitting module _MongoKittenCrypto
[34/35] Compiling _MongoKittenCrypto Hex.swift
[35/35] Compiling _MongoKittenCrypto PBKDF2.swift
[37/86] Emitting module NIO
[38/92] Compiling NIO EventLoop.swift
[39/92] Compiling NIO EventLoopFuture.swift
[40/92] Compiling NIO FileDescriptor.swift
[41/92] Compiling NIO FileHandle.swift
[42/92] Compiling NIO FileRegion.swift
[43/92] Compiling NIO GetaddrinfoResolver.swift
[44/92] Compiling NIO HappyEyeballs.swift
[45/92] Compiling NIO Heap.swift
[46/92] Compiling NIO IO.swift
[47/92] Compiling NIO IOData.swift
[48/92] Compiling NIO IntegerTypes.swift
[49/92] Compiling NIO Interfaces.swift
[50/92] Compiling NIO Linux.swift
[51/92] Compiling NIO LinuxCPUSet.swift
[52/92] Compiling NIO ChannelPipeline.swift
[53/92] Compiling NIO CircularBuffer.swift
[54/92] Compiling NIO Codec.swift
[55/92] Compiling NIO CompositeError.swift
[56/92] Compiling NIO ContiguousCollection.swift
[57/92] Compiling NIO DeadChannel.swift
[58/92] Compiling NIO Embedded.swift
[59/92] Compiling NIO MarkedCircularBuffer.swift
[60/92] Compiling NIO MulticastChannel.swift
[61/92] Compiling NIO NIOAny.swift
[62/92] Compiling NIO NonBlockingFileIO.swift
[63/92] Compiling NIO PendingDatagramWritesManager.swift
[64/92] Compiling NIO PendingWritesManager.swift
[65/92] Compiling NIO PriorityQueue.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 AddressedEnvelope.swift
[74/92] Compiling NIO BaseSocket.swift
[75/92] Compiling NIO BaseSocketChannel.swift
[76/92] Compiling NIO BlockingIOThreadPool.swift
[77/92] Compiling NIO Bootstrap.swift
[78/92] Compiling NIO ByteBuffer-aux.swift
[79/92] Compiling NIO ByteBuffer-core.swift
[80/92] Compiling NIO ByteBuffer-int.swift
[81/92] Compiling NIO ByteBuffer-views.swift
[82/92] Compiling NIO Channel.swift
[83/92] Compiling NIO ChannelHandler.swift
[84/92] Compiling NIO ChannelHandlers.swift
[85/92] Compiling NIO ChannelInvoker.swift
[86/92] Compiling NIO ChannelOption.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] Compiling NioDNS SRV.swift
[100/154] Compiling NioDNS ConfigParser.swift
[101/154] Compiling NioDNS MessageOptions.swift
[102/154] Emitting module NIOOpenSSL
[103/156] 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 | }
[104/156] 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 | }
[105/156] 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 | }
[106/156] 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 | }
[107/160] Emitting module NioDNS
[108/160] Compiling NioDNS DNSClient+Connect.swift
[109/160] Compiling NIOOpenSSL SSLPointerTricks.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 |
[110/160] Compiling NIOOpenSSL SSLErrors.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 |
[111/160] Compiling NIOOpenSSL SSLInit.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 |
[112/160] Compiling NIOOpenSSL SSLPrivateKey.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 |
[113/160] Compiling NIOOpenSSL SSLPublicKey.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 |
[114/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:
[115/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:
[116/160] Compiling NIOOpenSSL OpenSSLHandler.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:
[117/160] Compiling NIOOpenSSL OpenSSLServerHandler.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:
[118/160] Compiling NIOOpenSSL ByteBufferBIO.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:
[119/160] Compiling NIOOpenSSL IdentityVerification.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 | }
[120/160] Compiling NIOOpenSSL OpenSSLClientHandler.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 | }
[121/160] Compiling NIOOpenSSL SSLConnection.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 | }
[122/160] Compiling NIOOpenSSL SSLContext.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 | }
[123/160] Compiling NIOOpenSSL SSLPKCS12Bundle.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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[124/160] 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 |
[133/160] Compiling NioDNS Message.swift
[134/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 |
[135/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 |
[136/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 |
[137/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 |
[138/160] Compiling NIOOpenSSL SSLVerificationCallbacks.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
[139/160] Compiling NIOOpenSSL TLSConfiguration.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
[140/160] Compiling BSON Document+Mutations.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
[141/160] Compiling BSON Document+Serialization.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
[142/160] Compiling BSON Document+Subscripts.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
[143/160] Compiling BSON PointerHelpers.swift
[144/160] Compiling BSON Binary.swift
[145/160] Compiling BSON Decimal128.swift
[146/160] Compiling BSON JavaScript.swift
/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
[156/160] Compiling NioDNS NioDNS.swift
[158/161] Compiling BSON Primitives.swift
[159/161] Compiling BSON RegularExpression.swift
[160/161] Compiling BSON Timestamp.swift
[161/161] Compiling BSON TypeIdentifier.swift
BUILD FAILURE 6.2 linux