Build Information
Failed to build FluentMongo with Swift 5.8 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.8
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.8-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.39s)
Fetched https://github.com/mongodb/mongo-swift-driver.git (5.45s)
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.39s)
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio
[1/1563] Fetching swift-atomics
[1283/4947] Fetching swift-atomics, swift-bson
Fetched https://github.com/apple/swift-atomics (0.46s)
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/mongodb/swift-bson (0.51s)
[1/63738] Fetching swift-nio
[39519/80515] Fetching swift-nio, nimble
Fetched https://github.com/Quick/Nimble.git (1.63s)
[61826/63738] Fetching swift-nio
Fetched https://github.com/apple/swift-nio (4.39s)
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/2335] Fetching async-kit
[1706/6848] Fetching async-kit, sql-kit
[6037/10003] Fetching async-kit, sql-kit, swift-log
Fetched https://github.com/vapor/async-kit.git (0.40s)
Fetched https://github.com/vapor/sql-kit.git (0.40s)
Fetched https://github.com/apple/swift-log.git (0.41s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.35s)
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
[1/1049] Fetching swift-extras-json
[22/1673] Fetching swift-extras-json, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-base64 (0.27s)
Fetched https://github.com/swift-extras/swift-extras-json (0.28s)
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.33s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.35s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.33s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.19.0 (0.37s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/12584] Fetching swift-collections
[631/17734] Fetching swift-collections, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git (0.51s)
[4405/12584] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.35s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.35s)
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.49s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.36s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.28.0 (0.38s)
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/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/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/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.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/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/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/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/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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Building for debugging...
[0/144] Compiling bson-error.c
[1/144] Compiling bson-clock.c
[2/144] Compiling bson-version-functions.c
[3/144] Compiling bson-decimal128.c
[4/144] Compiling bson-atomic.c
[5/144] Compiling bson-context.c
[6/144] Compiling _NumericsShims _NumericsShims.c
[7/144] Compiling _AtomicsShims.c
[8/144] Compiling CNIOWindows WSAStartup.c
[9/144] Compiling CNIOWindows shim.c
[10/144] Compiling CNIODarwin shim.c
[11/144] Compiling bcon.c
[12/144] Compiling CNIOLinux liburing_shims.c
[13/144] Compiling CNIOLinux shim.c
[14/144] Compiling mongoc-write-concern.c
[15/144] Compiling mongoc-version-functions.c
[16/147] Compiling mongoc-write-command-legacy.c
[17/148] Compiling mongoc-util.c
[18/148] Compiling mongoc-write-command.c
[20/223] Emitting module RealModule
[20/224] Compiling c-nioatomics.c
[22/228] Emitting module OrderedCollections
[22/234] Compiling c-atomics.c
[24/234] Compiling RealModule RealFunctions.swift
[25/234] Compiling _NIODataStructures PriorityQueue.swift
[26/234] Compiling ExtrasBase64 DecodingError.swift
[27/234] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[28/234] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[29/234] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[30/234] Compiling OrderedCollections OrderedDictionary+Values.swift
[31/234] Compiling OrderedCollections OrderedDictionary.swift
[32/234] Compiling OrderedCollections OrderedSet+Codable.swift
[33/234] Compiling ExtrasJSON JSONKeyedDecodingContainer.swift
[34/234] Compiling ExtrasJSON JSONSingleValueDecodingContainer.swift
[35/234] Emitting module ExtrasJSON
[36/234] Compiling ExtrasJSON ArrayKey.swift
[37/234] Compiling ExtrasJSON JSONDecoder.swift
[38/234] Compiling ExtrasJSON JSONValue.swift
[39/234] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[40/234] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[41/234] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[42/234] Compiling ExtrasJSON JSONError+DecodingError.swift
[43/234] Compiling ExtrasJSON JSONUnkeyedDecodingContainer.swift
[44/234] Compiling ExtrasJSON JSONEncoder.swift
[45/235] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[46/235] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[47/235] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[48/235] Compiling OrderedCollections OrderedSet+Diffing.swift
[49/235] Compiling OrderedCollections OrderedSet+Equatable.swift
[50/235] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[51/235] Compiling OrderedCollections OrderedSet+Hashable.swift
[52/235] Compiling OrderedCollections OrderedSet+Initializers.swift
[53/235] Compiling OrderedCollections OrderedSet+Insertions.swift
[54/235] Compiling OrderedCollections OrderedSet+Invariants.swift
[55/235] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[56/235] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[57/235] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[58/235] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[59/235] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[60/235] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[61/235] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[62/235] Compiling OrderedCollections OrderedSet+SubSequence.swift
[72/235] Compiling RealModule Real.swift
[76/235] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[77/235] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[78/235] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[79/235] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[80/235] Compiling OrderedCollections OrderedDictionary+Elements.swift
[81/235] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[82/235] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[83/235] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[84/235] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[85/235] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[86/235] Compiling ExtrasJSON DocumentReader.swift
[87/236] Compiling RealModule Float80+Real.swift
[88/239] Compiling RealModule Float16+Real.swift
[89/251] Compiling _NIOBase64 Base64.swift
[90/251] Emitting module _NIOBase64
[91/253] Compiling RealModule ElementaryFunctions.swift
[92/253] Compiling DequeModule Deque+Collection.swift
[93/253] Compiling DequeModule Deque+CustomDebugStringConvertible.swift
[94/254] Compiling RealModule Float+Real.swift
[98/257] Compiling _NIODataStructures _TinyArray.swift
[100/257] Compiling DequeModule _DequeBuffer.swift
[101/257] Compiling DequeModule _DequeBufferHeader.swift
[102/259] Compiling DequeModule Deque.swift
[103/259] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[104/259] Compiling DequeModule Deque+Equatable.swift
[105/259] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[106/259] Compiling DequeModule Deque+Extras.swift
[108/259] Compiling DequeModule Deque+CustomReflectable.swift
[109/259] Compiling DequeModule Deque+CustomStringConvertible.swift
[110/259] Compiling ExtrasJSON JSONParser.swift
[112/260] Compiling OrderedCollections OrderedSet+Testing.swift
[113/260] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[114/260] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[115/260] Compiling OrderedCollections OrderedSet.swift
[116/260] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[117/260] Compiling OrderedCollections _UnsafeBitset.swift
[121/274] Compiling DequeModule Deque+Hashable.swift
[122/274] Compiling DequeModule Deque+Testing.swift
[123/275] Compiling DequeModule _DequeSlot.swift
[124/275] Compiling DequeModule _UnsafeWrappedBuffer.swift
[125/276] Compiling DequeModule Deque._Storage.swift
[126/276] Compiling DequeModule Deque._UnsafeHandle.swift
[127/288] Emitting module DequeModule
[128/288] Compiling Atomics OptionalRawRepresentable.swift
[129/288] Compiling Atomics RawRepresentable.swift
[130/288] Compiling Atomics AtomicBool.swift
[131/311] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[134/315] Compiling Algorithms MinMax.swift
[135/315] Compiling Algorithms Partition.swift
[136/315] Compiling Algorithms Permutations.swift
[137/315] Compiling Algorithms Product.swift
[138/317] Compiling Logging MetadataProvider.swift
[139/317] Compiling NIOConcurrencyHelpers NIOLock.swift
[140/317] Compiling Algorithms Grouped.swift
[141/317] Compiling Algorithms Indexed.swift
[142/317] Compiling _NIODataStructures Heap.swift
[143/317] Emitting module _NIODataStructures
[144/317] Compiling NIOConcurrencyHelpers lock.swift
[146/318] Compiling Atomics IntegerOperations.swift
[147/318] Compiling Atomics Unmanaged extensions.swift
[149/319] Compiling Algorithms Intersperse.swift
[150/319] Compiling Algorithms Joined.swift
[151/319] Compiling Algorithms Keyed.swift
[151/319] Compiling mongoc-ts-pool.c
[153/321] Emitting module Collections
[154/321] Compiling Collections Collections.swift
/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/322] Compiling mongoc-uri.c
[157/323] Emitting module NIOConcurrencyHelpers
[159/323] Compiling NIOConcurrencyHelpers NIOAtomic.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.
[159/323] Compiling mongoc-topology.c
[161/323] Compiling NIOConcurrencyHelpers atomics.swift
[162/324] Emitting module Logging
[163/324] Compiling Logging Locks.swift
[164/324] Compiling Logging LogHandler.swift
[166/325] Compiling Logging Logging.swift
[167/326] Compiling mongoc-topology-scanner.c
[169/327] Compiling mongoc-topology-description-apm.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.
[171/327] Compiling mongoc-topology-description.c
[172/327] Compiling mongoc-stream-tls-secure-transport.c
[173/327] 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.
[174/327] Compiling mongoc-stream-tls.c
[174/327] Compiling mongoc-timeout.c
[174/327] Compiling mongoc-topology-background-monitoring.c
[174/327] Compiling mongoc-stream-tls-openssl.c
[174/327] Compiling mongoc-stream.c
[0/1] Planning build
Building for debugging...
[0/138] Compiling mongoc-stream-tls-libressl.c
[1/138] 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.
[2/138] Compiling mongoc-stream-tls.c
[2/138] Compiling CNIOLinux shim.c
[2/138] Compiling mongoc-timeout.c
[2/138] Compiling mongoc-stream-tls-openssl-bio.c
[2/138] Compiling mongoc-topology-background-monitoring.c
[2/138] Compiling mongoc-stream.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>
^~~~~~~~~~~~~~~
[2/138] Compiling mongoc-stream-tls-openssl.c
BUILD FAILURE 5.8 linux