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: 1.2.2
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
 * tag               1.2.2      -> FETCH_HEAD
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 1.2.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/mongodb/mongo-swift-driver.git
Fetching https://github.com/vapor/fluent-kit.git
[1/11292] Fetching fluent-kit
[11293/51189] Fetching fluent-kit, mongo-swift-driver
Fetched https://github.com/vapor/fluent-kit.git (5.39s)
Fetched https://github.com/mongodb/mongo-swift-driver.git (5.46s)
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.35s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio
[1/3384] Fetching swift-bson
[205/4947] Fetching swift-bson, swift-atomics
Fetched https://github.com/apple/swift-atomics (0.55s)
Fetching https://github.com/Quick/Nimble.git
[1/63738] Fetching swift-nio
[21672/80515] Fetching swift-nio, nimble
Fetched https://github.com/Quick/Nimble.git (1.54s)
[59277/63738] Fetching swift-nio
Fetched https://github.com/mongodb/swift-bson (4.96s)
Fetched https://github.com/apple/swift-nio (5.03s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (0.36s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
[1/4513] Fetching sql-kit
[724/6848] Fetching sql-kit, async-kit
[5116/10003] Fetching sql-kit, async-kit, swift-log
Fetched https://github.com/vapor/async-kit.git (0.42s)
Fetched https://github.com/vapor/sql-kit.git (0.42s)
Fetched https://github.com/apple/swift-log.git (0.42s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.31s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/1049] Fetching swift-extras-json
[1019/1673] Fetching swift-extras-json, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-base64 (0.30s)
Fetched https://github.com/swift-extras/swift-extras-json (0.30s)
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.30s)
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.31s)
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.33s)
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.35s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/5150] Fetching swift-algorithms
[156/17734] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git (1.06s)
Fetched https://github.com/apple/swift-collections.git (1.08s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.33s)
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.43s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.62.0 (0.44s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.33s)
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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.19.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/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/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/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/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/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/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-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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.62.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
Building for debugging...
/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.
[0/144] Compiling _NumericsShims _NumericsShims.c
[1/144] Compiling CNIOWindows shim.c
[2/144] Compiling _AtomicsShims.c
[2/144] Compiling CNIOWindows WSAStartup.c
[5/223] Emitting module RealModule
[6/224] Compiling RealModule Real.swift
[7/224] Compiling RealModule RealFunctions.swift
[8/224] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[9/224] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[10/225] Emitting module ExtrasJSON
[11/225] Emitting module Logging
[12/225] Compiling ExtrasJSON JSONUnkeyedDecodingContainer.swift
[13/225] Compiling ExtrasJSON JSONEncoder.swift
[14/225] Compiling ExtrasJSON JSONKeyedDecodingContainer.swift
[15/225] Compiling ExtrasJSON JSONSingleValueDecodingContainer.swift
[16/225] Compiling ExtrasJSON ArrayKey.swift
[17/225] Compiling ExtrasJSON JSONDecoder.swift
[18/225] Compiling Logging Locks.swift
[19/225] Compiling Logging MetadataProvider.swift
[20/225] Compiling RealModule ElementaryFunctions.swift
[21/225] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[22/225] Compiling ExtrasJSON JSONError+DecodingError.swift
[23/225] Emitting module _NIODataStructures
[24/227] Compiling _NIODataStructures Heap.swift
[25/227] Compiling _NIODataStructures PriorityQueue.swift
[26/227] Compiling _NIODataStructures _TinyArray.swift
[27/229] Compiling RealModule Float16+Real.swift
[28/229] Compiling RealModule Float+Real.swift
[29/229] Compiling RealModule Float80+Real.swift
[38/233] Compiling ExtrasBase64 DecodingError.swift
[39/233] Compiling OrderedCollections OrderedSet+Hashable.swift
[40/233] Compiling OrderedCollections OrderedSet+Initializers.swift
[41/233] Compiling OrderedCollections OrderedSet+Insertions.swift
[42/233] Compiling OrderedCollections OrderedSet+Invariants.swift
[43/233] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[44/233] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[45/233] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[46/233] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[47/233] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[48/233] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[49/233] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[50/233] Compiling OrderedCollections OrderedSet+SubSequence.swift
[51/239] Emitting module _NIOBase64
[52/239] Compiling _NIOBase64 Base64.swift
[53/240] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[54/240] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[55/240] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[56/240] Compiling OrderedCollections OrderedSet+Diffing.swift
[57/240] Compiling OrderedCollections OrderedSet+Equatable.swift
[58/240] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[60/241] Compiling ExtrasJSON JSONValue.swift
[61/241] Compiling ExtrasJSON DocumentReader.swift
[63/241] Compiling ExtrasJSON JSONParser.swift
[64/242] Compiling OrderedCollections OrderedDictionary+Elements.swift
[65/242] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[66/242] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[67/242] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[68/242] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[69/242] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[73/242] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[74/242] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[75/242] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[76/242] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[77/242] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[78/242] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[79/242] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[80/242] Compiling OrderedCollections OrderedDictionary+Values.swift
[81/242] Compiling OrderedCollections OrderedDictionary.swift
[82/242] Compiling OrderedCollections OrderedSet+Codable.swift
[84/261] Compiling CNIOLinux shim.c
[85/261] Compiling CNIOLinux liburing_shims.c
[86/261] Compiling CNIODarwin shim.c
[87/261] Compiling c-nioatomics.c
[88/261] Compiling mongoc-write-concern.c
[90/280] Compiling Logging LogHandler.swift
[91/280] Compiling Logging Logging.swift
[93/282] Compiling Atomics OptionalRawRepresentable.swift
[94/282] Compiling Atomics RawRepresentable.swift
[95/282] Compiling Atomics AtomicBool.swift
[96/282] Compiling Atomics IntegerConformances.swift
[97/282] Compiling Atomics PointerConformances.swift
[98/282] Compiling Atomics Primitives.native.swift
[99/282] Compiling Atomics Primitives.shims.swift
[101/307] Compiling Algorithms Partition.swift
[102/307] Compiling Algorithms Permutations.swift
[103/309] Compiling Algorithms Intersperse.swift
[104/309] Compiling Algorithms Joined.swift
[105/309] Compiling Algorithms MinMax.swift
[108/309] Compiling DequeModule _DequeSlot.swift
[109/311] Compiling Algorithms Combinations.swift
[110/311] Compiling Algorithms Compacted.swift
[111/311] Compiling Algorithms Cycle.swift
[113/311] Compiling Algorithms Keyed.swift
[113/311] Compiling mongoc-write-command-legacy.c
[115/311] Emitting module OrderedCollections
[115/311] Compiling mongoc-write-command.c
[118/311] Compiling Atomics IntegerOperations.swift
[118/311] Compiling mongoc-version-functions.c
[121/311] Compiling Atomics Unmanaged extensions.swift
[121/311] Compiling c-atomics.c
[123/311] Compiling Algorithms Grouped.swift
[124/311] Compiling Algorithms Indexed.swift
[125/311] Compiling mongoc-util.c
[126/311] Compiling mongoc-ts-pool.c
[128/315] Compiling Algorithms Split.swift
[129/315] Compiling Algorithms Stride.swift
[130/315] Compiling Algorithms Suffix.swift
[131/320] Compiling Algorithms AdjacentPairs.swift
[132/320] Compiling Algorithms Chain.swift
[133/320] Compiling Algorithms Chunked.swift
[134/320] Emitting module DequeModule
[135/320] Compiling OrderedCollections OrderedSet+Testing.swift
[136/320] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[137/320] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[138/320] Compiling OrderedCollections OrderedSet.swift
[139/320] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[140/320] Compiling OrderedCollections _UnsafeBitset.swift
[143/321] Compiling Algorithms EitherSequence.swift
[144/321] Compiling Algorithms FirstNonNil.swift
[145/321] Compiling Algorithms FlattenCollection.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.
[151/324] Compiling mongoc-topology.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.
[152/324] Compiling mongoc-uri.c
[156/324] Compiling Algorithms Rotate.swift
[157/324] Compiling NIOConcurrencyHelpers NIOLock.swift
[158/324] Compiling NIOConcurrencyHelpers lock.swift
[158/324] Compiling mongoc-topology-scanner.c
/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.
[159/324] Compiling mongoc-topology-description.c
[163/324] Compiling mongoc-topology-description-apm.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.
[171/324] Compiling Algorithms Trim.swift
[172/324] Compiling Algorithms Unique.swift
[173/324] Compiling Algorithms Windows.swift
[173/324] Compiling mongoc-topology-background-monitoring.c
[175/324] Emitting module NIOConcurrencyHelpers
[176/324] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[177/324] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[178/324] Compiling NIOConcurrencyHelpers atomics.swift
[178/325] Compiling mongoc-timeout.c
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/mongoc/mongoc-stream.c:472:23: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
                      (int64_t) total_bytes,
                      ^~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[181/326] Compiling mongoc-stream.c
[188/326] Compiling mongoc-stream-tls-secure-transport.c
[189/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.
[190/326] Compiling mongoc-stream-tls.c
[190/326] Compiling bson-string.c
[190/326] Compiling bson-json.c
[190/326] Compiling bson-iter.c
[190/326] Compiling bson-iso8601.c
[190/326] Compiling bson-error.c
[190/326] Compiling bson-decimal128.c
[190/326] Compiling bson-context.c
[190/326] Compiling mongoc-stream-tls-openssl.c
[0/1] Planning build
Building for debugging...
[0/139] Compiling _AtomicsShims.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/139] Compiling mongoc-stream-tls.c
[1/139] Compiling mongoc-stream-tls-libressl.c
[1/139] Compiling CNIOLinux shim.c
[1/139] Compiling mongoc-stream-tls-openssl-bio.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/139] Compiling mongoc-stream-tls-openssl.c
[1/139] Compiling mongoc-stream-gridfs.c
[1/139] Compiling mongoc-stream-gridfs-upload.c
[1/139] Compiling mongoc-stream-socket.c
BUILD FAILURE 5.7 linux

Build Machine: Linux 2