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 master (76bc6e), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 23:26:39 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asensei/vapor-fluent-mongo.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/asensei/vapor-fluent-mongo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 76bc6e5 test against mongo v7 (#28)
Cloned https://github.com/asensei/vapor-fluent-mongo.git
Revision (git rev-parse @):
76bc6e52ceb62cadb13aa39ac0ecd7920f31fbe2
SUCCESS checkout https://github.com/asensei/vapor-fluent-mongo.git at master
Fetching https://github.com/mongodb/mongo-swift-driver.git
Fetching https://github.com/vapor/fluent-kit.git
[1/12479] Fetching fluent-kit
[2/52376] Fetching fluent-kit, mongo-swift-driver
Fetched https://github.com/vapor/fluent-kit.git from cache (3.94s)
Fetched https://github.com/mongodb/mongo-swift-driver.git from cache (3.94s)
Computing version for https://github.com/mongodb/mongo-swift-driver.git
Computed https://github.com/mongodb/mongo-swift-driver.git at 1.3.1 (0.67s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-nio
[1/1569] Fetching swift-atomics
[64/4953] Fetching swift-atomics, swift-bson
[4954/24171] Fetching swift-atomics, swift-bson, nimble
[5147/95318] Fetching swift-atomics, swift-bson, nimble, swift-nio
Fetched https://github.com/Quick/Nimble.git from cache (4.32s)
Fetched https://github.com/apple/swift-nio from cache (4.32s)
Fetched https://github.com/mongodb/swift-bson from cache (4.32s)
Fetched https://github.com/apple/swift-atomics from cache (4.32s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (0.66s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/async-kit.git
[1/5840] Fetching sql-kit
[60/8210] Fetching sql-kit, async-kit
[190/11870] Fetching sql-kit, async-kit, swift-log
Fetched https://github.com/vapor/sql-kit.git from cache (1.07s)
[4786/6030] Fetching async-kit, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.13s)
Fetched https://github.com/vapor/async-kit.git from cache (1.13s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.64s)
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
[1/1049] Fetching swift-extras-json
[12/1882] Fetching swift-extras-json, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.99s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.99s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (0.62s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.63s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.50s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.47s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.63s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5563] Fetching swift-algorithms
[947/21038] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (2.08s)
Fetched https://github.com/apple/swift-collections.git from cache (2.09s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.63s)
Fetching https://github.com/apple/swift-numerics.git
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.10s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.64s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.73s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.76.1 (0.72s)
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.48s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.32.0 (0.51s)
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.36.1
Creating working copy for https://github.com/mongodb/mongo-swift-driver.git
Working copy of https://github.com/mongodb/mongo-swift-driver.git resolved at 1.3.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.32.0
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "vapor-fluent-mongo",
      "name": "FluentMongo",
      "url": "https://github.com/asensei/vapor-fluent-mongo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/vapor-fluent-mongo",
      "dependencies": [
        {
          "identity": "fluent-kit",
          "name": "fluent-kit",
          "url": "https://github.com/vapor/fluent-kit.git",
          "version": "1.36.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/fluent-kit",
          "dependencies": [
            {
              "identity": "swift-nio",
              "name": "swift-nio",
              "url": "https://github.com/apple/swift-nio",
              "version": "2.76.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
              "dependencies": [
                {
                  "identity": "swift-atomics",
                  "name": "swift-atomics",
                  "url": "https://github.com/apple/swift-atomics",
                  "version": "1.2.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.1.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-system",
                  "name": "swift-system",
                  "url": "https://github.com/apple/swift-system.git",
                  "version": "1.4.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.6.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            },
            {
              "identity": "sql-kit",
              "name": "sql-kit",
              "url": "https://github.com/vapor/sql-kit.git",
              "version": "3.32.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sql-kit",
              "dependencies": [
                {
                  "identity": "swift-nio",
                  "name": "swift-nio",
                  "url": "https://github.com/apple/swift-nio",
                  "version": "2.76.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
                  "dependencies": [
                    {
                      "identity": "swift-atomics",
                      "name": "swift-atomics",
                      "url": "https://github.com/apple/swift-atomics",
                      "version": "1.2.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "swift-collections",
                      "name": "swift-collections",
                      "url": "https://github.com/apple/swift-collections.git",
                      "version": "1.1.4",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "swift-system",
                      "name": "swift-system",
                      "url": "https://github.com/apple/swift-system.git",
                      "version": "1.4.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
                      "dependencies": [
                      ]
                    }
                  ]
                },
                {
                  "identity": "swift-log",
                  "name": "swift-log",
                  "url": "https://github.com/apple/swift-log.git",
                  "version": "1.6.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.1.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "async-kit",
              "name": "async-kit",
              "url": "https://github.com/vapor/async-kit.git",
              "version": "1.20.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/async-kit",
              "dependencies": [
                {
                  "identity": "swift-nio",
                  "name": "swift-nio",
                  "url": "https://github.com/apple/swift-nio",
                  "version": "2.76.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
                  "dependencies": [
                    {
                      "identity": "swift-atomics",
                      "name": "swift-atomics",
                      "url": "https://github.com/apple/swift-atomics",
                      "version": "1.2.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "swift-collections",
                      "name": "swift-collections",
                      "url": "https://github.com/apple/swift-collections.git",
                      "version": "1.1.4",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "swift-system",
                      "name": "swift-system",
                      "url": "https://github.com/apple/swift-system.git",
                      "version": "1.4.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
                      "dependencies": [
                      ]
                    }
                  ]
                },
                {
                  "identity": "swift-log",
                  "name": "swift-log",
                  "url": "https://github.com/apple/swift-log.git",
                  "version": "1.6.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.1.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-algorithms",
                  "name": "swift-algorithms",
                  "url": "https://github.com/apple/swift-algorithms.git",
                  "version": "1.2.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-algorithms",
                  "dependencies": [
                    {
                      "identity": "swift-numerics",
                      "name": "swift-numerics",
                      "url": "https://github.com/apple/swift-numerics.git",
                      "version": "1.0.2",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
                      "dependencies": [
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "mongo-swift-driver",
          "name": "mongo-swift-driver",
          "url": "https://github.com/mongodb/mongo-swift-driver.git",
          "version": "1.3.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mongo-swift-driver",
          "dependencies": [
            {
              "identity": "nimble",
              "name": "Nimble",
              "url": "https://github.com/Quick/Nimble.git",
              "version": "8.1.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-nio",
              "name": "swift-nio",
              "url": "https://github.com/apple/swift-nio",
              "version": "2.76.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
              "dependencies": [
                {
                  "identity": "swift-atomics",
                  "name": "swift-atomics",
                  "url": "https://github.com/apple/swift-atomics",
                  "version": "1.2.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.1.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-system",
                  "name": "swift-system",
                  "url": "https://github.com/apple/swift-system.git",
                  "version": "1.4.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "swift-bson",
              "name": "swift-bson",
              "url": "https://github.com/mongodb/swift-bson",
              "version": "3.1.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-bson",
              "dependencies": [
                {
                  "identity": "swift-nio",
                  "name": "swift-nio",
                  "url": "https://github.com/apple/swift-nio",
                  "version": "2.76.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
                  "dependencies": [
                    {
                      "identity": "swift-atomics",
                      "name": "swift-atomics",
                      "url": "https://github.com/apple/swift-atomics",
                      "version": "1.2.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "swift-collections",
                      "name": "swift-collections",
                      "url": "https://github.com/apple/swift-collections.git",
                      "version": "1.1.4",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                      "dependencies": [
                      ]
                    },
                    {
                      "identity": "swift-system",
                      "name": "swift-system",
                      "url": "https://github.com/apple/swift-system.git",
                      "version": "1.4.0",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
                      "dependencies": [
                      ]
                    }
                  ]
                },
                {
                  "identity": "swift-extras-json",
                  "name": "swift-extras-json",
                  "url": "https://github.com/swift-extras/swift-extras-json",
                  "version": "0.6.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-extras-json",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-extras-base64",
                  "name": "swift-extras-base64",
                  "url": "https://github.com/swift-extras/swift-extras-base64",
                  "version": "0.5.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-extras-base64",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "nimble",
                  "name": "Nimble",
                  "url": "https://github.com/Quick/Nimble.git",
                  "version": "8.1.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/asensei/vapor-fluent-mongo.git
[1/1470] Fetching vapor-fluent-mongo
Fetched https://github.com/asensei/vapor-fluent-mongo.git from cache (0.91s)
Fetching https://github.com/vapor/fluent-kit.git from cache
Fetching https://github.com/mongodb/mongo-swift-driver.git from cache
Fetched https://github.com/mongodb/mongo-swift-driver.git from cache (0.60s)
Fetched https://github.com/vapor/fluent-kit.git from cache (0.60s)
Computing version for https://github.com/mongodb/mongo-swift-driver.git
Computed https://github.com/mongodb/mongo-swift-driver.git at 1.3.1 (0.03s)
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/apple/swift-nio from cache
Fetching https://github.com/mongodb/swift-bson from cache
Fetching https://github.com/apple/swift-atomics from cache
Fetched https://github.com/apple/swift-atomics from cache (0.72s)
Fetched https://github.com/apple/swift-nio from cache (0.72s)
Fetched https://github.com/Quick/Nimble.git from cache (0.72s)
Fetched https://github.com/mongodb/swift-bson from cache (0.72s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (0.02s)
Fetching https://github.com/vapor/sql-kit.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/vapor/async-kit.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Fetched https://github.com/vapor/async-kit.git from cache (0.54s)
Fetched https://github.com/vapor/sql-kit.git from cache (0.54s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.02s)
Fetching https://github.com/swift-extras/swift-extras-base64 from cache
Fetching https://github.com/swift-extras/swift-extras-json from cache
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.97s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.97s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (0.02s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.02s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.03s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.02s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.02s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetched https://github.com/apple/swift-algorithms.git from cache (0.56s)
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.02s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.32.0 (0.03s)
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/mongodb/mongo-swift-driver.git
Working copy of https://github.com/mongodb/mongo-swift-driver.git resolved at 1.3.1
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.36.1
Creating working copy for https://github.com/asensei/vapor-fluent-mongo.git
Working copy of https://github.com/asensei/vapor-fluent-mongo.git resolved at master (76bc6e5)
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.32.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.76.1
warning: '.resolve-product-dependencies': dependency 'vapor-fluent-mongo' is not used by any target
Found 2 product dependencies
  - fluent-kit
  - mongo-swift-driver
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/asensei/vapor-fluent-mongo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/173] Write sources
[5/173] Copying PrivacyInfo.xcprivacy
[5/173] Write sources
[23/173] Write swift-version--7754E27361AE5C74.txt
[24/173] Compiling CNIOWindows shim.c
[24/173] Compiling CNIOWindows WSAStartup.c
[24/173] Compiling CNIOWASI CNIOWASI.c
[27/173] Compiling _NumericsShims _NumericsShims.c
[28/173] Compiling CNIOLinux shim.c
[29/181] Compiling _AtomicsShims.c
[30/225] Compiling bson-error.c
[31/225] Compiling bson-decimal128.c
[32/225] Compiling CNIOLinux liburing_shims.c
[34/225] Emitting module _NIOBase64
[34/229] Compiling bson-iso8601.c
[35/229] Compiling bson-iter.c
[36/229] Compiling CNIODarwin shim.c
[37/229] Compiling mongoc-write-concern.c
[38/229] Compiling mongoc-write-command.c
[39/229] Compiling mongoc-write-command-legacy.c
[40/229] Compiling mongoc-version-functions.c
[41/229] Compiling mongoc-util.c
[42/229] Compiling mongoc-uri.c
[43/229] Compiling mongoc-ts-pool.c
[44/229] Compiling mongoc-topology.c
[45/229] Compiling mongoc-topology-scanner.c
[46/229] Compiling mongoc-topology-description.c
[47/229] Compiling mongoc-topology-description-apm.c
[48/229] Compiling mongoc-topology-background-monitoring.c
[49/229] Compiling mongoc-timeout.c
[50/229] Compiling mongoc-stream.c
[51/229] Compiling mongoc-stream-tls.c
[52/229] Compiling mongoc-stream-tls-secure-transport.c
[53/229] Compiling c-nioatomics.c
[54/229] Compiling mongoc-stream-tls-secure-channel.c
[55/229] Compiling mongoc-stream-tls-openssl.c
[56/229] Compiling mongoc-stream-tls-openssl-bio.c
[57/229] Compiling mongoc-stream-tls-libressl.c
[58/229] Compiling mongoc-stream-gridfs.c
[59/229] Compiling mongoc-stream-socket.c
[60/229] Compiling mongoc-stream-gridfs-upload.c
[61/229] Compiling mongoc-stream-gridfs-download.c
[62/229] Compiling mongoc-stream-file.c
[63/229] Compiling mongoc-stream-buffered.c
[64/229] Compiling mongoc-sspi.c
[65/229] Compiling mongoc-ssl.c
[66/229] Compiling mongoc-shared.c
[67/229] Compiling mongoc-socket.c
[68/229] Compiling mongoc-set.c
[69/229] Compiling mongoc-server-stream.c
[70/229] Compiling mongoc-server-monitor.c
[71/229] Compiling mongoc-server-description.c
[72/229] Compiling mongoc-server-api.c
[73/229] Compiling mongoc-secure-channel.c
[74/229] Compiling mongoc-scram.c
[75/229] Compiling mongoc-sasl.c
[76/229] Compiling c-atomics.c
[77/229] Compiling mongoc-secure-transport.c
[78/235] Compiling mongoc-read-prefs.c
[79/235] Compiling mongoc-read-concern.c
[80/235] Compiling mongoc-rand-openssl.c
[81/235] Compiling mongoc-rpc.c
[82/235] Compiling mongoc-rand-cng.c
[83/235] Compiling mongoc-rand-common-crypto.c
[84/235] Compiling mongoc-queue.c
[85/235] Compiling mongoc-opts-helpers.c
[86/235] Compiling mongoc-optional.c
[87/235] Compiling mongoc-opts.c
[88/235] Compiling mongoc-openssl.c
[89/235] Compiling mongoc-ocsp-cache.c
[90/235] Compiling mongoc-memcmp.c
[91/235] Compiling mongoc-matcher.c
[92/235] Compiling mongoc-log.c
[93/235] Compiling mongoc-list.c
[94/235] Compiling mongoc-matcher-op.c
[95/235] Compiling mongoc-linux-distro-scanner.c
[96/235] Compiling mongoc-libressl.c
[97/235] Compiling mongoc-interrupt.c
[98/235] Compiling mongoc-init.c
[99/235] Compiling mongoc-index.c
[100/235] Compiling mongoc-host-list.c
[101/235] Compiling mongoc-http.c
[102/235] Compiling mongoc-handshake.c
[103/235] Compiling mongoc-gridfs.c
[104/235] Compiling mongoc-gridfs-file-page.c
[105/235] Compiling mongoc-gridfs-file-list.c
[106/235] Compiling mongoc-gridfs-file.c
[107/235] Compiling mongoc-gridfs-bucket-file.c
[108/235] Compiling mongoc-generation-map.c
[109/235] Compiling mongoc-gridfs-bucket.c
[110/235] Compiling mongoc-find-and-modify.c
[111/235] Compiling mongoc-error.c
[112/235] Compiling mongoc-cyrus.c
[113/235] Compiling mongoc-database.c
[114/235] Compiling mongoc-cursor.c
[115/235] Compiling mongoc-cursor-legacy.c
[116/235] Compiling mongoc-cursor-find.c
[117/235] Compiling mongoc-cursor-find-opquery.c
[118/235] Compiling mongoc-cursor-find-cmd.c
[119/235] Compiling mongoc-cursor-cmd.c
[120/235] Compiling mongoc-cursor-cmd-deprecated.c
[121/235] Compiling mongoc-cursor-change-stream.c
[122/235] Compiling mongoc-crypto.c
[123/235] Compiling mongoc-cursor-array.c
[124/235] Compiling mongoc-crypto-openssl.c
[125/235] Compiling mongoc-crypto-common-crypto.c
[126/235] Compiling mongoc-crypto-cng.c
[127/235] Compiling mongoc-crypt.c
[128/235] Compiling mongoc-counters.c
[129/235] Compiling mongoc-compression.c
[130/235] Compiling mongoc-cmd.c
[131/235] Compiling mongoc-collection.c
[132/235] Compiling mongoc-cluster-sspi.c
[133/235] Compiling mongoc-cluster-sasl.c
[134/235] Compiling mongoc-cluster-cyrus.c
[135/235] Compiling mongoc-cluster.c
[136/235] Compiling mongoc-cluster-aws.c
[137/235] Compiling mongoc-client-side-encryption.c
[138/235] Compiling mongoc-client.c
[139/235] Compiling mongoc-client-session.c
[140/235] Compiling mongoc-client-pool.c
[141/235] Compiling mongoc-change-stream.c
[142/235] Compiling mongoc-buffer.c
[143/235] Compiling mongoc-bulk-operation.c
[144/235] Compiling mongoc-async.c
[145/235] Compiling mongoc-async-cmd.c
[146/235] Compiling mongoc-array.c
[147/235] Compiling mongoc-apm.c
[148/235] Compiling mongoc-aggregate.c
[149/235] Compiling common-thread.c
[150/235] Compiling common-md5.c
[151/235] Compiling common-b64.c
[152/235] Compiling jsonsl.c
[153/235] Compiling bson-writer.c
[154/235] Compiling bson-version-functions.c
[155/235] Compiling bson-value.c
[156/235] Compiling bson-utf8.c
[157/235] Compiling bson.c
[158/235] Compiling bson-string.c
[159/235] Compiling bson-timegm.c
[160/235] Compiling bson-oid.c
[161/235] Compiling bson-reader.c
[162/235] Compiling bson-memory.c
[163/235] Compiling bson-md5.c
[164/235] Compiling bson-keys.c
[165/235] Compiling bson-context.c
[166/235] Compiling bson-clock.c
[167/235] Compiling bson-atomic.c
[168/235] Compiling bcon.c
[169/235] Write sources
[172/235] Compiling bson-json.c
[173/235] Write sources
[175/254] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[176/255] Compiling Atomics ManagedAtomic.swift
[177/255] Compiling Atomics ManagedAtomicLazyReference.swift
[178/255] Emitting module InternalCollectionsUtilities
[179/255] Compiling Atomics AtomicOptionalWrappable.swift
[180/255] Compiling Atomics AtomicReference.swift
[181/255] Compiling Atomics AtomicMemoryOrderings.swift
[182/255] Compiling Atomics DoubleWord.swift
[183/255] Compiling RealModule Real.swift
[184/255] Compiling RealModule Float80+Real.swift
[185/256] Compiling RealModule RealFunctions.swift
[186/256] Compiling _NIOBase64 Base64.swift
[187/256] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[188/256] Compiling RealModule Float+Real.swift
[189/256] Compiling RealModule AugmentedArithmetic.swift
[190/256] Compiling RealModule Double+Real.swift
[191/256] Compiling RealModule ApproximateEquality.swift
[192/256] Compiling RealModule ElementaryFunctions.swift
[193/256] Emitting module RealModule
[194/256] Compiling RealModule Float16+Real.swift
[195/256] Compiling RealModule AlgebraicField.swift
[196/256] Compiling ExtrasJSON DocumentReader.swift
[197/256] Compiling ExtrasJSON JSONError+DecodingError.swift
[198/256] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[199/256] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[200/256] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[201/256] Compiling ExtrasJSON JSONValue.swift
[202/257] Compiling Atomics PointerConformances.swift
[203/257] Compiling Atomics Primitives.native.swift
[204/257] Compiling Atomics Primitives.shims.swift
[205/257] Compiling Atomics AtomicInteger.swift
[206/257] Compiling Atomics AtomicBool.swift
[207/257] Compiling Atomics IntegerConformances.swift
[208/283] Emitting module ExtrasJSON
[209/283] Compiling Algorithms Permutations.swift
[210/283] Compiling Algorithms Product.swift
[211/283] Compiling Algorithms AdjacentPairs.swift
[212/283] Compiling Algorithms Chain.swift
[213/283] Compiling Algorithms Chunked.swift
[214/283] Compiling Algorithms Partition.swift
[215/283] Compiling Logging LogHandler.swift
[216/283] Compiling Logging MetadataProvider.swift
[217/283] Emitting module ExtrasBase64
[218/283] Compiling ExtrasBase64 DecodingError.swift
[219/283] Compiling ExtrasBase64 Base64.swift
[220/283] Compiling ExtrasBase64 Chromium.swift
[221/283] Compiling Algorithms EitherSequence.swift
[222/283] Compiling Algorithms FirstNonNil.swift
[223/283] Compiling Algorithms FlattenCollection.swift
[224/283] Compiling Algorithms Split.swift
[225/494] Emitting module _NIODataStructures
[226/494] Compiling _NIODataStructures PriorityQueue.swift
[227/494] Compiling _NIODataStructures Heap.swift
[228/494] Compiling _NIODataStructures _TinyArray.swift
[229/510] Compiling ExtrasJSON JSONParser.swift
[230/565] Compiling HeapModule _HeapNode.swift
[231/565] Compiling HeapModule Heap.swift
[232/565] Compiling HeapModule Heap+Descriptions.swift
[233/565] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[234/565] Compiling HeapModule Heap+Invariants.swift
[235/565] Compiling HeapModule Heap+UnsafeHandle.swift
[236/565] Emitting module HeapModule
[237/565] Emitting module Logging
[238/565] Compiling Logging Logging.swift
[239/565] Compiling Logging Locks.swift
[240/565] Compiling BitCollections BitArray+BitwiseOperations.swift
[241/565] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[242/565] Compiling BitCollections BitArray+Codable.swift
[243/565] Compiling BitCollections BitArray+Collection.swift
[244/565] Compiling BitCollections BitArray+Copy.swift
[245/565] Compiling BitCollections BitArray+CustomReflectable.swift
[246/571] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[247/571] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[248/571] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[249/571] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[250/571] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[251/571] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[252/576] Compiling BitCollections BitArray+Shifts.swift
[253/576] Compiling BitCollections BitArray+Testing.swift
[254/576] Compiling BitCollections BitArray._UnsafeHandle.swift
[255/576] Compiling BitCollections BitArray.swift
[256/576] Compiling BitCollections BitSet+BidirectionalCollection.swift
[257/576] Compiling BitCollections BitSet+Codable.swift
[258/576] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[259/576] Compiling BitCollections BitSet+SetAlgebra union.swift
[260/576] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[261/576] Compiling BitCollections BitSet.Counted.swift
[262/576] Compiling BitCollections BitSet.Index.swift
[263/576] Compiling BitCollections BitSet._UnsafeHandle.swift
[268/578] Compiling DequeModule _DequeSlot.swift
[269/578] Compiling DequeModule _DequeBuffer.swift
[272/578] Compiling DequeModule _DequeBufferHeader.swift
[279/579] Compiling NIOConcurrencyHelpers lock.swift
[280/579] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[281/579] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[282/579] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[283/579] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[284/579] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[285/579] Compiling BitCollections BitArray+Hashable.swift
[286/579] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[292/579] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[293/579] Compiling BitCollections BitSet+CustomReflectable.swift
[294/579] Compiling BitCollections BitSet+CustomStringConvertible.swift
[295/579] Compiling BitCollections BitSet+Equatable.swift
[296/579] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[297/579] Compiling BitCollections BitSet+Extras.swift
[299/579] Compiling BitCollections BitArray+Initializers.swift
[300/579] Compiling BitCollections BitArray+Invariants.swift
[301/579] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[302/579] Compiling BitCollections BitArray+RandomBits.swift
[303/579] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[309/579] Compiling BitCollections BitSet.swift
[310/579] Compiling BitCollections BitSet+Hashable.swift
[311/579] Compiling BitCollections BitSet+Initializers.swift
[312/579] Compiling BitCollections BitSet+Invariants.swift
[313/579] Compiling BitCollections BitSet+Random.swift
[314/579] Compiling BitCollections BitSet+SetAlgebra basics.swift
[315/579] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[322/579] Compiling BitCollections BitArray+Descriptions.swift
[323/579] Compiling Algorithms Unique.swift
[324/579] Compiling Algorithms Windows.swift
[325/579] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[326/579] Compiling BitCollections BitArray+Extras.swift
[327/579] Compiling BitCollections BitArray+Fill.swift
[335/579] Compiling DequeModule _UnsafeWrappedBuffer.swift
[337/579] Compiling BitCollections Range+Utilities.swift
[338/579] Compiling BitCollections Slice+Utilities.swift
[339/579] Compiling BitCollections UInt+Tricks.swift
[340/579] Compiling BitCollections _Word.swift
[341/579] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[342/579] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[343/579] Emitting module NIOConcurrencyHelpers
[344/579] Compiling NIOConcurrencyHelpers NIOLock.swift
[345/579] Compiling NIOConcurrencyHelpers atomics.swift
[346/579] Compiling HashTreeCollections TreeSet+Extras.swift
[347/579] Compiling HashTreeCollections TreeSet+Filter.swift
[348/579] Compiling HashTreeCollections TreeSet+Hashable.swift
[349/579] Compiling HashTreeCollections TreeSet+Sendable.swift
[350/579] Compiling HashTreeCollections TreeSet+Sequence.swift
[351/579] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[352/579] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[418/594] Emitting module BitCollections
[419/594] Compiling OrderedCollections _UnsafeBitset.swift
[420/594] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[428/594] Compiling _RopeModule Rope+Remove.swift
[429/594] Compiling _RopeModule Rope+RemoveSubrange.swift
[430/594] Compiling _RopeModule Rope+Split.swift
[431/594] Compiling _RopeModule Optional Utilities.swift
[432/594] Compiling _RopeModule String Utilities.swift
[433/594] Compiling _RopeModule String.Index+ABI.swift
[434/594] Compiling _RopeModule _CharacterRecognizer.swift
[435/594] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[436/594] Emitting module DequeModule
[470/594] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[471/594] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[472/594] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[473/594] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[474/594] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[475/594] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[476/594] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[477/594] Compiling HashTreeCollections TreeSet.swift
[500/594] Compiling OrderedCollections OrderedSet.swift
[527/596] Compiling Atomics IntegerOperations.swift
[528/596] Compiling Atomics Unmanaged extensions.swift
[569/596] Emitting module Atomics
[570/658] Emitting module OrderedCollections
[571/658] Emitting module _RopeModule
[572/658] Compiling NIOCore MulticastChannel.swift
[573/658] Compiling NIOCore NIOAny.swift
[574/658] Compiling NIOCore NIOCloseOnErrorHandler.swift
[575/658] Compiling NIOCore ByteBuffer-int.swift
[576/658] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[577/658] Compiling NIOCore ByteBuffer-multi-int.swift
[578/658] Compiling NIOCore ByteBuffer-aux.swift
[579/658] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[580/658] Compiling NIOCore ByteBuffer-conversions.swift
[581/658] Compiling NIOCore AsyncChannelHandler.swift
[582/658] Compiling NIOCore AsyncChannelInboundStream.swift
[583/658] Compiling NIOCore AsyncChannelOutboundWriter.swift
[584/658] Compiling NIOCore AddressedEnvelope.swift
[585/658] Compiling NIOCore AsyncAwaitSupport.swift
[586/658] Compiling NIOCore AsyncChannel.swift
[587/658] Compiling NIOCore NIOLoopBound.swift
[588/658] Compiling NIOCore ByteBuffer-core.swift
[589/658] Compiling NIOCore ByteBuffer-hex.swift
[590/658] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[591/658] Compiling NIOCore BSDSocketAPI.swift
[592/658] Emitting module Algorithms
[593/658] Compiling NIOCore NIOAsyncSequenceProducer.swift
[594/658] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[595/658] Compiling NIOCore NIOAsyncWriter.swift
[596/658] Compiling NIOCore GlobalSingletons.swift
[597/658] Compiling NIOCore IO.swift
[598/658] Compiling NIOCore IOData.swift
[599/658] Compiling NIOCore IPProtocol.swift
[600/658] Compiling NIOCore IntegerBitPacking.swift
[601/658] Compiling NIOCore IntegerTypes.swift
[602/658] Compiling NIOCore Interfaces.swift
[603/664] Emitting module HashTreeCollections
[604/666] Emitting module Collections
[605/666] Compiling Collections Collections.swift
[606/666] Compiling NIOCore SocketOptionProvider.swift
[607/666] Compiling NIOCore SystemCallHelpers.swift
[608/666] Compiling NIOCore TimeAmount+Duration.swift
[609/666] Compiling NIOCore TypeAssistedChannelHandler.swift
[610/666] Compiling NIOCore UniversalBootstrapSupport.swift
[611/666] Compiling NIOCore Utilities.swift
[612/666] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[613/666] Compiling NIOCore EventLoopFuture+Deprecated.swift
[614/666] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[615/666] Compiling NIOCore EventLoopFuture.swift
[616/666] Compiling NIOCore FileDescriptor.swift
[617/666] Compiling NIOCore FileHandle.swift
[618/666] Compiling NIOCore FileRegion.swift
[619/666] Compiling NIOCore NIOScheduledCallback.swift
[620/666] Compiling NIOCore NIOSendable.swift
[621/666] Compiling NIOCore PointerHelpers.swift
[622/666] Compiling NIOCore RecvByteBufferAllocator.swift
[623/666] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[624/666] Compiling NIOCore SocketAddresses.swift
[625/666] Compiling NIOCore Codec.swift
[626/666] Compiling NIOCore ConvenienceOptionSupport.swift
[627/666] Compiling NIOCore DeadChannel.swift
[628/666] Compiling NIOCore DispatchQueue+WithFuture.swift
[629/666] Compiling NIOCore EventLoop+Deprecated.swift
[630/666] Compiling NIOCore EventLoop+SerialExecutor.swift
[631/666] Compiling NIOCore EventLoop.swift
[646/666] Compiling NIOCore Channel.swift
[647/666] Compiling NIOCore ChannelHandler.swift
[648/666] Compiling NIOCore ChannelHandlers.swift
[649/666] Compiling NIOCore ChannelInvoker.swift
[650/666] Compiling NIOCore ChannelOption.swift
[651/666] Compiling NIOCore ChannelPipeline.swift
[652/666] Compiling NIOCore CircularBuffer.swift
[653/666] Compiling NIOCore Linux.swift
[654/666] Compiling NIOCore MarkedCircularBuffer.swift
[664/666] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[665/666] Compiling NIOCore ByteBuffer-views.swift
[666/666] Emitting module NIOCore
[667/720] Compiling NIOEmbedded AsyncTestingChannel.swift
[668/720] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[669/720] Compiling NIOEmbedded Embedded.swift
[670/720] Emitting module NIOEmbedded
[671/720] Compiling NIOPosix PooledRecvBufferAllocator.swift
[672/720] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[673/720] Compiling NIOPosix PosixSingletons.swift
[674/720] Compiling NIOPosix RawSocketBootstrap.swift
[675/720] Compiling NIOPosix Resolver.swift
[676/725] Compiling NIOPosix SocketProtocols.swift
[677/725] Compiling NIOPosix System.swift
[678/725] Compiling NIOPosix Thread.swift
[679/725] Compiling NIOPosix ThreadPosix.swift
[680/725] Compiling NIOPosix ThreadWindows.swift
[681/725] Compiling NIOPosix Selectable.swift
[682/725] Compiling NIOPosix SelectableChannel.swift
[683/725] Compiling NIOPosix SelectableEventLoop.swift
[684/725] Compiling NIOPosix SelectorEpoll.swift
[685/725] Compiling NIOPosix SelectorGeneric.swift
[686/725] Compiling NIOPosix SelectorKqueue.swift
[687/725] Compiling NIOPosix SelectorUring.swift
[688/725] Compiling NIOPosix ServerSocket.swift
[689/725] Compiling NIOPosix Socket.swift
[690/725] Compiling NIOPosix SocketChannel.swift
[691/725] Compiling NIOPosix BaseStreamSocketChannel.swift
[692/725] Compiling NIOPosix Bootstrap.swift
[693/725] Compiling NIOPosix ControlMessage.swift
[694/725] Compiling NIOPosix DatagramVectorReadManager.swift
[695/725] Compiling NIOPosix Errors+Any.swift
[696/725] Compiling NIOPosix FileDescriptor.swift
[697/725] Compiling NIOPosix LinuxCPUSet.swift
[698/725] Compiling NIOPosix LinuxUring.swift
[699/725] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[700/725] Compiling NIOPosix NIOThreadPool.swift
[701/725] Compiling NIOPosix NonBlockingFileIO.swift
[702/725] Compiling NIOPosix PendingDatagramWritesManager.swift
[703/725] Compiling NIOPosix BSDSocketAPICommon.swift
[704/725] Compiling NIOPosix BSDSocketAPIPosix.swift
[705/725] Compiling NIOPosix BSDSocketAPIWindows.swift
[706/725] Compiling NIOPosix BaseSocket.swift
[707/725] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[708/725] Compiling NIOPosix BaseSocketChannel.swift
[709/725] Emitting module NIOPosix
[710/725] Compiling NIOPosix GetaddrinfoResolver.swift
[711/725] Compiling NIOPosix HappyEyeballs.swift
[712/725] Compiling NIOPosix IO.swift
[713/725] Compiling NIOPosix IntegerBitPacking.swift
[714/725] Compiling NIOPosix IntegerTypes.swift
[715/725] Compiling NIOPosix Linux.swift
[716/725] Compiling NIOPosix PendingWritesManager.swift
[717/725] Compiling NIOPosix PipeChannel.swift
[718/725] Compiling NIOPosix PipePair.swift
[719/725] Compiling NIOPosix PointerHelpers.swift
[720/725] Compiling NIOPosix Pool.swift
[721/725] Compiling NIOPosix UnsafeTransfer.swift
[722/725] Compiling NIOPosix Utilities.swift
[723/725] Compiling NIOPosix VsockAddress.swift
[724/725] Compiling NIOPosix VsockChannelEvents.swift
[725/725] Compiling NIOPosix resource_bundle_accessor.swift
[726/749] Emitting module NIO
[727/749] Compiling NIO Exports.swift
[728/777] Compiling SwiftBSON BSONObjectID.swift
[729/777] Compiling SwiftBSON CodableNumber.swift
[730/779] Compiling SwiftBSON BSONDocument.swift
[731/779] Compiling SwiftBSON BSONDocumentIterator.swift
[732/779] Compiling SwiftBSON Array+BSONValue.swift
[733/779] Compiling SwiftBSON BSON.swift
[734/779] Compiling SwiftBSON BSONBinary.swift
[735/779] Compiling SwiftBSON BSONError.swift
[736/779] Compiling SwiftBSON BSONNulls.swift
[737/779] Compiling SwiftBSON CodingStrategies.swift
[738/779] Compiling SwiftBSON Date+BSONValue.swift
[739/779] Compiling SwiftBSON BSONRegularExpression.swift
[740/779] Compiling SwiftBSON BSONSymbol.swift
[741/779] Compiling SwiftBSON BSONTimestamp.swift
[748/782] Compiling AsyncKit Optional+StrictMap.swift
[749/782] Compiling AsyncKit Exports.swift
[753/782] Compiling SwiftBSON BSONValue.swift
[754/782] Compiling SwiftBSON Bool+BSONValue.swift
[755/782] Compiling SwiftBSON ByteBuffer+BSON.swift
[758/782] Compiling SwiftBSON ExtendedJSONEncoder.swift
[759/782] Compiling SwiftBSON Integers+BSONValue.swift
[760/782] Compiling SwiftBSON JSON.swift
[761/782] Compiling SwiftBSON String+BSONValue.swift
[762/782] Emitting module SwiftBSON
[766/782] Compiling SwiftBSON BSONCode.swift
[767/782] Compiling SwiftBSON BSONDBPointer.swift
[768/782] Compiling SwiftBSON BSONDecimal128.swift
[769/782] Compiling SwiftBSON BSONDecoder.swift
[770/782] Compiling SwiftBSON BSONDocument+Collection.swift
[771/782] Compiling SwiftBSON BSONDocument+Sequence.swift
[774/782] Compiling SwiftBSON BSONEncoder.swift
[775/846] Compiling MongoSwift APM.swift
[776/846] Compiling MongoSwift ChangeStream+AsyncSequence.swift
[777/846] Compiling MongoSwift ClientSession+AsyncAwait.swift
[778/846] Compiling MongoSwift MongoClient+AsyncAwait.swift
[779/846] Compiling MongoSwift MongoCollection+AsyncAwait.swift
[780/846] Compiling MongoSwift MongoCollection+ChangeStreams+AsyncAwait.swift
[781/846] Compiling MongoSwift MongoCollection+FindAndModify+AsyncAwait.swift
[782/852] Compiling MongoSwift ChangeStream.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
[783/852] Compiling MongoSwift ChangeStreamEvent.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
[784/852] Compiling MongoSwift ChangeStreamOptions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
[785/852] Compiling MongoSwift ClientSession.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
[786/852] Compiling MongoSwift Compressor.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
[787/852] Compiling MongoSwift ConnectionPool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
[788/852] Compiling MongoSwift CursorCommon.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
[789/852] Compiling MongoSwift MongoCollection+Indexes+AsyncAwait.swift
[790/852] Compiling MongoSwift MongoCollection+Read+AsyncAwait.swift
[791/852] Compiling MongoSwift MongoCollection+Write+AsyncAwait.swift
[792/852] Compiling MongoSwift MongoCursor+AsyncSequence.swift
[793/852] Compiling MongoSwift MongoDatabase+AsyncAwait.swift
[794/852] Compiling MongoSwift BSONPointerUtils.swift
[795/852] Compiling MongoSwift BSONUtil.swift
[796/852] Compiling MongoSwift AggregateOperation.swift
[797/852] Compiling MongoSwift CommitTransactionOperation.swift
[798/852] Compiling MongoSwift CountDocumentsOperation.swift
[799/852] Compiling MongoSwift CreateCollectionOperation.swift
[800/852] Compiling MongoSwift CreateIndexesOperation.swift
[801/852] Compiling MongoSwift DistinctOperation.swift
[802/852] Compiling MongoSwift DropCollectionOperation.swift
[803/852] Compiling MongoSwift ListIndexesOperation.swift
[804/852] Compiling MongoSwift MongocCommandHelpers.swift
[805/852] Compiling MongoSwift Operation.swift
[806/852] Compiling MongoSwift RenameCollectionOperation.swift
[807/852] Compiling MongoSwift RunCommandOperation.swift
[808/852] Compiling MongoSwift StartSessionOperation.swift
[809/852] Compiling MongoSwift StartTransactionOperation.swift
[810/852] Compiling MongoSwift EventLoopBoundMongoClient.swift
[811/852] Compiling MongoSwift Exports.swift
[812/852] Compiling MongoSwift Hint.swift
[813/852] Compiling MongoSwift MongoClient.swift
[814/852] Compiling MongoSwift MongoCollection+BulkWrite.swift
[815/852] Compiling MongoSwift MongoCollection+ChangeStreams.swift
[816/852] Compiling MongoSwift MongoCollection+FindAndModify.swift
[817/852] Emitting module MongoSwift
[818/852] Compiling MongoSwift WatchOperation.swift
[819/852] Compiling MongoSwift ReadConcern.swift
[820/852] Compiling MongoSwift ReadPreference.swift
[821/852] Compiling MongoSwift SDAM.swift
[822/852] Compiling MongoSwift ServerSelection.swift
[823/852] Compiling MongoSwift WriteConcern.swift
[824/852] Compiling MongoSwift MongoDatabase.swift
[825/852] Compiling MongoSwift MongoError.swift
[826/852] Compiling MongoSwift MongoNamespace.swift
[827/852] Compiling MongoSwift MongoServerAPI.swift
[828/852] Compiling MongoSwift MongoSwift.swift
[829/852] Compiling MongoSwift MongoSwiftVersion.swift
[830/852] Compiling MongoSwift AbortTransactionOperation.swift
[831/852] Compiling MongoSwift MongoCollection+Indexes.swift
[832/852] Compiling MongoSwift MongoCollection+Read.swift
[833/852] Compiling MongoSwift MongoCollection+Write.swift
[834/852] Compiling MongoSwift MongoCollection.swift
[835/852] Compiling MongoSwift MongoConnectionString.swift
[836/852] Compiling MongoSwift MongoCredential.swift
[837/852] Compiling MongoSwift MongoCursor.swift
[838/852] Compiling MongoSwift DropDatabaseOperation.swift
[839/852] Compiling MongoSwift DropIndexesOperation.swift
[840/852] Compiling MongoSwift EstimatedDocumentCountOperation.swift
[841/852] Compiling MongoSwift FindAndModifyOperation.swift
[842/852] Compiling MongoSwift FindOperation.swift
[843/852] Compiling MongoSwift ListCollectionsOperation.swift
[844/852] Compiling MongoSwift ListDatabasesOperation.swift
[852/852] Emitting module AsyncKit
[853/936] Compiling FluentKit AsyncMigration.swift
[854/936] Compiling FluentKit AsyncModelMiddleware.swift
[855/936] Compiling FluentKit Children+Concurrency.swift
[856/936] Compiling FluentKit Database+Concurrency.swift
[857/936] Compiling FluentKit EnumBuilder+Concurrency.swift
[858/936] Compiling FluentKit Model+Concurrency.swift
[859/936] Compiling FluentKit ModelResponder+Concurrency.swift
[860/936] Compiling FluentKit OptionalChild+Concurrency.swift
[861/936] Compiling FluentKit OptionalParent+Concurrency.swift
[862/936] Compiling FluentKit Parent+Concurrency.swift
[863/945] Compiling FluentKit DatabaseOutput.swift
[864/945] Compiling FluentKit Databases.swift
[865/945] Compiling FluentKit TransactionControlDatabase.swift
[866/945] Compiling FluentKit DatabaseEnum.swift
[867/945] Compiling FluentKit EnumBuilder.swift
[868/945] Compiling FluentKit EnumMetadata.swift
[869/945] Compiling FluentKit EnumProperty.swift
[870/945] Compiling FluentKit OptionalEnumProperty.swift
[871/945] Compiling FluentKit Exports.swift
[872/945] Compiling FluentKit DatabaseQuery+Range.swift
[873/945] Compiling FluentKit DatabaseQuery+Sort.swift
[874/945] Compiling FluentKit DatabaseQuery+Value.swift
[875/945] Compiling FluentKit DatabaseQuery.swift
[876/945] Compiling FluentKit QueryHistory.swift
[877/945] Compiling FluentKit DatabaseSchema.swift
[878/945] Compiling FluentKit SchemaBuilder.swift
[879/945] Compiling FluentKit OptionalType.swift
[880/945] Compiling FluentKit RandomGeneratable.swift
[881/945] Compiling FluentKit FluentError.swift
[882/945] Compiling FluentKit ModelMiddleware.swift
[883/945] Compiling FluentKit ModelResponder.swift
[884/945] Compiling FluentKit Migration.swift
[885/945] Compiling FluentKit MigrationLog.swift
[886/945] Compiling FluentKit Migrations.swift
[887/945] Compiling FluentKit Migrator.swift
[888/945] Compiling FluentKit AnyModel.swift
[889/945] Compiling FluentKit EagerLoad.swift
[890/945] Compiling FluentKit QueryBuilder+Concurrency.swift
[891/945] Compiling FluentKit Relation+Concurrency.swift
[892/945] Compiling FluentKit SchemaBuilder+Concurrency.swift
[893/945] Compiling FluentKit Siblings+Concurrency.swift
[894/945] Compiling FluentKit Database+Logging.swift
[895/945] Compiling FluentKit Database.swift
[896/945] Compiling FluentKit DatabaseID.swift
[897/945] Compiling FluentKit DatabaseInput.swift
[898/945] Compiling FluentKit DatabaseOutput+Cascade.swift
[899/945] Compiling FluentKit DatabaseOutput+Prefix.swift
[900/945] Compiling FluentKit Fields+Codable.swift
[901/945] Compiling FluentKit Fields.swift
[902/945] Compiling FluentKit MirrorBypass.swift
[903/945] Compiling FluentKit Model+CRUD.swift
[904/945] Compiling FluentKit Model.swift
[905/945] Compiling FluentKit ModelAlias.swift
[906/945] Compiling FluentKit Schema.swift
[907/945] Compiling FluentKit FieldOperators.swift
[908/945] Compiling FluentKit Operators.swift
[909/945] Compiling FluentKit ValueOperators+Array.swift
[910/945] Compiling FluentKit ValueOperators+String.swift
[911/945] Compiling FluentKit ValueOperators.swift
[912/945] Compiling FluentKit Boolean.swift
[913/945] Compiling FluentKit BooleanPropertyFormat.swift
[914/945] Compiling FluentKit Children.swift
[915/945] Compiling FluentKit CompositeID.swift
[916/945] Compiling FluentKit Field.swift
[917/945] Compiling FluentKit FieldKey.swift
[918/945] Emitting module FluentKit
[919/945] Compiling FluentKit Group.swift
[920/945] Compiling FluentKit ID.swift
[921/945] Compiling FluentKit OptionalBoolean.swift
[922/945] Compiling FluentKit OptionalChild.swift
[923/945] Compiling FluentKit OptionalField.swift
[924/945] Compiling FluentKit OptionalParent.swift
[925/945] Compiling FluentKit Parent.swift
[926/945] Compiling FluentKit Property.swift
[927/945] Compiling FluentKit Relation.swift
[928/945] Compiling FluentKit QueryBuilder+Range.swift
[929/945] Compiling FluentKit QueryBuilder+Set.swift
[930/945] Compiling FluentKit QueryBuilder+Sort.swift
[931/945] Compiling FluentKit QueryBuilder.swift
[932/945] Compiling FluentKit DatabaseQuery+Action.swift
[933/945] Compiling FluentKit DatabaseQuery+Aggregate.swift
[934/945] Compiling FluentKit DatabaseQuery+Field.swift
[935/945] Compiling FluentKit DatabaseQuery+Filter.swift
[936/945] Compiling FluentKit DatabaseQuery+Join.swift
[937/945] Compiling FluentKit Siblings.swift
[938/945] Compiling FluentKit Timestamp.swift
[939/945] Compiling FluentKit TimestampFormat.swift
[940/945] Compiling FluentKit QueryBuilder+Aggregate.swift
[941/945] Compiling FluentKit QueryBuilder+EagerLoad.swift
[942/945] Compiling FluentKit QueryBuilder+Filter.swift
[943/945] Compiling FluentKit QueryBuilder+Group.swift
[944/945] Compiling FluentKit QueryBuilder+Join.swift
[945/945] Compiling FluentKit QueryBuilder+Paginate.swift
[946/969] Compiling FluentMongo MongoConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:34:21: warning: type 'MongoConnection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 35 |         } catch {
 36 |             logger.error("Failed to connect to mongo db: \(database). \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:77:17: warning: capture of 'self' with non-sendable type 'MongoConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 78 |             default:
 79 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:96:17: warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |
 95 |             for result in results {
 96 |                 onOutput(result)
    |                 |- warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 97 |             }
 98 |
[947/969] Compiling FluentMongo MongoConnectionSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:34:21: warning: type 'MongoConnection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 35 |         } catch {
 36 |             logger.error("Failed to connect to mongo db: \(database). \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:77:17: warning: capture of 'self' with non-sendable type 'MongoConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 78 |             default:
 79 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoConnection.swift:96:17: warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 94 |
 95 |             for result in results {
 96 |                 onOutput(result)
    |                 |- warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 97 |             }
 98 |
[948/971] Emitting module FluentMongo
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mongo-swift-driver/Sources/CLibMongoC/include/CLibMongoC.h: 0:
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
[949/971] Compiling FluentMongo DatabaseQueryOffset+Mongo.swift
[950/971] Compiling FluentMongo DatabaseQuerySort+Mongo.swift
[951/971] Compiling FluentMongo DatabaseQueryValue+Mongo.swift
[952/971] Compiling FluentMongo IndexBuilder.swift
/Users/admin/builder/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 | }
[953/971] Compiling FluentMongo MongoConfiguration.swift
/Users/admin/builder/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 | }
[954/971] Compiling FluentMongo Exports.swift
[955/971] Compiling FluentMongo Fluent+Additions.swift
[956/971] Compiling FluentMongo FluentMongoConfiguration.swift
[957/971] Compiling FluentMongo DatabaseSchema+Mongo.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/Error.swift:129:21: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
130 |             guard
131 |                 let mongoError = error as? Error,
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/Error.swift:137:20: warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |             }
136 |
137 |             return callback(mongoError)
    |                    |- warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 |         }
139 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/Error.swift:151:24: warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |             }
150 |
151 |             return try callback(mongoError)
    |                        |- warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 |         }
153 |     }
[958/971] Compiling FluentMongo Document+Nested.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/Error.swift:129:21: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
130 |             guard
131 |                 let mongoError = error as? Error,
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/Error.swift:137:20: warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |             }
136 |
137 |             return callback(mongoError)
    |                    |- warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 |         }
139 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/Error.swift:151:24: warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |             }
150 |
151 |             return try callback(mongoError)
    |                        |- warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 |         }
153 |     }
[959/971] Compiling FluentMongo Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/Error.swift:129:21: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
130 |             guard
131 |                 let mongoError = error as? Error,
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/Error.swift:137:20: warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |             }
136 |
137 |             return callback(mongoError)
    |                    |- warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 |         }
139 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/Error.swift:151:24: warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |             }
150 |
151 |             return try callback(mongoError)
    |                        |- warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 |         }
153 |     }
[960/971] Compiling FluentMongo DatabaseQueryFilter+Mongo.swift
/Users/admin/builder/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 {
[961/971] Compiling FluentMongo DatabaseQueryJoin+Mongo.swift
/Users/admin/builder/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 {
[962/971] Compiling FluentMongo DatabaseQueryLimit+Mongo.swift
/Users/admin/builder/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 {
[963/971] Compiling FluentMongo MongoDatabaseOutput.swift
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:64:70: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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 a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |             }
 66 |         } catch {
/Users/admin/builder/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 {
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:80:58: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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 a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |             }
 82 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:97:23: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                 }
 96 |
 97 |                 guard documents.count == result.insertedCount else {
    |                       `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 |                     throw Error.insertManyMismatch(documents.count, result.insertedCount)
 99 |                 }
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:102:110: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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 a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                 }
104 |             }.flatMapErrorThrowing { error in
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:34: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:54: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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) {
    :
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; this is an error in the Swift 6 language mode
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:125:31: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
126 |                     collection.updateMany(filter: filter, update: document, session: session)
127 |                 }.flatten(on: eventLoop)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:126:86: warning: capture of 'session' with non-sendable type 'ClientSession?' in a `@Sendable` 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 a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |                 }.flatten(on: eventLoop)
128 |
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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")
/Users/admin/builder/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 |         }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:13: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
139 |         }
140 |     }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:33: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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) {
    :
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; this is an error in the Swift 6 language mode
139 |         }
140 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:80: warning: capture of 'session' with non-sendable type 'ClientSession?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
139 |         }
140 |     }
/Users/admin/builder/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")
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:143:96: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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) {
    :
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; this is an error in the Swift 6 language mode
144 |     }
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:198:30: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
196 |
197 |         guard !self.query.filters.isEmpty else {
198 |             return eventLoop.makeSucceededFuture(.init())
    |                              `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
199 |         }
200 |
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:213:97: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
214 |                 cursor.toArray().map {
215 |                     ["_id": ["$in": .array($0.compactMap { $0["_id"] })]]
/Users/admin/builder/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)
[964/971] Compiling FluentMongo MongoQueryConverter.swift
/Users/admin/builder/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 |             }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:64:70: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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 a `@Sendable` closure; this is an error in the Swift 6 language mode
 65 |             }
 66 |         } catch {
/Users/admin/builder/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 {
/Users/admin/builder/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 }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:80:58: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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 a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |             }
 82 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:79:58: warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 80 |                     .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
 81 |             }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:97:23: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                 }
 96 |
 97 |                 guard documents.count == result.insertedCount else {
    |                       `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 |                     throw Error.insertManyMismatch(documents.count, result.insertedCount)
 99 |                 }
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:102:110: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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 a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                 }
104 |             }.flatMapErrorThrowing { error in
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:34: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:124:54: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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) {
    :
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; this is an error in the Swift 6 language mode
125 |                 let updates = documents.map { document in
126 |                     collection.updateMany(filter: filter, update: document, session: session)
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:125:31: warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
126 |                     collection.updateMany(filter: filter, update: document, session: session)
127 |                 }.flatten(on: eventLoop)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:126:86: warning: capture of 'session' with non-sendable type 'ClientSession?' in a `@Sendable` 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 a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |                 }.flatten(on: eventLoop)
128 |
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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")
/Users/admin/builder/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 |         }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:13: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
139 |         }
140 |     }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:33: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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) {
    :
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; this is an error in the Swift 6 language mode
139 |         }
140 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:138:80: warning: capture of 'session' with non-sendable type 'ClientSession?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
139 |         }
140 |     }
/Users/admin/builder/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")
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:143:96: warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a `@Sendable` 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) {
    :
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; this is an error in the Swift 6 language mode
144 |     }
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:198:30: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
196 |
197 |         guard !self.query.filters.isEmpty else {
198 |             return eventLoop.makeSucceededFuture(.init())
    |                              `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
199 |         }
200 |
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:213:97: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
214 |                 cursor.toArray().map {
215 |                     ["_id": ["$in": .array($0.compactMap { $0["_id"] })]]
/Users/admin/builder/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)
[965/971] Compiling FluentMongo MongoDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
 33 |         return self.execute(closure) { result in
 34 |             results.append(result)
 35 |         }.map { results }
    |                 `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:80:44: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:90:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 91 |                             session.commitTransaction().map { value }
 92 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:93:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
 95 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:82:35: warning: capture of 'connection' with non-sendable type 'MongoConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 80 |                 session.startTransaction().flatMap {
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
    |                                   `- warning: capture of 'connection' with non-sendable type 'MongoConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 83 |                         context: self.context,
 84 |                         session: session,
/Users/admin/builder/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(
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:83:34: warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 84 |                         session: session,
 85 |                         encoder: self.encoder,
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:84:34: warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 82 |                         database: connection,
 83 |                         context: self.context,
 84 |                         session: session,
    |                                  `- warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 85 |                         encoder: self.encoder,
 86 |                         decoder: self.decoder
/Users/admin/builder/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")
/Users/admin/builder/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 {
/Users/admin/builder/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; this is an error in the Swift 6 language mode
 87 |                     )
 88 |
 89 |                     return closure(transactionDatabase)
    |                            |- warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 92 |                         }
 93 |                         .flatMapError { error in
/Users/admin/builder/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")
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:63: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 92 |                         }
 93 |                         .flatMapError { error in
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:94:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 |                         }
 93 |                         .flatMapError { error in
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
    |                             `- warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                         }
 96 |                 }
/Users/admin/builder/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")
[966/971] Compiling FluentMongo MongoDatabaseDriver.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:35:17: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
 33 |         return self.execute(closure) { result in
 34 |             results.append(result)
 35 |         }.map { results }
    |                 `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:80:44: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:90:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 91 |                             session.commitTransaction().map { value }
 92 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:93:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
 95 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:82:35: warning: capture of 'connection' with non-sendable type 'MongoConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 80 |                 session.startTransaction().flatMap {
 81 |                     let transactionDatabase = FluentMongoDatabase(
 82 |                         database: connection,
    |                                   `- warning: capture of 'connection' with non-sendable type 'MongoConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 83 |                         context: self.context,
 84 |                         session: session,
/Users/admin/builder/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(
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:83:34: warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 84 |                         session: session,
 85 |                         encoder: self.encoder,
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:84:34: warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 82 |                         database: connection,
 83 |                         context: self.context,
 84 |                         session: session,
    |                                  `- warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 85 |                         encoder: self.encoder,
 86 |                         decoder: self.decoder
/Users/admin/builder/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")
/Users/admin/builder/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 {
/Users/admin/builder/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; this is an error in the Swift 6 language mode
 87 |                     )
 88 |
 89 |                     return closure(transactionDatabase)
    |                            |- warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 90 |                         .flatMap { value in
 91 |                             session.commitTransaction().map { value }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 92 |                         }
 93 |                         .flatMapError { error in
/Users/admin/builder/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")
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:91:63: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
 92 |                         }
 93 |                         .flatMapError { error in
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:94:29: warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 |                         }
 93 |                         .flatMapError { error in
 94 |                             session.abortTransaction().flatMapThrowing { throw error }
    |                             `- warning: capture of 'session' with non-sendable type 'ClientSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                         }
 96 |                 }
/Users/admin/builder/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")
[967/971] Compiling FluentMongo BSONCoder+BSON.swift
/Users/admin/builder/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 {
[968/971] Compiling FluentMongo DatabaseQueryAggregate+Mongo.swift
/Users/admin/builder/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 {
[969/971] Compiling FluentMongo DatabaseQueryField+Mongo.swift
/Users/admin/builder/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 {
[970/971] Compiling FluentMongo MongoSchemaConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
43 |                 default:
44 |                     throw error
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:48: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
43 |                 default:
44 |                     throw error
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:48:43: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
49 |                     guard !indexModels.isEmpty else {
50 |                         return eventLoop.makeSucceededFuture(Void())
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:52:75: warning: capture of 'session' with non-sendable type 'ClientSession?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
53 |                 } catch {
54 |                     return eventLoop.makeFailedFuture(error)
/Users/admin/builder/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")
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:70:56: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
71 |                     }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:75:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
76 |                         "collMod": .string(self.schema.schema),
77 |                         "validator": .document(validator),
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:79:33: warning: capture of 'session' with non-sendable type 'ClientSession?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
80 |                 } catch {
81 |                     return eventLoop.makeFailedFuture(error)
/Users/admin/builder/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")
[971/971] Compiling FluentMongo QueryBuilder+Mongo.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
43 |                 default:
44 |                     throw error
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:42:48: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
43 |                 default:
44 |                     throw error
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:48:43: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
49 |                     guard !indexModels.isEmpty else {
50 |                         return eventLoop.makeSucceededFuture(Void())
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:52:75: warning: capture of 'session' with non-sendable type 'ClientSession?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
53 |                 } catch {
54 |                     return eventLoop.makeFailedFuture(error)
/Users/admin/builder/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")
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:70:56: warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
71 |                     }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:75:28: warning: capture of 'database' with non-sendable type 'MongoDatabase' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
76 |                         "collMod": .string(self.schema.schema),
77 |                         "validator": .document(validator),
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoSchemaConverter.swift:79:33: warning: capture of 'session' with non-sendable type 'ClientSession?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
80 |                 } catch {
81 |                     return eventLoop.makeFailedFuture(error)
/Users/admin/builder/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! (75.50s)
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
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" : "/Users/admin/builder/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"
}
Done.