Build Information
Successful build of FluentMongo, reference 1.2.2 (76bc6e
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 02:32:00 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: 1.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/asensei/vapor-fluent-mongo
* tag 1.2.2 -> FETCH_HEAD
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 1.2.2
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/mongodb/mongo-swift-driver.git
[1/13244] Fetching fluent-kit
[6094/53141] Fetching fluent-kit, mongo-swift-driver
Fetched https://github.com/mongodb/mongo-swift-driver.git from cache (3.07s)
Fetched https://github.com/vapor/fluent-kit.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.75s)
Fetching https://github.com/apple/swift-nio from cache
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-atomics from cache
[1/3384] Fetching swift-bson
[374/22951] Fetching swift-bson, nimble
Fetched https://github.com/apple/swift-nio from cache (0.95s)
Fetched https://github.com/Quick/Nimble.git from cache (1.82s)
Fetched https://github.com/mongodb/swift-bson from cache (1.82s)
Fetched https://github.com/apple/swift-atomics from cache (1.82s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (2.47s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git from cache
[1/2370] Fetching async-kit
Fetched https://github.com/apple/swift-log.git from cache (0.68s)
[594/8353] Fetching async-kit, sql-kit
Fetched https://github.com/vapor/sql-kit.git from cache (1.13s)
Fetched https://github.com/vapor/async-kit.git from cache (1.13s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (1.76s)
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
[1/833] Fetching swift-extras-base64
[60/1889] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.78s)
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.78s)
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.38s)
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.58s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.48s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.58s)
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.69s)
Fetched https://github.com/apple/swift-collections.git from cache (0.71s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.29s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.12s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.68s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.82.0 (0.65s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.06s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.46s)
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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/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/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/mongo-swift-driver.git
Working copy of https://github.com/mongodb/mongo-swift-driver.git resolved at 1.3.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.82.0
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/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/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/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "vapor-fluent-mongo",
"name": "FluentMongo",
"url": "https://github.com/asensei/vapor-fluent-mongo.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/vapor-fluent-mongo",
"dependencies": [
{
"identity": "fluent-kit",
"name": "fluent-kit",
"url": "https://github.com/vapor/fluent-kit.git",
"version": "1.36.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/fluent-kit",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio",
"version": "2.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.81s)
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.53s)
Fetched https://github.com/mongodb/mongo-swift-driver.git from cache (0.53s)
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.59s)
Fetching https://github.com/apple/swift-nio from cache
Fetching https://github.com/apple/swift-atomics from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/mongodb/swift-bson from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.51s)
Fetched https://github.com/apple/swift-atomics from cache (0.75s)
Fetched https://github.com/mongodb/swift-bson from cache (0.75s)
Fetched https://github.com/apple/swift-nio from cache (0.76s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.36.1 (0.82s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/vapor/async-kit.git from cache
Fetching https://github.com/vapor/sql-kit.git from cache
Fetched https://github.com/vapor/sql-kit.git from cache (0.56s)
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
Fetched https://github.com/vapor/async-kit.git from cache (0.56s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.62s)
Fetching https://github.com/swift-extras/swift-extras-json from cache
Fetching https://github.com/swift-extras/swift-extras-base64 from cache
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.46s)
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.46s)
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.52s)
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-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.53s)
Fetched https://github.com/apple/swift-collections.git from cache (0.55s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.61s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.49s)
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.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.54s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.02s)
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.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-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-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
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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/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/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/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/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/asensei/vapor-fluent-mongo.git
Working copy of https://github.com/asensei/vapor-fluent-mongo.git resolved at 1.2.2 (76bc6e5)
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
[6/173] Copying PrivacyInfo.xcprivacy
[6/173] Write sources
[23/173] Compiling CNIOWindows WSAStartup.c
[24/173] Compiling CNIOWASI CNIOWASI.c
[24/173] Compiling CNIOWindows shim.c
[26/173] Compiling _NumericsShims _NumericsShims.c
[27/173] Write swift-version-2F0A5646E1D333AE.txt
[28/173] Compiling CNIOLinux shim.c
[29/173] Compiling CNIOLinux liburing_shims.c
[30/173] Compiling _AtomicsShims.c
[32/189] Compiling RealModule Float80+Real.swift
[33/189] Compiling RealModule ApproximateEquality.swift
[34/189] Compiling RealModule Float16+Real.swift
[35/189] Compiling RealModule AlgebraicField.swift
[36/190] Compiling RealModule Float+Real.swift
[37/190] Compiling RealModule ElementaryFunctions.swift
[38/190] Compiling RealModule Real.swift
[39/190] Emitting module RealModule
[40/190] Compiling RealModule Double+Real.swift
[41/190] Compiling RealModule AugmentedArithmetic.swift
[42/190] Compiling _NIOBase64 Base64.swift
[43/190] Emitting module _NIOBase64
[44/190] Compiling RealModule RealFunctions.swift
[44/190] Compiling bson-atomic.c
[45/190] Compiling bson-clock.c
[45/190] Compiling CNIODarwin shim.c
[47/195] Compiling mongoc-write-concern.c
[48/195] Compiling mongoc-cursor-array.c
[49/230] Compiling bcon.c
[50/230] Compiling mongoc-version-functions.c
[51/230] Compiling mongoc-write-command-legacy.c
[53/230] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[54/230] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[55/230] Compiling InternalCollectionsUtilities Specialize.swift
[56/231] Compiling InternalCollectionsUtilities _SortedCollection.swift
[57/231] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[58/231] Compiling InternalCollectionsUtilities Debugging.swift
[59/231] Compiling InternalCollectionsUtilities Descriptions.swift
[59/231] Compiling mongoc-util.c
[61/231] Compiling ExtrasJSON JSONUnkeyedDecodingContainer.swift
[62/231] Compiling ExtrasJSON JSONEncoder.swift
[62/231] Compiling mongoc-write-command.c
[63/231] Compiling mongoc-ts-pool.c
[65/231] Compiling ExtrasBase64 Base64.swift
[66/231] Compiling ExtrasJSON JSONValue.swift
[67/232] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[67/232] Compiling mongoc-uri.c
[68/232] Compiling mongoc-topology-scanner.c
[69/232] Compiling mongoc-topology.c
[71/232] Compiling ExtrasJSON JSONError+DecodingError.swift
[72/232] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[73/232] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[74/232] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[75/232] Compiling ExtrasJSON DocumentReader.swift
[75/232] Compiling mongoc-topology-description-apm.c
[76/232] Compiling mongoc-topology-background-monitoring.c
[78/232] Compiling _NIODataStructures PriorityQueue.swift
[79/232] Compiling ExtrasJSON JSONKeyedDecodingContainer.swift
[80/232] Compiling ExtrasJSON JSONSingleValueDecodingContainer.swift
[83/232] Compiling ExtrasJSON ArrayKey.swift
[84/232] Compiling ExtrasJSON JSONDecoder.swift
[84/232] Compiling mongoc-topology-description.c
[86/232] Emitting module ExtrasJSON
[86/232] Compiling mongoc-timeout.c
[88/232] Emitting module InternalCollectionsUtilities
[88/232] Compiling mongoc-stream.c
[89/232] Compiling mongoc-stream-tls-secure-channel.c
[90/232] Compiling mongoc-stream-tls-openssl.c
[92/232] Compiling ExtrasJSON JSONParser.swift
[92/232] Compiling mongoc-stream-tls-openssl-bio.c
[94/232] Compiling InternalCollectionsUtilities UInt+reversed.swift
[95/232] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[100/232] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[101/232] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[101/232] Compiling mongoc-stream-tls-libressl.c
[103/232] Compiling Logging MetadataProvider.swift
[104/232] Compiling _NIODataStructures _TinyArray.swift
[105/232] Emitting module _NIODataStructures
[106/232] Compiling _NIODataStructures Heap.swift
[106/232] Compiling mongoc-stream-socket.c
[107/232] Compiling mongoc-stream-gridfs.c
[108/246] Compiling c-nioatomics.c
[110/254] Compiling Logging LogHandler.swift
[111/254] Compiling Logging Locks.swift
[112/254] Emitting module Logging
[113/256] Compiling Logging Logging.swift
[113/443] Compiling mongoc-stream-gridfs-upload.c
[114/459] Compiling mongoc-stream-tls.c
[116/459] Compiling HeapModule Heap+Descriptions.swift
[116/459] Compiling mongoc-stream-gridfs-download.c
[117/459] Compiling mongoc-stream-tls-secure-transport.c
[118/459] Compiling mongoc-sspi.c
[119/459] Compiling mongoc-stream-file.c
[121/459] Compiling HeapModule _HeapNode.swift
[122/459] Compiling HeapModule Heap.swift
[122/459] Compiling mongoc-stream-buffered.c
[123/459] Compiling mongoc-ssl.c
[124/459] Compiling mongoc-shared.c
[126/459] Compiling DequeModule _DequeSlot.swift
[127/459] Compiling DequeModule _DequeBufferHeader.swift
[127/459] Compiling mongoc-set.c
[128/460] Compiling mongoc-socket.c
[130/460] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[131/460] Compiling HeapModule Heap+Invariants.swift
[132/460] Compiling HeapModule Heap+UnsafeHandle.swift
[133/460] Emitting module HeapModule
[133/460] Compiling mongoc-server-stream.c
[134/460] Compiling mongoc-server-api.c
[136/460] Compiling DequeModule Deque+Collection.swift
[137/460] Compiling DequeModule Deque+CustomReflectable.swift
[138/460] Compiling DequeModule Deque+Descriptions.swift
[139/460] Compiling HashTreeCollections TreeSet+Filter.swift
[140/460] Compiling HashTreeCollections TreeSet+Hashable.swift
[141/460] Compiling HashTreeCollections TreeSet+Sendable.swift
[142/460] Compiling HashTreeCollections TreeSet+Sequence.swift
[143/460] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[143/468] Compiling mongoc-secure-channel.c
[145/468] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[146/468] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[147/468] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[148/468] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[149/468] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[150/468] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[151/468] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[152/468] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[153/468] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[154/468] Compiling HashTreeCollections TreeDictionary+Filter.swift
[155/468] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[156/468] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[156/474] Compiling mongoc-server-description.c
[157/474] Compiling mongoc-server-monitor.c
[158/474] Compiling mongoc-sasl.c
[160/474] Compiling DequeModule _DequeBuffer.swift
[160/474] Compiling mongoc-secure-transport.c
[161/474] Compiling mongoc-scram.c
[162/474] Compiling mongoc-rand-openssl.c
[163/474] Compiling mongoc-read-concern.c
[165/474] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[166/474] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[167/474] Compiling HashTreeCollections TreeDictionary+Values.swift
[168/474] Compiling HashTreeCollections TreeDictionary.swift
[169/474] Compiling HashTreeCollections TreeSet+Codable.swift
[170/474] Compiling HashTreeCollections TreeSet+Collection.swift
[170/474] Compiling mongoc-rand-cng.c
[171/474] Compiling mongoc-read-prefs.c
[172/474] Compiling mongoc-queue.c
[173/474] Compiling mongoc-rand-common-crypto.c
[179/474] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[180/474] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[181/474] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[182/474] Compiling HashTreeCollections _HashNode+Structural merge.swift
[183/474] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[184/474] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[185/474] Compiling HashTreeCollections _HashNode+Structural union.swift
[186/474] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[187/474] Compiling DequeModule _UnsafeWrappedBuffer.swift
[187/474] Compiling mongoc-optional.c
[188/474] Compiling mongoc-openssl.c
[189/474] Compiling mongoc-ocsp-cache.c
[190/474] Compiling mongoc-opts-helpers.c
[191/474] Compiling mongoc-rpc.c
[192/474] Compiling mongoc-memcmp.c
[193/474] Compiling mongoc-matcher.c
[195/474] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[196/474] Compiling DequeModule Deque+Codable.swift
[200/474] Compiling mongoc-opts.c
[201/474] Compiling c-atomics.c
[202/474] Compiling mongoc-matcher-op.c
[203/474] Compiling mongoc-linux-distro-scanner.c
[204/474] Compiling mongoc-log.c
[205/474] Compiling mongoc-list.c
[206/474] Compiling mongoc-libressl.c
[207/474] Compiling mongoc-interrupt.c
[208/474] Compiling mongoc-index.c
[210/474] Compiling DequeModule Deque+Testing.swift
[211/474] Compiling DequeModule Deque._Storage.swift
[214/474] Compiling DequeModule Deque+Equatable.swift
[216/474] Compiling DequeModule Deque+Extras.swift
[217/474] Compiling DequeModule Deque+Hashable.swift
[218/474] Compiling DequeModule Deque._UnsafeHandle.swift
[219/474] Compiling DequeModule Deque.swift
[220/474] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[221/474] Compiling HashTreeCollections TreeSet+Debugging.swift
[222/474] Compiling HashTreeCollections TreeSet+Descriptions.swift
[223/474] Compiling HashTreeCollections _AncestorHashSlots.swift
[224/474] Compiling HashTreeCollections _Bitmap.swift
[225/474] Compiling HashTreeCollections _Bucket.swift
[226/474] Compiling HashTreeCollections _Hash.swift
[227/474] Compiling HashTreeCollections _HashLevel.swift
[228/474] Compiling HashTreeCollections _HashNode+Builder.swift
[229/474] Compiling HashTreeCollections _HashNode+Debugging.swift
[230/474] Compiling HashTreeCollections _HashNode+Initializers.swift
[231/474] Compiling HashTreeCollections _HashNode+Invariants.swift
[231/474] Compiling mongoc-init.c
[232/480] Compiling mongoc-http.c
[234/480] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[235/480] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[236/480] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[237/480] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[238/480] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[239/480] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[240/480] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[241/480] Compiling HashTreeCollections TreeSet.swift
[241/480] Compiling mongoc-host-list.c
[242/480] Compiling mongoc-handshake.c
[243/480] Compiling mongoc-gridfs-file-page.c
[245/480] Compiling HashTreeCollections TreeDictionary+Codable.swift
[246/480] Compiling HashTreeCollections TreeDictionary+Collection.swift
[247/480] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[248/480] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[249/480] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[250/480] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[251/480] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[251/487] Compiling mongoc-gridfs.c
[252/487] Compiling mongoc-gridfs-file.c
[253/487] Compiling mongoc-gridfs-file-list.c
[254/487] Compiling mongoc-gridfs-bucket-file.c
[255/487] Compiling mongoc-gridfs-bucket.c
[263/487] Compiling mongoc-generation-map.c
[264/487] Compiling mongoc-cyrus.c
[265/487] Compiling mongoc-find-and-modify.c
[266/487] Compiling mongoc-error.c
[267/487] Compiling mongoc-database.c
[269/487] Emitting module DequeModule
[278/487] Compiling mongoc-cursor-legacy.c
[279/487] Compiling mongoc-cursor-find.c
[281/487] Compiling OrderedCollections OrderedSet.swift
[282/487] Compiling OrderedCollections _UnsafeBitset.swift
[283/487] Compiling HashTreeCollections _UnsafePath.swift
[294/487] Compiling OrderedCollections OrderedSet+SubSequence.swift
[295/487] Compiling OrderedCollections OrderedSet+Testing.swift
[296/487] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[297/487] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[297/487] Compiling mongoc-cursor.c
[298/487] Compiling mongoc-cursor-find-opquery.c
[299/487] Compiling mongoc-cursor-find-cmd.c
[300/487] Compiling mongoc-cursor-cmd-deprecated.c
[301/487] Compiling mongoc-cursor-cmd.c
[304/487] Compiling _RopeModule Rope+Remove.swift
[305/487] Compiling _RopeModule Rope+RemoveSubrange.swift
[306/487] Compiling _RopeModule Rope+Split.swift
[307/487] Compiling _RopeModule Optional Utilities.swift
[308/487] Compiling _RopeModule String Utilities.swift
[309/487] Compiling _RopeModule String.Index+ABI.swift
[310/487] Compiling _RopeModule _CharacterRecognizer.swift
[311/487] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[311/487] Compiling mongoc-crypto.c
[312/487] Compiling mongoc-crypto-openssl.c
[313/487] Compiling mongoc-cursor-change-stream.c
[314/487] Compiling mongoc-crypto-cng.c
[315/487] Compiling mongoc-crypt.c
[317/487] Compiling NIOConcurrencyHelpers lock.swift
[317/487] Compiling mongoc-crypto-common-crypto.c
[327/487] Compiling mongoc-counters.c
[328/487] Compiling mongoc-cluster-sspi.c
[329/487] Compiling mongoc-compression.c
[330/487] Compiling mongoc-cmd.c
[331/487] Compiling mongoc-cluster-cyrus.c
[332/487] Compiling mongoc-cluster.c
[339/487] Compiling mongoc-cluster-sasl.c
[365/487] Compiling mongoc-collection.c
[366/487] Compiling mongoc-cluster-aws.c
[368/487] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[369/487] Compiling NIOConcurrencyHelpers NIOLock.swift
[370/487] Compiling NIOConcurrencyHelpers atomics.swift
[371/487] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[372/487] Emitting module NIOConcurrencyHelpers
[372/487] Compiling mongoc-client-side-encryption.c
[373/487] Compiling mongoc-client.c
[374/487] Compiling mongoc-client-session.c
[375/487] Compiling mongoc-client-pool.c
[376/487] Compiling mongoc-change-stream.c
[377/487] Compiling mongoc-buffer.c
[378/487] Compiling mongoc-bulk-operation.c
[379/487] Compiling mongoc-array.c
[380/487] Compiling mongoc-async.c
[382/487] Emitting module OrderedCollections
[382/487] Compiling mongoc-async-cmd.c
[383/487] Compiling mongoc-apm.c
[384/487] Compiling common-thread.c
[385/487] Compiling mongoc-aggregate.c
[386/487] Compiling common-b64.c
[387/487] Compiling common-md5.c
[388/487] Compiling bson-version-functions.c
[389/487] Compiling jsonsl.c
[390/487] Compiling bson-writer.c
[391/487] Compiling bson-value.c
[392/487] Compiling bson-utf8.c
[393/487] Compiling bson-timegm.c
[394/487] Compiling bson.c
[395/487] Compiling bson-string.c
[396/487] Compiling bson-oid.c
[397/487] Compiling bson-memory.c
[398/487] Compiling bson-reader.c
[399/487] Compiling bson-keys.c
[400/487] Compiling bson-md5.c
[401/487] Write sources
[403/487] Compiling bson-error.c
[413/487] Compiling bson-decimal128.c
[414/487] Write sources
[416/487] Compiling bson-iso8601.c
[417/487] Compiling bson-iter.c
[418/487] Compiling bson-context.c
[419/487] Compiling bson-json.c
[421/487] Emitting module _RopeModule
[429/571] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[430/571] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[431/571] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[432/571] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[433/571] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[434/571] Compiling BitCollections BitArray+Descriptions.swift
[435/571] Compiling BitCollections BitArray+Equatable.swift
[436/571] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[437/574] Compiling BitCollections BitSet+Codable.swift
[438/574] Compiling BitCollections BitSet+Hashable.swift
[439/574] Compiling BitCollections BitSet+Initializers.swift
[440/574] Compiling BitCollections BitSet+Invariants.swift
[441/574] Compiling BitCollections BitSet+Random.swift
[442/574] Compiling BitCollections BitSet+SetAlgebra basics.swift
[443/574] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[444/574] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[445/577] Compiling Algorithms FlattenCollection.swift
[446/577] Compiling Algorithms Grouped.swift
[447/577] Compiling Algorithms Indexed.swift
[448/577] Compiling Algorithms Intersperse.swift
[449/577] Compiling Algorithms Joined.swift
[450/577] Compiling Algorithms Keyed.swift
[451/577] Compiling Algorithms MinMax.swift
[452/577] Compiling Atomics ManagedAtomicLazyReference.swift
[461/579] Compiling Algorithms Permutations.swift
[462/579] Compiling Atomics UnsafeAtomicLazyReference.swift
[463/579] Compiling BitCollections BitArray+Shifts.swift
[464/579] Compiling BitCollections BitArray+Testing.swift
[465/579] Compiling BitCollections BitArray._UnsafeHandle.swift
[466/579] Compiling BitCollections BitArray.swift
[467/579] Compiling BitCollections BitSet+BidirectionalCollection.swift
[468/585] Compiling Algorithms AdjacentPairs.swift
[469/585] Compiling Algorithms Chain.swift
[470/585] Compiling Algorithms Chunked.swift
[471/585] Compiling Algorithms Combinations.swift
[472/585] Compiling Algorithms Compacted.swift
[473/585] Compiling Algorithms Cycle.swift
[474/585] Compiling Algorithms EitherSequence.swift
[475/585] Compiling Algorithms FirstNonNil.swift
[476/585] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[477/585] Compiling BitCollections BitArray+Extras.swift
[478/585] Compiling BitCollections BitArray+Fill.swift
[479/585] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[480/585] Compiling BitCollections BitSet+SetAlgebra union.swift
[481/585] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[482/585] Compiling BitCollections BitSet.Counted.swift
[483/585] Compiling BitCollections BitSet.Index.swift
[484/587] Compiling Algorithms Suffix.swift
[485/587] Compiling Algorithms Trim.swift
[487/589] Compiling Algorithms Product.swift
[489/591] Compiling Algorithms Partition.swift
[494/591] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[495/591] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[496/591] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[497/591] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[498/591] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[499/591] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[500/596] Emitting module BitCollections
[501/596] Compiling Atomics IntegerOperations.swift
[502/596] Compiling Atomics Unmanaged extensions.swift
[521/596] Compiling Algorithms Rotate.swift
[522/596] Compiling Algorithms Split.swift
[523/596] Compiling Algorithms Stride.swift
[525/596] Compiling Algorithms Unique.swift
[526/596] Compiling Algorithms Windows.swift
[527/596] Compiling BitCollections BitSet.swift
[528/596] Compiling BitCollections Range+Utilities.swift
[529/596] Compiling BitCollections Slice+Utilities.swift
[530/596] Compiling BitCollections UInt+Tricks.swift
[531/596] Compiling BitCollections _Word.swift
[561/596] Compiling BitCollections BitSet._UnsafeHandle.swift
[567/596] Emitting module HashTreeCollections
[583/598] Emitting module Collections
[584/598] Compiling Collections Collections.swift
[594/598] Emitting module Atomics
[595/659] Emitting module Algorithms
[596/659] Emitting module ExtrasBase64
[597/659] Compiling ExtrasBase64 Chromium.swift
[598/659] Compiling ExtrasBase64 DecodingError.swift
[599/659] Compiling NIOCore Interfaces.swift
[600/659] Compiling NIOCore Linux.swift
[601/659] Compiling NIOCore MarkedCircularBuffer.swift
[602/659] Compiling NIOCore MulticastChannel.swift
[603/659] Compiling NIOCore NIOAny.swift
[604/659] Compiling NIOCore NIOCloseOnErrorHandler.swift
[605/665] Compiling NIOCore GlobalSingletons.swift
[606/665] Compiling NIOCore IO.swift
[607/665] Compiling NIOCore IOData.swift
[608/665] Compiling NIOCore IPProtocol.swift
[609/665] Compiling NIOCore IntegerBitPacking.swift
[610/665] Compiling NIOCore IntegerTypes.swift
[611/665] Compiling NIOCore AddressedEnvelope.swift
[612/665] Compiling NIOCore AsyncAwaitSupport.swift
[613/665] Compiling NIOCore AsyncChannel.swift
[614/665] Compiling NIOCore AsyncChannelHandler.swift
[615/665] Compiling NIOCore AsyncChannelInboundStream.swift
[616/665] Compiling NIOCore AsyncChannelOutboundWriter.swift
[617/665] Compiling NIOCore NIOAsyncSequenceProducer.swift
[618/665] Compiling NIOCore SocketOptionProvider.swift
[619/665] Compiling NIOCore SystemCallHelpers.swift
[620/665] Compiling NIOCore TimeAmount+Duration.swift
[621/665] Compiling NIOCore TypeAssistedChannelHandler.swift
[622/665] Compiling NIOCore UniversalBootstrapSupport.swift
[623/665] Compiling NIOCore Utilities.swift
[624/665] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[625/665] Compiling NIOCore EventLoopFuture+Deprecated.swift
[626/665] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[627/665] Compiling NIOCore EventLoopFuture.swift
[628/665] Compiling NIOCore FileDescriptor.swift
[629/665] Compiling NIOCore FileHandle.swift
[630/665] Compiling NIOCore FileRegion.swift
[631/665] Compiling NIOCore Codec.swift
[632/665] Compiling NIOCore ConvenienceOptionSupport.swift
[633/665] Compiling NIOCore DeadChannel.swift
[634/665] Compiling NIOCore DispatchQueue+WithFuture.swift
[635/665] Compiling NIOCore EventLoop+Deprecated.swift
[636/665] Compiling NIOCore EventLoop+SerialExecutor.swift
[637/665] Compiling NIOCore EventLoop.swift
[638/665] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[639/665] Compiling NIOCore NIOAsyncWriter.swift
[640/665] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[641/665] Compiling NIOCore BSDSocketAPI.swift
[642/665] Compiling NIOCore ByteBuffer-aux.swift
[643/665] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[644/665] Compiling NIOCore ByteBuffer-conversions.swift
[645/665] Compiling NIOCore NIOLoopBound.swift
[646/665] Compiling NIOCore NIOScheduledCallback.swift
[647/665] Compiling NIOCore NIOSendable.swift
[648/665] Compiling NIOCore RecvByteBufferAllocator.swift
[649/665] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[650/665] Compiling NIOCore SocketAddresses.swift
[651/665] Compiling NIOCore Channel.swift
[652/665] Compiling NIOCore ChannelHandler.swift
[653/665] Compiling NIOCore ChannelHandlers.swift
[654/665] Compiling NIOCore ChannelInvoker.swift
[655/665] Compiling NIOCore ChannelOption.swift
[656/665] Compiling NIOCore ChannelPipeline.swift
[657/665] Compiling NIOCore CircularBuffer.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] Emitting module NIOEmbedded
[668/718] Compiling NIOEmbedded AsyncTestingChannel.swift
[669/718] Compiling NIOEmbedded Embedded.swift
[670/718] Compiling NIOPosix GetaddrinfoResolver.swift
[671/718] Compiling NIOPosix HappyEyeballs.swift
[672/718] Compiling NIOPosix IO.swift
[673/718] Compiling NIOPosix IntegerBitPacking.swift
[674/718] Compiling NIOPosix IntegerTypes.swift
[675/718] Compiling NIOPosix Linux.swift
[676/723] Emitting module NIOPosix
[677/723] Compiling NIOPosix SocketProtocols.swift
[678/723] Compiling NIOPosix System.swift
[679/723] Compiling NIOPosix Thread.swift
[680/723] Compiling NIOPosix ThreadPosix.swift
[681/723] Compiling NIOPosix ThreadWindows.swift
[682/723] Compiling NIOPosix BSDSocketAPICommon.swift
[683/723] Compiling NIOPosix BSDSocketAPIPosix.swift
[684/723] Compiling NIOPosix BSDSocketAPIWindows.swift
[685/723] Compiling NIOPosix BaseSocket.swift
[686/723] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[687/723] Compiling NIOPosix BaseSocketChannel.swift
[688/723] Compiling NIOPosix Selectable.swift
[689/723] Compiling NIOPosix SelectableChannel.swift
[690/723] Compiling NIOPosix SelectableEventLoop.swift
[691/723] Compiling NIOPosix SelectorEpoll.swift
[692/723] Compiling NIOPosix SelectorGeneric.swift
[693/723] Compiling NIOPosix PooledRecvBufferAllocator.swift
[694/723] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[695/723] Compiling NIOPosix PosixSingletons.swift
[696/723] Compiling NIOPosix RawSocketBootstrap.swift
[697/723] Compiling NIOPosix Resolver.swift
[698/723] Compiling NIOPosix SelectorKqueue.swift
[699/723] Compiling NIOPosix SelectorUring.swift
[700/723] Compiling NIOPosix ServerSocket.swift
[701/723] Compiling NIOPosix Socket.swift
[702/723] Compiling NIOPosix SocketChannel.swift
[703/723] Compiling NIOPosix BaseStreamSocketChannel.swift
[704/723] Compiling NIOPosix Bootstrap.swift
[705/723] Compiling NIOPosix ControlMessage.swift
[706/723] Compiling NIOPosix DatagramVectorReadManager.swift
[707/723] Compiling NIOPosix Errors+Any.swift
[708/723] Compiling NIOPosix FileDescriptor.swift
[709/723] Compiling NIOPosix LinuxCPUSet.swift
[710/723] Compiling NIOPosix LinuxUring.swift
[711/723] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[712/723] Compiling NIOPosix NIOThreadPool.swift
[713/723] Compiling NIOPosix NonBlockingFileIO.swift
[714/723] Compiling NIOPosix PendingDatagramWritesManager.swift
[715/723] Compiling NIOPosix PendingWritesManager.swift
[716/723] Compiling NIOPosix PipeChannel.swift
[717/723] Compiling NIOPosix PipePair.swift
[718/723] Compiling NIOPosix Pool.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] Emitting module NIO
[725/747] Compiling NIO Exports.swift
[726/775] Compiling SwiftBSON BSONRegularExpression.swift
[727/775] Compiling SwiftBSON BSONSymbol.swift
[728/775] Compiling SwiftBSON BSONTimestamp.swift
[729/777] Compiling AsyncKit Optional+StrictMap.swift
[730/777] Compiling AsyncKit Exports.swift
[731/777] Compiling SwiftBSON BSONDecoder.swift
[732/777] Compiling SwiftBSON BSONDocument+Collection.swift
[733/777] Compiling SwiftBSON BSONDocument+Sequence.swift
[736/777] Compiling SwiftBSON ByteBuffer+BSON.swift
[737/777] Compiling SwiftBSON BSONError.swift
[738/777] Compiling SwiftBSON BSONNulls.swift
[739/777] Compiling SwiftBSON BSONObjectID.swift
[740/780] Emitting module AsyncKit
[741/780] Compiling SwiftBSON CodableNumber.swift
[742/780] Compiling SwiftBSON CodingStrategies.swift
[743/780] Compiling SwiftBSON Date+BSONValue.swift
[744/780] Emitting module SwiftBSON
[745/780] Compiling SwiftBSON BSONDocument.swift
[746/780] Compiling SwiftBSON BSONDocumentIterator.swift
[747/780] Compiling SwiftBSON BSONEncoder.swift
[748/780] Compiling SwiftBSON BSONCode.swift
[749/780] Compiling SwiftBSON BSONDBPointer.swift
[750/780] Compiling SwiftBSON BSONDecimal128.swift
[751/780] Compiling SwiftBSON Double+BSONValue.swift
[752/780] Compiling SwiftBSON ExtendedJSONDecoder.swift
[753/780] Compiling SwiftBSON ExtendedJSONEncoder.swift
[754/780] Compiling SwiftBSON Array+BSONValue.swift
[755/780] Compiling SwiftBSON BSON.swift
[756/780] Compiling SwiftBSON BSONBinary.swift
[763/780] Compiling SwiftBSON Integers+BSONValue.swift
[764/780] Compiling SwiftBSON JSON.swift
[765/780] Compiling SwiftBSON String+BSONValue.swift
[766/844] Emitting module MongoSwift
<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 |
[767/850] Compiling MongoSwift MongoCollection+Indexes+AsyncAwait.swift
[768/850] Compiling MongoSwift MongoCollection+Read+AsyncAwait.swift
[769/850] Compiling MongoSwift MongoCollection+Write+AsyncAwait.swift
[770/850] Compiling MongoSwift MongoCursor+AsyncSequence.swift
[771/850] Compiling MongoSwift MongoDatabase+AsyncAwait.swift
[772/850] Compiling MongoSwift BSONPointerUtils.swift
[773/850] Compiling MongoSwift BSONUtil.swift
[774/850] Compiling MongoSwift APM.swift
[775/850] Compiling MongoSwift ChangeStream+AsyncSequence.swift
[776/850] Compiling MongoSwift ClientSession+AsyncAwait.swift
[777/850] Compiling MongoSwift MongoClient+AsyncAwait.swift
[778/850] Compiling MongoSwift MongoCollection+AsyncAwait.swift
[779/850] Compiling MongoSwift MongoCollection+ChangeStreams+AsyncAwait.swift
[780/850] Compiling MongoSwift MongoCollection+FindAndModify+AsyncAwait.swift
[781/850] Compiling MongoSwift ListIndexesOperation.swift
[782/850] Compiling MongoSwift MongocCommandHelpers.swift
[783/850] Compiling MongoSwift Operation.swift
[784/850] Compiling MongoSwift RenameCollectionOperation.swift
[785/850] Compiling MongoSwift RunCommandOperation.swift
[786/850] Compiling MongoSwift StartSessionOperation.swift
[787/850] Compiling MongoSwift StartTransactionOperation.swift
[788/850] Compiling MongoSwift AggregateOperation.swift
[789/850] Compiling MongoSwift CommitTransactionOperation.swift
[790/850] Compiling MongoSwift CountDocumentsOperation.swift
[791/850] Compiling MongoSwift CreateCollectionOperation.swift
[792/850] Compiling MongoSwift CreateIndexesOperation.swift
[793/850] Compiling MongoSwift DistinctOperation.swift
[794/850] Compiling MongoSwift DropCollectionOperation.swift
[795/850] Compiling MongoSwift MongoDatabase.swift
[796/850] Compiling MongoSwift MongoError.swift
[797/850] Compiling MongoSwift MongoNamespace.swift
[798/850] Compiling MongoSwift MongoServerAPI.swift
[799/850] Compiling MongoSwift MongoSwift.swift
[800/850] Compiling MongoSwift MongoSwiftVersion.swift
[801/850] Compiling MongoSwift AbortTransactionOperation.swift
[802/850] Compiling MongoSwift DropDatabaseOperation.swift
[803/850] Compiling MongoSwift DropIndexesOperation.swift
[804/850] Compiling MongoSwift EstimatedDocumentCountOperation.swift
[805/850] Compiling MongoSwift FindAndModifyOperation.swift
[806/850] Compiling MongoSwift FindOperation.swift
[807/850] Compiling MongoSwift ListCollectionsOperation.swift
[808/850] Compiling MongoSwift ListDatabasesOperation.swift
[809/850] Compiling MongoSwift EventLoopBoundMongoClient.swift
[810/850] Compiling MongoSwift Exports.swift
[811/850] Compiling MongoSwift Hint.swift
[812/850] Compiling MongoSwift MongoClient.swift
[813/850] Compiling MongoSwift MongoCollection+BulkWrite.swift
[814/850] Compiling MongoSwift MongoCollection+ChangeStreams.swift
[815/850] Compiling MongoSwift MongoCollection+FindAndModify.swift
[831/934] Compiling FluentKit Field.swift
[832/934] Compiling FluentKit FieldKey.swift
[833/934] Compiling FluentKit Siblings.swift
[834/934] Compiling FluentKit Timestamp.swift
[835/934] Compiling FluentKit TimestampFormat.swift
[836/934] Compiling FluentKit QueryBuilder+Aggregate.swift
[837/934] Compiling FluentKit FieldOperators.swift
[838/934] Compiling FluentKit Operators.swift
[839/934] Compiling FluentKit DatabaseOutput.swift
[840/934] Compiling FluentKit Databases.swift
[841/934] Compiling FluentKit TransactionControlDatabase.swift
[842/934] Compiling FluentKit DatabaseEnum.swift
[843/934] Compiling FluentKit EnumBuilder.swift
[844/934] Compiling FluentKit Fields+Codable.swift
[845/934] Compiling FluentKit Fields.swift
[846/934] Compiling FluentKit MirrorBypass.swift
[847/934] Compiling FluentKit Model+CRUD.swift
[848/934] Compiling FluentKit Model.swift
[849/934] Compiling FluentKit ModelAlias.swift
[850/934] Compiling FluentKit Schema.swift
[851/934] Emitting module FluentKit
[852/943] Compiling FluentKit QueryBuilder+Range.swift
[853/943] Compiling FluentKit QueryBuilder+Set.swift
[854/943] Compiling FluentKit QueryBuilder+Sort.swift
[855/943] Compiling FluentKit QueryBuilder.swift
[856/943] Compiling FluentKit DatabaseQuery+Action.swift
[857/943] Compiling FluentKit DatabaseQuery+Aggregate.swift
[858/943] Compiling FluentKit DatabaseQuery+Field.swift
[859/943] Compiling FluentKit DatabaseQuery+Filter.swift
[860/943] Compiling FluentKit DatabaseQuery+Join.swift
[861/943] Compiling FluentKit FluentError.swift
[862/943] Compiling FluentKit ModelMiddleware.swift
[863/943] Compiling FluentKit ModelResponder.swift
[864/943] Compiling FluentKit Migration.swift
[865/943] Compiling FluentKit MigrationLog.swift
[866/943] Compiling FluentKit Migrations.swift
[867/943] Compiling FluentKit Migrator.swift
[868/943] Compiling FluentKit AnyModel.swift
[869/943] Compiling FluentKit EagerLoad.swift
[870/943] Compiling FluentKit DatabaseQuery+Range.swift
[871/943] Compiling FluentKit DatabaseQuery+Sort.swift
[872/943] Compiling FluentKit DatabaseQuery+Value.swift
[873/943] Compiling FluentKit DatabaseQuery.swift
[874/943] Compiling FluentKit QueryHistory.swift
[875/943] Compiling FluentKit DatabaseSchema.swift
[876/943] Compiling FluentKit SchemaBuilder.swift
[877/943] Compiling FluentKit OptionalType.swift
[878/943] Compiling FluentKit RandomGeneratable.swift
[879/943] Compiling FluentKit QueryBuilder+Concurrency.swift
[880/943] Compiling FluentKit Relation+Concurrency.swift
[881/943] Compiling FluentKit SchemaBuilder+Concurrency.swift
[882/943] Compiling FluentKit Siblings+Concurrency.swift
[883/943] Compiling FluentKit Database+Logging.swift
[884/943] Compiling FluentKit Database.swift
[885/943] Compiling FluentKit DatabaseID.swift
[886/943] Compiling FluentKit DatabaseInput.swift
[887/943] Compiling FluentKit DatabaseOutput+Cascade.swift
[888/943] Compiling FluentKit DatabaseOutput+Prefix.swift
[903/943] Compiling FluentKit EnumMetadata.swift
[904/943] Compiling FluentKit EnumProperty.swift
[905/943] Compiling FluentKit OptionalEnumProperty.swift
[906/943] Compiling FluentKit Exports.swift
[907/943] Compiling FluentKit AsyncMigration.swift
[908/943] Compiling FluentKit AsyncModelMiddleware.swift
[909/943] Compiling FluentKit Children+Concurrency.swift
[910/943] Compiling FluentKit Database+Concurrency.swift
[911/943] Compiling FluentKit EnumBuilder+Concurrency.swift
[912/943] Compiling FluentKit Model+Concurrency.swift
[913/943] Compiling FluentKit ModelResponder+Concurrency.swift
[914/943] Compiling FluentKit OptionalChild+Concurrency.swift
[915/943] Compiling FluentKit OptionalParent+Concurrency.swift
[916/943] Compiling FluentKit Parent+Concurrency.swift
[917/943] Compiling FluentKit Group.swift
[918/943] Compiling FluentKit ID.swift
[919/943] Compiling FluentKit OptionalBoolean.swift
[920/943] Compiling FluentKit OptionalChild.swift
[921/943] Compiling FluentKit OptionalField.swift
[922/943] Compiling FluentKit OptionalParent.swift
[923/943] Compiling FluentKit Parent.swift
[924/943] Compiling FluentKit Property.swift
[925/943] Compiling FluentKit Relation.swift
[926/943] Compiling FluentKit ValueOperators+Array.swift
[927/943] Compiling FluentKit ValueOperators+String.swift
[928/943] Compiling FluentKit ValueOperators.swift
[929/943] Compiling FluentKit Boolean.swift
[930/943] Compiling FluentKit BooleanPropertyFormat.swift
[931/943] Compiling FluentKit Children.swift
[932/943] Compiling FluentKit CompositeID.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 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")
[946/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")
[947/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 | }
[948/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 | }
[949/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 {
[950/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 {
[951/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 {
[952/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 {
[953/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 {
[954/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 {
[955/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 | }
[956/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 | }
[957/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 | }
[958/969] Compiling FluentMongo Exports.swift
[959/969] Compiling FluentMongo Fluent+Additions.swift
[960/969] Compiling FluentMongo FluentMongoConfiguration.swift
[961/969] Compiling FluentMongo DatabaseQueryOffset+Mongo.swift
[962/969] Compiling FluentMongo DatabaseQuerySort+Mongo.swift
[963/969] Compiling FluentMongo DatabaseQueryValue+Mongo.swift
[964/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)
[965/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)
[966/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 |
[967/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 |
[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! (27.53s)
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.