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-0":/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: 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.8
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.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/3384] Fetching swift-bson
[272/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.06s)
Fetched https://github.com/mongodb/swift-bson (4.06s)
Fetched https://github.com/apple/swift-nio (4.14s)
[1/16726] Fetching nimble
Fetched https://github.com/Quick/Nimble (1.64s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.36s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/1049] Fetching swift-extras-json
[778/1673] Fetching swift-extras-json, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-json (0.31s)
Fetched https://github.com/swift-extras/swift-extras-base64 (0.31s)
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.33s)
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.34s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.33s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.62.0 (0.65s)
Fetching https://github.com/apple/swift-collections.git
[1/12393] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.66s)
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/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-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
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/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Building for debugging...
[0/159] Compiling CNIOWindows shim.c
[0/159] Compiling _AtomicsShims.c
[2/159] Compiling CNIOLinux liburing_shims.c
[3/159] Compiling CNIOWindows WSAStartup.c
[4/159] Compiling bson-clock.c
[5/159] Compiling CNIODarwin shim.c
[6/159] Compiling CNIOLinux shim.c
[7/159] Compiling mongoc-write-concern.c
[8/159] Compiling mongoc-write-command-legacy.c
[9/159] Compiling mongoc-version-functions.c
[10/159] Compiling mongoc-ts-pool.c
[11/159] Compiling mongoc-write-command.c
[12/163] Compiling mongoc-util.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.
[13/225] Compiling mongoc-uri.c
[15/247] Emitting module Nimble
[16/253] Emitting module DequeModule
[16/255] Compiling c-atomics.c
[17/255] Compiling c-nioatomics.c
/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.
[18/274] Compiling mongoc-topology.c
[20/280] Compiling Atomics IntegerConformances.swift
[21/280] Compiling Atomics PointerConformances.swift
[22/280] Compiling Atomics AtomicMemoryOrderings.swift
[23/280] Compiling Atomics DoubleWord.swift
[24/280] Compiling Atomics OptionalRawRepresentable.swift
[25/280] Compiling Atomics RawRepresentable.swift
[26/280] Compiling Atomics AtomicBool.swift
[27/280] Emitting module Atomics
[28/282] Compiling Atomics Primitives.native.swift
[29/282] Compiling Atomics IntegerOperations.swift
[31/282] Compiling Atomics ManagedAtomic.swift
[32/282] Compiling Atomics ManagedAtomicLazyReference.swift
[33/282] Compiling Atomics Primitives.shims.swift
[34/283] Compiling ExtrasBase64 DecodingError.swift
[37/283] Compiling Atomics AtomicReference.swift
[38/283] Compiling Atomics AtomicStorage.swift
[39/283] Compiling Atomics AtomicValue.swift
[40/283] Emitting module ExtrasJSON
[46/283] Compiling Atomics UnsafeAtomicLazyReference.swift
[48/283] Compiling Atomics AtomicInteger.swift
[49/283] Compiling Atomics AtomicOptionalWrappable.swift
[50/283] Compiling Atomics UnsafeAtomic.swift
[53/284] Compiling ExtrasBase64 Base64.swift
[55/285] Compiling _NIOBase64 Base64.swift
[56/285] Emitting module _NIOBase64
[66/286] Compiling ExtrasJSON JSONValue.swift
[67/286] Compiling ExtrasJSON DocumentReader.swift
[68/286] Compiling _NIODataStructures _TinyArray.swift
[69/286] Compiling _NIODataStructures PriorityQueue.swift
[82/287] Compiling Atomics Unmanaged extensions.swift
[85/289] Compiling ExtrasJSON JSONParser.swift
[85/290] Wrapping AST for _NIOBase64 for debugging
[88/291] Wrapping AST for DequeModule for debugging
[89/291] Compiling mongoc-topology-scanner.c
[90/291] Compiling mongoc-topology-description-apm.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.
[91/291] Compiling mongoc-topology-description.c
[92/291] Wrapping AST for ExtrasJSON for debugging
/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.
[99/291] Compiling mongoc-topology-background-monitoring.c
[101/291] Compiling Nimble HaveCount.swift
[102/291] Compiling Nimble Match.swift
[103/291] Compiling Nimble MatchError.swift
[104/291] Compiling Nimble MatcherFunc.swift
[105/291] Compiling Nimble MatcherProtocols.swift
[106/291] Compiling Nimble PostNotification.swift
[107/291] Emitting module ExtrasBase64
[108/291] Compiling Nimble AllPass.swift
[109/291] Compiling Nimble Async.swift
[110/291] Compiling Nimble BeAKindOf.swift
[111/291] Compiling Nimble BeAnInstanceOf.swift
[112/291] Compiling Nimble BeCloseTo.swift
[113/291] Compiling Nimble BeEmpty.swift
[114/291] Compiling Nimble BeGreaterThan.swift
[115/291] Compiling Nimble BeGreaterThanOrEqualTo.swift
[116/291] Compiling Nimble BeIdenticalTo.swift
[117/291] Compiling Nimble BeLessThan.swift
[118/291] Compiling Nimble BeLessThanOrEqual.swift
[119/291] Compiling Nimble BeLogical.swift
[120/291] Compiling Nimble BeNil.swift
[121/291] Compiling Nimble BeVoid.swift
[121/291] Compiling mongoc-stream-tls-secure-transport.c
[123/291] Compiling Nimble ToSucceed.swift
[124/291] Compiling Nimble Await.swift
[125/291] Compiling Nimble Errors.swift
[126/291] Compiling Nimble Functional.swift
[127/291] Compiling Nimble SourceLocation.swift
[128/291] Compiling Nimble Stringers.swift
[136/291] Compiling _NIODataStructures Heap.swift
[137/291] Emitting module _NIODataStructures
[137/292] Compiling mongoc-stream-tls-secure-channel.c
[139/292] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[140/292] Emitting module NIOConcurrencyHelpers
[141/292] Compiling NIOConcurrencyHelpers NIOLock.swift
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.
[141/292] Compiling mongoc-stream-tls.c
[141/292] Compiling mongoc-stream-tls-openssl.c
[141/292] Compiling mongoc-stream.c
[141/292] Compiling mongoc-timeout.c
[142/292] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[0/1] Planning build
Building for debugging...
[0/136] Compiling mongoc-stream-tls-libressl.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.
[1/136] Compiling mongoc-stream-tls.c
[1/136] Compiling mongoc-stream-gridfs.c
[1/136] Compiling mongoc-timeout.c
[1/136] Compiling mongoc-stream-socket.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/136] Compiling mongoc-stream-tls-openssl.c
[1/136] Compiling mongoc-stream.c
[1/136] 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.