Skip to content

Adds a new "flyweight" type - a lightweight object #261

Adds a new "flyweight" type - a lightweight object

Adds a new "flyweight" type - a lightweight object #261

Triggered via push December 8, 2024 02:25
Status Success
Total duration 1m 3s
Artifacts
check_license
56s
check_license
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
you are deriving `Hash` but have implemented `PartialEq` explicitly: crates/common/src/var/flyweight.rs#L67
error: you are deriving `Hash` but have implemented `PartialEq` explicitly --> crates/common/src/var/flyweight.rs:67:17 | 67 | #[derive(Clone, Hash, PartialOrd, Ord, Eq)] | ^^^^ | note: `PartialEq` implemented here --> crates/common/src/var/flyweight.rs:78:1 | 78 | impl PartialEq for Inner { | ^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derived_hash_with_manual_eq = note: `#[deny(clippy::derived_hash_with_manual_eq)]` on by default = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
usage of an `Arc` that is not `Send` and `Sync`: crates/common/src/var/flyweight.rs#L217
warning: usage of an `Arc` that is not `Send` and `Sync` --> crates/common/src/var/flyweight.rs:217:28 | 217 | let fl = Flyweight(Arc::new(fi)); | ^^^^^^^^^^^^ | = note: `Arc<Inner>` is not `Send` and `Sync` as `Inner` is neither `Send` nor `Sync` = help: if the `Arc` will not used be across threads replace it with an `Rc` = help: otherwise make `Inner` `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
usage of an `Arc` that is not `Send` and `Sync`: crates/common/src/var/flyweight.rs#L175
warning: usage of an `Arc` that is not `Send` and `Sync` --> crates/common/src/var/flyweight.rs:175:14 | 175 | Self(Arc::new(Inner { | ______________^ 176 | | delegate, 177 | | slots: slots.into(), 178 | | contents, 179 | | seal, 180 | | })) | |__________^ | = note: `Arc<Inner>` is not `Send` and `Sync` as `Inner` is neither `Send` nor `Sync` = help: if the `Arc` will not used be across threads replace it with an `Rc` = help: otherwise make `Inner` `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: `#[warn(clippy::arc_with_non_send_sync)]` on by default
check_license
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636