Build Information
Successful build of FluentMongo, reference master (76bc6e
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 02:34:12 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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/vapor/fluent-kit.git
Fetching https://github.com/mongodb/mongo-swift-driver.git
[1/13244] Fetching fluent-kit
[3577/53141] Fetching fluent-kit, mongo-swift-driver
Fetched https://github.com/vapor/fluent-kit.git from cache (3.07s)
Fetched https://github.com/mongodb/mongo-swift-driver.git from cache (3.07s)
Computing version for https://github.com/mongodb/mongo-swift-driver.git
Computed https://github.com/mongodb/mongo-swift-driver.git at 1.3.1 (3.73s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio from cache
Fetching https://github.com/apple/swift-atomics from cache
[1/3384] Fetching swift-bson
[374/22951] Fetching swift-bson, nimble
Fetched https://github.com/mongodb/swift-bson from cache (1.71s)
Fetched https://github.com/Quick/Nimble.git from cache (1.72s)
Fetched https://github.com/apple/swift-atomics from cache (1.72s)
Fetched https://github.com/apple/swift-nio from cache (1.73s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (2.32s)
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/apple/swift-log.git from cache
[1/2370] Fetching async-kit
[49/8353] Fetching async-kit, sql-kit
Fetched https://github.com/vapor/sql-kit.git from cache (0.98s)
Fetched https://github.com/vapor/async-kit.git from cache (0.98s)
Fetched https://github.com/apple/swift-log.git from cache (0.99s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (1.56s)
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
[1/833] Fetching swift-extras-base64
[551/1889] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.90s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.90s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (1.48s)
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.54s)
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.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.56s)
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-algorithms.git from cache (0.68s)
Fetched https://github.com/apple/swift-collections.git from cache (0.70s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.31s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.72s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.82.0 (0.70s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.09s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.43s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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/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/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.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/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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
========================================
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.82.0",
"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.2",
"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.3",
"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.33.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sql-kit",
"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-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio",
"version": "2.82.0",
"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.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"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.82.0",
"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.2",
"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.3",
"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.1",
"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.3",
"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.82.0",
"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.2",
"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.82.0",
"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.2",
"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.78s)
Fetching https://github.com/mongodb/mongo-swift-driver.git from cache
Fetching https://github.com/vapor/fluent-kit.git from cache
Fetched https://github.com/vapor/fluent-kit.git from cache (0.56s)
Fetched https://github.com/mongodb/mongo-swift-driver.git from cache (0.56s)
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.63s)
Fetching https://github.com/apple/swift-atomics from cache
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
Fetched https://github.com/apple/swift-atomics from cache (0.47s)
Fetched https://github.com/mongodb/swift-bson from cache (0.72s)
Fetched https://github.com/Quick/Nimble.git from cache (0.72s)
Fetched https://github.com/apple/swift-nio from cache (0.73s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (0.80s)
Fetching https://github.com/vapor/sql-kit.git from cache
Fetching https://github.com/vapor/async-kit.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/vapor/async-kit.git from cache (0.53s)
Fetched https://github.com/vapor/sql-kit.git from cache (0.53s)
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.59s)
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.47s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.47s)
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.53s)
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.03s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.04s)
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.3 (0.03s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.03s)
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.43s)
Fetched https://github.com/apple/swift-collections.git from cache (0.52s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.57s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.60s)
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.82.0 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.51s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.03s)
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/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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.82.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.3
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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/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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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/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/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.0
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/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics 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
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.1
Building package at path: $PWD
https://github.com/asensei/vapor-fluent-mongo.git
https://github.com/asensei/vapor-fluent-mongo.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/173] Write sources
[3/173] Copying PrivacyInfo.xcprivacy
[3/173] Write sources
[23/173] Compiling CNIOWindows WSAStartup.c
[24/173] Compiling CNIOWindows shim.c
[24/173] Compiling CNIOWASI CNIOWASI.c
[26/173] Compiling CNIOLinux shim.c
[27/173] Compiling _NumericsShims _NumericsShims.c
[28/173] Compiling CNIOLinux liburing_shims.c
[29/173] Write swift-version-2F0A5646E1D333AE.txt
[30/173] Compiling _AtomicsShims.c
[31/177] Compiling bson-atomic.c
[32/177] Compiling bson-clock.c
[33/177] Compiling CNIODarwin shim.c
[34/194] Compiling mongoc-write-command-legacy.c
[35/194] Compiling bcon.c
[36/194] Compiling mongoc-write-command.c
[37/194] Compiling mongoc-write-concern.c
[38/216] Compiling mongoc-version-functions.c
[39/229] Compiling c-nioatomics.c
[40/229] Compiling mongoc-util.c
[41/229] Compiling mongoc-ts-pool.c
[42/229] Compiling mongoc-topology.c
[43/229] Compiling mongoc-uri.c
[44/229] Compiling mongoc-topology-description.c
[45/229] Compiling mongoc-topology-scanner.c
[46/229] Compiling mongoc-topology-description-apm.c
[47/229] Compiling mongoc-timeout.c
[48/229] Compiling mongoc-topology-background-monitoring.c
[49/229] Compiling mongoc-stream.c
[51/229] Compiling RealModule Real.swift
[52/229] Compiling RealModule Float16+Real.swift
[53/229] Compiling RealModule Float80+Real.swift
[54/230] Compiling RealModule ElementaryFunctions.swift
[55/230] Compiling RealModule Double+Real.swift
[56/230] Compiling RealModule AugmentedArithmetic.swift
[57/230] Compiling RealModule ApproximateEquality.swift
[58/230] Compiling RealModule AlgebraicField.swift
[59/230] Emitting module RealModule
[60/230] Compiling RealModule Float+Real.swift
[61/230] Compiling RealModule RealFunctions.swift
[61/230] Compiling mongoc-stream-tls-secure-channel.c
[63/230] Emitting module _NIOBase64
[64/230] Compiling _NIOBase64 Base64.swift
[64/230] Compiling mongoc-stream-tls-openssl.c
[65/230] Compiling mongoc-stream-tls-openssl-bio.c
[66/230] Compiling mongoc-stream-tls-libressl.c
[68/230] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/230] Compiling InternalCollectionsUtilities Debugging.swift
[70/230] Compiling InternalCollectionsUtilities Descriptions.swift
[71/230] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[72/230] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[73/230] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[74/230] Compiling InternalCollectionsUtilities Specialize.swift
[75/230] Compiling InternalCollectionsUtilities UInt+reversed.swift
[76/230] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[77/231] Compiling ExtrasJSON ArrayKey.swift
[78/231] Compiling ExtrasJSON JSONDecoder.swift
[79/231] Compiling InternalCollectionsUtilities _SortedCollection.swift
[80/231] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[81/231] Compiling ExtrasJSON JSONKeyedDecodingContainer.swift
[82/231] Compiling ExtrasJSON JSONSingleValueDecodingContainer.swift
[83/231] Emitting module InternalCollectionsUtilities
[84/231] Compiling ExtrasJSON JSONUnkeyedDecodingContainer.swift
[85/231] Compiling ExtrasJSON JSONEncoder.swift
[85/231] Compiling mongoc-stream-socket.c
[86/231] Compiling mongoc-stream-gridfs.c
[87/231] Compiling mongoc-stream-tls.c
[88/231] Compiling mongoc-stream-gridfs-upload.c
[89/231] Compiling mongoc-stream-gridfs-download.c
[91/231] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[92/231] Compiling ExtrasJSON JSONValue.swift
[93/231] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[94/231] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[95/231] Compiling ExtrasJSON JSONError+DecodingError.swift
[96/231] Compiling ExtrasJSON DocumentReader.swift
[97/231] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[97/232] Compiling mongoc-sspi.c
[98/232] Compiling mongoc-stream-file.c
[99/232] Compiling mongoc-stream-buffered.c
[101/232] Compiling _NIODataStructures PriorityQueue.swift
[102/232] Compiling _NIODataStructures _TinyArray.swift
[102/232] Compiling mongoc-ssl.c
[104/232] Emitting module ExtrasJSON
[110/365] Compiling mongoc-stream-tls-secure-transport.c
[112/443] Emitting module _NIODataStructures
[113/443] Compiling _NIODataStructures Heap.swift
[114/443] Compiling Logging MetadataProvider.swift
[115/443] Compiling Logging LogHandler.swift
[116/443] Compiling Logging Logging.swift
[117/443] Compiling Logging Locks.swift
[118/443] Emitting module Logging
[118/459] Compiling mongoc-socket.c
[119/459] Compiling mongoc-shared.c
[121/459] Compiling ExtrasJSON JSONParser.swift
[121/459] Compiling c-atomics.c
[122/459] Compiling mongoc-set.c
[124/459] Compiling HeapModule Heap.swift
[125/459] Compiling HeapModule _HeapNode.swift
[125/459] Compiling mongoc-server-stream.c
[126/459] Compiling mongoc-server-api.c
[128/459] Compiling HeapModule Heap+Invariants.swift
[129/459] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[130/459] Compiling HeapModule Heap+UnsafeHandle.swift
[131/459] Compiling HeapModule Heap+Descriptions.swift
[131/459] Compiling mongoc-server-monitor.c
[132/465] Compiling mongoc-secure-channel.c
[133/465] Compiling mongoc-server-description.c
[135/465] Emitting module HeapModule
[135/465] Compiling mongoc-sasl.c
[137/465] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[138/465] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[139/465] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[140/465] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[141/465] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[142/465] Compiling HashTreeCollections TreeDictionary+Values.swift
[142/471] Compiling mongoc-secure-transport.c
[143/471] Compiling mongoc-scram.c
[145/471] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[146/471] Compiling HashTreeCollections _RawHashNode.swift
[147/471] Compiling HashTreeCollections _UnmanagedHashNode.swift
[148/471] Compiling HashTreeCollections _UnsafePath.swift
[149/471] Compiling HashTreeCollections TreeDictionary+Codable.swift
[150/471] Compiling HashTreeCollections TreeDictionary+Collection.swift
[150/471] Compiling mongoc-rand-openssl.c
[151/471] Compiling mongoc-read-concern.c
[152/471] Compiling mongoc-rand-cng.c
[154/471] Compiling HashTreeCollections _HashSlot.swift
[155/471] Compiling HashTreeCollections _HashStack.swift
[156/471] Compiling HashTreeCollections _HashTreeIterator.swift
[157/471] Compiling HashTreeCollections _HashTreeStatistics.swift
[158/471] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[159/471] Compiling HashTreeCollections TreeSet+Equatable.swift
[160/471] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[161/471] Compiling HashTreeCollections TreeSet+Extras.swift
[162/471] Compiling HashTreeCollections TreeSet+Filter.swift
[163/471] Compiling HashTreeCollections TreeSet+Hashable.swift
[164/471] Compiling HashTreeCollections TreeSet+Sendable.swift
[165/471] Compiling HashTreeCollections TreeSet+Sequence.swift
[165/471] Compiling mongoc-read-prefs.c
[166/471] Compiling mongoc-queue.c
[167/471] Compiling mongoc-rand-common-crypto.c
[168/471] Compiling mongoc-optional.c
[169/471] Compiling mongoc-openssl.c
[170/471] Compiling mongoc-ocsp-cache.c
[171/471] Compiling mongoc-opts-helpers.c
[173/471] Compiling HashTreeCollections _HashNode+Initializers.swift
[174/471] Compiling HashTreeCollections _HashNode+Invariants.swift
[175/471] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[176/471] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[177/471] Compiling HashTreeCollections _HashNode.swift
[178/471] Compiling HashTreeCollections _HashNodeHeader.swift
[179/471] Compiling HashTreeCollections _Bitmap.swift
[180/471] Compiling HashTreeCollections _Bucket.swift
[181/471] Compiling HashTreeCollections _Hash.swift
[182/471] Compiling HashTreeCollections _HashLevel.swift
[183/471] Compiling HashTreeCollections _HashNode+Builder.swift
[184/471] Compiling HashTreeCollections _HashNode+Debugging.swift
[184/471] Compiling mongoc-memcmp.c
[185/471] Compiling mongoc-matcher.c
[186/471] Compiling mongoc-rpc.c
[188/471] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[189/471] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[190/471] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[191/471] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[192/471] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[193/471] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[194/471] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[195/471] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[196/471] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[197/471] Compiling HashTreeCollections TreeDictionary+Filter.swift
[198/471] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[199/471] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[200/471] Compiling HashTreeCollections TreeDictionary+Keys.swift
[201/471] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[202/471] Compiling HashTreeCollections TreeDictionary+Merge.swift
[203/471] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[203/479] Compiling mongoc-opts.c
[204/479] Compiling mongoc-linux-distro-scanner.c
[205/479] Compiling mongoc-list.c
[206/479] Compiling mongoc-log.c
[207/479] Compiling mongoc-matcher-op.c
[208/479] Compiling mongoc-libressl.c
[209/479] Compiling mongoc-interrupt.c
[210/479] Compiling mongoc-index.c
[211/479] Compiling mongoc-init.c
[212/479] Compiling mongoc-host-list.c
[213/479] Compiling mongoc-http.c
[214/479] Compiling mongoc-handshake.c
[215/479] Compiling mongoc-gridfs.c
[219/479] Compiling OrderedCollections OrderedSet+SubSequence.swift
[220/479] Compiling OrderedCollections OrderedSet+Testing.swift
[221/479] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[222/479] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[223/479] Compiling OrderedCollections OrderedSet.swift
[224/479] Compiling OrderedCollections _UnsafeBitset.swift
[225/479] Compiling DequeModule _DequeSlot.swift
[226/479] Compiling DequeModule _DequeBufferHeader.swift
[227/479] Compiling DequeModule Deque+Extras.swift
[228/479] Compiling DequeModule Deque+Hashable.swift
[229/479] Compiling DequeModule Deque._UnsafeHandle.swift
[230/479] Compiling DequeModule Deque.swift
[231/479] Compiling DequeModule _DequeBuffer.swift
[232/479] Compiling DequeModule Deque+Testing.swift
[233/479] Compiling DequeModule Deque._Storage.swift
[233/479] Compiling mongoc-gridfs-file-page.c
[234/480] Compiling mongoc-gridfs-file.c
[235/480] Compiling mongoc-gridfs-file-list.c
[236/480] Compiling mongoc-gridfs-bucket-file.c
[237/480] Compiling mongoc-gridfs-bucket.c
[238/480] Compiling mongoc-generation-map.c
[239/480] Compiling mongoc-cyrus.c
[240/480] Compiling mongoc-find-and-modify.c
[241/480] Compiling mongoc-error.c
[243/480] Compiling HashTreeCollections _HashNode+Structural union.swift
[244/480] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[245/480] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[246/480] Compiling HashTreeCollections _AncestorHashSlots.swift
[255/480] Compiling HashTreeCollections _HashNode+Structural merge.swift
[256/480] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[257/480] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[257/487] Compiling mongoc-cursor-legacy.c
[258/487] Compiling mongoc-database.c
[259/487] Compiling mongoc-cursor-find.c
[261/487] Compiling NIOConcurrencyHelpers lock.swift
[262/487] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[263/487] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[264/487] Compiling NIOConcurrencyHelpers NIOLock.swift
[265/487] Compiling NIOConcurrencyHelpers atomics.swift
[266/487] Emitting module NIOConcurrencyHelpers
[298/487] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[299/487] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[300/487] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[301/487] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[302/487] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[303/487] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[304/487] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[305/487] Compiling HashTreeCollections TreeSet.swift
[305/487] Compiling mongoc-cursor-find-opquery.c
[306/487] Compiling mongoc-cursor.c
[307/487] Compiling mongoc-cursor-find-cmd.c
[308/487] Compiling mongoc-cursor-cmd.c
[310/487] Compiling DequeModule _UnsafeWrappedBuffer.swift
[310/487] Compiling mongoc-cursor-cmd-deprecated.c
[312/487] Compiling DequeModule Deque+CustomReflectable.swift
[313/487] Compiling DequeModule Deque+Descriptions.swift
[314/487] Compiling DequeModule Deque+Equatable.swift
[315/487] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[316/487] Compiling DequeModule Deque+Codable.swift
[317/487] Compiling DequeModule Deque+Collection.swift
[318/487] Emitting module DequeModule
[318/487] Compiling mongoc-crypto-openssl.c
[319/487] Compiling mongoc-crypto-cng.c
[320/487] Compiling mongoc-crypto.c
[321/487] Compiling mongoc-cursor-array.c
[322/487] Compiling mongoc-crypto-common-crypto.c
[342/487] Compiling mongoc-cursor-change-stream.c
[343/487] Compiling mongoc-crypt.c
[344/487] Compiling mongoc-cluster-sspi.c
[345/487] Compiling mongoc-counters.c
[363/487] Compiling mongoc-cluster-cyrus.c
[364/487] Compiling mongoc-compression.c
[365/487] Compiling mongoc-cluster-sasl.c
[366/487] Compiling mongoc-cmd.c
[382/487] Compiling mongoc-cluster-aws.c
[383/487] Compiling mongoc-cluster.c
[384/487] Compiling mongoc-collection.c
[385/487] Compiling mongoc-client-side-encryption.c
[386/487] Compiling mongoc-client-session.c
[387/487] Compiling mongoc-change-stream.c
[387/487] Compiling mongoc-client-pool.c
[389/487] Compiling mongoc-buffer.c
[390/487] Compiling mongoc-client.c
[391/487] Compiling mongoc-bulk-operation.c
[392/487] Compiling mongoc-async.c
[393/487] Compiling mongoc-array.c
[394/487] Compiling common-thread.c
[395/487] Compiling mongoc-apm.c
[396/487] Compiling mongoc-async-cmd.c
[397/487] Compiling mongoc-aggregate.c
[398/487] Compiling common-md5.c
[399/487] Compiling common-b64.c
[400/487] Compiling jsonsl.c
[401/487] Compiling bson-version-functions.c
[402/487] Compiling bson-writer.c
[403/487] Compiling bson-value.c
[404/487] Compiling bson-utf8.c
[405/487] Compiling bson-timegm.c
[406/487] Compiling bson.c
[407/487] Compiling bson-string.c
[409/487] Emitting module OrderedCollections
[409/487] Compiling bson-reader.c
[410/487] Compiling bson-oid.c
[411/487] Compiling bson-memory.c
[412/487] Compiling bson-md5.c
[413/487] Compiling bson-keys.c
[414/487] Write sources
[416/487] Compiling bson-error.c
[417/487] Compiling bson-decimal128.c
[418/487] Write sources
[420/487] Compiling bson-iso8601.c
[421/487] Compiling bson-json.c
[422/487] Compiling bson-context.c
[423/487] Compiling bson-iter.c
[460/487] Emitting module _RopeModule
[461/587] Compiling _RopeModule Rope+Remove.swift
[462/587] Compiling _RopeModule Rope+RemoveSubrange.swift
[463/587] Compiling _RopeModule Rope+Split.swift
[464/587] Compiling _RopeModule Optional Utilities.swift
[465/587] Compiling _RopeModule String Utilities.swift
[466/587] Compiling _RopeModule String.Index+ABI.swift
[467/587] Compiling _RopeModule _CharacterRecognizer.swift
[468/587] Compiling Algorithms Suffix.swift
[469/587] Compiling Algorithms Trim.swift
[470/587] Compiling BitCollections BitSet+CustomReflectable.swift
[471/587] Compiling BitCollections BitSet+CustomStringConvertible.swift
[472/587] Compiling BitCollections BitSet+Equatable.swift
[473/587] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[474/587] Compiling BitCollections BitSet+Extras.swift
[475/587] Compiling BitCollections BitSet+Hashable.swift
[476/587] Compiling BitCollections BitSet+Initializers.swift
[477/587] Compiling BitCollections BitSet+Invariants.swift
[478/587] Compiling BitCollections BitSet+Random.swift
[479/587] Compiling BitCollections BitSet+SetAlgebra basics.swift
[480/587] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[481/587] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[482/587] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[485/589] Compiling Atomics UnsafeAtomic.swift
[486/589] Compiling Atomics UnsafeAtomicLazyReference.swift
[487/591] Compiling Atomics ManagedAtomic.swift
[488/591] Compiling Algorithms Partition.swift
[489/591] Compiling Atomics AtomicMemoryOrderings.swift
[490/591] Compiling Atomics DoubleWord.swift
[491/591] Compiling Atomics AtomicStorage.swift
[492/591] Compiling Atomics AtomicValue.swift
[494/591] Compiling Algorithms Unique.swift
[495/591] Compiling Algorithms Windows.swift
[505/596] Emitting module BitCollections
[506/596] Compiling Atomics IntegerOperations.swift
[507/596] Compiling Atomics Unmanaged extensions.swift
[508/596] Compiling Algorithms EitherSequence.swift
[509/596] Compiling Algorithms FirstNonNil.swift
[510/596] Compiling Algorithms FlattenCollection.swift
[511/596] Compiling Algorithms Grouped.swift
[514/596] Emitting module HashTreeCollections
[523/596] Compiling Algorithms Rotate.swift
[524/596] Compiling Algorithms Split.swift
[525/596] Compiling Algorithms Stride.swift
[527/596] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[528/596] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[529/596] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[530/596] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[531/596] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[532/596] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[535/596] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[536/596] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[537/596] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[538/596] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[539/596] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[540/596] Compiling BitCollections BitSet+SetAlgebra union.swift
[541/596] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[542/596] Compiling BitCollections BitSet.Counted.swift
[543/596] Compiling BitCollections BitSet.Index.swift
[544/596] Compiling BitCollections BitSet._UnsafeHandle.swift
[545/596] Compiling BitCollections BitSet.swift
[546/596] Compiling BitCollections Range+Utilities.swift
[547/596] Compiling BitCollections Slice+Utilities.swift
[548/596] Compiling BitCollections UInt+Tricks.swift
[549/596] Compiling BitCollections _Word.swift
[550/596] Compiling Algorithms AdjacentPairs.swift
[551/596] Compiling Algorithms Chain.swift
[552/596] Compiling Algorithms Chunked.swift
[553/596] Compiling Algorithms Combinations.swift
[554/596] Compiling Algorithms Compacted.swift
[555/596] Compiling Algorithms Cycle.swift
[584/598] Compiling Collections Collections.swift
[585/598] Emitting module Collections
[593/598] Emitting module Atomics
[594/659] Emitting module Algorithms
[595/659] Emitting module ExtrasBase64
[596/659] Compiling ExtrasBase64 Base64.swift
[597/659] Compiling ExtrasBase64 DecodingError.swift
[598/659] Compiling ExtrasBase64 Chromium.swift
[599/659] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[600/659] Compiling NIOCore EventLoopFuture+Deprecated.swift
[601/659] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[602/659] Compiling NIOCore EventLoopFuture.swift
[603/659] Compiling NIOCore FileDescriptor.swift
[604/659] Compiling NIOCore FileHandle.swift
[605/659] Compiling NIOCore FileRegion.swift
[606/659] Compiling NIOCore Interfaces.swift
[607/659] Compiling NIOCore Linux.swift
[608/659] Compiling NIOCore MarkedCircularBuffer.swift
[609/659] Compiling NIOCore MulticastChannel.swift
[610/659] Compiling NIOCore NIOAny.swift
[611/659] Compiling NIOCore NIOCloseOnErrorHandler.swift
[612/659] Compiling NIOCore GlobalSingletons.swift
[613/659] Compiling NIOCore IO.swift
[614/659] Compiling NIOCore IOData.swift
[615/659] Compiling NIOCore IPProtocol.swift
[616/659] Compiling NIOCore IntegerBitPacking.swift
[617/659] Compiling NIOCore IntegerTypes.swift
[618/665] Compiling NIOCore Channel.swift
[619/665] Compiling NIOCore ChannelHandler.swift
[620/665] Compiling NIOCore ChannelHandlers.swift
[621/665] Compiling NIOCore ChannelInvoker.swift
[622/665] Compiling NIOCore ChannelOption.swift
[623/665] Compiling NIOCore ChannelPipeline.swift
[624/665] Compiling NIOCore CircularBuffer.swift
[625/665] Compiling NIOCore AddressedEnvelope.swift
[626/665] Compiling NIOCore AsyncAwaitSupport.swift
[627/665] Compiling NIOCore AsyncChannel.swift
[628/665] Compiling NIOCore AsyncChannelHandler.swift
[629/665] Compiling NIOCore AsyncChannelInboundStream.swift
[630/665] Compiling NIOCore AsyncChannelOutboundWriter.swift
[631/665] Compiling NIOCore NIOAsyncSequenceProducer.swift
[632/665] Compiling NIOCore NIOLoopBound.swift
[633/665] Compiling NIOCore NIOScheduledCallback.swift
[634/665] Compiling NIOCore NIOSendable.swift
[635/665] Compiling NIOCore RecvByteBufferAllocator.swift
[636/665] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[637/665] Compiling NIOCore SocketAddresses.swift
[638/665] Compiling NIOCore Codec.swift
[639/665] Compiling NIOCore ConvenienceOptionSupport.swift
[640/665] Compiling NIOCore DeadChannel.swift
[641/665] Compiling NIOCore DispatchQueue+WithFuture.swift
[642/665] Compiling NIOCore EventLoop+Deprecated.swift
[643/665] Compiling NIOCore EventLoop+SerialExecutor.swift
[644/665] Compiling NIOCore EventLoop.swift
[645/665] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[646/665] Compiling NIOCore NIOAsyncWriter.swift
[647/665] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[648/665] Compiling NIOCore BSDSocketAPI.swift
[649/665] Compiling NIOCore ByteBuffer-aux.swift
[650/665] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[651/665] Compiling NIOCore ByteBuffer-conversions.swift
[652/665] Compiling NIOCore SocketOptionProvider.swift
[653/665] Compiling NIOCore SystemCallHelpers.swift
[654/665] Compiling NIOCore TimeAmount+Duration.swift
[655/665] Compiling NIOCore TypeAssistedChannelHandler.swift
[656/665] Compiling NIOCore UniversalBootstrapSupport.swift
[657/665] Compiling NIOCore Utilities.swift
[658/665] Compiling NIOCore ByteBuffer-core.swift
[659/665] Compiling NIOCore ByteBuffer-hex.swift
[660/665] Compiling NIOCore ByteBuffer-int.swift
[661/665] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[662/665] Compiling NIOCore ByteBuffer-multi-int.swift
[663/665] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[664/665] Compiling NIOCore ByteBuffer-views.swift
[665/665] Emitting module NIOCore
[666/718] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[667/718] Compiling NIOEmbedded AsyncTestingChannel.swift
[668/718] Compiling NIOEmbedded Embedded.swift
[669/718] Emitting module NIOEmbedded
[670/718] Compiling NIOPosix PooledRecvBufferAllocator.swift
[671/718] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[672/718] Compiling NIOPosix PosixSingletons.swift
[673/718] Compiling NIOPosix RawSocketBootstrap.swift
[674/718] Compiling NIOPosix Resolver.swift
[675/723] Compiling NIOPosix SocketProtocols.swift
[676/723] Compiling NIOPosix System.swift
[677/723] Compiling NIOPosix Thread.swift
[678/723] Compiling NIOPosix ThreadPosix.swift
[679/723] Compiling NIOPosix ThreadWindows.swift
[680/723] Compiling NIOPosix Selectable.swift
[681/723] Compiling NIOPosix SelectableChannel.swift
[682/723] Compiling NIOPosix SelectableEventLoop.swift
[683/723] Compiling NIOPosix SelectorEpoll.swift
[684/723] Compiling NIOPosix SelectorGeneric.swift
[685/723] Compiling NIOPosix LinuxCPUSet.swift
[686/723] Compiling NIOPosix LinuxUring.swift
[687/723] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[688/723] Compiling NIOPosix NIOThreadPool.swift
[689/723] Compiling NIOPosix NonBlockingFileIO.swift
[690/723] Emitting module NIOPosix
[691/723] Compiling NIOPosix BSDSocketAPICommon.swift
[692/723] Compiling NIOPosix BSDSocketAPIPosix.swift
[693/723] Compiling NIOPosix BSDSocketAPIWindows.swift
[694/723] Compiling NIOPosix BaseSocket.swift
[695/723] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[696/723] Compiling NIOPosix BaseSocketChannel.swift
[697/723] Compiling NIOPosix PendingDatagramWritesManager.swift
[698/723] Compiling NIOPosix PendingWritesManager.swift
[699/723] Compiling NIOPosix PipeChannel.swift
[700/723] Compiling NIOPosix PipePair.swift
[701/723] Compiling NIOPosix Pool.swift
[702/723] Compiling NIOPosix BaseStreamSocketChannel.swift
[703/723] Compiling NIOPosix Bootstrap.swift
[704/723] Compiling NIOPosix ControlMessage.swift
[705/723] Compiling NIOPosix DatagramVectorReadManager.swift
[706/723] Compiling NIOPosix Errors+Any.swift
[707/723] Compiling NIOPosix FileDescriptor.swift
[708/723] Compiling NIOPosix SelectorKqueue.swift
[709/723] Compiling NIOPosix SelectorUring.swift
[710/723] Compiling NIOPosix ServerSocket.swift
[711/723] Compiling NIOPosix Socket.swift
[712/723] Compiling NIOPosix SocketChannel.swift
[713/723] Compiling NIOPosix GetaddrinfoResolver.swift
[714/723] Compiling NIOPosix HappyEyeballs.swift
[715/723] Compiling NIOPosix IO.swift
[716/723] Compiling NIOPosix IntegerBitPacking.swift
[717/723] Compiling NIOPosix IntegerTypes.swift
[718/723] Compiling NIOPosix Linux.swift
[719/723] Compiling NIOPosix UnsafeTransfer.swift
[720/723] Compiling NIOPosix Utilities.swift
[721/723] Compiling NIOPosix VsockAddress.swift
[722/723] Compiling NIOPosix VsockChannelEvents.swift
[723/723] Compiling NIOPosix resource_bundle_accessor.swift
[724/747] Compiling NIO Exports.swift
[725/747] Emitting module NIO
[726/775] Compiling SwiftBSON BSONRegularExpression.swift
[727/775] Compiling SwiftBSON BSONSymbol.swift
[728/777] Compiling SwiftBSON Bool+BSONValue.swift
[729/777] Compiling SwiftBSON ByteBuffer+BSON.swift
[730/777] Compiling SwiftBSON BSONTimestamp.swift
[731/777] Compiling SwiftBSON Double+BSONValue.swift
[732/777] Compiling SwiftBSON ExtendedJSONDecoder.swift
[733/777] Compiling SwiftBSON ExtendedJSONEncoder.swift
[734/777] Compiling SwiftBSON Array+BSONValue.swift
[735/777] Compiling AsyncKit Optional+StrictMap.swift
[736/777] Compiling AsyncKit Exports.swift
[737/777] Compiling SwiftBSON BSONCode.swift
[738/777] Compiling SwiftBSON BSONDBPointer.swift
[739/777] Compiling SwiftBSON BSONDecimal128.swift
[745/780] Compiling SwiftBSON BSONObjectID.swift
[746/780] Compiling SwiftBSON CodableNumber.swift
[747/780] Compiling SwiftBSON CodingStrategies.swift
[748/780] Compiling SwiftBSON Date+BSONValue.swift
[749/780] Emitting module SwiftBSON
[750/780] Emitting module AsyncKit
[751/780] Compiling SwiftBSON BSONValue.swift
[754/780] Compiling SwiftBSON Integers+BSONValue.swift
[755/780] Compiling SwiftBSON JSON.swift
[756/780] Compiling SwiftBSON String+BSONValue.swift
[760/780] Compiling SwiftBSON BSONDecoder.swift
[761/780] Compiling SwiftBSON BSONDocument+Collection.swift
[762/780] Compiling SwiftBSON BSONDocument+Sequence.swift
[763/780] Compiling SwiftBSON BSONDocument.swift
[764/780] Compiling SwiftBSON BSONDocumentIterator.swift
[765/780] Compiling SwiftBSON BSONEncoder.swift
[767/780] Compiling SwiftBSON BSON.swift
[768/780] Compiling SwiftBSON BSONBinary.swift
[772/844] Emitting module MongoSwift
[773/850] Compiling MongoSwift MongoCollection+Indexes+AsyncAwait.swift
[774/850] Compiling MongoSwift MongoCollection+Read+AsyncAwait.swift
[775/850] Compiling MongoSwift MongoCollection+Write+AsyncAwait.swift
[776/850] Compiling MongoSwift MongoCursor+AsyncSequence.swift
[777/850] Compiling MongoSwift MongoDatabase+AsyncAwait.swift
[778/850] Compiling MongoSwift BSONPointerUtils.swift
[779/850] Compiling MongoSwift BSONUtil.swift
[780/850] Compiling MongoSwift ListIndexesOperation.swift
[781/850] Compiling MongoSwift MongocCommandHelpers.swift
[782/850] Compiling MongoSwift Operation.swift
[783/850] Compiling MongoSwift RenameCollectionOperation.swift
[784/850] Compiling MongoSwift RunCommandOperation.swift
[785/850] Compiling MongoSwift StartSessionOperation.swift
[786/850] Compiling MongoSwift StartTransactionOperation.swift
[787/850] Compiling MongoSwift APM.swift
[788/850] Compiling MongoSwift ChangeStream+AsyncSequence.swift
[789/850] Compiling MongoSwift ClientSession+AsyncAwait.swift
[790/850] Compiling MongoSwift MongoClient+AsyncAwait.swift
[791/850] Compiling MongoSwift MongoCollection+AsyncAwait.swift
[792/850] Compiling MongoSwift MongoCollection+ChangeStreams+AsyncAwait.swift
[793/850] Compiling MongoSwift MongoCollection+FindAndModify+AsyncAwait.swift
[794/850] Compiling MongoSwift MongoDatabase.swift
[795/850] Compiling MongoSwift MongoError.swift
[796/850] Compiling MongoSwift MongoNamespace.swift
[797/850] Compiling MongoSwift MongoServerAPI.swift
[798/850] Compiling MongoSwift MongoSwift.swift
[799/850] Compiling MongoSwift MongoSwiftVersion.swift
[800/850] Compiling MongoSwift AbortTransactionOperation.swift
[801/850] Compiling MongoSwift AggregateOperation.swift
[802/850] Compiling MongoSwift CommitTransactionOperation.swift
[803/850] Compiling MongoSwift CountDocumentsOperation.swift
[804/850] Compiling MongoSwift CreateCollectionOperation.swift
[805/850] Compiling MongoSwift CreateIndexesOperation.swift
[806/850] Compiling MongoSwift DistinctOperation.swift
[807/850] Compiling MongoSwift DropCollectionOperation.swift
[808/850] Compiling MongoSwift ChangeStream.swift
[809/850] Compiling MongoSwift ChangeStreamEvent.swift
[810/850] Compiling MongoSwift ChangeStreamOptions.swift
[811/850] Compiling MongoSwift ClientSession.swift
[812/850] Compiling MongoSwift Compressor.swift
[813/850] Compiling MongoSwift ConnectionPool.swift
[814/850] Compiling MongoSwift CursorCommon.swift
[815/850] Compiling MongoSwift EventLoopBoundMongoClient.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 |
[816/850] Compiling MongoSwift Exports.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 |
[817/850] Compiling MongoSwift Hint.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 |
[818/850] Compiling MongoSwift MongoClient.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 |
[819/850] Compiling MongoSwift MongoCollection+BulkWrite.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 |
[820/850] Compiling MongoSwift MongoCollection+ChangeStreams.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 |
[821/850] Compiling MongoSwift MongoCollection+FindAndModify.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 |
[822/850] Compiling MongoSwift DropDatabaseOperation.swift
[823/850] Compiling MongoSwift DropIndexesOperation.swift
[824/850] Compiling MongoSwift EstimatedDocumentCountOperation.swift
[825/850] Compiling MongoSwift FindAndModifyOperation.swift
[826/850] Compiling MongoSwift FindOperation.swift
[827/850] Compiling MongoSwift ListCollectionsOperation.swift
[828/850] Compiling MongoSwift ListDatabasesOperation.swift
[838/934] Compiling FluentKit ID.swift
[839/934] Compiling FluentKit OptionalBoolean.swift
[840/934] Compiling FluentKit OptionalChild.swift
[841/934] Compiling FluentKit OptionalField.swift
[842/934] Compiling FluentKit OptionalParent.swift
[843/934] Compiling FluentKit Parent.swift
[844/934] Compiling FluentKit Property.swift
[845/934] Compiling FluentKit Relation.swift
[846/934] Compiling FluentKit QueryBuilder+Concurrency.swift
[847/934] Compiling FluentKit Relation+Concurrency.swift
[848/934] Compiling FluentKit SchemaBuilder+Concurrency.swift
[849/934] Compiling FluentKit Siblings+Concurrency.swift
[850/934] Compiling FluentKit Database+Logging.swift
[851/934] Compiling FluentKit AsyncMigration.swift
[852/934] Compiling FluentKit AsyncModelMiddleware.swift
[853/934] Compiling FluentKit Children+Concurrency.swift
[854/934] Compiling FluentKit Database+Concurrency.swift
[855/934] Compiling FluentKit EnumBuilder+Concurrency.swift
[856/934] Compiling FluentKit Model+Concurrency.swift
[857/934] Compiling FluentKit ModelResponder+Concurrency.swift
[858/934] Compiling FluentKit OptionalChild+Concurrency.swift
[859/934] Compiling FluentKit OptionalParent+Concurrency.swift
[860/934] Compiling FluentKit Parent+Concurrency.swift
[861/943] Emitting module FluentKit
[867/943] Compiling FluentKit Database.swift
[868/943] Compiling FluentKit DatabaseID.swift
[869/943] Compiling FluentKit DatabaseInput.swift
[870/943] Compiling FluentKit DatabaseOutput+Cascade.swift
[871/943] Compiling FluentKit DatabaseOutput+Prefix.swift
[872/943] Compiling FluentKit QueryBuilder+Range.swift
[873/943] Compiling FluentKit QueryBuilder+Set.swift
[874/943] Compiling FluentKit QueryBuilder+Sort.swift
[875/943] Compiling FluentKit QueryBuilder.swift
[876/943] Compiling FluentKit DatabaseQuery+Action.swift
[877/943] Compiling FluentKit DatabaseQuery+Aggregate.swift
[878/943] Compiling FluentKit DatabaseQuery+Field.swift
[879/943] Compiling FluentKit DatabaseQuery+Filter.swift
[880/943] Compiling FluentKit DatabaseQuery+Join.swift
[881/943] Compiling FluentKit FluentError.swift
[882/943] Compiling FluentKit ModelMiddleware.swift
[883/943] Compiling FluentKit ModelResponder.swift
[884/943] Compiling FluentKit Migration.swift
[885/943] Compiling FluentKit MigrationLog.swift
[886/943] Compiling FluentKit Migrations.swift
[887/943] Compiling FluentKit Migrator.swift
[888/943] Compiling FluentKit AnyModel.swift
[889/943] Compiling FluentKit EagerLoad.swift
[890/943] Compiling FluentKit DatabaseQuery+Range.swift
[891/943] Compiling FluentKit DatabaseQuery+Sort.swift
[892/943] Compiling FluentKit DatabaseQuery+Value.swift
[893/943] Compiling FluentKit DatabaseQuery.swift
[894/943] Compiling FluentKit QueryHistory.swift
[895/943] Compiling FluentKit DatabaseSchema.swift
[896/943] Compiling FluentKit SchemaBuilder.swift
[897/943] Compiling FluentKit OptionalType.swift
[898/943] Compiling FluentKit RandomGeneratable.swift
[899/943] Compiling FluentKit DatabaseOutput.swift
[900/943] Compiling FluentKit Databases.swift
[901/943] Compiling FluentKit TransactionControlDatabase.swift
[902/943] Compiling FluentKit DatabaseEnum.swift
[903/943] Compiling FluentKit EnumBuilder.swift
[904/943] Compiling FluentKit EnumMetadata.swift
[905/943] Compiling FluentKit EnumProperty.swift
[906/943] Compiling FluentKit OptionalEnumProperty.swift
[907/943] Compiling FluentKit Exports.swift
[908/943] Compiling FluentKit Group.swift
[917/943] Compiling FluentKit ValueOperators+Array.swift
[918/943] Compiling FluentKit ValueOperators+String.swift
[919/943] Compiling FluentKit ValueOperators.swift
[920/943] Compiling FluentKit Boolean.swift
[921/943] Compiling FluentKit BooleanPropertyFormat.swift
[922/943] Compiling FluentKit Children.swift
[923/943] Compiling FluentKit CompositeID.swift
[924/943] Compiling FluentKit Field.swift
[925/943] Compiling FluentKit FieldKey.swift
[926/943] Compiling FluentKit Fields+Codable.swift
[927/943] Compiling FluentKit Fields.swift
[928/943] Compiling FluentKit MirrorBypass.swift
[929/943] Compiling FluentKit Model+CRUD.swift
[930/943] Compiling FluentKit Model.swift
[931/943] Compiling FluentKit ModelAlias.swift
[932/943] Compiling FluentKit Schema.swift
[933/943] Compiling FluentKit FieldOperators.swift
[934/943] Compiling FluentKit Operators.swift
[935/943] Compiling FluentKit Siblings.swift
[936/943] Compiling FluentKit Timestamp.swift
[937/943] Compiling FluentKit TimestampFormat.swift
[938/943] Compiling FluentKit QueryBuilder+Aggregate.swift
[939/943] Compiling FluentKit QueryBuilder+EagerLoad.swift
[940/943] Compiling FluentKit QueryBuilder+Filter.swift
[941/943] Compiling FluentKit QueryBuilder+Group.swift
[942/943] Compiling FluentKit QueryBuilder+Join.swift
[943/943] Compiling FluentKit QueryBuilder+Paginate.swift
[944/967] 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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-config.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-config.h'
<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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-libressl.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-libressl.h'
<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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-b64-private.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-b64-private.h'
<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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-macros-private.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-macros-private.h'
<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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-secure-channel.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-secure-channel.h'
<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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-openssl.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-openssl.h'
<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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-thread-private.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-thread-private.h'
<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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-md5-private.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-md5-private.h'
<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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-prelude.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_common-prelude.h'
<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:8:1: warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-secure-transport.h'
6 |
7 | #endif // C_LIBMONGOC_H
8 |
| `- warning: umbrella header for module 'CLibMongoC' does not include header 'CLibMongoC_mongoc-stream-tls-secure-transport.h'
/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 | }
[945/969] Compiling FluentMongo DatabaseQueryOffset+Mongo.swift
[946/969] Compiling FluentMongo DatabaseQuerySort+Mongo.swift
[947/969] Compiling FluentMongo DatabaseQueryValue+Mongo.swift
[948/969] 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 {
[949/969] 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 {
[950/969] 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 {
[951/969] 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
127 | @discardableResult
128 | public func flatMapErrorIfDuplicatedKey(_ callback: @escaping (Error) -> EventLoopFuture<Value>) -> EventLoopFuture<Value> {
129 | return self.flatMapError { error in
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
130 | guard
131 | let mongoError = error as? Error,
/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
135 | }
136 |
137 | return callback(mongoError)
| |- warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 | }
139 | }
/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
149 | }
150 |
151 | return try callback(mongoError)
| |- warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 | }
153 | }
[952/969] 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
127 | @discardableResult
128 | public func flatMapErrorIfDuplicatedKey(_ callback: @escaping (Error) -> EventLoopFuture<Value>) -> EventLoopFuture<Value> {
129 | return self.flatMapError { error in
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
130 | guard
131 | let mongoError = error as? Error,
/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
135 | }
136 |
137 | return callback(mongoError)
| |- warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 | }
139 | }
/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
149 | }
150 |
151 | return try callback(mongoError)
| |- warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 | }
153 | }
[953/969] 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
127 | @discardableResult
128 | public func flatMapErrorIfDuplicatedKey(_ callback: @escaping (Error) -> EventLoopFuture<Value>) -> EventLoopFuture<Value> {
129 | return self.flatMapError { error in
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
130 | guard
131 | let mongoError = error as? Error,
/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
135 | }
136 |
137 | return callback(mongoError)
| |- warning: capture of 'callback' with non-sendable type '(Error) -> EventLoopFuture<Value>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 | }
139 | }
/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
149 | }
150 |
151 | return try callback(mongoError)
| |- warning: capture of 'callback' with non-sendable type '(Error) throws -> Value' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 | }
153 | }
[954/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
11 | import MongoSwift
12 |
13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
| `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
14 |
15 | public static func connect(
:
32 |
33 | logger.debug("Connected to mongo db: \(database)")
34 | promise.succeed(connection)
| `- warning: type 'MongoConnection' does not conform to the 'Sendable' protocol
35 | } catch {
36 | logger.error("Failed to connect to mongo db: \(database). \(error.localizedDescription)")
/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
11 | import MongoSwift
12 |
13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
| `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
14 |
15 | public static func connect(
:
75 | switch result {
76 | case .success:
77 | self.isClosed = true
| `- warning: capture of 'self' with non-sendable type 'MongoConnection' in a '@Sendable' closure
78 | default:
79 | break
/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
94 |
95 | for result in results {
96 | onOutput(result)
| |- warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
97 | }
98 |
[955/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
11 | import MongoSwift
12 |
13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
| `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
14 |
15 | public static func connect(
:
32 |
33 | logger.debug("Connected to mongo db: \(database)")
34 | promise.succeed(connection)
| `- warning: type 'MongoConnection' does not conform to the 'Sendable' protocol
35 | } catch {
36 | logger.error("Failed to connect to mongo db: \(database). \(error.localizedDescription)")
/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
11 | import MongoSwift
12 |
13 | final class MongoConnection: ConnectionPoolItem, MongoDatabase {
| `- note: class 'MongoConnection' does not conform to the 'Sendable' protocol
14 |
15 | public static func connect(
:
75 | switch result {
76 | case .success:
77 | self.isClosed = true
| `- warning: capture of 'self' with non-sendable type 'MongoConnection' in a '@Sendable' closure
78 | default:
79 | break
/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
94 |
95 | for result in results {
96 | onOutput(result)
| |- warning: capture of 'onOutput' with non-sendable type '(any DatabaseOutput) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
97 | }
98 |
[956/969] 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 {
[957/969] 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 {
[958/969] 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 {
[959/969] Compiling FluentMongo Exports.swift
[960/969] Compiling FluentMongo Fluent+Additions.swift
[961/969] Compiling FluentMongo FluentMongoConfiguration.swift
[962/969] 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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
62 |
63 | return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
64 | cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
65 | }
66 | } catch {
/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
77 | return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
78 | cursor.toArray()
79 | .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
| `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
80 | .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
81 | }
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
78 | cursor.toArray()
79 | .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
80 | .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
81 | }
82 | } catch {
/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
77 | return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
78 | cursor.toArray()
79 | .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
| `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
80 | .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
81 | }
/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
95 | }
96 |
97 | guard documents.count == result.insertedCount else {
| `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
98 | throw Error.insertManyMismatch(documents.count, result.insertedCount)
99 | }
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
100 |
101 | return result.insertedIDs.map {
102 | BSONDocument(dictionaryLiteral: (FieldKey.id.mongoKey, $0.value)).databaseOutput(fields: self.query.fields, using: self.decoder)
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
103 | }
104 | }.flatMapErrorThrowing { error in
/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
122 |
123 | return self.filter(database, session, on: eventLoop).flatMap { filter in
124 | let collection = database.collection(self.query.schema)
| `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
125 | let updates = documents.map { document in
126 | collection.updateMany(filter: filter, update: document, session: session)
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
122 |
123 | return self.filter(database, session, on: eventLoop).flatMap { filter in
124 | let collection = database.collection(self.query.schema)
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
125 | let updates = documents.map { document in
126 | collection.updateMany(filter: filter, update: document, session: session)
/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
123 | return self.filter(database, session, on: eventLoop).flatMap { filter in
124 | let collection = database.collection(self.query.schema)
125 | let updates = documents.map { document in
| `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
126 | collection.updateMany(filter: filter, update: document, session: session)
127 | }.flatten(on: eventLoop)
/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
124 | let collection = database.collection(self.query.schema)
125 | let updates = documents.map { document in
126 | collection.updateMany(filter: filter, update: document, session: session)
| `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
127 | }.flatten(on: eventLoop)
128 |
/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
136 | private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 | return self.filter(database, session, on: eventLoop).flatMap { filter in
138 | database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
| `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
139 | }
140 | }
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
136 | private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 | return self.filter(database, session, on: eventLoop).flatMap { filter in
138 | database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
139 | }
140 | }
/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
136 | private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 | return self.filter(database, session, on: eventLoop).flatMap { filter in
138 | database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
| `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
139 | }
140 | }
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
141 |
142 | private func custom(_ command: BSONDocument, _ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
143 | return database.runCommand(command, session: session).map { [$0.databaseOutput(fields: self.query.fields, using: self.decoder)] }
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
144 | }
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:198:30: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
196 |
197 | guard !self.query.filters.isEmpty else {
198 | return eventLoop.makeSucceededFuture(.init())
| `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
199 | }
200 |
/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
211 | pipeline.append(["$project": ["_id": true]])
212 |
213 | return database.collection(self.query.schema).aggregate(pipeline, session: session).flatMap { cursor in
| `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
214 | cursor.toArray().map {
215 | ["_id": ["$in": .array($0.compactMap { $0["_id"] })]]
/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)
[963/969] 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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
62 |
63 | return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
64 | cursor.toArray().mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
65 | }
66 | } catch {
/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
77 | return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
78 | cursor.toArray()
79 | .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
| `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
80 | .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
81 | }
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
78 | cursor.toArray()
79 | .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
80 | .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
81 | }
82 | } catch {
/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
77 | return collection.aggregate(pipeline, options: nil, session: session).flatMap { cursor in
78 | cursor.toArray()
79 | .flatMapThrowing { $0.isEmpty ? [try aggregate.mongoAggregationEmptyResult()] : $0 }
| `- warning: capture of 'aggregate' with non-sendable type 'DatabaseQuery.Aggregate' in a '@Sendable' closure
80 | .mapEach { $0.databaseOutput(fields: self.query.fields, using: self.decoder) }
81 | }
/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
95 | }
96 |
97 | guard documents.count == result.insertedCount else {
| `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
98 | throw Error.insertManyMismatch(documents.count, result.insertedCount)
99 | }
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
100 |
101 | return result.insertedIDs.map {
102 | BSONDocument(dictionaryLiteral: (FieldKey.id.mongoKey, $0.value)).databaseOutput(fields: self.query.fields, using: self.decoder)
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
103 | }
104 | }.flatMapErrorThrowing { error in
/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
122 |
123 | return self.filter(database, session, on: eventLoop).flatMap { filter in
124 | let collection = database.collection(self.query.schema)
| `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
125 | let updates = documents.map { document in
126 | collection.updateMany(filter: filter, update: document, session: session)
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
122 |
123 | return self.filter(database, session, on: eventLoop).flatMap { filter in
124 | let collection = database.collection(self.query.schema)
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
125 | let updates = documents.map { document in
126 | collection.updateMany(filter: filter, update: document, session: session)
/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
123 | return self.filter(database, session, on: eventLoop).flatMap { filter in
124 | let collection = database.collection(self.query.schema)
125 | let updates = documents.map { document in
| `- warning: capture of 'documents' with non-sendable type '[BSONDocument]' in a '@Sendable' closure
126 | collection.updateMany(filter: filter, update: document, session: session)
127 | }.flatten(on: eventLoop)
/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
124 | let collection = database.collection(self.query.schema)
125 | let updates = documents.map { document in
126 | collection.updateMany(filter: filter, update: document, session: session)
| `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
127 | }.flatten(on: eventLoop)
128 |
/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
136 | private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 | return self.filter(database, session, on: eventLoop).flatMap { filter in
138 | database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
| `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
139 | }
140 | }
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
136 | private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 | return self.filter(database, session, on: eventLoop).flatMap { filter in
138 | database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
139 | }
140 | }
/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
136 | private func delete(_ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
137 | return self.filter(database, session, on: eventLoop).flatMap { filter in
138 | database.collection(self.query.schema).deleteMany(filter, session: session).transform(to: [])
| `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
139 | }
140 | }
/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
11 | import MongoSwift
12 |
13 | struct MongoQueryConverter {
| `- note: consider making struct 'MongoQueryConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ query: DatabaseQuery, encoder: BSONEncoder, decoder: BSONDecoder) {
:
141 |
142 | private func custom(_ command: BSONDocument, _ database: MongoSwift.MongoDatabase, _ session: ClientSession?, on eventLoop: EventLoop) -> EventLoopFuture<[DatabaseOutput]> {
143 | return database.runCommand(command, session: session).map { [$0.databaseOutput(fields: self.query.fields, using: self.decoder)] }
| `- warning: capture of 'self' with non-sendable type 'MongoQueryConverter' in a '@Sendable' closure
144 | }
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoQueryConverter.swift:198:30: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
196 |
197 | guard !self.query.filters.isEmpty else {
198 | return eventLoop.makeSucceededFuture(.init())
| `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
199 | }
200 |
/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
211 | pipeline.append(["$project": ["_id": true]])
212 |
213 | return database.collection(self.query.schema).aggregate(pipeline, session: session).flatMap { cursor in
| `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
214 | cursor.toArray().map {
215 | ["_id": ["$in": .array($0.compactMap { $0["_id"] })]]
/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/969] 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
33 | return self.execute(closure) { result in
34 | results.append(result)
35 | }.map { results }
| `- warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a '@Sendable' closure
36 | }
37 | }
/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
33 | return self.execute(closure) { result in
34 | results.append(result)
35 | }.map { results }
| `- warning: reference to captured var 'results' in concurrently-executing code
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:80:44: warning: type 'T' does not conform to the 'Sendable' protocol
75 | }
76 |
77 | func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
78 | self.database.withConnection { connection in
79 | connection.withSession { session in
80 | session.startTransaction().flatMap {
| `- warning: type 'T' does not conform to the 'Sendable' protocol
81 | let transactionDatabase = FluentMongoDatabase(
82 | database: connection,
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:90:26: warning: type 'T' does not conform to the 'Sendable' protocol
75 | }
76 |
77 | func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
78 | self.database.withConnection { connection in
79 | connection.withSession { session in
:
88 |
89 | return closure(transactionDatabase)
90 | .flatMap { value in
| `- warning: type 'T' does not conform to the 'Sendable' protocol
91 | session.commitTransaction().map { value }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:93:26: warning: type 'T' does not conform to the 'Sendable' protocol
75 | }
76 |
77 | func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
78 | self.database.withConnection { connection in
79 | connection.withSession { session in
:
91 | session.commitTransaction().map { value }
92 | }
93 | .flatMapError { error in
| `- warning: type 'T' does not conform to the 'Sendable' protocol
94 | session.abortTransaction().flatMapThrowing { throw error }
95 | }
/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
80 | session.startTransaction().flatMap {
81 | let transactionDatabase = FluentMongoDatabase(
82 | database: connection,
| `- warning: capture of 'connection' with non-sendable type 'MongoConnection' in a '@Sendable' closure
83 | context: self.context,
84 | session: session,
/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
37 | }
38 |
39 | struct FluentMongoDatabase: Database {
| `- note: consider making struct 'FluentMongoDatabase' conform to the 'Sendable' protocol
40 |
41 | let database: MongoDatabase
:
81 | let transactionDatabase = FluentMongoDatabase(
82 | database: connection,
83 | context: self.context,
| `- warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a '@Sendable' closure
84 | session: session,
85 | encoder: self.encoder,
/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
82 | database: connection,
83 | context: self.context,
84 | session: session,
| `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
85 | encoder: self.encoder,
86 | decoder: self.decoder
/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
87 | )
88 |
89 | return closure(transactionDatabase)
| |- warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
90 | .flatMap { value in
91 | session.commitTransaction().map { value }
/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
89 | return closure(transactionDatabase)
90 | .flatMap { value in
91 | session.commitTransaction().map { value }
| `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
92 | }
93 | .flatMapError { error in
/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
75 | }
76 |
77 | func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
78 | self.database.withConnection { connection in
79 | connection.withSession { session in
:
89 | return closure(transactionDatabase)
90 | .flatMap { value in
91 | session.commitTransaction().map { value }
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
92 | }
93 | .flatMapError { error in
/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
92 | }
93 | .flatMapError { error in
94 | session.abortTransaction().flatMapThrowing { throw error }
| `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
95 | }
96 | }
/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")
[965/969] 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
33 | return self.execute(closure) { result in
34 | results.append(result)
35 | }.map { results }
| `- warning: capture of 'results' with non-sendable type '[any DatabaseOutput]' in a '@Sendable' closure
36 | }
37 | }
/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
33 | return self.execute(closure) { result in
34 | results.append(result)
35 | }.map { results }
| `- warning: reference to captured var 'results' in concurrently-executing code
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:80:44: warning: type 'T' does not conform to the 'Sendable' protocol
75 | }
76 |
77 | func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
78 | self.database.withConnection { connection in
79 | connection.withSession { session in
80 | session.startTransaction().flatMap {
| `- warning: type 'T' does not conform to the 'Sendable' protocol
81 | let transactionDatabase = FluentMongoDatabase(
82 | database: connection,
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:90:26: warning: type 'T' does not conform to the 'Sendable' protocol
75 | }
76 |
77 | func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
78 | self.database.withConnection { connection in
79 | connection.withSession { session in
:
88 |
89 | return closure(transactionDatabase)
90 | .flatMap { value in
| `- warning: type 'T' does not conform to the 'Sendable' protocol
91 | session.commitTransaction().map { value }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluentMongo/MongoDatabase.swift:93:26: warning: type 'T' does not conform to the 'Sendable' protocol
75 | }
76 |
77 | func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
78 | self.database.withConnection { connection in
79 | connection.withSession { session in
:
91 | session.commitTransaction().map { value }
92 | }
93 | .flatMapError { error in
| `- warning: type 'T' does not conform to the 'Sendable' protocol
94 | session.abortTransaction().flatMapThrowing { throw error }
95 | }
/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
80 | session.startTransaction().flatMap {
81 | let transactionDatabase = FluentMongoDatabase(
82 | database: connection,
| `- warning: capture of 'connection' with non-sendable type 'MongoConnection' in a '@Sendable' closure
83 | context: self.context,
84 | session: session,
/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
37 | }
38 |
39 | struct FluentMongoDatabase: Database {
| `- note: consider making struct 'FluentMongoDatabase' conform to the 'Sendable' protocol
40 |
41 | let database: MongoDatabase
:
81 | let transactionDatabase = FluentMongoDatabase(
82 | database: connection,
83 | context: self.context,
| `- warning: capture of 'self' with non-sendable type 'FluentMongoDatabase' in a '@Sendable' closure
84 | session: session,
85 | encoder: self.encoder,
/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
82 | database: connection,
83 | context: self.context,
84 | session: session,
| `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
85 | encoder: self.encoder,
86 | decoder: self.decoder
/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
87 | )
88 |
89 | return closure(transactionDatabase)
| |- warning: capture of 'closure' with non-sendable type '(any Database) -> EventLoopFuture<T>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
90 | .flatMap { value in
91 | session.commitTransaction().map { value }
/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
89 | return closure(transactionDatabase)
90 | .flatMap { value in
91 | session.commitTransaction().map { value }
| `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
92 | }
93 | .flatMapError { error in
/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
75 | }
76 |
77 | func transaction<T>(_ closure: @escaping (Database) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
78 | self.database.withConnection { connection in
79 | connection.withSession { session in
:
89 | return closure(transactionDatabase)
90 | .flatMap { value in
91 | session.commitTransaction().map { value }
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
92 | }
93 | .flatMapError { error in
/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
92 | }
93 | .flatMapError { error in
94 | session.abortTransaction().flatMapThrowing { throw error }
| `- warning: capture of 'session' with non-sendable type 'ClientSession' in a '@Sendable' closure
95 | }
96 | }
/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/969] 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 | }
[967/969] 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 | }
[968/969] 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
40 | switch error {
41 | case let error as MongoError.CommandError where error.code == 48:
42 | return database.collection(self.schema.schema) // Collection already exists
| `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
43 | default:
44 | throw error
/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
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
| `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ schema: DatabaseSchema) {
:
40 | switch error {
41 | case let error as MongoError.CommandError where error.code == 48:
42 | return database.collection(self.schema.schema) // Collection already exists
| `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
43 | default:
44 | throw error
/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
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
| `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ schema: DatabaseSchema) {
:
46 | }.flatMap { collection in
47 | do {
48 | let indexModels = try self.schema.createConstraints.mongoIndexes()
| `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
49 | guard !indexModels.isEmpty else {
50 | return eventLoop.makeSucceededFuture(Void())
/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
50 | return eventLoop.makeSucceededFuture(Void())
51 | }
52 | return collection.createIndexes(indexModels, session: session).transform(to: Void())
| `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
53 | } catch {
54 | return eventLoop.makeFailedFuture(error)
/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
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
| `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ schema: DatabaseSchema) {
:
68 | do {
69 | guard let collectionSpecification = $0.first else {
70 | throw Error.collectionNotFound(self.schema.schema)
| `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
71 | }
72 |
/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
73 | let validator = try self.schema.updateFields.mongoValidator(updating: collectionSpecification.options?.validator)
74 |
75 | return database.runCommand([
| `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
76 | "collMod": .string(self.schema.schema),
77 | "validator": .document(validator),
/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
77 | "validator": .document(validator),
78 | "validationLevel": "moderate"
79 | ], session: session).transform(to: Void())
| `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
80 | } catch {
81 | return eventLoop.makeFailedFuture(error)
/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")
[969/969] 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
40 | switch error {
41 | case let error as MongoError.CommandError where error.code == 48:
42 | return database.collection(self.schema.schema) // Collection already exists
| `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
43 | default:
44 | throw error
/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
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
| `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ schema: DatabaseSchema) {
:
40 | switch error {
41 | case let error as MongoError.CommandError where error.code == 48:
42 | return database.collection(self.schema.schema) // Collection already exists
| `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
43 | default:
44 | throw error
/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
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
| `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ schema: DatabaseSchema) {
:
46 | }.flatMap { collection in
47 | do {
48 | let indexModels = try self.schema.createConstraints.mongoIndexes()
| `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
49 | guard !indexModels.isEmpty else {
50 | return eventLoop.makeSucceededFuture(Void())
/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
50 | return eventLoop.makeSucceededFuture(Void())
51 | }
52 | return collection.createIndexes(indexModels, session: session).transform(to: Void())
| `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
53 | } catch {
54 | return eventLoop.makeFailedFuture(error)
/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
11 | import MongoSwift
12 |
13 | struct MongoSchemaConverter {
| `- note: consider making struct 'MongoSchemaConverter' conform to the 'Sendable' protocol
14 |
15 | public init(_ schema: DatabaseSchema) {
:
68 | do {
69 | guard let collectionSpecification = $0.first else {
70 | throw Error.collectionNotFound(self.schema.schema)
| `- warning: capture of 'self' with non-sendable type 'MongoSchemaConverter' in a '@Sendable' closure
71 | }
72 |
/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
73 | let validator = try self.schema.updateFields.mongoValidator(updating: collectionSpecification.options?.validator)
74 |
75 | return database.runCommand([
| `- warning: capture of 'database' with non-sendable type 'MongoDatabase' in a '@Sendable' closure
76 | "collMod": .string(self.schema.schema),
77 | "validator": .document(validator),
/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
77 | "validator": .document(validator),
78 | "validationLevel": "moderate"
79 | ], session: session).transform(to: Void())
| `- warning: capture of 'session' with non-sendable type 'ClientSession?' in a '@Sendable' closure
80 | } catch {
81 | return eventLoop.makeFailedFuture(error)
/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! (29.09s)
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.