The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FluentMongo with Swift 5.7 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.28.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asensei/vapor-fluent-mongo.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/asensei/vapor-fluent-mongo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 76bc6e5 test against mongo v7 (#28)
Cloned https://github.com/asensei/vapor-fluent-mongo.git
Revision (git rev-parse @):
76bc6e52ceb62cadb13aa39ac0ecd7920f31fbe2
SUCCESS checkout https://github.com/asensei/vapor-fluent-mongo.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/mongodb/mongo-swift-driver.git
[1/11292] Fetching fluent-kit
[11293/51189] Fetching fluent-kit, mongo-swift-driver
Fetched https://github.com/vapor/fluent-kit.git (5.41s)
Fetched https://github.com/mongodb/mongo-swift-driver.git (5.48s)
Computing version for https://github.com/mongodb/mongo-swift-driver.git
Computed https://github.com/mongodb/mongo-swift-driver.git at 1.3.1 (0.36s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/mongodb/swift-bson
[1/3384] Fetching swift-bson
[103/4947] Fetching swift-bson, swift-atomics
Fetched https://github.com/apple/swift-atomics (0.49s)
Fetching https://github.com/Quick/Nimble.git
[1/63738] Fetching swift-nio
[52267/80515] Fetching swift-nio, nimble
Fetched https://github.com/Quick/Nimble.git (1.84s)
Fetched https://github.com/mongodb/swift-bson (4.21s)
Fetched https://github.com/apple/swift-nio (4.29s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (0.33s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/sql-kit.git
[1/2335] Fetching async-kit
[142/6848] Fetching async-kit, sql-kit
[6849/10003] Fetching async-kit, sql-kit, swift-log
Fetched https://github.com/vapor/sql-kit.git (0.37s)
Fetched https://github.com/vapor/async-kit.git (0.37s)
Fetched https://github.com/apple/swift-log.git (0.43s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.33s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/624] Fetching swift-extras-base64
[588/1673] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-base64 (0.29s)
Fetched https://github.com/swift-extras/swift-extras-json (0.29s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (0.31s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.32s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.32s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.32s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.32s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.19.0 (0.34s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5150] Fetching swift-algorithms
[104/17734] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git (0.99s)
Fetched https://github.com/apple/swift-collections.git (1.01s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.34s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.32s)
Fetching https://github.com/apple/swift-numerics.git
[1/5193] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.46s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.62.0 (0.46s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.34s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.28.0 (0.33s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.28.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.62.0
Creating working copy for https://github.com/mongodb/mongo-swift-driver.git
Working copy of https://github.com/mongodb/mongo-swift-driver.git resolved at 1.3.1
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.36.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.19.0
Building for debugging...
[0/144] Compiling _NumericsShims _NumericsShims.c
[1/144] Compiling _AtomicsShims.c
[2/144] Compiling CNIOWindows WSAStartup.c
[3/144] Compiling CNIOWindows shim.c
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/bson/bson-iso8601.c:331:64: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
      bson_string_append_printf (str, "%s.%03" "lld" "Z", buf, msecs_part);
                                          ~~~~~~~~~            ^~~~~~~~~~
                                          %03ld
1 warning generated.
[5/223] Compiling ExtrasJSON JSONUnkeyedDecodingContainer.swift
[6/223] Compiling ExtrasJSON JSONEncoder.swift
[7/223] Compiling ExtrasJSON JSONKeyedDecodingContainer.swift
[8/223] Compiling ExtrasJSON JSONSingleValueDecodingContainer.swift
[9/224] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[10/224] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[11/224] Compiling ExtrasJSON JSONError+DecodingError.swift
[12/224] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[13/224] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[14/224] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[15/230] Emitting module ExtrasJSON
[16/230] Emitting module _NIODataStructures
[17/230] Compiling RealModule Real.swift
[18/231] Compiling RealModule Float80+Real.swift
[19/231] Compiling RealModule Float16+Real.swift
[20/231] Compiling RealModule ElementaryFunctions.swift
[21/231] Compiling RealModule Float+Real.swift
[22/231] Compiling RealModule RealFunctions.swift
[23/231] Emitting module RealModule
[24/231] Compiling OrderedCollections OrderedSet+Hashable.swift
[25/231] Compiling OrderedCollections OrderedSet+Initializers.swift
[26/231] Compiling OrderedCollections OrderedSet+Insertions.swift
[27/231] Compiling OrderedCollections OrderedSet+Invariants.swift
[28/231] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[29/231] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[30/231] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[31/231] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[32/231] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[33/231] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[34/231] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[35/231] Compiling OrderedCollections OrderedSet+SubSequence.swift
[38/231] Compiling ExtrasJSON ArrayKey.swift
[39/231] Compiling ExtrasJSON JSONDecoder.swift
[41/232] Compiling _NIODataStructures _TinyArray.swift
[43/233] Compiling _NIOBase64 Base64.swift
[44/233] Emitting module _NIOBase64
[45/233] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[46/233] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[47/233] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[48/233] Compiling OrderedCollections OrderedSet+Diffing.swift
[49/233] Compiling OrderedCollections OrderedSet+Equatable.swift
[50/233] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[51/233] Compiling _NIODataStructures Heap.swift
[52/234] Compiling OrderedCollections _Hashtable+Header.swift
[53/234] Compiling OrderedCollections OrderedDictionary+Codable.swift
[54/234] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[55/234] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[56/234] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[57/234] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[58/234] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[59/234] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[60/234] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[61/234] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[62/234] Compiling OrderedCollections OrderedDictionary+Values.swift
[63/234] Compiling OrderedCollections OrderedDictionary.swift
[64/234] Compiling OrderedCollections OrderedSet+Codable.swift
[66/234] Compiling ExtrasJSON JSONValue.swift
[67/235] Compiling Logging LogHandler.swift
[73/235] Compiling Logging MetadataProvider.swift
[74/235] Emitting module Logging
[75/235] Compiling Logging Locks.swift
[76/235] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[78/237] Compiling ExtrasJSON DocumentReader.swift
[79/238] Compiling _NIODataStructures PriorityQueue.swift
[81/240] Compiling ExtrasJSON JSONParser.swift
[85/255] Compiling ExtrasBase64 DecodingError.swift
[85/255] Compiling CNIOLinux shim.c
[86/255] Compiling CNIOLinux liburing_shims.c
[86/255] Compiling CNIODarwin shim.c
[86/255] Compiling c-nioatomics.c
[86/255] Compiling mongoc-write-concern.c
[86/255] Compiling mongoc-write-command.c
[92/261] Compiling DequeModule Deque+CustomDebugStringConvertible.swift
[93/261] Compiling DequeModule Deque+CustomReflectable.swift
[94/261] Compiling DequeModule Deque+CustomStringConvertible.swift
[95/263] Compiling DequeModule Deque.swift
[96/263] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[97/263] Compiling DequeModule Compatibility.swift
[98/263] Compiling DequeModule Deque+Codable.swift
[99/263] Compiling DequeModule Deque+Collection.swift
[103/263] Compiling DequeModule Deque+Hashable.swift
[104/280] Compiling Algorithms Indexed.swift
[105/280] Compiling Algorithms Intersperse.swift
[105/307] Compiling mongoc-write-command-legacy.c
[107/307] Compiling Atomics AtomicBool.swift
[108/307] Compiling Atomics UnsafeAtomic.swift
[109/307] Compiling Atomics AtomicValue.swift
[110/307] Compiling Atomics AtomicMemoryOrderings.swift
[111/307] Compiling Atomics DoubleWord.swift
[112/307] Compiling ExtrasBase64 Base64.swift
[113/307] Compiling Logging Logging.swift
[114/308] Compiling OrderedCollections OrderedSet+Testing.swift
[115/308] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[116/308] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[117/308] Compiling OrderedCollections OrderedSet.swift
[118/308] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[119/308] Compiling OrderedCollections _UnsafeBitset.swift
[119/308] Compiling mongoc-version-functions.c
[121/309] Compiling c-atomics.c
[123/309] Emitting module OrderedCollections
[126/311] Compiling mongoc-util.c
[128/313] Compiling Atomics ManagedAtomic.swift
[129/313] Compiling Atomics ManagedAtomicLazyReference.swift
[131/313] Compiling Atomics UnsafeAtomicLazyReference.swift
[133/319] Compiling Atomics IntegerOperations.swift
[135/319] Compiling mongoc-ts-pool.c
[137/319] Compiling Algorithms Compacted.swift
[138/319] Compiling Algorithms Cycle.swift
[139/319] Compiling Algorithms EitherSequence.swift
[141/319] Compiling Atomics Unmanaged extensions.swift
[142/319] Compiling Atomics OptionalRawRepresentable.swift
[143/319] Compiling Atomics RawRepresentable.swift
[144/319] Compiling NIOConcurrencyHelpers NIOLock.swift
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-topology.c:1316:14: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat]
             (expire_at - loop_start) / 1000);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-trace-private.h:42:22: note: expanded from macro 'TRACE'
                     __VA_ARGS__);           \
                     ^~~~~~~~~~~
1 warning generated.
[144/319] Compiling mongoc-topology.c
[146/319] Emitting module NIOConcurrencyHelpers
[147/319] Compiling NIOConcurrencyHelpers lock.swift
[148/319] Emitting module DequeModule
[149/319] Compiling Atomics AtomicReference.swift
[150/319] Compiling Atomics AtomicStorage.swift
[152/320] Compiling mongoc-topology-scanner.c
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-uri.c:1831:64: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
         error, "Unsupported wtimeoutMS value [w=%" "lld" "]", wtimeoutms);
                                                 ~~~~~~~       ^~~~~~~~~~
                                                 %ld
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-uri.c:66:20: note: expanded from macro 'MONGOC_URI_ERROR'
                   __VA_ARGS__);
                   ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-uri.c:2575:26: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
                         retval);
                         ^~~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-log.h:39:61: note: expanded from macro 'MONGOC_WARNING'
   mongoc_log (MONGOC_LOG_LEVEL_WARNING, MONGOC_LOG_DOMAIN, __VA_ARGS__)
                                                            ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-uri.c:2863:26: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
                         value,
                         ^~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC_mongoc-log.h:39:61: note: expanded from macro 'MONGOC_WARNING'
   mongoc_log (MONGOC_LOG_LEVEL_WARNING, MONGOC_LOG_DOMAIN, __VA_ARGS__)
                                                            ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-uri.c:2917:28: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
                           value);
                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-uri.c:66:20: note: expanded from macro 'MONGOC_URI_ERROR'
                   __VA_ARGS__);
                   ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-uri.c:2928:25: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
                        value);
                        ^~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-uri.c:66:20: note: expanded from macro 'MONGOC_URI_ERROR'
                   __VA_ARGS__);
                   ^~~~~~~~~~~
5 warnings generated.
[154/321] Compiling mongoc-uri.c
[155/321] Compiling mongoc-topology-description-apm.c
[156/321] Compiling mongoc-timeout.c
[160/321] Compiling Algorithms Suffix.swift
[161/321] Compiling NIOConcurrencyHelpers NIOAtomic.swift
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-topology-description.c:640:23: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
                      max_staleness_seconds,
                      ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-topology-description.c:641:23: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
                      td->heartbeat_msec,
                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-topology-description.c:652:23: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
                      max_staleness_seconds,
                      ^~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
[161/321] Compiling mongoc-topology-description.c
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-topology-background-monitoring.c:63:17: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
                sleep_duration_ms);
                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-trace-private.h:42:22: note: expanded from macro 'TRACE'
                     __VA_ARGS__);           \
                     ^~~~~~~~~~~
1 warning generated.
[162/324] Compiling mongoc-topology-background-monitoring.c
[163/324] Compiling mongoc-stream-tls-secure-transport.c
[165/324] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[166/324] Compiling NIOConcurrencyHelpers atomics.swift
[167/326] Compiling mongoc-stream-tls-secure-channel.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-stream-tls.c:33:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-openssl-private.h:23:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[169/328] Compiling mongoc-stream-tls.c
[169/328] Compiling mongoc-cluster-cyrus.c
[169/328] Compiling mongoc-stream-tls-openssl.c
[169/328] Compiling bson-iso8601.c
[169/328] Compiling bson-error.c
[169/328] Compiling bson-decimal128.c
[169/328] Compiling bson-context.c
[169/328] Compiling bson-clock.c
[169/328] Compiling mongoc-async-cmd.c
[169/328] Compiling mongoc-stream.c
[0/1] Planning build
Building for debugging...
[0/120] Compiling mongoc-stream-tls-libressl.c
In file included from /host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-stream-tls.c:33:
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-openssl-private.h:23:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[1/120] Compiling mongoc-stream-tls.c
[1/120] Compiling mongoc-stream-gridfs.c
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-stream-tls-openssl.c:25:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~
[1/120] Compiling mongoc-stream-tls-openssl.c
[1/120] Compiling mongoc-stream-socket.c
[1/120] Compiling mongoc-stream.c
[1/120] Compiling mongoc-stream-gridfs-upload.c
[1/120] Compiling mongoc-stream-tls-openssl-bio.c
BUILD FAILURE 5.7 linux

Build Machine: Linux 2