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

Successful build of FluentMongo, reference 1.2.2 (76bc6e), with Swift 6.1 for Linux on 28 Apr 2025 02:29:17 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

[151/475] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[152/475] Compiling HashTreeCollections _HashTreeIterator.swift
[153/475] Compiling HashTreeCollections _HashTreeStatistics.swift
[154/475] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[155/475] Compiling HashTreeCollections _RawHashNode.swift
[156/475] Compiling HashTreeCollections _UnmanagedHashNode.swift
[157/475] Compiling HashTreeCollections _UnsafePath.swift
[158/475] Compiling HashTreeCollections TreeDictionary+Codable.swift
[159/475] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[160/475] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[161/475] Compiling HashTreeCollections _HashNode.swift
[162/475] Compiling HashTreeCollections _HashNodeHeader.swift
[163/475] Compiling HashTreeCollections _HashSlot.swift
[164/475] Compiling HashTreeCollections _HashStack.swift
[165/475] Compiling HashTreeCollections _AncestorHashSlots.swift
[166/475] Compiling HashTreeCollections _Bitmap.swift
[166/475] Compiling mongoc-stream-tls-libressl.c
[168/475] Compiling HashTreeCollections TreeSet+Hashable.swift
[169/475] Compiling HashTreeCollections TreeSet+Sendable.swift
[170/475] Compiling HashTreeCollections TreeSet+Sequence.swift
[171/475] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[172/475] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[173/475] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[174/475] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[175/475] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[176/475] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[177/475] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[178/485] Compiling DequeModule Deque+Codable.swift
[179/485] Compiling DequeModule Deque+Collection.swift
[186/485] Compiling DequeModule Deque+Testing.swift
[187/485] Compiling DequeModule Deque._Storage.swift
[188/485] Compiling DequeModule Deque._UnsafeHandle.swift
[189/485] Compiling DequeModule Deque.swift
[192/485] Compiling DequeModule _DequeSlot.swift
[193/485] Compiling DequeModule _UnsafeWrappedBuffer.swift
[193/485] Compiling mongoc-stream-socket.c
[196/485] Compiling mongoc-stream-tls-openssl-bio.c
[197/485] Compiling mongoc-stream-gridfs.c
[198/485] Compiling mongoc-stream-tls-openssl.c
[204/485] Compiling OrderedCollections OrderedSet+SubSequence.swift
[205/485] Compiling OrderedCollections OrderedSet+Testing.swift
[206/485] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[207/485] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[208/485] Compiling OrderedCollections OrderedSet.swift
[209/485] Compiling OrderedCollections _UnsafeBitset.swift
[210/485] Compiling HashTreeCollections TreeSet+Equatable.swift
[211/485] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[212/485] Compiling HashTreeCollections TreeSet+Extras.swift
[213/485] Compiling HashTreeCollections TreeSet+Filter.swift
[213/485] Compiling mongoc-stream-gridfs-upload.c
[225/485] Compiling OrderedCollections OrderedSet+Sendable.swift
[227/485] Compiling mongoc-stream-gridfs-download.c
[228/485] Compiling mongoc-stream-file.c
[229/485] Compiling mongoc-sspi.c
[230/485] Compiling mongoc-stream-buffered.c
[231/485] Compiling mongoc-shared.c
[232/485] Compiling mongoc-set.c
[233/485] Compiling mongoc-socket.c
[235/485] Compiling HashTreeCollections _Bucket.swift
[236/485] Compiling HashTreeCollections _Hash.swift
[237/485] Compiling HashTreeCollections _HashLevel.swift
[238/485] Compiling HashTreeCollections _HashNode+Builder.swift
[239/485] Compiling HashTreeCollections _HashNode+Debugging.swift
[240/485] Compiling HashTreeCollections _HashNode+Initializers.swift
[241/485] Compiling HashTreeCollections _HashNode+Invariants.swift
[242/485] Compiling HashTreeCollections _HashNode+Lookups.swift
[243/485] Emitting module DequeModule
[244/486] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[245/486] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[246/486] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[247/486] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[248/486] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[249/486] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[250/486] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[251/486] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[252/486] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[253/486] Compiling HashTreeCollections TreeSet.swift
[253/486] Compiling mongoc-ssl.c
[254/486] Compiling mongoc-server-stream.c
[274/495] Compiling mongoc-server-monitor.c
[285/495] Compiling mongoc-secure-channel.c
[286/495] Compiling mongoc-secure-transport.c
[287/495] Compiling mongoc-server-api.c
[288/495] Compiling mongoc-sasl.c
[299/495] Compiling mongoc-server-description.c
[307/495] Compiling mongoc-read-concern.c
[308/495] Compiling mongoc-scram.c
[320/495] Compiling mongoc-rand-common-crypto.c
[321/495] Compiling mongoc-read-prefs.c
[322/495] Compiling mongoc-rand-cng.c
[324/495] Emitting module OrderedCollections
[324/496] Compiling mongoc-rpc.c
[325/496] Compiling mongoc-queue.c
[327/496] Compiling mongoc-rand-openssl.c
[328/496] Compiling mongoc-opts-helpers.c
[329/496] Compiling mongoc-optional.c
[330/496] Compiling mongoc-opts.c
[331/496] Compiling mongoc-memcmp.c
[332/496] Compiling mongoc-matcher.c
[333/496] Compiling mongoc-ocsp-cache.c
[334/496] Compiling mongoc-log.c
[335/496] Compiling mongoc-list.c
[336/496] Compiling mongoc-libressl.c
[337/496] Compiling mongoc-matcher-op.c
[338/496] Compiling mongoc-openssl.c
[339/496] Compiling mongoc-interrupt.c
[340/496] Compiling mongoc-linux-distro-scanner.c
[341/496] Compiling mongoc-index.c
[342/496] Compiling mongoc-http.c
[343/496] Compiling mongoc-host-list.c
[377/496] Compiling mongoc-gridfs-file-page.c
[378/496] Compiling mongoc-handshake.c
[379/496] Compiling mongoc-init.c
[380/496] Compiling mongoc-gridfs.c
[382/496] Emitting module _RopeModule
[382/496] Compiling mongoc-gridfs-file.c
[383/496] Compiling mongoc-gridfs-bucket-file.c
[384/496] Compiling mongoc-generation-map.c
[385/496] Compiling mongoc-gridfs-bucket.c
[386/496] Compiling mongoc-find-and-modify.c
[387/496] Compiling mongoc-cyrus.c
[388/496] Compiling mongoc-gridfs-file-list.c
[389/496] Compiling mongoc-error.c
[390/496] Compiling mongoc-cursor.c
[391/496] Compiling mongoc-cursor-legacy.c
[392/496] Compiling mongoc-cursor-find.c
[393/496] Compiling mongoc-database.c
[395/496] Compiling _RopeModule Rope+Join.swift
[396/496] Compiling _RopeModule Rope+MutatingForEach.swift
[397/496] Compiling _RopeModule Rope+Remove.swift
[398/496] Compiling _RopeModule Rope+RemoveSubrange.swift
[399/496] Compiling _RopeModule Rope+Split.swift
[400/496] Compiling _RopeModule Optional Utilities.swift
[401/496] Compiling _RopeModule String Utilities.swift
[402/496] Compiling _RopeModule String.Index+ABI.swift
[403/496] Compiling _RopeModule _CharacterRecognizer.swift
[403/496] Compiling mongoc-cursor-find-opquery.c
[404/496] Compiling mongoc-cursor-find-cmd.c
[405/496] Compiling mongoc-cursor-cmd.c
[406/496] Compiling mongoc-cursor-cmd-deprecated.c
[407/496] Compiling mongoc-crypto.c
[408/496] Compiling mongoc-cursor-change-stream.c
[409/496] Compiling mongoc-crypto-cng.c
[410/496] Compiling mongoc-crypt.c
[411/496] Compiling mongoc-cursor-array.c
[441/496] Compiling mongoc-crypto-common-crypto.c
[442/496] Compiling mongoc-crypto-openssl.c
[443/496] Compiling mongoc-counters.c
[444/497] Compiling mongoc-compression.c
[445/497] Compiling mongoc-cluster-sspi.c
[446/497] Compiling mongoc-cluster-cyrus.c
[448/497] Emitting module HashTreeCollections
[448/498] Compiling mongoc-cmd.c
[449/498] Compiling mongoc-cluster-sasl.c
[451/498] Compiling mongoc-collection.c
[453/498] Compiling mongoc-cluster.c
[454/498] Compiling mongoc-cluster-aws.c
[455/498] Compiling mongoc-client-side-encryption.c
[456/498] Compiling mongoc-client-session.c
[457/498] Compiling mongoc-client-pool.c
[458/498] Compiling mongoc-client.c
[459/498] Compiling mongoc-buffer.c
[460/498] Compiling mongoc-change-stream.c
[461/498] Compiling mongoc-bulk-operation.c
[462/498] Compiling mongoc-async.c
[463/498] Compiling mongoc-array.c
[464/498] Compiling common-thread.c
[465/498] Compiling mongoc-async-cmd.c
[466/498] Compiling common-b64.c
[467/498] Compiling mongoc-apm.c
[468/498] Compiling common-md5.c
[469/498] Compiling bson-version-functions.c
[470/498] Compiling bson-writer.c
[471/498] Compiling jsonsl.c
[472/498] Compiling mongoc-aggregate.c
[473/498] Compiling bson-value.c
[474/498] Compiling bson-utf8.c
[475/498] Compiling bson-timegm.c
[476/498] Compiling bson-keys.c
[477/498] Compiling bson-string.c
[478/498] Compiling bson.c
[479/498] Compiling bson-reader.c
[479/498] Compiling bson-md5.c
[481/498] Compiling bson-error.c
[482/498] Compiling bson-iso8601.c
[483/498] Compiling bson-decimal128.c
[484/498] Write sources
[486/498] Compiling bson-clock.c
[487/498] Compiling bson-context.c
[487/498] Write sources
[490/498] Compiling bson-iter.c
[491/498] Compiling bson-atomic.c
[492/498] Compiling bson-json.c
[493/498] Compiling bcon.c
[495/595] Compiling Atomics ManagedAtomic.swift
[496/595] Compiling Atomics ManagedAtomicLazyReference.swift
[497/595] Compiling Atomics UnsafeAtomic.swift
[498/595] Compiling Atomics UnsafeAtomicLazyReference.swift
[499/597] Compiling Atomics AtomicMemoryOrderings.swift
[500/597] Compiling Atomics DoubleWord.swift
[503/597] Compiling Atomics IntegerOperations.swift
[504/597] Compiling Atomics Unmanaged extensions.swift
[505/597] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[506/597] Compiling BitCollections BitSet+Extras.swift
[507/597] Compiling BitCollections BitSet+Hashable.swift
[510/604] Compiling Atomics Primitives.shims.swift
[511/604] Compiling Atomics AtomicInteger.swift
[512/604] Compiling Atomics AtomicOptionalWrappable.swift
[513/604] Compiling Atomics AtomicReference.swift
[514/604] Compiling Atomics AtomicStorage.swift
[515/604] Compiling Atomics AtomicValue.swift
[518/604] Compiling BitCollections BitArray+RandomBits.swift
[519/607] Compiling BitCollections BitSet+Initializers.swift
[520/607] Compiling BitCollections BitSet+Invariants.swift
[521/607] Compiling BitCollections BitSet+Random.swift
[522/607] Compiling BitCollections BitSet+SetAlgebra basics.swift
[523/607] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[524/607] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[525/607] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[526/607] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[527/607] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[528/607] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[529/607] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[530/607] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[531/607] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[532/607] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[533/607] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[534/607] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[535/607] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[536/607] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[537/607] Compiling BitCollections BitSet+SetAlgebra union.swift
[538/607] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[539/607] Compiling BitCollections BitSet.Counted.swift
[543/607] Emitting module BitCollections
[544/607] Compiling Atomics OptionalRawRepresentable.swift
[545/607] Compiling Atomics RawRepresentable.swift
[546/607] Compiling Atomics AtomicBool.swift
[547/607] Compiling Atomics IntegerConformances.swift
[548/607] Compiling Atomics PointerConformances.swift
[549/607] Compiling Atomics Primitives.native.swift
[563/607] Compiling BitCollections BitSet.Index.swift
[564/607] Compiling BitCollections BitSet._UnsafeHandle.swift
[565/607] Compiling BitCollections BitSet.swift
[566/607] Compiling BitCollections Range+Utilities.swift
[567/607] Compiling BitCollections Slice+Utilities.swift
[568/607] Compiling BitCollections UInt+Tricks.swift
[569/607] Compiling BitCollections _Word.swift
[579/607] Compiling Algorithms Trim.swift
[580/607] Compiling Algorithms Unique.swift
[581/607] Compiling Algorithms Windows.swift
[582/607] Compiling BitCollections BitArray._UnsafeHandle.swift
[583/607] Compiling BitCollections BitArray.swift
[584/607] Compiling BitCollections BitSet+BidirectionalCollection.swift
[585/607] Compiling BitCollections BitSet+Codable.swift
[594/610] Emitting module Atomics
[595/610] Emitting module Collections
[596/610] Compiling Collections Collections.swift
[605/612] Compiling ExtrasBase64 DecodingError.swift
[606/612] Compiling ExtrasBase64 Base64.swift
[607/612] Emitting module ExtrasBase64
[608/612] Compiling ExtrasBase64 Chromium.swift
[610/672] Compiling NIOCore AddressedEnvelope.swift
[611/672] Compiling NIOCore AsyncAwaitSupport.swift
[612/672] Compiling NIOCore AsyncChannel.swift
[613/672] Emitting module Algorithms
[615/673] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[616/673] Compiling NIOCore BSDSocketAPI.swift
[617/673] Compiling NIOCore ByteBuffer-aux.swift
[618/673] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[619/673] Compiling NIOCore ByteBuffer-conversions.swift
[620/673] Compiling NIOCore ByteBuffer-core.swift
[621/673] Compiling NIOCore ByteBuffer-hex.swift
[622/673] Compiling NIOCore ByteBuffer-int.swift
[623/673] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[624/681] Compiling NIOCore GlobalSingletons.swift
[625/681] Compiling NIOCore IO.swift
[626/681] Compiling NIOCore IOData.swift
[627/681] Compiling NIOCore IPProtocol.swift
[628/681] Compiling NIOCore IntegerBitPacking.swift
[629/681] Compiling NIOCore IntegerTypes.swift
[630/681] Compiling NIOCore Interfaces.swift
[631/681] Compiling NIOCore Linux.swift
[632/681] Compiling NIOCore EventLoop.swift
[633/681] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[634/681] Compiling NIOCore EventLoopFuture+Deprecated.swift
[635/681] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[636/681] Compiling NIOCore EventLoopFuture.swift
[637/681] Compiling NIOCore FileDescriptor.swift
[638/681] Compiling NIOCore FileHandle.swift
[639/681] Compiling NIOCore FileRegion.swift
[640/681] Compiling NIOCore ChannelPipeline.swift
[641/681] Compiling NIOCore CircularBuffer.swift
[642/681] Compiling NIOCore Codec.swift
[643/681] Compiling NIOCore ConvenienceOptionSupport.swift
[644/681] Compiling NIOCore DeadChannel.swift
[645/681] Compiling NIOCore DispatchQueue+WithFuture.swift
[646/681] Compiling NIOCore EventLoop+Deprecated.swift
[647/681] Compiling NIOCore EventLoop+SerialExecutor.swift
[648/681] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[649/681] Compiling NIOCore SocketAddresses.swift
[650/681] Compiling NIOCore SocketOptionProvider.swift
[651/681] Compiling NIOCore SystemCallHelpers.swift
[652/681] Compiling NIOCore TimeAmount+Duration.swift
[653/681] Compiling NIOCore TypeAssistedChannelHandler.swift
[654/681] Compiling NIOCore UniversalBootstrapSupport.swift
[655/681] Compiling NIOCore Utilities.swift
[656/681] Compiling NIOCore MarkedCircularBuffer.swift
[657/681] Compiling NIOCore MulticastChannel.swift
[658/681] Compiling NIOCore NIOAny.swift
[659/681] Compiling NIOCore NIOCloseOnErrorHandler.swift
[660/681] Compiling NIOCore NIOLoopBound.swift
[661/681] Compiling NIOCore NIOScheduledCallback.swift
[662/681] Compiling NIOCore NIOSendable.swift
[663/681] Compiling NIOCore RecvByteBufferAllocator.swift
[664/681] Compiling NIOCore ByteBuffer-multi-int.swift
[665/681] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[666/681] Compiling NIOCore ByteBuffer-views.swift
[667/681] Compiling NIOCore Channel.swift
[668/681] Compiling NIOCore ChannelHandler.swift
[669/681] Compiling NIOCore ChannelHandlers.swift
[670/681] Compiling NIOCore ChannelInvoker.swift
[671/681] Compiling NIOCore ChannelOption.swift
[675/681] Compiling NIOCore AsyncChannelHandler.swift
[676/681] Compiling NIOCore AsyncChannelInboundStream.swift
[677/681] Compiling NIOCore AsyncChannelOutboundWriter.swift
[678/681] Compiling NIOCore NIOAsyncSequenceProducer.swift
[679/681] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[680/681] Compiling NIOCore NIOAsyncWriter.swift
[681/681] Emitting module NIOCore
[683/733] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[684/733] Compiling NIOEmbedded Embedded.swift
[685/733] Emitting module NIOEmbedded
[686/733] Compiling NIOEmbedded AsyncTestingChannel.swift
[687/733] Compiling NIOPosix IO.swift
[688/733] Compiling NIOPosix IntegerBitPacking.swift
[689/733] Compiling NIOPosix IntegerTypes.swift
[690/733] Compiling NIOPosix Linux.swift
[691/733] Compiling NIOPosix LinuxCPUSet.swift
[692/733] Compiling NIOPosix LinuxUring.swift
[693/733] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[695/740] Compiling NIOPosix ThreadPosix.swift
[696/740] Compiling NIOPosix ThreadWindows.swift
[697/740] Compiling NIOPosix UnsafeTransfer.swift
[698/740] Compiling NIOPosix Utilities.swift
[699/740] Compiling NIOPosix VsockAddress.swift
[700/740] Compiling NIOPosix VsockChannelEvents.swift
[701/740] Emitting module NIOPosix
[702/740] Compiling NIOPosix SelectableChannel.swift
[703/740] Compiling NIOPosix SelectableEventLoop.swift
[704/740] Compiling NIOPosix SelectorEpoll.swift
[705/740] Compiling NIOPosix SelectorGeneric.swift
[706/740] Compiling NIOPosix SelectorKqueue.swift
[707/740] Compiling NIOPosix SelectorUring.swift
[708/740] Compiling NIOPosix ServerSocket.swift
[709/740] Compiling NIOPosix Socket.swift
[710/740] Compiling NIOPosix SocketChannel.swift
[711/740] Compiling NIOPosix SocketProtocols.swift
[712/740] Compiling NIOPosix System.swift
[713/740] Compiling NIOPosix Thread.swift
[714/740] Compiling NIOPosix PooledRecvBufferAllocator.swift
[715/740] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[716/740] Compiling NIOPosix PosixSingletons.swift
[717/740] Compiling NIOPosix RawSocketBootstrap.swift
[718/740] Compiling NIOPosix Resolver.swift
[719/740] Compiling NIOPosix Selectable.swift
[720/740] Compiling NIOPosix Bootstrap.swift
[721/740] Compiling NIOPosix ControlMessage.swift
[722/740] Compiling NIOPosix DatagramVectorReadManager.swift
[723/740] Compiling NIOPosix Errors+Any.swift
[724/740] Compiling NIOPosix FileDescriptor.swift
[725/740] Compiling NIOPosix GetaddrinfoResolver.swift
[726/740] Compiling NIOPosix HappyEyeballs.swift
[727/740] Compiling NIOPosix BSDSocketAPICommon.swift
[728/740] Compiling NIOPosix BSDSocketAPIPosix.swift
[729/740] Compiling NIOPosix BSDSocketAPIWindows.swift
[730/740] Compiling NIOPosix BaseSocket.swift
[731/740] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[732/740] Compiling NIOPosix BaseSocketChannel.swift
[733/740] Compiling NIOPosix BaseStreamSocketChannel.swift
[734/740] Compiling NIOPosix NIOThreadPool.swift
[735/740] Compiling NIOPosix NonBlockingFileIO.swift
[736/740] Compiling NIOPosix PendingDatagramWritesManager.swift
[737/740] Compiling NIOPosix PendingWritesManager.swift
[738/740] Compiling NIOPosix PipeChannel.swift
[739/740] Compiling NIOPosix PipePair.swift
[740/740] Compiling NIOPosix Pool.swift
[742/765] Emitting module NIO
[743/765] Compiling NIO Exports.swift
[745/794] Compiling SwiftBSON BSONCode.swift
[746/794] Compiling SwiftBSON BSONDocument+Sequence.swift
[747/794] Compiling SwiftBSON BSONDocument.swift
[748/796] Compiling SwiftBSON ExtendedJSONEncoder.swift
[749/796] Compiling SwiftBSON ByteBuffer+BSON.swift
[750/796] Compiling SwiftBSON CodableNumber.swift
[751/796] Compiling SwiftBSON BSONDocumentIterator.swift
[752/796] Compiling SwiftBSON BSONEncoder.swift
[753/796] Compiling SwiftBSON BSONError.swift
[754/796] Compiling SwiftBSON BSONSymbol.swift
[755/796] Compiling SwiftBSON BSONTimestamp.swift
[756/796] Compiling SwiftBSON BSONValue.swift
[757/796] Compiling SwiftBSON BSONNulls.swift
[758/796] Compiling SwiftBSON BSONObjectID.swift
[759/796] Compiling SwiftBSON BSONRegularExpression.swift
[760/796] Compiling AsyncKit Optional+StrictMap.swift
[761/796] Compiling AsyncKit Exports.swift
[762/796] Emitting module SwiftBSON
[763/799] Compiling SwiftBSON Array+BSONValue.swift
[764/799] Compiling SwiftBSON BSON.swift
[765/799] Compiling SwiftBSON BSONBinary.swift
[774/799] Compiling SwiftBSON Integers+BSONValue.swift
[775/799] Compiling SwiftBSON JSON.swift
[776/799] Compiling SwiftBSON String+BSONValue.swift
[781/799] Emitting module AsyncKit
[789/799] Compiling SwiftBSON Bool+BSONValue.swift
[790/799] Compiling SwiftBSON BSONDBPointer.swift
[791/799] Compiling SwiftBSON BSONDecimal128.swift
[792/799] Compiling SwiftBSON BSONDecoder.swift
[793/799] Compiling SwiftBSON BSONDocument+Collection.swift
[794/799] Compiling SwiftBSON Double+BSONValue.swift
[795/799] Compiling SwiftBSON ExtendedJSONDecoder.swift
[798/862] Compiling MongoSwift APM.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[799/862] Compiling MongoSwift ChangeStream+AsyncSequence.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[800/862] Compiling MongoSwift ClientSession+AsyncAwait.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[801/862] Compiling MongoSwift MongoClient+AsyncAwait.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[802/862] Compiling MongoSwift MongoCollection+AsyncAwait.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[803/862] Compiling MongoSwift MongoCollection+ChangeStreams+AsyncAwait.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[804/862] Compiling MongoSwift MongoCollection+FindAndModify+AsyncAwait.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[805/862] Compiling MongoSwift MongoCollection+Indexes+AsyncAwait.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[806/862] Compiling MongoSwift MongoCollection+Read+AsyncAwait.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[807/862] Emitting module MongoSwift
[808/870] Compiling MongoSwift FindOperation.swift
[809/870] Compiling MongoSwift ListCollectionsOperation.swift
[810/870] Compiling MongoSwift ListDatabasesOperation.swift
[811/870] Compiling MongoSwift ListIndexesOperation.swift
[812/870] Compiling MongoSwift MongocCommandHelpers.swift
[813/870] Compiling MongoSwift Operation.swift
[814/870] Compiling MongoSwift RenameCollectionOperation.swift
[815/870] Compiling MongoSwift RunCommandOperation.swift
[816/870] Compiling MongoSwift MongoCollection+Write+AsyncAwait.swift
[817/870] Compiling MongoSwift MongoCursor+AsyncSequence.swift
[818/870] Compiling MongoSwift MongoDatabase+AsyncAwait.swift
[819/870] Compiling MongoSwift BSONPointerUtils.swift
[820/870] Compiling MongoSwift BSONUtil.swift
[821/870] Compiling MongoSwift ChangeStream.swift
[822/870] Compiling MongoSwift ChangeStreamEvent.swift
[823/870] Compiling MongoSwift ChangeStreamOptions.swift
[824/870] Compiling MongoSwift ClientSession.swift
[825/870] Compiling MongoSwift MongoError.swift
[826/870] Compiling MongoSwift MongoNamespace.swift
[827/870] Compiling MongoSwift MongoServerAPI.swift
[828/870] Compiling MongoSwift MongoSwift.swift
[829/870] Compiling MongoSwift MongoSwiftVersion.swift
[830/870] Compiling MongoSwift AbortTransactionOperation.swift
[831/870] Compiling MongoSwift AggregateOperation.swift
[832/870] Compiling MongoSwift CommitTransactionOperation.swift
[833/870] Compiling MongoSwift CountDocumentsOperation.swift
[834/870] Compiling MongoSwift Compressor.swift
[835/870] Compiling MongoSwift ConnectionPool.swift
[836/870] Compiling MongoSwift CursorCommon.swift
[837/870] Compiling MongoSwift EventLoopBoundMongoClient.swift
[838/870] Compiling MongoSwift Exports.swift
[839/870] Compiling MongoSwift Hint.swift
[840/870] Compiling MongoSwift MongoClient.swift
[841/870] Compiling MongoSwift MongoCollection+BulkWrite.swift
[842/870] Compiling MongoSwift MongoCollection+ChangeStreams.swift
[843/870] Compiling MongoSwift StartSessionOperation.swift
[844/870] Compiling MongoSwift StartTransactionOperation.swift
[845/870] Compiling MongoSwift WatchOperation.swift
[846/870] Compiling MongoSwift ReadConcern.swift
[847/870] Compiling MongoSwift ReadPreference.swift
[848/870] Compiling MongoSwift SDAM.swift
[849/870] Compiling MongoSwift ServerSelection.swift
[850/870] Compiling MongoSwift WriteConcern.swift
[851/870] Compiling MongoSwift CreateCollectionOperation.swift
[852/870] Compiling MongoSwift CreateIndexesOperation.swift
[853/870] Compiling MongoSwift DistinctOperation.swift
[854/870] Compiling MongoSwift DropCollectionOperation.swift
[855/870] Compiling MongoSwift DropDatabaseOperation.swift
[856/870] Compiling MongoSwift DropIndexesOperation.swift
[857/870] Compiling MongoSwift EstimatedDocumentCountOperation.swift
[858/870] Compiling MongoSwift FindAndModifyOperation.swift
[859/870] Compiling MongoSwift MongoCollection+FindAndModify.swift
[860/870] Compiling MongoSwift MongoCollection+Indexes.swift
[861/870] Compiling MongoSwift MongoCollection+Read.swift
[862/870] Compiling MongoSwift MongoCollection+Write.swift
[863/870] Compiling MongoSwift MongoCollection.swift
[864/870] Compiling MongoSwift MongoConnectionString.swift
[865/870] Compiling MongoSwift MongoCredential.swift
[866/870] Compiling MongoSwift MongoCursor.swift
[867/870] Compiling MongoSwift MongoDatabase.swift
[873/954] Compiling FluentKit SchemaBuilder+Concurrency.swift
[874/954] Compiling FluentKit Siblings+Concurrency.swift
[875/954] Compiling FluentKit Database+Logging.swift
[876/954] Compiling FluentKit Database.swift
[877/954] Compiling FluentKit DatabaseID.swift
[878/954] Compiling FluentKit DatabaseInput.swift
[879/954] Compiling FluentKit DatabaseOutput+Cascade.swift
[880/954] Compiling FluentKit DatabaseOutput+Prefix.swift
[881/954] Compiling FluentKit DatabaseOutput.swift
[882/954] Compiling FluentKit Databases.swift
[883/954] Compiling FluentKit TransactionControlDatabase.swift
[884/954] Compiling FluentKit DatabaseEnum.swift
[885/965] Compiling FluentKit AsyncMigration.swift
[886/965] Compiling FluentKit AsyncModelMiddleware.swift
[887/965] Compiling FluentKit Children+Concurrency.swift
[888/965] Compiling FluentKit Database+Concurrency.swift
[889/965] Compiling FluentKit EnumBuilder+Concurrency.swift
[890/965] Compiling FluentKit Model+Concurrency.swift
[891/965] Compiling FluentKit ModelResponder+Concurrency.swift
[892/965] Compiling FluentKit OptionalChild+Concurrency.swift
[893/965] Compiling FluentKit OptionalParent+Concurrency.swift
[894/965] Compiling FluentKit Parent+Concurrency.swift
[895/965] Compiling FluentKit QueryBuilder+Concurrency.swift
[896/965] Compiling FluentKit Relation+Concurrency.swift
[897/965] Emitting module FluentKit
[898/965] Compiling FluentKit AnyModel.swift
[899/965] Compiling FluentKit EagerLoad.swift
[900/965] Compiling FluentKit Fields+Codable.swift
[901/965] Compiling FluentKit Fields.swift
[902/965] Compiling FluentKit MirrorBypass.swift
[903/965] Compiling FluentKit Model+CRUD.swift
[904/965] Compiling FluentKit Model.swift
[905/965] Compiling FluentKit ModelAlias.swift
[906/965] Compiling FluentKit Schema.swift
[907/965] Compiling FluentKit FieldOperators.swift
[908/965] Compiling FluentKit Operators.swift
[909/965] Compiling FluentKit ValueOperators+Array.swift
[910/965] Compiling FluentKit QueryBuilder+Filter.swift
[911/965] Compiling FluentKit QueryBuilder+Group.swift
[912/965] Compiling FluentKit QueryBuilder+Join.swift
[913/965] Compiling FluentKit QueryBuilder+Paginate.swift
[914/965] Compiling FluentKit QueryBuilder+Range.swift
[915/965] Compiling FluentKit QueryBuilder+Set.swift
[916/965] Compiling FluentKit QueryBuilder+Sort.swift
[917/965] Compiling FluentKit QueryBuilder.swift
[918/965] Compiling FluentKit DatabaseQuery+Action.swift
[919/965] Compiling FluentKit DatabaseQuery+Aggregate.swift
[920/965] Compiling FluentKit DatabaseQuery+Field.swift
[921/965] Compiling FluentKit DatabaseQuery+Filter.swift
[922/965] Compiling FluentKit DatabaseQuery+Join.swift
[923/965] Compiling FluentKit DatabaseQuery+Range.swift
[924/965] Compiling FluentKit DatabaseQuery+Sort.swift
[925/965] Compiling FluentKit DatabaseQuery+Value.swift
[926/965] Compiling FluentKit DatabaseQuery.swift
[927/965] Compiling FluentKit QueryHistory.swift
[928/965] Compiling FluentKit DatabaseSchema.swift
[929/965] Compiling FluentKit SchemaBuilder.swift
[930/965] Compiling FluentKit OptionalType.swift
[931/965] Compiling FluentKit RandomGeneratable.swift
[932/965] Compiling FluentKit ValueOperators+String.swift
[933/965] Compiling FluentKit ValueOperators.swift
[934/965] Compiling FluentKit Boolean.swift
[935/965] Compiling FluentKit BooleanPropertyFormat.swift
[936/965] Compiling FluentKit Children.swift
[937/965] Compiling FluentKit CompositeID.swift
[938/965] Compiling FluentKit Field.swift
[939/965] Compiling FluentKit FieldKey.swift
[940/965] Compiling FluentKit Group.swift
[941/965] Compiling FluentKit ID.swift
[942/965] Compiling FluentKit OptionalBoolean.swift
[943/965] Compiling FluentKit EnumBuilder.swift
[944/965] Compiling FluentKit EnumMetadata.swift
[945/965] Compiling FluentKit EnumProperty.swift
[946/965] Compiling FluentKit OptionalEnumProperty.swift
[947/965] Compiling FluentKit Exports.swift
[948/965] Compiling FluentKit FluentError.swift
[949/965] Compiling FluentKit ModelMiddleware.swift
[950/965] Compiling FluentKit ModelResponder.swift
[951/965] Compiling FluentKit Migration.swift
[952/965] Compiling FluentKit MigrationLog.swift
[953/965] Compiling FluentKit Migrations.swift
[954/965] Compiling FluentKit Migrator.swift
[955/965] Compiling FluentKit OptionalChild.swift
[956/965] Compiling FluentKit OptionalField.swift
[957/965] Compiling FluentKit OptionalParent.swift
[958/965] Compiling FluentKit Parent.swift
[959/965] Compiling FluentKit Property.swift
[960/965] Compiling FluentKit Relation.swift
[961/965] Compiling FluentKit Siblings.swift
[962/965] Compiling FluentKit Timestamp.swift
[963/965] Compiling FluentKit TimestampFormat.swift
[964/965] Compiling FluentKit QueryBuilder+Aggregate.swift
[965/965] Compiling FluentKit QueryBuilder+EagerLoad.swift
[967/989] Emitting module FluentMongo
/host/spi-builder-workspace/Sources/FluentMongo/DatabaseQueryAggregate+Mongo.swift:52:1: warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
 50 | }
 51 |
 52 | extension DatabaseQuery.Aggregate.Method: Equatable {
    | |- warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 53 |
 54 |     func mongoAccumulatorOperator() throws -> String {
/host/spi-builder-workspace/Sources/FluentMongo/DatabaseQueryJoin+Mongo.swift:64:1: warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
 62 | }
 63 |
 64 | extension DatabaseQuery.Join.Method: Equatable {
    | |- warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 65 |
 66 |     public enum Mongo: Equatable {
/host/spi-builder-workspace/Sources/FluentMongo/MongoConfiguration.swift:85:14: warning: associated value 'missingEnvironmentKey' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MongoConfiguration.EnvironmentKey'; this is an error in the Swift 6 language mode
78 | extension MongoConfiguration {
79 |
80 |     public enum EnvironmentKey: String {
   |                 `- note: consider making enum 'EnvironmentKey' conform to the 'Sendable' protocol
81 |         case connectionURL = "FLUENT_MONGO_CONNECTION_URL"
82 |     }
83 |
84 |     public enum Error: Swift.Error {
85 |         case missingEnvironmentKey(EnvironmentKey)
   |              `- warning: associated value 'missingEnvironmentKey' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MongoConfiguration.EnvironmentKey'; this is an error in the Swift 6 language mode
86 |     }
87 | }
[968/992] Compiling FluentMongo Document+Nested.swift
/host/spi-builder-workspace/Sources/FluentMongo/Error.swift:129:21: warning: type 'Value' does not conform to the 'Sendable' protocol
127 |     @discardableResult
128 |     public func flatMapErrorIfDuplicatedKey(_ callback: @escaping (Error) -> EventLoopFuture<Value>) -> EventLoopFuture<Value> {
129 |         return self.flatMapError { error in
    |                     `- warning: type 'Value' does not conform to the 'Sendable' protocol
130 |             guard
131 |                 let mongoError = error as? Error,
/host/spi-builder-workspace/Sources/FluentMongo/Error.swift:137:20: warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a '@Sendable' closure
135 |             }
136 |
137 |             return callback(mongoError)
    |                    |- warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a '@Sendable' closure
    |                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 |         }
139 |     }
/host/spi-builder-workspace/Sources/FluentMongo/Error.swift:151:24: warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a '@Sendable' closure
149 |             }
150 |
151 |             return try callback(mongoError)
    |                        |- warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 |         }
153 |     }
[969/992] Compiling FluentMongo Error.swift
/host/spi-builder-workspace/Sources/FluentMongo/Error.swift:129:21: warning: type 'Value' does not conform to the 'Sendable' protocol
127 |     @discardableResult
128 |     public func flatMapErrorIfDuplicatedKey(_ callback: @escaping (Error) -> EventLoopFuture<Value>) -> EventLoopFuture<Value> {
129 |         return self.flatMapError { error in
    |                     `- warning: type 'Value' does not conform to the 'Sendable' protocol
130 |             guard
131 |                 let mongoError = error as? Error,
/host/spi-builder-workspace/Sources/FluentMongo/Error.swift:137:20: warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a '@Sendable' closure
135 |             }
136 |
137 |             return callback(mongoError)
    |                    |- warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a '@Sendable' closure
    |                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 |         }
139 |     }
/host/spi-builder-workspace/Sources/FluentMongo/Error.swift:151:24: warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a '@Sendable' closure
149 |             }
150 |
151 |             return try callback(mongoError)
    |                        |- warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 |         }
153 |     }
[970/992] Compiling FluentMongo Exports.swift
/host/spi-builder-workspace/Sources/FluentMongo/Error.swift:129:21: warning: type 'Value' does not conform to the 'Sendable' protocol
127 |     @discardableResult
128 |     public func flatMapErrorIfDuplicatedKey(_ callback: @escaping (Error) -> EventLoopFuture<Value>) -> EventLoopFuture<Value> {
129 |         return self.flatMapError { error in
    |                     `- warning: type 'Value' does not conform to the 'Sendable' protocol
130 |             guard
131 |                 let mongoError = error as? Error,
/host/spi-builder-workspace/Sources/FluentMongo/Error.swift:137:20: warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a '@Sendable' closure
135 |             }
136 |
137 |             return callback(mongoError)
    |                    |- warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a '@Sendable' closure
    |                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 |         }
139 |     }
/host/spi-builder-workspace/Sources/FluentMongo/Error.swift:151:24: warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a '@Sendable' closure
149 |             }
150 |
151 |             return try callback(mongoError)
    |                        |- warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 |         }
153 |     }
[971/992] Compiling FluentMongo MongoDatabase.swift
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a '@Sendable' closure
 33 |         return self.execute(closure) { result in
 34 |             results.append(result)
 35 |         }.map { results }
    |                 `- warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a '@Sendable' closure
 36 |     }
 37 | }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
  8 |
  9 | import Foundation
 10 | import FluentKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
 11 | import MongoSwift
 12 |
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: reference to captured var 'results' in concurrently-executing code
 33 |         return self.execute(closure) { result in
 34 |             results.append(result)
 35 |         }.map { results }
    |                 `- warning: reference to captured var 'results' in concurrently-executing code
 36 |     }
 37 | }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:80:44: warning: type 'T' does not conform to the 'Sendable' protocol
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
 80 |                 session.startTransaction().flatMap {
    |                                            `- warning: type 'T' does not conform to the 'Sendable' protocol
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:90:26: warning: type 'T' does not conform to the 'Sendable' protocol
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
    :
 88 |
 89 |                     return closure(transactionDatabase)
 90 |                         .flatMap { value in
    |                          `- warning: type 'T' does not conform to the 'Sendable' protocol
 91 |                             session.commitTransaction().map { value }
 92 |                         }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:93:26: warning: type 'T' does not conform to the 'Sendable' protocol
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
    :
 91 |                             session.commitTransaction().map { value }
 92 |                         }
 93 |                         .flatMapError { error in
    |                          `- warning: type 'T' does not conform to the 'Sendable' protocol
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
 95 |                         }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:82:35: warning: capture of 'connection' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 80 |                 session.startTransaction().flatMap {
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
    |                                   `- warning: capture of 'connection' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 83 |                         context: self.context,
 84 |                         session: session,
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:13:13: note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 11 | import MongoSwift
 12 |
 13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
    |             `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 14 |
 15 |     public static func connect(
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:83:34: warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a '@Sendable' closure
 37 | }
 38 |
 39 | struct FluentMongoDatabase: Database {
    |        `- note: consider making struct 'FluentMongoDatabase' conform to the 'Sendable' protocol
 40 |
 41 |     let database: MongoDatabase
    :
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
 83 |                         context: self.context,
    |                                  `- warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a '@Sendable' closure
 84 |                         session: session,
 85 |                         encoder: self.encoder,
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:84:34: warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 82 |                         database: connection,
 83 |                         context: self.context,
 84 |                         session: session,
    |                                  `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 85 |                         encoder: self.encoder,
 86 |                         decoder: self.decoder
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  9 | import Foundation
 10 | import FluentKit
 11 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
 12 |
 13 | protocol MongoDatabase {
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:89:28: warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a '@Sendable' closure
 87 |                     )
 88 |
 89 |                     return closure(transactionDatabase)
    |                            |- warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a '@Sendable' closure
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 89 |                     return closure(transactionDatabase)
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
    |                             `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 92 |                         }
 93 |                         .flatMapError { error in
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:63: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
    :
 89 |                     return closure(transactionDatabase)
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
    |                                                               `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
 92 |                         }
 93 |                         .flatMapError { error in
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:94:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 92 |                         }
 93 |                         .flatMapError { error in
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
    |                             `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 95 |                         }
 96 |                 }
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
[972/992] Compiling FluentMongo MongoDatabaseDriver.swift
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a '@Sendable' closure
 33 |         return self.execute(closure) { result in
 34 |             results.append(result)
 35 |         }.map { results }
    |                 `- warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a '@Sendable' closure
 36 |     }
 37 | }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
  8 |
  9 | import Foundation
 10 | import FluentKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
 11 | import MongoSwift
 12 |
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: reference to captured var 'results' in concurrently-executing code
 33 |         return self.execute(closure) { result in
 34 |             results.append(result)
 35 |         }.map { results }
    |                 `- warning: reference to captured var 'results' in concurrently-executing code
 36 |     }
 37 | }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:80:44: warning: type 'T' does not conform to the 'Sendable' protocol
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
 80 |                 session.startTransaction().flatMap {
    |                                            `- warning: type 'T' does not conform to the 'Sendable' protocol
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:90:26: warning: type 'T' does not conform to the 'Sendable' protocol
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
    :
 88 |
 89 |                     return closure(transactionDatabase)
 90 |                         .flatMap { value in
    |                          `- warning: type 'T' does not conform to the 'Sendable' protocol
 91 |                             session.commitTransaction().map { value }
 92 |                         }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:93:26: warning: type 'T' does not conform to the 'Sendable' protocol
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
    :
 91 |                             session.commitTransaction().map { value }
 92 |                         }
 93 |                         .flatMapError { error in
    |                          `- warning: type 'T' does not conform to the 'Sendable' protocol
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
 95 |                         }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:82:35: warning: capture of 'connection' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 80 |                 session.startTransaction().flatMap {
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
    |                                   `- warning: capture of 'connection' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 83 |                         context: self.context,
 84 |                         session: session,
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:13:13: note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 11 | import MongoSwift
 12 |
 13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
    |             `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 14 |
 15 |     public static func connect(
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:83:34: warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a '@Sendable' closure
 37 | }
 38 |
 39 | struct FluentMongoDatabase: Database {
    |        `- note: consider making struct 'FluentMongoDatabase' conform to the 'Sendable' protocol
 40 |
 41 |     let database: MongoDatabase
    :
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
 83 |                         context: self.context,
    |                                  `- warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a '@Sendable' closure
 84 |                         session: session,
 85 |                         encoder: self.encoder,
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:84:34: warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 82 |                         database: connection,
 83 |                         context: self.context,
 84 |                         session: session,
    |                                  `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 85 |                         encoder: self.encoder,
 86 |                         decoder: self.decoder
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  9 | import Foundation
 10 | import FluentKit
 11 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
 12 |
 13 | protocol MongoDatabase {
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:89:28: warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a '@Sendable' closure
 87 |                     )
 88 |
 89 |                     return closure(transactionDatabase)
    |                            |- warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a '@Sendable' closure
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 89 |                     return closure(transactionDatabase)
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
    |                             `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 92 |                         }
 93 |                         .flatMapError { error in
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:63: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
    :
 89 |                     return closure(transactionDatabase)
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
    |                                                               `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
 92 |                         }
 93 |                         .flatMapError { error in
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:94:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 92 |                         }
 93 |                         .flatMapError { error in
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
    |                             `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 95 |                         }
 96 |                 }
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
[973/992] Compiling FluentMongo MongoDatabaseOutput.swift
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a '@Sendable' closure
 33 |         return self.execute(closure) { result in
 34 |             results.append(result)
 35 |         }.map { results }
    |                 `- warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a '@Sendable' closure
 36 |     }
 37 | }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
  8 |
  9 | import Foundation
 10 | import FluentKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
 11 | import MongoSwift
 12 |
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: reference to captured var 'results' in concurrently-executing code
 33 |         return self.execute(closure) { result in
 34 |             results.append(result)
 35 |         }.map { results }
    |                 `- warning: reference to captured var 'results' in concurrently-executing code
 36 |     }
 37 | }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:80:44: warning: type 'T' does not conform to the 'Sendable' protocol
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
 80 |                 session.startTransaction().flatMap {
    |                                            `- warning: type 'T' does not conform to the 'Sendable' protocol
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:90:26: warning: type 'T' does not conform to the 'Sendable' protocol
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
    :
 88 |
 89 |                     return closure(transactionDatabase)
 90 |                         .flatMap { value in
    |                          `- warning: type 'T' does not conform to the 'Sendable' protocol
 91 |                             session.commitTransaction().map { value }
 92 |                         }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:93:26: warning: type 'T' does not conform to the 'Sendable' protocol
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
    :
 91 |                             session.commitTransaction().map { value }
 92 |                         }
 93 |                         .flatMapError { error in
    |                          `- warning: type 'T' does not conform to the 'Sendable' protocol
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
 95 |                         }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:82:35: warning: capture of 'connection' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 80 |                 session.startTransaction().flatMap {
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
    |                                   `- warning: capture of 'connection' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 83 |                         context: self.context,
 84 |                         session: session,
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:13:13: note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 11 | import MongoSwift
 12 |
 13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
    |             `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 14 |
 15 |     public static func connect(
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:83:34: warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a '@Sendable' closure
 37 | }
 38 |
 39 | struct FluentMongoDatabase: Database {
    |        `- note: consider making struct 'FluentMongoDatabase' conform to the 'Sendable' protocol
 40 |
 41 |     let database: MongoDatabase
    :
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
 83 |                         context: self.context,
    |                                  `- warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a '@Sendable' closure
 84 |                         session: session,
 85 |                         encoder: self.encoder,
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:84:34: warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 82 |                         database: connection,
 83 |                         context: self.context,
 84 |                         session: session,
    |                                  `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 85 |                         encoder: self.encoder,
 86 |                         decoder: self.decoder
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  9 | import Foundation
 10 | import FluentKit
 11 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
 12 |
 13 | protocol MongoDatabase {
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:89:28: warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a '@Sendable' closure
 87 |                     )
 88 |
 89 |                     return closure(transactionDatabase)
    |                            |- warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a '@Sendable' closure
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 89 |                     return closure(transactionDatabase)
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
    |                             `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 92 |                         }
 93 |                         .flatMapError { error in
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:63: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
 75 |     }
 76 |
 77 |     func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 78 |         self.database.withConnection { connection in
 79 |             connection.withSession { session in
    :
 89 |                     return closure(transactionDatabase)
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
    |                                                               `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
 92 |                         }
 93 |                         .flatMapError { error in
/host/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:94:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 92 |                         }
 93 |                         .flatMapError { error in
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
    |                             `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
 95 |                         }
 96 |                 }
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
[974/992] Compiling FluentMongo MongoConfiguration.swift
/host/spi-builder-workspace/Sources/FluentMongo/MongoConfiguration.swift:85:14: warning: associated value 'missingEnvironmentKey' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MongoConfiguration.EnvironmentKey'; this is an error in the Swift 6 language mode
78 | extension MongoConfiguration {
79 |
80 |     public enum EnvironmentKey: String {
   |                 `- note: consider making enum 'EnvironmentKey' conform to the 'Sendable' protocol
81 |         case connectionURL = "FLUENT_MONGO_CONNECTION_URL"
82 |     }
83 |
84 |     public enum Error: Swift.Error {
85 |         case missingEnvironmentKey(EnvironmentKey)
   |              `- warning: associated value 'missingEnvironmentKey' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MongoConfiguration.EnvironmentKey'; this is an error in the Swift 6 language mode
86 |     }
87 | }
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:34:21: warning: type 'MongoConnection' does not conform to the 'Sendable' protocol
 11 | import MongoSwift
 12 |
 13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
    |             `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 14 |
 15 |     public static func connect(
    :
 32 |
 33 |             logger.debug("Connected to mongo db: \(database)")
 34 |             promise.succeed(connection)
    |                     `- warning: type 'MongoConnection' does not conform to the 'Sendable' protocol
 35 |         } catch {
 36 |             logger.error("Failed to connect to mongo db: \(database). \(error.localizedDescription)")
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:77:17: warning: capture of 'self' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
    |             `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 14 |
 15 |     public static func connect(
    :
 75 |             switch result {
 76 |             case .success:
 77 |                 self.isClosed = true
    |                 `- warning: capture of 'self' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 78 |             default:
 79 |                 break
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:96:17: warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a '@Sendable' closure
 94 |
 95 |             for result in results {
 96 |                 onOutput(result)
    |                 |- warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 97 |             }
 98 |
[975/992] Compiling FluentMongo MongoConnection.swift
/host/spi-builder-workspace/Sources/FluentMongo/MongoConfiguration.swift:85:14: warning: associated value 'missingEnvironmentKey' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MongoConfiguration.EnvironmentKey'; this is an error in the Swift 6 language mode
78 | extension MongoConfiguration {
79 |
80 |     public enum EnvironmentKey: String {
   |                 `- note: consider making enum 'EnvironmentKey' conform to the 'Sendable' protocol
81 |         case connectionURL = "FLUENT_MONGO_CONNECTION_URL"
82 |     }
83 |
84 |     public enum Error: Swift.Error {
85 |         case missingEnvironmentKey(EnvironmentKey)
   |              `- warning: associated value 'missingEnvironmentKey' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MongoConfiguration.EnvironmentKey'; this is an error in the Swift 6 language mode
86 |     }
87 | }
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:34:21: warning: type 'MongoConnection' does not conform to the 'Sendable' protocol
 11 | import MongoSwift
 12 |
 13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
    |             `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 14 |
 15 |     public static func connect(
    :
 32 |
 33 |             logger.debug("Connected to mongo db: \(database)")
 34 |             promise.succeed(connection)
    |                     `- warning: type 'MongoConnection' does not conform to the 'Sendable' protocol
 35 |         } catch {
 36 |             logger.error("Failed to connect to mongo db: \(database). \(error.localizedDescription)")
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:77:17: warning: capture of 'self' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
    |             `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 14 |
 15 |     public static func connect(
    :
 75 |             switch result {
 76 |             case .success:
 77 |                 self.isClosed = true
    |                 `- warning: capture of 'self' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 78 |             default:
 79 |                 break
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:96:17: warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a '@Sendable' closure
 94 |
 95 |             for result in results {
 96 |                 onOutput(result)
    |                 |- warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 97 |             }
 98 |
[976/992] Compiling FluentMongo MongoConnectionSource.swift
/host/spi-builder-workspace/Sources/FluentMongo/MongoConfiguration.swift:85:14: warning: associated value 'missingEnvironmentKey' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MongoConfiguration.EnvironmentKey'; this is an error in the Swift 6 language mode
78 | extension MongoConfiguration {
79 |
80 |     public enum EnvironmentKey: String {
   |                 `- note: consider making enum 'EnvironmentKey' conform to the 'Sendable' protocol
81 |         case connectionURL = "FLUENT_MONGO_CONNECTION_URL"
82 |     }
83 |
84 |     public enum Error: Swift.Error {
85 |         case missingEnvironmentKey(EnvironmentKey)
   |              `- warning: associated value 'missingEnvironmentKey' of 'Sendable'-conforming enum 'Error' has non-sendable type 'MongoConfiguration.EnvironmentKey'; this is an error in the Swift 6 language mode
86 |     }
87 | }
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:34:21: warning: type 'MongoConnection' does not conform to the 'Sendable' protocol
 11 | import MongoSwift
 12 |
 13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
    |             `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 14 |
 15 |     public static func connect(
    :
 32 |
 33 |             logger.debug("Connected to mongo db: \(database)")
 34 |             promise.succeed(connection)
    |                     `- warning: type 'MongoConnection' does not conform to the 'Sendable' protocol
 35 |         } catch {
 36 |             logger.error("Failed to connect to mongo db: \(database). \(error.localizedDescription)")
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:77:17: warning: capture of 'self' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
    |             `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
 14 |
 15 |     public static func connect(
    :
 75 |             switch result {
 76 |             case .success:
 77 |                 self.isClosed = true
    |                 `- warning: capture of 'self' with non-sendable type 'MongoConnection' in a '@Sendable' closure
 78 |             default:
 79 |                 break
/host/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:96:17: warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a '@Sendable' closure
 94 |
 95 |             for result in results {
 96 |                 onOutput(result)
    |                 |- warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 97 |             }
 98 |
[977/992] Compiling FluentMongo Fluent+Additions.swift
[978/992] Compiling FluentMongo FluentMongoConfiguration.swift
[979/992] Compiling FluentMongo IndexBuilder.swift
[980/992] Compiling FluentMongo DatabaseQuerySort+Mongo.swift
[981/992] Compiling FluentMongo DatabaseQueryValue+Mongo.swift
[982/992] Compiling FluentMongo DatabaseSchema+Mongo.swift
[983/992] Compiling FluentMongo DatabaseQueryJoin+Mongo.swift
/host/spi-builder-workspace/Sources/FluentMongo/DatabaseQueryJoin+Mongo.swift:64:1: warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
 62 | }
 63 |
 64 | extension DatabaseQuery.Join.Method: Equatable {
    | |- warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 65 |
 66 |     public enum Mongo: Equatable {
[984/992] Compiling FluentMongo DatabaseQueryLimit+Mongo.swift
/host/spi-builder-workspace/Sources/FluentMongo/DatabaseQueryJoin+Mongo.swift:64:1: warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
 62 | }
 63 |
 64 | extension DatabaseQuery.Join.Method: Equatable {
    | |- warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 65 |
 66 |     public enum Mongo: Equatable {
[985/992] Compiling FluentMongo DatabaseQueryOffset+Mongo.swift
/host/spi-builder-workspace/Sources/FluentMongo/DatabaseQueryJoin+Mongo.swift:64:1: warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
 62 | }
 63 |
 64 | extension DatabaseQuery.Join.Method: Equatable {
    | |- warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 65 |
 66 |     public enum Mongo: Equatable {
[986/992] Compiling FluentMongo BSONCoder+BSON.swift
/host/spi-builder-workspace/Sources/FluentMongo/DatabaseQueryAggregate+Mongo.swift:52:1: warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
 50 | }
 51 |
 52 | extension DatabaseQuery.Aggregate.Method: Equatable {
    | |- warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 53 |
 54 |     func mongoAccumulatorOperator() throws -> String {
[987/992] Compiling FluentMongo DatabaseQueryAggregate+Mongo.swift
/host/spi-builder-workspace/Sources/FluentMongo/DatabaseQueryAggregate+Mongo.swift:52:1: warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
 50 | }
 51 |
 52 | extension DatabaseQuery.Aggregate.Method: Equatable {
    | |- warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 53 |
 54 |     func mongoAccumulatorOperator() throws -> String {
[988/992] Compiling FluentMongo DatabaseQueryField+Mongo.swift
/host/spi-builder-workspace/Sources/FluentMongo/DatabaseQueryAggregate+Mongo.swift:52:1: warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
 50 | }
 51 |
 52 | extension DatabaseQuery.Aggregate.Method: Equatable {
    | |- warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 53 |
 54 |     func mongoAccumulatorOperator() throws -> String {
[989/992] Compiling FluentMongo DatabaseQueryFilter+Mongo.swift
/host/spi-builder-workspace/Sources/FluentMongo/DatabaseQueryAggregate+Mongo.swift:52:1: warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
 50 | }
 51 |
 52 | extension DatabaseQuery.Aggregate.Method: Equatable {
    | |- warning: extension declares a conformance of imported type 'Method' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'FluentKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 53 |
 54 |     func mongoAccumulatorOperator() throws -> String {
[990/992] Compiling FluentMongo MongoQueryConverter.swift
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:63:83: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 61 |             let pipeline = try self.aggregationPipeline()
 62 |
 63 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
    |                                                                                   `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 64 |                 cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 65 |             }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
  8 |
  9 | import Foundation
 10 | import FluentKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
 11 | import MongoSwift
 12 |
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:64:70: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 62 |
 63 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 64 |                 cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                                      `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 65 |             }
 66 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:64:70: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 62 |
 63 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 64 |                 cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                                      `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 65 |             }
 66 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:77:83: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 75 |             let pipeline = try self.aggregationPipeline()
 76 |
 77 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
    |                                                                                   `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 77 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
    |                                                          `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Query/Database/DatabaseQuery+Aggregate.swift:2:17: note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 1 | extension DatabaseQuery {
 2 |     public enum Aggregate {
   |                 `- note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 3 |         public enum Method {
 4 |             case count
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:80:58: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 81 |             }
 82 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 77 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
    |                                                          `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Query/Database/DatabaseQuery+Aggregate.swift:2:17: note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 1 | extension DatabaseQuery {
 2 |     public enum Aggregate {
   |                 `- note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 3 |         public enum Method {
 4 |             case count
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:80:58: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 81 |             }
 82 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:97:23: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
 95 |                 }
 96 |
 97 |                 guard documents.count == result.insertedCount else {
    |                       `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
 98 |                     throw Error.insertManyMismatch(documents.count, result.insertedCount)
 99 |                 }
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBSON'
  9 | import Foundation
 10 | import FluentKit
 11 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBSON'
 12 |
 13 | struct MongoQueryConverter {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:102:110: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
100 |
101 |                 return result.insertedIDs.map {
102 |                     BSONDocument(dictionaryLiteral: (FieldKey.id.mongoKey, $0.value)).databaseOutput(fields: self.query.fields, using: self.decoder)
    |                                                                                                              `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
103 |                 }
104 |             }.flatMapErrorThrowing { error in
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:102:110: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
100 |
101 |                 return result.insertedIDs.map {
102 |                     BSONDocument(dictionaryLiteral: (FieldKey.id.mongoKey, $0.value)).databaseOutput(fields: self.query.fields, using: self.decoder)
    |                                                                                                              `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
103 |                 }
104 |             }.flatMapErrorThrowing { error in
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:123:66: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |             let documents: [BSONDocument] = try self.query.input.compactMap { try $0.mongoValueUpdate(encoder: self.encoder)?.documentValue }
122 |
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
    |                                                                  `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:34: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
122 |
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
124 |                 let collection = database.collection(self.query.schema)
    |                                  `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:54: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
122 |
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
124 |                 let collection = database.collection(self.query.schema)
    |                                                      `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:125:31: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
    |                               `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
126 |                     collection.updateMany(filter: filter, update: document, session: session)
127 |                 }.flatten(on: eventLoop)
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:126:86: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
    |                                                                                      `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
127 |                 }.flatten(on: eventLoop)
128 |
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:126:86: warning: capture of 'session' with non-sendable type 'ClientSession?' in an isolated closure; this is an error in the Swift 6 language mode
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
    |                                                                                      `- warning: capture of 'session' with non-sendable type 'ClientSession?' in an isolated closure; this is an error in the Swift 6 language mode
127 |                 }.flatten(on: eventLoop)
128 |
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:137:62: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 |
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
    |                                                              `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
139 |         }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:13: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
    |             `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
139 |         }
140 |     }
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:33: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
    |                                 `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
139 |         }
140 |     }
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:80: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
    |                                                                                `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
139 |         }
140 |     }
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:143:96: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
141 |
142 |     private func custom(_ command: BSONDocument, _ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
143 |         return database.runCommand(command, session: session).map { [$0.databaseOutput(fields: self.query.fields, using: self.decoder)] }
    |                                                                                                `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
144 |     }
145 | }
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:198:30: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
196 |
197 |         guard !self.query.filters.isEmpty else {
198 |             return eventLoop.makeSucceededFuture(.init())
    |                              `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
199 |         }
200 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:213:97: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
211 |             pipeline.append(["$project": ["_id": true]])
212 |
213 |             return database.collection(self.query.schema).aggregate(pipeline, session: session).flatMap { cursor in
    |                                                                                                 `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
214 |                 cursor.toArray().map {
215 |                     ["_id": ["$in": .array($0.compactMap { $0["_id"] })]]
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
40 |                 switch error {
41 |                 case let error as MongoError.CommandError where error.code == 48:
42 |                     return database.collection(self.schema.schema) // Collection already exists
   |                            `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
43 |                 default:
44 |                     throw error
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
 9 | import Foundation
10 | import FluentKit
11 | import MongoSwift
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
12 |
13 | struct MongoSchemaConverter {
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:48: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
   |        `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 |     public init(_ schema: DatabaseSchema) {
   :
40 |                 switch error {
41 |                 case let error as MongoError.CommandError where error.code == 48:
42 |                     return database.collection(self.schema.schema) // Collection already exists
   |                                                `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
43 |                 default:
44 |                     throw error
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:48:43: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
   |        `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 |     public init(_ schema: DatabaseSchema) {
   :
46 |             }.flatMap { collection in
47 |                 do {
48 |                     let indexModels = try self.schema.createConstraints.mongoIndexes()
   |                                           `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
49 |                     guard !indexModels.isEmpty else {
50 |                         return eventLoop.makeSucceededFuture(Void())
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:52:75: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
50 |                         return eventLoop.makeSucceededFuture(Void())
51 |                     }
52 |                     return collection.createIndexes(indexModels, session: session).transform(to: Void())
   |                                                                           `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
53 |                 } catch {
54 |                     return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:66:14: warning: type 'CollectionSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
64 |         return database
65 |             .listCollections(["name": .string(self.schema.schema)], session: session)
66 |             .flatMap { $0.toArray() }
   |              `- warning: type 'CollectionSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
67 |             .flatMap {
68 |                 do {
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/Operations/ListCollectionsOperation.swift:57:15: note: struct 'CollectionSpecification' does not conform to the 'Sendable' protocol
 55 |  *   - https://docs.mongodb.com/manual/reference/command/listCollections/#listCollections.cursor
 56 |  */
 57 | public struct CollectionSpecification: Codable {
    |               `- note: struct 'CollectionSpecification' does not conform to the 'Sendable' protocol
 58 |     /// The name of the collection.
 59 |     public let name: String
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:70:56: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
   |        `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 |     public init(_ schema: DatabaseSchema) {
   :
68 |                 do {
69 |                     guard let collectionSpecification = $0.first else {
70 |                         throw Error.collectionNotFound(self.schema.schema)
   |                                                        `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
71 |                     }
72 |
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:75:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
73 |                     let validator = try self.schema.updateFields.mongoValidator(updating: collectionSpecification.options?.validator)
74 |
75 |                     return database.runCommand([
   |                            `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
76 |                         "collMod": .string(self.schema.schema),
77 |                         "validator": .document(validator),
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:79:33: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
77 |                         "validator": .document(validator),
78 |                         "validationLevel": "moderate"
79 |                     ], session: session).transform(to: Void())
   |                                 `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
80 |                 } catch {
81 |                     return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
[991/992] Compiling FluentMongo MongoSchemaConverter.swift
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:63:83: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 61 |             let pipeline = try self.aggregationPipeline()
 62 |
 63 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
    |                                                                                   `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 64 |                 cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 65 |             }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
  8 |
  9 | import Foundation
 10 | import FluentKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
 11 | import MongoSwift
 12 |
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:64:70: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 62 |
 63 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 64 |                 cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                                      `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 65 |             }
 66 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:64:70: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 62 |
 63 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 64 |                 cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                                      `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 65 |             }
 66 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:77:83: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 75 |             let pipeline = try self.aggregationPipeline()
 76 |
 77 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
    |                                                                                   `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 77 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
    |                                                          `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Query/Database/DatabaseQuery+Aggregate.swift:2:17: note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 1 | extension DatabaseQuery {
 2 |     public enum Aggregate {
   |                 `- note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 3 |         public enum Method {
 4 |             case count
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:80:58: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 81 |             }
 82 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 77 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
    |                                                          `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Query/Database/DatabaseQuery+Aggregate.swift:2:17: note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 1 | extension DatabaseQuery {
 2 |     public enum Aggregate {
   |                 `- note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 3 |         public enum Method {
 4 |             case count
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:80:58: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 81 |             }
 82 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:97:23: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
 95 |                 }
 96 |
 97 |                 guard documents.count == result.insertedCount else {
    |                       `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
 98 |                     throw Error.insertManyMismatch(documents.count, result.insertedCount)
 99 |                 }
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBSON'
  9 | import Foundation
 10 | import FluentKit
 11 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBSON'
 12 |
 13 | struct MongoQueryConverter {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:102:110: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
100 |
101 |                 return result.insertedIDs.map {
102 |                     BSONDocument(dictionaryLiteral: (FieldKey.id.mongoKey, $0.value)).databaseOutput(fields: self.query.fields, using: self.decoder)
    |                                                                                                              `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
103 |                 }
104 |             }.flatMapErrorThrowing { error in
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:102:110: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
100 |
101 |                 return result.insertedIDs.map {
102 |                     BSONDocument(dictionaryLiteral: (FieldKey.id.mongoKey, $0.value)).databaseOutput(fields: self.query.fields, using: self.decoder)
    |                                                                                                              `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
103 |                 }
104 |             }.flatMapErrorThrowing { error in
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:123:66: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |             let documents: [BSONDocument] = try self.query.input.compactMap { try $0.mongoValueUpdate(encoder: self.encoder)?.documentValue }
122 |
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
    |                                                                  `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:34: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
122 |
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
124 |                 let collection = database.collection(self.query.schema)
    |                                  `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:54: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
122 |
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
124 |                 let collection = database.collection(self.query.schema)
    |                                                      `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:125:31: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
    |                               `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
126 |                     collection.updateMany(filter: filter, update: document, session: session)
127 |                 }.flatten(on: eventLoop)
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:126:86: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
    |                                                                                      `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
127 |                 }.flatten(on: eventLoop)
128 |
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:126:86: warning: capture of 'session' with non-sendable type 'ClientSession?' in an isolated closure; this is an error in the Swift 6 language mode
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
    |                                                                                      `- warning: capture of 'session' with non-sendable type 'ClientSession?' in an isolated closure; this is an error in the Swift 6 language mode
127 |                 }.flatten(on: eventLoop)
128 |
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:137:62: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 |
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
    |                                                              `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
139 |         }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:13: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
    |             `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
139 |         }
140 |     }
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:33: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
    |                                 `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
139 |         }
140 |     }
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:80: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
    |                                                                                `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
139 |         }
140 |     }
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:143:96: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
141 |
142 |     private func custom(_ command: BSONDocument, _ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
143 |         return database.runCommand(command, session: session).map { [$0.databaseOutput(fields: self.query.fields, using: self.decoder)] }
    |                                                                                                `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
144 |     }
145 | }
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:198:30: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
196 |
197 |         guard !self.query.filters.isEmpty else {
198 |             return eventLoop.makeSucceededFuture(.init())
    |                              `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
199 |         }
200 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:213:97: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
211 |             pipeline.append(["$project": ["_id": true]])
212 |
213 |             return database.collection(self.query.schema).aggregate(pipeline, session: session).flatMap { cursor in
    |                                                                                                 `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
214 |                 cursor.toArray().map {
215 |                     ["_id": ["$in": .array($0.compactMap { $0["_id"] })]]
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
40 |                 switch error {
41 |                 case let error as MongoError.CommandError where error.code == 48:
42 |                     return database.collection(self.schema.schema) // Collection already exists
   |                            `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
43 |                 default:
44 |                     throw error
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
 9 | import Foundation
10 | import FluentKit
11 | import MongoSwift
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
12 |
13 | struct MongoSchemaConverter {
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:48: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
   |        `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 |     public init(_ schema: DatabaseSchema) {
   :
40 |                 switch error {
41 |                 case let error as MongoError.CommandError where error.code == 48:
42 |                     return database.collection(self.schema.schema) // Collection already exists
   |                                                `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
43 |                 default:
44 |                     throw error
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:48:43: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
   |        `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 |     public init(_ schema: DatabaseSchema) {
   :
46 |             }.flatMap { collection in
47 |                 do {
48 |                     let indexModels = try self.schema.createConstraints.mongoIndexes()
   |                                           `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
49 |                     guard !indexModels.isEmpty else {
50 |                         return eventLoop.makeSucceededFuture(Void())
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:52:75: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
50 |                         return eventLoop.makeSucceededFuture(Void())
51 |                     }
52 |                     return collection.createIndexes(indexModels, session: session).transform(to: Void())
   |                                                                           `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
53 |                 } catch {
54 |                     return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:66:14: warning: type 'CollectionSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
64 |         return database
65 |             .listCollections(["name": .string(self.schema.schema)], session: session)
66 |             .flatMap { $0.toArray() }
   |              `- warning: type 'CollectionSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
67 |             .flatMap {
68 |                 do {
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/Operations/ListCollectionsOperation.swift:57:15: note: struct 'CollectionSpecification' does not conform to the 'Sendable' protocol
 55 |  *   - https://docs.mongodb.com/manual/reference/command/listCollections/#listCollections.cursor
 56 |  */
 57 | public struct CollectionSpecification: Codable {
    |               `- note: struct 'CollectionSpecification' does not conform to the 'Sendable' protocol
 58 |     /// The name of the collection.
 59 |     public let name: String
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:70:56: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
   |        `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 |     public init(_ schema: DatabaseSchema) {
   :
68 |                 do {
69 |                     guard let collectionSpecification = $0.first else {
70 |                         throw Error.collectionNotFound(self.schema.schema)
   |                                                        `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
71 |                     }
72 |
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:75:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
73 |                     let validator = try self.schema.updateFields.mongoValidator(updating: collectionSpecification.options?.validator)
74 |
75 |                     return database.runCommand([
   |                            `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
76 |                         "collMod": .string(self.schema.schema),
77 |                         "validator": .document(validator),
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:79:33: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
77 |                         "validator": .document(validator),
78 |                         "validationLevel": "moderate"
79 |                     ], session: session).transform(to: Void())
   |                                 `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
80 |                 } catch {
81 |                     return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
[992/992] Compiling FluentMongo QueryBuilder+Mongo.swift
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:63:83: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 61 |             let pipeline = try self.aggregationPipeline()
 62 |
 63 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
    |                                                                                   `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 64 |                 cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 65 |             }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
  8 |
  9 | import Foundation
 10 | import FluentKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FluentKit'
 11 | import MongoSwift
 12 |
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:64:70: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 62 |
 63 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 64 |                 cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                                      `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 65 |             }
 66 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:64:70: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 62 |
 63 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 64 |                 cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                                      `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 65 |             }
 66 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:77:83: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 75 |             let pipeline = try self.aggregationPipeline()
 76 |
 77 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
    |                                                                                   `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 77 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
    |                                                          `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Query/Database/DatabaseQuery+Aggregate.swift:2:17: note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 1 | extension DatabaseQuery {
 2 |     public enum Aggregate {
   |                 `- note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 3 |         public enum Method {
 4 |             case count
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:80:58: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 81 |             }
 82 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 77 |             return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
    |                                                          `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Query/Database/DatabaseQuery+Aggregate.swift:2:17: note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 1 | extension DatabaseQuery {
 2 |     public enum Aggregate {
   |                 `- note: enum 'Aggregate' does not conform to the 'Sendable' protocol
 3 |         public enum Method {
 4 |             case count
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:80:58: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
 78 |                 cursor.toArray()
 79 |                     .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
    |                                                          `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 81 |             }
 82 |         } catch {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:97:23: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
 95 |                 }
 96 |
 97 |                 guard documents.count == result.insertedCount else {
    |                       `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
 98 |                     throw Error.insertManyMismatch(documents.count, result.insertedCount)
 99 |                 }
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBSON'
  9 | import Foundation
 10 | import FluentKit
 11 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftBSON'
 12 |
 13 | struct MongoQueryConverter {
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:102:110: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
100 |
101 |                 return result.insertedIDs.map {
102 |                     BSONDocument(dictionaryLiteral: (FieldKey.id.mongoKey, $0.value)).databaseOutput(fields: self.query.fields, using: self.decoder)
    |                                                                                                              `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
103 |                 }
104 |             }.flatMapErrorThrowing { error in
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:102:110: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
100 |
101 |                 return result.insertedIDs.map {
102 |                     BSONDocument(dictionaryLiteral: (FieldKey.id.mongoKey, $0.value)).databaseOutput(fields: self.query.fields, using: self.decoder)
    |                                                                                                              `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in an isolated closure; this is an error in the Swift 6 language mode
103 |                 }
104 |             }.flatMapErrorThrowing { error in
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:123:66: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 |             let documents: [BSONDocument] = try self.query.input.compactMap { try $0.mongoValueUpdate(encoder: self.encoder)?.documentValue }
122 |
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
    |                                                                  `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:34: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
122 |
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
124 |                 let collection = database.collection(self.query.schema)
    |                                  `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:54: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
122 |
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
124 |                 let collection = database.collection(self.query.schema)
    |                                                      `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:125:31: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
123 |             return self.filter(database, session, on: eventLoop).flatMap { filter in
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
    |                               `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
126 |                     collection.updateMany(filter: filter, update: document, session: session)
127 |                 }.flatten(on: eventLoop)
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:126:86: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
    |                                                                                      `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
127 |                 }.flatten(on: eventLoop)
128 |
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:126:86: warning: capture of 'session' with non-sendable type 'ClientSession?' in an isolated closure; this is an error in the Swift 6 language mode
124 |                 let collection = database.collection(self.query.schema)
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
    |                                                                                      `- warning: capture of 'session' with non-sendable type 'ClientSession?' in an isolated closure; this is an error in the Swift 6 language mode
127 |                 }.flatten(on: eventLoop)
128 |
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:137:62: warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 |
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
    |                                                              `- warning: type 'any DatabaseOutput' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
139 |         }
/host/spi-builder-workspace/.build/checkouts/fluent-kit/Sources/FluentKit/Database/DatabaseOutput.swift:1:17: note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 1 | public protocol DatabaseOutput: CustomStringConvertible {
   |                 `- note: protocol 'DatabaseOutput' does not conform to the 'Sendable' protocol
 2 |     func schema(_ schema: String) -> DatabaseOutput
 3 |     func contains(_ key: FieldKey) -> Bool
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:13: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
    |             `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
139 |         }
140 |     }
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:33: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
    |                                 `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
139 |         }
140 |     }
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:80: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
136 |     private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 |         return self.filter(database, session, on: eventLoop).flatMap { filter in
138 |             database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
    |                                                                                `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
139 |         }
140 |     }
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:143:96: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
 11 | import MongoSwift
 12 |
 13 | struct MongoQueryConverter {
    |        `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
 14 |
 15 |     public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
    :
141 |
142 |     private func custom(_ command: BSONDocument, _ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
143 |         return database.runCommand(command, session: session).map { [$0.databaseOutput(fields: self.query.fields, using: self.decoder)] }
    |                                                                                                `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
144 |     }
145 | }
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:198:30: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
196 |
197 |         guard !self.query.filters.isEmpty else {
198 |             return eventLoop.makeSucceededFuture(.init())
    |                              `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
199 |         }
200 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:213:97: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
211 |             pipeline.append(["$project": ["_id": true]])
212 |
213 |             return database.collection(self.query.schema).aggregate(pipeline, session: session).flatMap { cursor in
    |                                                                                                 `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
214 |                 cursor.toArray().map {
215 |                     ["_id": ["$in": .array($0.compactMap { $0["_id"] })]]
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
40 |                 switch error {
41 |                 case let error as MongoError.CommandError where error.code == 48:
42 |                     return database.collection(self.schema.schema) // Collection already exists
   |                            `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
43 |                 default:
44 |                     throw error
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
 9 | import Foundation
10 | import FluentKit
11 | import MongoSwift
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
12 |
13 | struct MongoSchemaConverter {
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:48: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
   |        `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 |     public init(_ schema: DatabaseSchema) {
   :
40 |                 switch error {
41 |                 case let error as MongoError.CommandError where error.code == 48:
42 |                     return database.collection(self.schema.schema) // Collection already exists
   |                                                `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
43 |                 default:
44 |                     throw error
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:48:43: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
   |        `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 |     public init(_ schema: DatabaseSchema) {
   :
46 |             }.flatMap { collection in
47 |                 do {
48 |                     let indexModels = try self.schema.createConstraints.mongoIndexes()
   |                                           `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
49 |                     guard !indexModels.isEmpty else {
50 |                         return eventLoop.makeSucceededFuture(Void())
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:52:75: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
50 |                         return eventLoop.makeSucceededFuture(Void())
51 |                     }
52 |                     return collection.createIndexes(indexModels, session: session).transform(to: Void())
   |                                                                           `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
53 |                 } catch {
54 |                     return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:66:14: warning: type 'CollectionSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
64 |         return database
65 |             .listCollections(["name": .string(self.schema.schema)], session: session)
66 |             .flatMap { $0.toArray() }
   |              `- warning: type 'CollectionSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
67 |             .flatMap {
68 |                 do {
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/Operations/ListCollectionsOperation.swift:57:15: note: struct 'CollectionSpecification' does not conform to the 'Sendable' protocol
 55 |  *   - https://docs.mongodb.com/manual/reference/command/listCollections/#listCollections.cursor
 56 |  */
 57 | public struct CollectionSpecification: Codable {
    |               `- note: struct 'CollectionSpecification' does not conform to the 'Sendable' protocol
 58 |     /// The name of the collection.
 59 |     public let name: String
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:70:56: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
   |        `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 |     public init(_ schema: DatabaseSchema) {
   :
68 |                 do {
69 |                     guard let collectionSpecification = $0.first else {
70 |                         throw Error.collectionNotFound(self.schema.schema)
   |                                                        `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
71 |                     }
72 |
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:75:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
73 |                     let validator = try self.schema.updateFields.mongoValidator(updating: collectionSpecification.options?.validator)
74 |
75 |                     return database.runCommand([
   |                            `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
76 |                         "collMod": .string(self.schema.schema),
77 |                         "validator": .document(validator),
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/MongoDatabase.swift:61:15: note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 59 | // sourcery: skipSyncExport
 60 | /// A MongoDB Database.
 61 | public struct MongoDatabase {
    |               `- note: struct 'MongoDatabase' does not conform to the 'Sendable' protocol
 62 |     /// The client which this database was derived from.
 63 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:79:33: warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
77 |                         "validator": .document(validator),
78 |                         "validationLevel": "moderate"
79 |                     ], session: session).transform(to: Void())
   |                                 `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
80 |                 } catch {
81 |                     return eventLoop.makeFailedFuture(error)
/host/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/MongoSwift/ClientSession.swift:35:20: note: class 'ClientSession' does not conform to the 'Sendable' protocol
 33 |  *   - https://docs.mongodb.com/manual/core/causal-consistency-read-write-concerns/
 34 |  */
 35 | public final class ClientSession {
    |                    `- note: class 'ClientSession' does not conform to the 'Sendable' protocol
 36 |     /// Error thrown when an inactive session is used.
 37 |     internal static let SessionInactiveError = MongoError.LogicError(message: "Tried to use an inactive session")
Build complete! (97.97s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "fluent-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.36.1",
            "upper_bound" : "1.37.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-kit.git"
    },
    {
      "identity" : "mongo-swift-driver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mongodb/mongo-swift-driver.git"
    }
  ],
  "manifest_display_name" : "FluentMongo",
  "name" : "FluentMongo",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "FluentMongo",
      "targets" : [
        "FluentMongo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FluentMongoTests",
      "module_type" : "SwiftTarget",
      "name" : "FluentMongoTests",
      "path" : "Tests/FluentMongoTests",
      "product_dependencies" : [
        "FluentBenchmark"
      ],
      "sources" : [
        "FluentBenchmarkTests.swift",
        "FluentMongoTests.swift",
        "Pet.swift",
        "PetToy.swift",
        "Toy.swift",
        "User.swift"
      ],
      "target_dependencies" : [
        "FluentMongo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FluentMongo",
      "module_type" : "SwiftTarget",
      "name" : "FluentMongo",
      "path" : "Sources/FluentMongo",
      "product_dependencies" : [
        "FluentKit",
        "MongoSwift"
      ],
      "product_memberships" : [
        "FluentMongo"
      ],
      "sources" : [
        "BSONCoder+BSON.swift",
        "DatabaseQueryAggregate+Mongo.swift",
        "DatabaseQueryField+Mongo.swift",
        "DatabaseQueryFilter+Mongo.swift",
        "DatabaseQueryJoin+Mongo.swift",
        "DatabaseQueryLimit+Mongo.swift",
        "DatabaseQueryOffset+Mongo.swift",
        "DatabaseQuerySort+Mongo.swift",
        "DatabaseQueryValue+Mongo.swift",
        "DatabaseSchema+Mongo.swift",
        "Document+Nested.swift",
        "Error.swift",
        "Exports.swift",
        "Fluent+Additions.swift",
        "FluentMongoConfiguration.swift",
        "IndexBuilder.swift",
        "MongoConfiguration.swift",
        "MongoConnection.swift",
        "MongoConnectionSource.swift",
        "MongoDatabase.swift",
        "MongoDatabaseDriver.swift",
        "MongoDatabaseOutput.swift",
        "MongoQueryConverter.swift",
        "MongoSchemaConverter.swift",
        "QueryBuilder+Mongo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.