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.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1f62248 Swift halt development announcement (#782)
Cloned https://github.com/mongodb/mongo-swift-driver.git
Revision (git rev-parse @):
1f62248482bccd5a0f67c46793828674f9057d9d
SUCCESS checkout https://github.com/mongodb/mongo-swift-driver.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-atomics
[1/3384] Fetching swift-bson
[374/4929] Fetching swift-bson, swift-atomics
[4930/68479] Fetching swift-bson, swift-atomics, swift-nio
Fetching https://github.com/Quick/Nimble
Fetched https://github.com/apple/swift-atomics (4.45s)
Fetched https://github.com/mongodb/swift-bson (4.45s)
Fetched https://github.com/apple/swift-nio (4.52s)
[1/16726] Fetching nimble
Fetched https://github.com/Quick/Nimble (1.26s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.38s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/624] Fetching swift-extras-base64
[625/1673] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-base64 (0.25s)
Fetched https://github.com/swift-extras/swift-extras-json (0.25s)
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.35s)
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.34s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.34s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.37s)
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.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.40s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
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/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/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-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-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Building for debugging...
[0/159] Compiling CNIOWindows WSAStartup.c
[1/159] Compiling _AtomicsShims.c
[2/159] Compiling CNIOWindows shim.c
[3/159] Compiling CNIOLinux liburing_shims.c
[4/159] Compiling CNIODarwin shim.c
[5/159] Compiling CNIOLinux shim.c
[6/159] Compiling mongoc-version-functions.c
[7/159] Compiling mongoc-write-concern.c
[8/159] Compiling mongoc-write-command-legacy.c
[9/159] Compiling mongoc-util.c
[10/163] 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.
[11/229] Compiling mongoc-uri.c
[13/229] Emitting module _NIOBase64
[14/247] Emitting module ExtrasJSON
[14/248] Compiling c-nioatomics.c
[15/267] Compiling c-atomics.c
[16/267] Compiling mongoc-ts-pool.c
[18/273] Compiling Atomics DoubleWord.swift
[19/273] Compiling Atomics UnsafeAtomic.swift
[20/275] Emitting module DequeModule
[21/275] Compiling Atomics IntegerConformances.swift
[22/275] Compiling Atomics PointerConformances.swift
[23/275] Compiling Atomics Primitives.native.swift
[24/275] Compiling Atomics ManagedAtomic.swift
[25/275] Compiling Atomics ManagedAtomicLazyReference.swift
[26/275] Compiling Atomics AtomicReference.swift
[27/275] Compiling Atomics AtomicStorage.swift
[28/275] Compiling Atomics AtomicValue.swift
[30/275] Compiling DequeModule _DequeSlot.swift
[31/275] Compiling Atomics OptionalRawRepresentable.swift
[32/275] Compiling Atomics RawRepresentable.swift
[33/275] Compiling Atomics AtomicBool.swift
[35/275] Compiling Atomics AtomicMemoryOrderings.swift
[36/275] Compiling Atomics Primitives.shims.swift
[37/275] Compiling Atomics AtomicInteger.swift
[38/275] Compiling Atomics AtomicOptionalWrappable.swift
[56/277] Compiling ExtrasBase64 DecodingError.swift
[59/277] Compiling ExtrasJSON JSONParser.swift
[60/277] Compiling _NIOBase64 Base64.swift
[61/278] Compiling ExtrasJSON JSONValue.swift
[62/278] Compiling ExtrasJSON DocumentReader.swift
[63/279] Compiling _NIODataStructures PriorityQueue.swift
[64/279] Compiling _NIODataStructures _TinyArray.swift
[68/281] Compiling Atomics IntegerOperations.swift
[69/281] Compiling Atomics Unmanaged extensions.swift
[73/281] Emitting module NIOConcurrencyHelpers
[75/283] Wrapping AST for _NIOBase64 for debugging
[76/283] Wrapping AST for ExtrasJSON for debugging
/host/spi-builder-workspace/Sources/CLibMongoC/mongoc/mongoc-topology.c:1320: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/283] Compiling mongoc-topology.c
[78/283] Compiling mongoc-topology-scanner.c
/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.
[79/283] Compiling mongoc-topology-description.c
[80/283] Compiling mongoc-topology-description-apm.c
[81/283] Compiling mongoc-timeout.c
/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.
[82/283] Compiling mongoc-topology-background-monitoring.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.
[83/283] Compiling mongoc-stream-tls.c
[83/283] Compiling mongoc-stream.c
[84/283] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[85/283] Emitting module _NIODataStructures
[89/283] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[0/1] Planning build
Building for debugging...
[0/138] Compiling mongoc-stream-tls-secure-transport.c
[1/138] Compiling mongoc-stream-tls-libressl.c
[1/138] Compiling mongoc-stream-tls-secure-channel.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.
[3/138] Compiling mongoc-stream-tls.c
[3/138] Compiling mongoc-stream-socket.c
[3/138] Compiling mongoc-stream-gridfs.c
[3/138] Compiling mongoc-stream-tls-openssl-bio.c
[3/138] Compiling mongoc-stream-gridfs-upload.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>
         ^~~~~~~~~~~~~~~
[3/138] Compiling mongoc-stream-tls-openssl.c
[3/138] Compiling mongoc-stream.c
BUILD FAILURE 5.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.