Skip to content

Revert "remove unused columnar api (#2742)" (#2748)

Sign in for the full log view
GitHub Actions / clippy succeeded Nov 26, 2025 in 0s

clippy

10 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 10
Note 0
Help 0

Versions

  • rustc 1.91.1 (ed61e7d7e 2025-11-07)
  • cargo 1.91.1 (ea2d97820 2025-10-10)
  • clippy 0.1.91 (ed61e7d7e2 2025-11-07)

Annotations

Check warning on line 95 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block

warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:95:49
   |
95 |     255 - std::arch::x86_64::_mm256_movemask_ps(std::mem::transmute::<DataType, __m256>(inside))
   |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = note: consult the function's documentation for information on how to avoid undefined behavior
note: an unsafe function restricts its caller, but its body is safe by default
  --> bitpacker/src/filter_vec/avx2.rs:91:1
   |
91 | unsafe fn compute_filter_bitset(val: __m256i, range: std::ops::RangeInclusive<__m256i>) -> u8 {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 79 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to unsafe function `std::ptr::mut_ptr::<impl *mut T>::offset_from` is unsafe and requires unsafe block

warning[E0133]: call to unsafe function `std::ptr::mut_ptr::<impl *mut T>::offset_from` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:79:5
   |
79 |     output_tail.offset_from(output) as usize
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = note: consult the function's documentation for information on how to avoid undefined behavior

Check warning on line 77 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block

warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:77:17
   |
77 |         input = input.offset(1);
   |                 ^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = note: consult the function's documentation for information on how to avoid undefined behavior

Check warning on line 75 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to unsafe function `std::ptr::mut_ptr::<impl *mut T>::offset` is unsafe and requires unsafe block

warning[E0133]: call to unsafe function `std::ptr::mut_ptr::<impl *mut T>::offset` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:75:23
   |
75 |         output_tail = output_tail.offset(added_len as isize);
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = note: consult the function's documentation for information on how to avoid undefined behavior

Check warning on line 74 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block

warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_storeu_si256` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:74:9
   |
74 |         store_unaligned(output_tail as *mut __m256i, filtered_doc_ids);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = note: consult the function's documentation for information on how to avoid undefined behavior

Check warning on line 73 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to unsafe function `filter_vec::avx2::compact` is unsafe and requires unsafe block

warning[E0133]: call to unsafe function `filter_vec::avx2::compact` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:73:32
   |
73 |         let filtered_doc_ids = compact(ids, keeper_bitset);
   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = note: consult the function's documentation for information on how to avoid undefined behavior

Check warning on line 71 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to unsafe function `filter_vec::avx2::compute_filter_bitset` is unsafe and requires unsafe block

warning[E0133]: call to unsafe function `filter_vec::avx2::compute_filter_bitset` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:71:29
   |
71 |         let keeper_bitset = compute_filter_bitset(word, range_simd.clone());
   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = note: consult the function's documentation for information on how to avoid undefined behavior

Check warning on line 70 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to unsafe function `filter_vec::avx2::u32_to_i32_avx2` is unsafe and requires unsafe block

warning[E0133]: call to unsafe function `filter_vec::avx2::u32_to_i32_avx2` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:70:20
   |
70 |         let word = u32_to_i32_avx2(word);
   |                    ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = note: consult the function's documentation for information on how to avoid undefined behavior

Check warning on line 69 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to unsafe function `std::arch::x86_64::_mm256_lddqu_si256` is unsafe and requires unsafe block

warning[E0133]: call to unsafe function `std::arch::x86_64::_mm256_lddqu_si256` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:69:20
   |
69 |         let word = load_unaligned(input);
   |                    ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = note: consult the function's documentation for information on how to avoid undefined behavior
note: an unsafe function restricts its caller, but its body is safe by default
  --> bitpacker/src/filter_vec/avx2.rs:48:1
   |
48 | / unsafe fn filter_vec_avx2_aux(
49 | |     mut input: *const __m256i,
50 | |     range: RangeInclusive<i32>,
51 | |     output: *mut u32,
52 | |     offset: u32,
53 | |     num_words: usize,
54 | | ) -> usize {
   | |__________^

Check warning on line 22 in bitpacker/src/filter_vec/avx2.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

call to function `std::arch::x86_64::_mm256_xor_si256` with `#[target_feature]` is unsafe and requires unsafe block

warning[E0133]: call to function `std::arch::x86_64::_mm256_xor_si256` with `#[target_feature]` is unsafe and requires unsafe block
  --> bitpacker/src/filter_vec/avx2.rs:22:5
   |
22 |     op_xor(vals_u32x8s, HIGHEST_BIT_MASK)
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to function with `#[target_feature]`
   |
   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
   = help: in order for the call to be safe, the context requires the following additional target feature: avx2
note: an unsafe function restricts its caller, but its body is safe by default
  --> bitpacker/src/filter_vec/avx2.rs:20:1
   |
20 | unsafe fn u32_to_i32_avx2(vals_u32x8s: DataType) -> DataType {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default