build(deps): Update Rust dependencies #180
Annotations
3 errors and 1 warning
usage of an `Arc` that is not `Send` and `Sync`:
src/lib.rs#L68
error: usage of an `Arc` that is not `Send` and `Sync`
--> src/lib.rs:68:20
|
68 | inner: Arc::new(inner),
| ^^^^^^^^^^^^^^^
|
= note: `Arc<InnerStarReference>` is not `Send` and `Sync` as `InnerStarReference` is not `Send`
= help: if the `Arc` will not used be across threads replace it with an `Rc`
= help: otherwise make `InnerStarReference` `Send` and `Sync` or consider a wrapper type such as `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
= note: `-D clippy::arc-with-non-send-sync` implied by `-D clippy::suspicious`
= help: to override `-D clippy::suspicious` add `#[allow(clippy::arc_with_non_send_sync)]`
|
usage of `Iterator::fold` on a type that implements `Try`:
src/lib.rs#L144
error: usage of `Iterator::fold` on a type that implements `Try`
--> src/lib.rs:144:14
|
144 | .fold(Ok(0usize), |acc, file| {
| ______________^
145 | | Ok(acc? + std::fs::metadata(refpath.join(file))?.len() as usize)
146 | | })
| |______________^ help: use `try_fold` instead: `try_fold(0usize, |acc, file| ...)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
= note: `-D clippy::manual-try-fold` implied by `-D clippy::perf`
= help: to override `-D clippy::perf` add `#[allow(clippy::manual_try_fold)]`
|
rust
Clippy had exited with the 101 exit code
|
rust
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 10XGenomics/clippy-check@main. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|