This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build mongo-swift-driver with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mongodb/mongo-swift-driver.git
Reference: v1.3.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/mongodb/mongo-swift-driver
 * tag               v1.3.1     -> FETCH_HEAD
HEAD is now at cd8618a 1.3.1
Cloned https://github.com/mongodb/mongo-swift-driver.git
Revision (git rev-parse @):
cd8618a10f89b72bad6edb1066a8fb60df57811b
SUCCESS checkout https://github.com/mongodb/mongo-swift-driver.git at v1.3.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio
[1/1545] Fetching swift-atomics
[527/4929] Fetching swift-atomics, swift-bson
[4930/68479] Fetching swift-atomics, swift-bson, swift-nio
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/apple/swift-atomics (4.23s)
Fetched https://github.com/mongodb/swift-bson (4.24s)
Fetched https://github.com/apple/swift-nio (4.31s)
[1/16726] Fetching nimble
Fetched https://github.com/Quick/Nimble.git (1.61s)
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/1049] Fetching swift-extras-json
[1050/1673] Fetching swift-extras-json, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-base64 (0.26s)
Fetched https://github.com/swift-extras/swift-extras-json (0.26s)
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.31s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.34s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.62.0 (0.43s)
Fetching https://github.com/apple/swift-collections.git
[1/12393] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (0.94s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (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/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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
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
Building for debugging...
[0/159] Compiling bson-error.c
[1/159] Compiling bson-decimal128.c
[1/159] Compiling bson-context.c
[3/159] Compiling bson-reader.c
/host/spi-builder-workspace/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.
[4/159] Compiling _AtomicsShims.c
[5/159] Compiling bson-iso8601.c
[6/159] Compiling CNIOWindows shim.c
[7/159] Compiling CNIOWindows WSAStartup.c
[8/159] Compiling CNIOLinux liburing_shims.c
[9/159] Compiling CNIODarwin shim.c
[9/159] Compiling mongoc-linux-distro-scanner.c
[11/159] Compiling CNIOLinux shim.c
[12/159] Compiling mongoc-version-functions.c
[13/159] Compiling mongoc-write-concern.c
[14/159] Compiling mongoc-write-command-legacy.c
[15/159] Compiling mongoc-util.c
[16/159] Compiling mongoc-write-command.c
/host/spi-builder-workspace/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/Sources/CLibMongoC/mongoc/mongoc-uri.c:66:20: note: expanded from macro 'MONGOC_URI_ERROR'
                   __VA_ARGS__);
                   ^~~~~~~~~~~
/host/spi-builder-workspace/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/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/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/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/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/Sources/CLibMongoC/mongoc/mongoc-uri.c:66:20: note: expanded from macro 'MONGOC_URI_ERROR'
                   __VA_ARGS__);
                   ^~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/CLibMongoC/mongoc/mongoc-uri.c:66:20: note: expanded from macro 'MONGOC_URI_ERROR'
                   __VA_ARGS__);
                   ^~~~~~~~~~~
5 warnings generated.
[17/215] Compiling mongoc-uri.c
[18/247] Compiling c-nioatomics.c
[19/266] Compiling c-atomics.c
[20/266] Compiling mongoc-ts-pool.c
[22/272] Compiling Atomics UnsafeAtomic.swift
[23/272] Compiling Atomics UnsafeAtomicLazyReference.swift
[24/274] Compiling Atomics ManagedAtomic.swift
[25/274] Compiling Atomics ManagedAtomicLazyReference.swift
[26/274] Emitting module ExtrasJSON
[27/274] Compiling Atomics AtomicMemoryOrderings.swift
[28/274] Compiling Atomics DoubleWord.swift
[29/275] Compiling ExtrasBase64 DecodingError.swift
[30/275] Compiling Atomics OptionalRawRepresentable.swift
[31/275] Compiling Atomics RawRepresentable.swift
[32/275] Compiling Atomics AtomicBool.swift
[35/275] Compiling Atomics IntegerConformances.swift
[36/275] Compiling Atomics PointerConformances.swift
[37/275] Compiling Atomics Primitives.native.swift
[39/275] Compiling Atomics AtomicReference.swift
[40/275] Compiling Atomics AtomicStorage.swift
[45/277] Emitting module DequeModule
[48/277] Compiling Atomics AtomicValue.swift
[49/277] Compiling Atomics Primitives.shims.swift
[50/277] Compiling Atomics AtomicInteger.swift
[51/277] Compiling Atomics AtomicOptionalWrappable.swift
[56/277] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[57/277] Compiling _NIOBase64 Base64.swift
[58/277] Emitting module _NIOBase64
[62/278] Compiling ExtrasJSON DocumentReader.swift
[63/278] Compiling ExtrasJSON JSONValue.swift
[68/279] Compiling _NIODataStructures PriorityQueue.swift
[69/279] Compiling _NIODataStructures _TinyArray.swift
[70/279] Compiling DequeModule _UnsafeWrappedBuffer.swift
[71/279] Compiling Atomics Unmanaged extensions.swift
[72/279] Compiling DequeModule _DequeSlot.swift
[76/281] Compiling ExtrasJSON JSONParser.swift
[76/281] Wrapping AST for _NIOBase64 for debugging
/host/spi-builder-workspace/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/Sources/CLibMongoC/mongoc/mongoc-trace-private.h:42:22: note: expanded from macro 'TRACE'
                     __VA_ARGS__);           \
                     ^~~~~~~~~~~
1 warning generated.
[77/282] Compiling mongoc-topology.c
[79/282] Emitting module NIOConcurrencyHelpers
[80/282] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[80/282] Wrapping AST for DequeModule for debugging
[83/283] Compiling mongoc-topology-description-apm.c
[84/283] Wrapping AST for ExtrasJSON for debugging
/host/spi-builder-workspace/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/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/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.
[88/283] Compiling mongoc-topology-description.c
[90/283] Compiling Nimble HaveCount.swift
[91/283] Compiling Nimble Match.swift
[92/283] Compiling Nimble MatchError.swift
[93/283] Compiling Nimble MatcherFunc.swift
[94/283] Compiling Nimble MatcherProtocols.swift
[95/283] Compiling Nimble PostNotification.swift
[96/283] Compiling Nimble BeGreaterThanOrEqualTo.swift
[97/283] Compiling Nimble BeIdenticalTo.swift
[98/283] Compiling Nimble BeLessThan.swift
[99/283] Compiling Nimble BeLessThanOrEqual.swift
[100/283] Compiling Nimble BeLogical.swift
[101/283] Compiling Nimble BeNil.swift
[102/283] Compiling Nimble BeVoid.swift
[102/289] Compiling mongoc-topology-scanner.c
[104/289] Compiling Nimble BeginWith.swift
[105/289] Compiling Nimble Contain.swift
[106/289] Compiling Nimble ContainElementSatisfying.swift
[107/289] Compiling Nimble ElementsEqual.swift
[108/289] Compiling Nimble EndWith.swift
[109/289] Compiling Nimble Equal.swift
[110/289] Compiling Nimble Predicate.swift
[111/289] Compiling Nimble RaisesException.swift
[112/289] Compiling Nimble SatisfyAllOf.swift
[113/289] Compiling Nimble SatisfyAnyOf.swift
[114/289] Compiling Nimble ThrowAssertion.swift
[115/289] Compiling Nimble ThrowError.swift
[122/289] Compiling Nimble BeGreaterThan.swift
[130/289] Emitting module Nimble
[138/289] Compiling NIOConcurrencyHelpers lock.swift
[145/289] Emitting module _NIODataStructures
[146/289] Compiling _NIODataStructures Heap.swift
[146/290] Compiling mongoc-timeout.c
[148/290] Emitting module Atomics
/host/spi-builder-workspace/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/Sources/CLibMongoC/mongoc/mongoc-trace-private.h:42:22: note: expanded from macro 'TRACE'
                     __VA_ARGS__);           \
                     ^~~~~~~~~~~
1 warning generated.
[150/292] Compiling mongoc-topology-background-monitoring.c
/host/spi-builder-workspace/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.
[153/293] Compiling mongoc-stream.c
[154/293] Compiling mongoc-stream-tls-secure-transport.c
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls.c:33:
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-openssl-private.h:23:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[155/293] Compiling mongoc-stream-tls.c
[155/293] Compiling mongoc-stream-tls-secure-channel.c
[155/293] Compiling mongoc-stream-tls-openssl.c
[155/293] Compiling mongoc-stream-tls-openssl-bio.c
[0/1] Planning build
Building for debugging...
[0/130] Compiling mongoc-stream-tls-secure-channel.c
[1/130] Compiling mongoc-stream-tls-libressl.c
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-openssl.c:25:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[2/130] Compiling mongoc-stream-tls-openssl.c
[2/130] Compiling mongoc-stream-gridfs-download.c
[2/130] Compiling mongoc-stream-socket.c
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls.c:33:
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-openssl-private.h:23:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[2/130] Compiling mongoc-stream-tls.c
[2/130] Compiling mongoc-stream-gridfs-upload.c
[2/130] Compiling mongoc-stream-gridfs.c
In file included from /host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-openssl-bio.c:31:
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-stream-tls-openssl-bio-private.h:25:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[2/130] Compiling mongoc-stream-tls-openssl-bio.c
BUILD FAILURE 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.