Clippy (stable)
28 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 28 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
-
rustc 1.82.0 (f6e511eec 2024-10-15)
-
cargo 1.82.0 (8f40fc59f 2024-08-21)
-
cargo 1.82.0 (8f40fc59f 2024-08-21)
Annotations
Check failure on line 123 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:123:21
|
123 | array_init::array_init(|i|
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
|
64 | / generate_immutable_dynamic_float_nearest_one!(
65 | | "use std::fs::File;
66 | | use memmap::MmapOptions;
... |
69 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 92 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:92:26
|
92 | self.nearest_one_recurse::<D>(
| ^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
|
64 | / generate_immutable_dynamic_float_nearest_one!(
65 | | "use std::fs::File;
66 | | use memmap::MmapOptions;
... |
69 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 76 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:76:22
|
76 | self.nearest_one_recurse::<D>(
| ^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
|
64 | / generate_immutable_dynamic_float_nearest_one!(
65 | | "use std::fs::File;
66 | | use memmap::MmapOptions;
... |
69 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 57 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:57:37
|
57 | let val = *unsafe { self.stems.get_unchecked(stem_idx as usize) };
| ^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
|
64 | / generate_immutable_dynamic_float_nearest_one!(
65 | | "use std::fs::File;
66 | | use memmap::MmapOptions;
... |
69 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
= note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the macro `generate_immutable_dynamic_float_nearest_one` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 53 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:53:26
|
53 | self.search_leaf_for_nearest::<D>(query, nearest, leaf_idx as usize);
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
|
64 | / generate_immutable_dynamic_float_nearest_one!(
65 | | "use std::fs::File;
66 | | use memmap::MmapOptions;
... |
69 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 18 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:18:22
|
18 | self.nearest_one_recurse::<D>(
| ^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
|
64 | / generate_immutable_dynamic_float_nearest_one!(
65 | | "use std::fs::File;
66 | | use memmap::MmapOptions;
... |
69 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_approx_nearest_one.rs:24:41
|
24 | let val = *unsafe { self.stems.get_unchecked(curr_idx) };
| ^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/approx_nearest_one.rs:59:5
|
59 | / generate_immutable_dynamic_approx_float_nearest_one!(
60 | | "use std::fs::File;
61 | | use memmap::MmapOptions;
... |
64 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
65 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
= note: this error originates in the macro `generate_immutable_dynamic_approx_nearest_one` which comes from the expansion of the macro `generate_immutable_dynamic_approx_float_nearest_one` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 42 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
error[E0277]: the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:42:49
|
42 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
| ^^^^^^^^^^^ the trait `fixed::kdtree::_::_serde::Deserialize<'_>` is not implemented for `[std::vec::Vec<A>; K]`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `[std::vec::Vec<A>; K]` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `fixed::kdtree::_::_serde::Deserialize<'de>`:
&'a [u8]
[T; 0]
[T; 10]
[T; 11]
[T; 12]
[T; 13]
[T; 14]
[T; 15]
and 26 others
note: required by a bound in `fixed::kdtree::_::_serde::__private::de::missing_field`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/private/de.rs:25:8
|
23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
| ------------- required by a bound in this function
24 | where
25 | V: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 42 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:42:49
|
42 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
| ^^^^^^^^^^^ the trait `fixed::kdtree::_::_serde::Deserialize<'_>` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `fixed::kdtree::_::_serde::Deserialize<'de>`:
&'a [u8]
&'a std::path::Path
&'a str
()
(T,)
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
and 179 others
note: required by a bound in `fixed::kdtree::_::_serde::__private::de::missing_field`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/private/de.rs:25:8
|
23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
| ------------- required by a bound in this function
24 | where
25 | V: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 55 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
error[E0277]: the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:55:29
|
55 | pub(crate) leaf_points: [Vec<A>; K],
| ^^^^^^^^^^^ the trait `fixed::kdtree::_::_serde::Deserialize<'_>` is not implemented for `[std::vec::Vec<A>; K]`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `[std::vec::Vec<A>; K]` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `fixed::kdtree::_::_serde::Deserialize<'de>`:
&'a [u8]
[T; 0]
[T; 10]
[T; 11]
[T; 12]
[T; 13]
[T; 14]
[T; 15]
and 26 others
note: required by a bound in `fixed::kdtree::_::_serde::de::MapAccess::next_value`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/de/mod.rs:1871:12
|
1869 | fn next_value<V>(&mut self) -> Result<V, Self::Error>
| ---------- required by a bound in this associated function
1870 | where
1871 | V: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
Check failure on line 54 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:54:23
|
54 | pub(crate) stems: AVec<A>,
| ^^^^^^^ the trait `fixed::kdtree::_::_serde::Deserialize<'_>` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `fixed::kdtree::_::_serde::Deserialize<'de>`:
&'a [u8]
&'a std::path::Path
&'a str
()
(T,)
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
and 179 others
note: required by a bound in `fixed::kdtree::_::_serde::de::MapAccess::next_value`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/de/mod.rs:1871:12
|
1869 | fn next_value<V>(&mut self) -> Result<V, Self::Error>
| ---------- required by a bound in this associated function
1870 | where
1871 | V: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
Check failure on line 55 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
error[E0277]: the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:55:29
|
55 | pub(crate) leaf_points: [Vec<A>; K],
| ^^^^^^^^^^^ the trait `fixed::kdtree::_::_serde::Deserialize<'_>` is not implemented for `[std::vec::Vec<A>; K]`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `[std::vec::Vec<A>; K]` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `fixed::kdtree::_::_serde::Deserialize<'de>`:
&'a [u8]
[T; 0]
[T; 10]
[T; 11]
[T; 12]
[T; 13]
[T; 14]
[T; 15]
and 26 others
note: required by a bound in `fixed::kdtree::_::_serde::de::SeqAccess::next_element`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/de/mod.rs:1732:12
|
1730 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
| ------------ required by a bound in this associated function
1731 | where
1732 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
Check failure on line 54 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:54:23
|
54 | pub(crate) stems: AVec<A>,
| ^^^^^^^ the trait `fixed::kdtree::_::_serde::Deserialize<'_>` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `fixed::kdtree::_::_serde::Deserialize<'de>`:
&'a [u8]
&'a std::path::Path
&'a str
()
(T,)
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
and 179 others
note: required by a bound in `fixed::kdtree::_::_serde::de::SeqAccess::next_element`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/de/mod.rs:1732:12
|
1730 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
| ------------ required by a bound in this associated function
1731 | where
1732 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
Check failure on line 42 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Serialize` is not satisfied
error[E0277]: the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Serialize` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:42:38
|
42 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
| ^^^^^^^^^ the trait `fixed::kdtree::_::_serde::Serialize` is not implemented for `[std::vec::Vec<A>; K]`
...
55 | pub(crate) leaf_points: [Vec<A>; K],
| --- required by a bound introduced by this call
|
= note: for local types consider adding `#[derive(serde::Serialize)]` to your `[std::vec::Vec<A>; K]` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `fixed::kdtree::_::_serde::Serialize`:
[T; 0]
[T; 10]
[T; 11]
[T; 12]
[T; 13]
[T; 14]
[T; 15]
[T; 16]
and 26 others
note: required by a bound in `fixed::kdtree::_::_serde::ser::SerializeStruct::serialize_field`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/ser/mod.rs:1867:21
|
1865 | fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
| --------------- required by a bound in this associated function
1866 | where
1867 | T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 42 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Serialize` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Serialize` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:42:38
|
42 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
| ^^^^^^^^^ the trait `fixed::kdtree::_::_serde::Serialize` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
...
54 | pub(crate) stems: AVec<A>,
| --- required by a bound introduced by this call
|
= note: for local types consider adding `#[derive(serde::Serialize)]` to your `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `fixed::kdtree::_::_serde::Serialize`:
&'a T
&'a mut T
()
(T,)
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
(T0, T1, T2, T3, T4)
and 167 others
note: required by a bound in `fixed::kdtree::_::_serde::ser::SerializeStruct::serialize_field`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/ser/mod.rs:1867:21
|
1865 | fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
| --------------- required by a bound in this associated function
1866 | where
1867 | T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 109 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:109:18
|
109 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
|
64 | / generate_immutable_dynamic_float_nearest_one!(
65 | | "use std::fs::File;
66 | | use memmap::MmapOptions;
... |
69 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 35 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:35:18
|
35 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
|
64 | / generate_immutable_dynamic_float_nearest_one!(
65 | | "use std::fs::File;
66 | | use memmap::MmapOptions;
... |
69 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 8 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:8:36
|
8 | pub fn nearest_one<D>(&self, query: &[A; K]) -> NearestNeighbour<A, T>
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
|
64 | / generate_immutable_dynamic_float_nearest_one!(
65 | | "use std::fs::File;
66 | | use memmap::MmapOptions;
... |
69 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 58 in src/immutable_dynamic/float/query/nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/nearest_one.rs:58:44
|
58 | impl<A, T, const K: usize, const B: usize> ArchivedImmutableDynamicKdTree<A, T, K, B>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/common/generate_immutable_dynamic_approx_nearest_one.rs:8:43
|
8 | pub fn approx_nearest_one<D>(&self, query: &[A; K]) -> NearestNeighbour<A, T>
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/approx_nearest_one.rs:59:5
|
59 | / generate_immutable_dynamic_approx_float_nearest_one!(
60 | | "use std::fs::File;
61 | | use memmap::MmapOptions;
... |
64 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
65 | | );
| |_____- in this macro invocation
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the macro `generate_immutable_dynamic_approx_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 57 in src/immutable_dynamic/float/query/approx_nearest_one.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/approx_nearest_one.rs:57:7
|
57 | > ArchivedImmutableDynamicKdTree<A, T, K, B>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 340 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:340:18
|
340 | pub fn size(&self) -> usize {
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 336 in src/immutable_dynamic/float/kdtree.rs
github-actions / Clippy (stable)
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:336:7
|
336 | > ArchivedImmutableDynamicKdTree<A, T, K, B>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
= help: the following other types implement trait `rkyv::Archive`:
()
(T0,)
(T1, T0)
(T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
(T2, T1, T0)
(T3, T2, T1, T0)
(T4, T3, T2, T1, T0)
and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
--> src/immutable_dynamic/float/kdtree.rs:45:12
|
45 | derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
| ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
| ---------------------- required by a bound in this struct
= note: this error originates in the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 2 in src/lib.rs
github-actions / Clippy (stable)
unknown feature `stdarch_aarch64_prefetch`
error[E0635]: unknown feature `stdarch_aarch64_prefetch`
--> src/lib.rs:2:12
|
2 | #![feature(stdarch_aarch64_prefetch)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 4 in src/lib.rs
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:4:1
|
4 | #![feature(exact_size_is_empty)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^