Allow to disable GC within documents #2
Annotations
3 warnings
|
hiding a lifetime that's elided elsewhere is confusing:
y-sweet/src/server.rs#L302
warning: hiding a lifetime that's elided elsewhere is confusing
--> y-sweet/src/server.rs:302:9
|
302 | &self,
| ^^^^^ the lifetime is elided here
303 | doc_id: &str,
304 | ) -> Result<MappedRef<String, DocWithSyncKv, DocWithSyncKv>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
304 | ) -> Result<MappedRef<'_, String, DocWithSyncKv, DocWithSyncKv>> {
| +++
|
|
this function has too many arguments (8/7):
y-sweet/src/server.rs#L100
warning: this function has too many arguments (8/7)
--> y-sweet/src/server.rs:100:5
|
100 | / pub async fn new(
101 | | store: Option<Box<dyn Store>>,
102 | | checkpoint_freq: Duration,
103 | | authenticator: Option<Authenticator>,
... |
108 | | skip_gc: bool,
109 | | ) -> Result<Self> {
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
|
|
build
falling back to buildx: Error: failed with: Error: permission_denied: Invalid token
|