Skip to content

implement read-only auth #994

implement read-only auth

implement read-only auth #994

Triggered via pull request January 15, 2025 21:31
Status Failure
Total duration 2m 25s
Billable time 2m
Artifacts 1

integration-tests.yml

on: pull_request
integration-test
1m 24s
integration-test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
this function takes 3 arguments but 2 arguments were supplied: /home/runner/work/y-sweet/y-sweet/crates/y-sweet-core/src/doc_connection.rs#L49
error[E0061]: this function takes 3 arguments but 2 arguments were supplied --> /home/runner/work/y-sweet/y-sweet/crates/y-sweet-core/src/doc_connection.rs:49:9 | 49 | Self::new_inner(awareness, Arc::new(callback)) | ^^^^^^^^^^^^^^^ ------------------ argument #2 of type `Authorization` is missing | note: associated function defined here --> /home/runner/work/y-sweet/y-sweet/crates/y-sweet-core/src/doc_connection.rs:64:12 | 64 | pub fn new_inner( | ^^^^^^^^^ 65 | awareness: Arc<RwLock<Awareness>>, | --------------------------------- 66 | authorization: Authorization, | ---------------------------- 67 | callback: Callback, | ------------------ help: provide the argument | 49 | Self::new_inner(awareness, /* Authorization */, Arc::new(callback)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integration-test
Process completed with exit code 1.
the following explicit lifetimes could be elided: 'a: y-sweet-core/src/sync_kv.rs#L132
warning: the following explicit lifetimes could be elided: 'a --> y-sweet-core/src/sync_kv.rs:132:6 | 132 | impl<'a> yrs_kvstore::KVStore<'a> for SyncKv { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 132 - impl<'a> yrs_kvstore::KVStore<'a> for SyncKv { 132 + impl yrs_kvstore::KVStore<'_> for SyncKv { |
the following explicit lifetimes could be elided: 'd: y-sweet-core/src/sync_kv.rs#L93
warning: the following explicit lifetimes could be elided: 'd --> y-sweet-core/src/sync_kv.rs:93:6 | 93 | impl<'d> DocOps<'d> for SyncKv {} | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 93 - impl<'d> DocOps<'d> for SyncKv {} 93 + impl DocOps<'_> for SyncKv {} |
the following explicit lifetimes could be elided: 'a: y-sweet-core/src/sync/mod.rs#L308
warning: the following explicit lifetimes could be elided: 'a --> y-sweet-core/src/sync/mod.rs:308:6 | 308 | impl<'a, D: Decoder> Iterator for MessageReader<'a, D> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 308 - impl<'a, D: Decoder> Iterator for MessageReader<'a, D> { 308 + impl<D: Decoder> Iterator for MessageReader<'_, D> { |

Artifacts

Produced during runtime
Name Size
test-data
7.05 KB