Skip to content

fix(deps): update rust crate bloomfilter to v3 #200

fix(deps): update rust crate bloomfilter to v3

fix(deps): update rust crate bloomfilter to v3 #200

Triggered via push December 2, 2024 17:28
Status Success
Total duration 36s
Artifacts

deny-check.yml

on: push
Matrix: cargo-deny
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
mismatched types: crates/shadowsocks/src/security/replay/ppbloom.rs#L50
error[E0308]: mismatched types --> crates/shadowsocks/src/security/replay/ppbloom.rs:50:17 | 50 | Bloom::new_for_fp_rate(item_count, fp_p), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bloom<[u8]>`, found `Result<Bloom<_>, &str>` | = note: expected struct `bloomfilter::Bloom<[u8]>` found enum `std::result::Result<bloomfilter::Bloom<_>, &'static str>` help: consider using `Result::expect` to unwrap the `std::result::Result<bloomfilter::Bloom<_>, &'static str>` value, panicking if the value is a `Result::Err` | 50 | Bloom::new_for_fp_rate(item_count, fp_p).expect("REASON"), | +++++++++++++++++
mismatched types: crates/shadowsocks/src/security/replay/ppbloom.rs#L50
error[E0308]: mismatched types --> crates/shadowsocks/src/security/replay/ppbloom.rs:50:17 | 50 | Bloom::new_for_fp_rate(item_count, fp_p), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Bloom<[u8]>`, found `Result<Bloom<_>, &str>` | = note: expected struct `bloomfilter::Bloom<[u8]>` found enum `std::result::Result<bloomfilter::Bloom<_>, &'static str>` help: consider using `Result::expect` to unwrap the `std::result::Result<bloomfilter::Bloom<_>, &'static str>` value, panicking if the value is a `Result::Err` | 50 | Bloom::new_for_fp_rate(item_count, fp_p).expect("REASON"), | +++++++++++++++++
cargo-deny (advisories)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cargo-deny (bans licenses sources)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636