Skip to content

ci: compile benchmarks #29

ci: compile benchmarks

ci: compile benchmarks #29

Triggered via push July 24, 2024 10:01
Status Success
Total duration 46s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
manual implementation of `BuildHasher::hash_one`: src/bloom.rs#L276
warning: manual implementation of `BuildHasher::hash_one` --> src/bloom.rs:276:9 | 276 | / hasher 277 | | .finish() | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_hash_one help: try | 273 ~ 274 ~ 275 | 276 ~ self.hasher.hash_one(&data) |
manual implementation of `BuildHasher::hash_one`: src/bloom.rs#L259
warning: manual implementation of `BuildHasher::hash_one` --> src/bloom.rs:259:9 | 259 | / hasher 260 | | .finish() | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_hash_one = note: `#[warn(clippy::manual_hash_one)]` on by default help: try | 254 ~ 255 ~ 256 | 257 | // Split the u64 hash into several smaller values to use as unique 258 | // indexes in the bitmap. 259 ~ self.hasher.hash_one(&data) |
casting integer literal to `usize` is unnecessary: src/bloom.rs#L137
warning: casting integer literal to `usize` is unnecessary --> src/bloom.rs:137:5 | 137 | (2 as usize).pow(8 * k as u32) | ^^^^^^^^^^^^ help: try: `2_usize` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`usize` -> `usize`): src/bitmap/compressed_bitmap.rs#L375
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/bitmap/compressed_bitmap.rs:375:47 | 375 | let block = self.bitmap.block_map.get(self.block_idx as usize)?; | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.block_idx` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`usize` -> `usize`): src/bitmap/compressed_bitmap.rs#L248
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/bitmap/compressed_bitmap.rs:248:25 | 248 | self.bitmap[offset as usize] &= !bitmask_for_key(key); | ^^^^^^^^^^^^^^^ help: try: `offset` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`usize` -> `usize`): src/bitmap/compressed_bitmap.rs#L246
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> src/bitmap/compressed_bitmap.rs:246:25 | 246 | self.bitmap[offset as usize] |= bitmask_for_key(key); | ^^^^^^^^^^^^^^^ help: try: `offset` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
slow zero-filling initialization: src/bitmap/compressed_bitmap.rs#L70
warning: slow zero-filling initialization --> src/bitmap/compressed_bitmap.rs:70:9 | 69 | let mut block_map = Vec::new(); | ---------- help: consider replacing this with: `vec![0; num_blocks]` 70 | block_map.resize(num_blocks, 0); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization = note: `#[warn(clippy::slow_vector_initialization)]` on by default
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/