Skip to content
GitHub Actions / Clippy (stable) failed Jan 9, 2025 in 0s

Clippy (stable)

5 errors

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)

  • cargo 1.83.0 (5ffbef321 2024-10-29)

  • cargo 1.83.0 (5ffbef321 2024-10-29)

Annotations

Check failure on line 188 in src/immutable/float/kdtree.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable)

unresolved item provided when a constant was expected

error[E0747]: unresolved item provided when a constant was expected
   --> src/immutable/float/kdtree.rs:188:42
    |
188 |     pub(crate) stems: AVec<A, ConstAlign<CACHELINE_ALIGN>>,
    |                                          ^^^^^^^^^^^^^^^
    |
help: if this generic argument was intended as a const parameter, surround it with braces
    |
188 |     pub(crate) stems: AVec<A, ConstAlign<{ CACHELINE_ALIGN }>>,
    |                                          +                 +

Check failure on line 1 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable)

`#![feature]` may not be used on the stable release channel

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/lib.rs:1:1
  |
1 | #![feature(vec_into_raw_parts)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 208 in src/immutable/float/kdtree.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable)

cannot find value `CACHELINE_ALIGN` in this scope

error[E0425]: cannot find value `CACHELINE_ALIGN` in this scope
   --> src/immutable/float/kdtree.rs:208:37
    |
208 |             stems: AVec::from_slice(CACHELINE_ALIGN, &value.stems[..]),
    |                                     ^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this constant
    |
14  + use aligned_vec::CACHELINE_ALIGN;
    |

Check failure on line 188 in src/immutable/float/kdtree.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable)

cannot find type `CACHELINE_ALIGN` in this scope

error[E0412]: cannot find type `CACHELINE_ALIGN` in this scope
   --> src/immutable/float/kdtree.rs:188:42
    |
188 |     pub(crate) stems: AVec<A, ConstAlign<CACHELINE_ALIGN>>,
    |                                          ^^^^^^^^^^^^^^^ not found in this scope
    |
help: you might be missing a type parameter
    |
186 |     const B: usize, CACHELINE_ALIGN,
    |                   +++++++++++++++++

Check failure on line 161 in src/immutable/float/kdtree.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable)

cannot find value `CACHELINE_ALIGN` in this scope

error[E0425]: cannot find value `CACHELINE_ALIGN` in this scope
   --> src/immutable/float/kdtree.rs:161:56
    |
161 |         let stems = unsafe { AVec::from_raw_parts(ptr, CACHELINE_ALIGN, length, capacity) };
    |                                                        ^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this constant
    |
14  + use aligned_vec::CACHELINE_ALIGN;
    |