feat(wip): implement remaining immutable_dynamic query methds #445
Annotations
137 errors
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_within_unsorted.rs#L13
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_within_unsorted.rs:13:22
|
13 | self.nearest_n_within::<D>(query, dist, usize::MAX, false)
| ^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/within_unsorted.rs:61:5
|
61 | / generate_immutable_dynamic_float_within_unsorted!(
62 | | "use std::fs::File;
63 | | use memmap::MmapOptions;
... |
66 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
67 | | );
| |_____- 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_within_unsorted` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_within.rs#L13
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_within.rs:13:22
|
13 | self.nearest_n_within::<D>(query, dist, usize::MAX, true)
| ^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/within.rs:61:5
|
61 | / generate_immutable_dynamic_float_within!(
62 | | "use std::fs::File;
63 | | use memmap::MmapOptions;
... |
66 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
67 | | );
| |_____- 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_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs#L116
error[E0599]: no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:116:39
|
116 | let leaf_slice = self.get_leaf_slice(leaf_idx);
| ^^^^^^^^^^^^^^ method not found in `&ArchivedImmutableDynamicKdTree<A, T, K, B>`
|
::: 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
|
= 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)
|
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#L92
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)
|
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#L76
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)
|
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#L57
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)
|
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#L53
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_one::<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)
|
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#L18
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)
|
no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L132
error[E0599]: no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs:132:39
|
132 | let leaf_slice = self.get_leaf_slice(leaf_idx);
| ^^^^^^^^^^^^^^ method not found in `&ArchivedImmutableDynamicKdTree<A, T, K, B>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- in this macro invocation
|
= note: this error originates in the macro `generate_immutable_dynamic_nearest_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_nearest_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L106
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_n_within.rs:106:26
|
106 | self.nearest_n_within_recurse::<D, R>(
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L90
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_n_within.rs:90:22
|
90 | self.nearest_n_within_recurse::<D, R>(
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L71
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_n_within.rs:71:37
|
71 | 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_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_nearest_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L67
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_n_within.rs:67:26
|
67 | self.search_leaf_for_nearest_n_within::<D, R>(query, radius, matching_items, 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_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L29
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_n_within.rs:29:22
|
29 | self.nearest_n_within_recurse::<D, H>(
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L19
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_n_within.rs:19:26
|
19 | self.nearest_n_within_stub::<D, Vec<NearestNeighbour<A,T>>>(query, dist, 0, sorted)
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L16
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_n_within.rs:16:30
|
16 | self.nearest_n_within_stub::<D, BinaryHeap<NearestNeighbour<A, T>>>(query, dist, max_items, sorted)
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L14
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_n_within.rs:14:30
|
14 | self.nearest_n_within_stub::<D, SortedVec<NearestNeighbour<A, T>>>(query, dist, max_items, sorted)
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n.rs#L14
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_n.rs:14:22
|
14 | self.nearest_n_within::<D>(query, A::infinity(), qty, true)
| ^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n.rs:62:5
|
62 | / generate_immutable_dynamic_float_nearest_n!(
63 | | "use std::fs::File;
64 | | use memmap::MmapOptions;
... |
67 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
68 | | );
| |_____- 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_n` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L129
error[E0599]: no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs:129:39
|
129 | let leaf_slice = self.get_leaf_slice(leaf_idx);
| ^^^^^^^^^^^^^^ method not found in `&ArchivedImmutableDynamicKdTree<A, T, K, B>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- in this macro invocation
|
= note: this error originates in the macro `generate_immutable_dynamic_best_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L102
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_best_n_within.rs:102:26
|
102 | self.best_n_within_recurse::<D>(
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L85
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_best_n_within.rs:85:22
|
85 | self.best_n_within_recurse::<D>(
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L66
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_best_n_within.rs:66:37
|
66 | 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/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L59
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_best_n_within.rs:59:26
|
59 | self.search_leaf_for_best_n_within::<D>(query, radius, max_qty, best_items, 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/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
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#L24
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)
|
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L42
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L42
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)
|
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L55
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`
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L54
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`
|
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L55
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`
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L54
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`
|
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Serialize` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L42
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Serialize` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L42
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_within_unsorted.rs#L8
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_within_unsorted.rs:8:40
|
8 | pub fn within_unsorted<D>(&self, query: &[A; K], dist: A) -> Vec<NearestNeighbour<A, T>>
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/within_unsorted.rs:61:5
|
61 | / generate_immutable_dynamic_float_within_unsorted!(
62 | | "use std::fs::File;
63 | | use memmap::MmapOptions;
... |
66 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
67 | | );
| |_____- 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_within_unsorted` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/within_unsorted.rs#L59
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/within_unsorted.rs:59:7
|
59 | > 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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_within.rs#L8
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_within.rs:8:31
|
8 | pub fn within<D>(&self, query: &[A; K], dist: A) -> Vec<NearestNeighbour<A, T>>
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/within.rs:61:5
|
61 | / generate_immutable_dynamic_float_within!(
62 | | "use std::fs::File;
63 | | use memmap::MmapOptions;
... |
66 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
67 | | );
| |_____- 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_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/within.rs#L59
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/within.rs:59:7
|
59 | > 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)
|
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#L109
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)
|
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#L35
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)
|
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#L8
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/nearest_one.rs#L58
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L123
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_n_within.rs:123:18
|
123 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L50
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_n_within.rs:50:18
|
50 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L24
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_n_within.rs:24:18
|
24 | &self, query: &[A; K], dist: A, res_capacity: usize, sorted: bool
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L8
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_n_within.rs:8:41
|
8 | pub fn nearest_n_within<D>(&self, query: &[A; K], dist: A, max_items: usize, sorted: bool) -> Vec<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_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/nearest_n_within.rs#L65
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/nearest_n_within.rs:65:7
|
65 | > 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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n.rs#L8
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_n.rs:8:34
|
8 | pub fn nearest_n<D>(&self, query: &[A; K], qty: usize) -> Vec<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_n.rs:62:5
|
62 | / generate_immutable_dynamic_float_nearest_n!(
63 | | "use std::fs::File;
64 | | use memmap::MmapOptions;
... |
67 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
68 | | );
| |_____- 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_n` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/nearest_n.rs#L60
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/nearest_n.rs:60:7
|
60 | > 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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L120
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_best_n_within.rs:120:18
|
120 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L40
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_best_n_within.rs:40:18
|
40 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L9
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_best_n_within.rs:9:18
|
9 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L22
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_best_n_within.rs:22:22
|
22 | self.best_n_within_recurse::<D>(
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/best_n_within.rs#L68
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/best_n_within.rs:68:7
|
68 | > 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)
|
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#L8
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)
|
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#L57
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L358
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:358:18
|
358 | 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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L354
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:354:7
|
354 | > 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)
|
unknown feature `stdarch_aarch64_prefetch`:
src/lib.rs#L2
error[E0635]: unknown feature `stdarch_aarch64_prefetch`
--> src/lib.rs:2:12
|
2 | #![feature(stdarch_aarch64_prefetch)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
`#![feature]` may not be used on the stable release channel:
src/lib.rs#L4
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:4:1
|
4 | #![feature(exact_size_is_empty)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
`#![feature]` may not be used on the stable release channel:
src/lib.rs#L3
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:3:1
|
3 | #![feature(new_range_api)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
`#![feature]` may not be used on the stable release channel:
src/lib.rs#L2
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:2:1
|
2 | #![feature(stdarch_aarch64_prefetch)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
`#![feature]` may not be used on the stable release channel:
src/lib.rs#L1
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:1:1
|
1 | #![feature(int_roundings)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
this function takes 5 arguments but 4 arguments were supplied:
src/float_leaf_slice/leaf_slice.rs#L512
error[E0061]: this function takes 5 arguments but 4 arguments were supplied
--> src/float_leaf_slice/leaf_slice.rs:512:17
|
512 | update_best_dists_within_autovec(&acc, items, radius, results)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- argument #4 of type `usize` is missing
|
note: function defined here
--> src/float_leaf_slice/fallback.rs:55:15
|
55 | pub(crate) fn update_best_dists_within_autovec<A: Axis, T: Content>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56 | dists: &[A],
| -----------
57 | items: &[T],
| -----------
58 | radius: A,
| ---------
59 | max_qty: usize,
| --------------
60 | results: &mut BinaryHeap<BestNeighbour<A, T>>,
| ---------------------------------------------
help: provide the argument
|
512 | update_best_dists_within_autovec(&acc, items, radius, /* usize */, results)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
this function takes 5 arguments but 4 arguments were supplied:
src/float_leaf_slice/leaf_slice.rs#L477
error[E0061]: this function takes 5 arguments but 4 arguments were supplied
--> src/float_leaf_slice/leaf_slice.rs:477:17
|
477 | update_best_dists_within_autovec(&acc, items, radius, results)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ argument #5 of type `&mut std::collections::BinaryHeap<best_neighbour::BestNeighbour<f32, T>>` is missing
|
note: expected `usize`, found `&mut R`
--> src/float_leaf_slice/leaf_slice.rs:477:71
|
477 | update_best_dists_within_autovec(&acc, items, radius, results)
| ^^^^^^^
= note: expected type `usize`
found mutable reference `&mut R`
note: function defined here
--> src/float_leaf_slice/fallback.rs:55:15
|
55 | pub(crate) fn update_best_dists_within_autovec<A: Axis, T: Content>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56 | dists: &[A],
| -----------
57 | items: &[T],
| -----------
58 | radius: A,
| ---------
59 | max_qty: usize,
| --------------
60 | results: &mut BinaryHeap<BestNeighbour<A, T>>,
| ---------------------------------------------
help: provide the argument
|
477 | update_best_dists_within_autovec(&acc, items, radius, /* usize */, /* &mut std::collections::BinaryHeap<best_neighbour::BestNeighbour<f32, T>> */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
this function takes 5 arguments but 4 arguments were supplied:
src/float_leaf_slice/leaf_slice.rs#L384
error[E0061]: this function takes 5 arguments but 4 arguments were supplied
--> src/float_leaf_slice/leaf_slice.rs:384:17
|
384 | update_best_dists_within_autovec(&acc, items, radius, results)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- argument #4 of type `usize` is missing
|
note: function defined here
--> src/float_leaf_slice/fallback.rs:55:15
|
55 | pub(crate) fn update_best_dists_within_autovec<A: Axis, T: Content>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56 | dists: &[A],
| -----------
57 | items: &[T],
| -----------
58 | radius: A,
| ---------
59 | max_qty: usize,
| --------------
60 | results: &mut BinaryHeap<BestNeighbour<A, T>>,
| ---------------------------------------------
help: provide the argument
|
384 | update_best_dists_within_autovec(&acc, items, radius, /* usize */, results)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
this function takes 5 arguments but 4 arguments were supplied:
src/float_leaf_slice/leaf_slice.rs#L349
error[E0061]: this function takes 5 arguments but 4 arguments were supplied
--> src/float_leaf_slice/leaf_slice.rs:349:17
|
349 | update_best_dists_within_autovec(&acc, items, radius, results)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ argument #5 of type `&mut std::collections::BinaryHeap<best_neighbour::BestNeighbour<f64, T>>` is missing
|
note: expected `usize`, found `&mut R`
--> src/float_leaf_slice/leaf_slice.rs:349:71
|
349 | update_best_dists_within_autovec(&acc, items, radius, results)
| ^^^^^^^
= note: expected type `usize`
found mutable reference `&mut R`
note: function defined here
--> src/float_leaf_slice/fallback.rs:55:15
|
55 | pub(crate) fn update_best_dists_within_autovec<A: Axis, T: Content>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56 | dists: &[A],
| -----------
57 | items: &[T],
| -----------
58 | radius: A,
| ---------
59 | max_qty: usize,
| --------------
60 | results: &mut BinaryHeap<BestNeighbour<A, T>>,
| ---------------------------------------------
help: provide the argument
|
349 | update_best_dists_within_autovec(&acc, items, radius, /* usize */, /* &mut std::collections::BinaryHeap<best_neighbour::BestNeighbour<f64, T>> */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_within_unsorted.rs#L13
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_within_unsorted.rs:13:22
|
13 | self.nearest_n_within::<D>(query, dist, usize::MAX, false)
| ^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/within_unsorted.rs:61:5
|
61 | / generate_immutable_dynamic_float_within_unsorted!(
62 | | "use std::fs::File;
63 | | use memmap::MmapOptions;
... |
66 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
67 | | );
| |_____- 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_within_unsorted` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_within.rs#L13
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_within.rs:13:22
|
13 | self.nearest_n_within::<D>(query, dist, usize::MAX, true)
| ^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/within.rs:61:5
|
61 | / generate_immutable_dynamic_float_within!(
62 | | "use std::fs::File;
63 | | use memmap::MmapOptions;
... |
66 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
67 | | );
| |_____- 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_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs#L116
error[E0599]: no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:116:39
|
116 | let leaf_slice = self.get_leaf_slice(leaf_idx);
| ^^^^^^^^^^^^^^ method not found in `&ArchivedImmutableDynamicKdTree<A, T, K, B>`
|
::: 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
|
= 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)
|
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#L92
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)
|
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#L76
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)
|
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#L57
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)
|
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#L53
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_one::<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)
|
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#L18
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)
|
no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L132
error[E0599]: no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs:132:39
|
132 | let leaf_slice = self.get_leaf_slice(leaf_idx);
| ^^^^^^^^^^^^^^ method not found in `&ArchivedImmutableDynamicKdTree<A, T, K, B>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- in this macro invocation
|
= note: this error originates in the macro `generate_immutable_dynamic_nearest_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_nearest_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L106
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_n_within.rs:106:26
|
106 | self.nearest_n_within_recurse::<D, R>(
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L90
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_n_within.rs:90:22
|
90 | self.nearest_n_within_recurse::<D, R>(
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L71
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_n_within.rs:71:37
|
71 | 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_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_nearest_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L67
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_n_within.rs:67:26
|
67 | self.search_leaf_for_nearest_n_within::<D, R>(query, radius, matching_items, 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_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L29
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_n_within.rs:29:22
|
29 | self.nearest_n_within_recurse::<D, H>(
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L19
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_n_within.rs:19:26
|
19 | self.nearest_n_within_stub::<D, Vec<NearestNeighbour<A,T>>>(query, dist, 0, sorted)
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L16
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_n_within.rs:16:30
|
16 | self.nearest_n_within_stub::<D, BinaryHeap<NearestNeighbour<A, T>>>(query, dist, max_items, sorted)
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L14
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_n_within.rs:14:30
|
14 | self.nearest_n_within_stub::<D, SortedVec<NearestNeighbour<A, T>>>(query, dist, max_items, sorted)
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n.rs#L14
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_n.rs:14:22
|
14 | self.nearest_n_within::<D>(query, A::infinity(), qty, true)
| ^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n.rs:62:5
|
62 | / generate_immutable_dynamic_float_nearest_n!(
63 | | "use std::fs::File;
64 | | use memmap::MmapOptions;
... |
67 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
68 | | );
| |_____- 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_n` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L129
error[E0599]: no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs:129:39
|
129 | let leaf_slice = self.get_leaf_slice(leaf_idx);
| ^^^^^^^^^^^^^^ method not found in `&ArchivedImmutableDynamicKdTree<A, T, K, B>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- in this macro invocation
|
= note: this error originates in the macro `generate_immutable_dynamic_best_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L102
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_best_n_within.rs:102:26
|
102 | self.best_n_within_recurse::<D>(
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L85
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_best_n_within.rs:85:22
|
85 | self.best_n_within_recurse::<D>(
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L66
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_best_n_within.rs:66:37
|
66 | 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/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
no method named `prefetch_stems` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L64
error[E0599]: no method named `prefetch_stems` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs:64:22
|
64 | self.prefetch_stems(left_child_idx);
| ^^^^^^^^^^^^^^ method not found in `&ArchivedImmutableDynamicKdTree<A, T, K, B>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- in this macro invocation
|
= note: this error originates in the macro `generate_immutable_dynamic_best_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L59
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_best_n_within.rs:59:26
|
59 | self.search_leaf_for_best_n_within::<D>(query, radius, max_qty, best_items, 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/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
no method named `prefetch_stems` found for reference `&immutable_dynamic::float::kdtree::ImmutableDynamicKdTree<A, T, K, B>` in the current scope:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L64
error[E0599]: no method named `prefetch_stems` found for reference `&immutable_dynamic::float::kdtree::ImmutableDynamicKdTree<A, T, K, B>` in the current scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs:64:22
|
64 | self.prefetch_stems(left_child_idx);
| ^^^^^^^^^^^^^^ method not found in `&ImmutableDynamicKdTree<A, T, K, B>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:50:5
|
50 | / generate_immutable_dynamic_float_best_n_within!(
51 | | "let content: Vec<[f64; 3]> = vec!(
52 | | [1.0, 2.0, 5.0],
53 | | [2.0, 3.0, 6.0]
... |
56 | | let tree: ImmutableDynamicKdTree<f64, 3> = ImmutableDynamicKdTree::new_from_slice(&content);"
57 | | );
| |_____- in this macro invocation
|
= note: this error originates in the macro `generate_immutable_dynamic_best_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
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#L24
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)
|
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L42
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>`:
&[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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L42
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 180 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)
|
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L55
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>`:
&[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`
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L54
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 180 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`
|
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L55
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>`:
&[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`
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L54
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 180 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`
|
the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Serialize` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L42
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: fixed::kdtree::_::_serde::Serialize` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L42
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 169 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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_within_unsorted.rs#L8
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_within_unsorted.rs:8:40
|
8 | pub fn within_unsorted<D>(&self, query: &[A; K], dist: A) -> Vec<NearestNeighbour<A, T>>
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/within_unsorted.rs:61:5
|
61 | / generate_immutable_dynamic_float_within_unsorted!(
62 | | "use std::fs::File;
63 | | use memmap::MmapOptions;
... |
66 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
67 | | );
| |_____- 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_within_unsorted` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/within_unsorted.rs#L59
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/within_unsorted.rs:59:7
|
59 | > 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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_within.rs#L8
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_within.rs:8:31
|
8 | pub fn within<D>(&self, query: &[A; K], dist: A) -> Vec<NearestNeighbour<A, T>>
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/within.rs:61:5
|
61 | / generate_immutable_dynamic_float_within!(
62 | | "use std::fs::File;
63 | | use memmap::MmapOptions;
... |
66 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
67 | | );
| |_____- 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_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/within.rs#L59
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/within.rs:59:7
|
59 | > 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)
|
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#L109
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)
|
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#L35
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)
|
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#L8
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/nearest_one.rs#L58
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L123
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_n_within.rs:123:18
|
123 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L50
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_n_within.rs:50:18
|
50 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L24
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_n_within.rs:24:18
|
24 | &self, query: &[A; K], dist: A, res_capacity: usize, sorted: bool
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/nearest_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs#L8
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_n_within.rs:8:41
|
8 | pub fn nearest_n_within<D>(&self, query: &[A; K], dist: A, max_items: usize, sorted: bool) -> Vec<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_n_within.rs:71:5
|
71 | / generate_immutable_dynamic_float_nearest_n_within!(
72 | | "use std::fs::File;
73 | | use memmap::MmapOptions;
... |
76 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
77 | | );
| |_____- 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_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/nearest_n_within.rs#L65
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/nearest_n_within.rs:65:7
|
65 | > 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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n.rs#L8
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_n.rs:8:34
|
8 | pub fn nearest_n<D>(&self, query: &[A; K], qty: usize) -> Vec<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_n.rs:62:5
|
62 | / generate_immutable_dynamic_float_nearest_n!(
63 | | "use std::fs::File;
64 | | use memmap::MmapOptions;
... |
67 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
68 | | );
| |_____- 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_n` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/nearest_n.rs#L60
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/nearest_n.rs:60:7
|
60 | > 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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L22
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_best_n_within.rs:22:22
|
22 | self.best_n_within_recurse::<D>(
| ^^^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L120
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_best_n_within.rs:120:18
|
120 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L40
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_best_n_within.rs:40:18
|
40 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L9
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_best_n_within.rs:9:18
|
9 | &self,
| ^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- 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_best_n_within` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/query/best_n_within.rs#L68
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/query/best_n_within.rs:68:7
|
68 | > 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)
|
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#L8
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)
|
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#L57
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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L358
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:358:18
|
358 | 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)
|
the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied:
src/immutable_dynamic/float/kdtree.rs#L354
error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
--> src/immutable_dynamic/float/kdtree.rs:354:7
|
354 | > 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)
|
unknown feature `stdarch_aarch64_prefetch`:
src/lib.rs#L2
error[E0635]: unknown feature `stdarch_aarch64_prefetch`
--> src/lib.rs:2:12
|
2 | #![feature(stdarch_aarch64_prefetch)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `update_nearest_dists_within_autovec`:
src/float_leaf_slice/leaf_slice.rs#L25
error: unused import: `update_nearest_dists_within_autovec`
--> src/float_leaf_slice/leaf_slice.rs:25:5
|
25 | update_nearest_dists_within_autovec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
cannot find value `left_child_idx` in this scope:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L64
error[E0425]: cannot find value `left_child_idx` in this scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs:64:37
|
64 | self.prefetch_stems(left_child_idx);
| ^^^^^^^^^^^^^^ not found in this scope
|
::: src/immutable_dynamic/float/query/best_n_within.rs:70:5
|
70 | / generate_immutable_dynamic_float_best_n_within!(
71 | | "use std::fs::File;
72 | | use memmap::MmapOptions;
... |
75 | | let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
76 | | );
| |_____- in this macro invocation
|
= note: this error originates in the macro `generate_immutable_dynamic_best_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cannot find value `left_child_idx` in this scope:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L64
error[E0425]: cannot find value `left_child_idx` in this scope
--> src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs:64:37
|
64 | self.prefetch_stems(left_child_idx);
| ^^^^^^^^^^^^^^ not found in this scope
|
::: src/immutable_dynamic/float/query/best_n_within.rs:50:5
|
50 | / generate_immutable_dynamic_float_best_n_within!(
51 | | "let content: Vec<[f64; 3]> = vec!(
52 | | [1.0, 2.0, 5.0],
53 | | [2.0, 3.0, 6.0]
... |
56 | | let tree: ImmutableDynamicKdTree<f64, 3> = ImmutableDynamicKdTree::new_from_slice(&content);"
57 | | );
| |_____- in this macro invocation
|
= note: this error originates in the macro `generate_immutable_dynamic_best_n_within` which comes from the expansion of the macro `generate_immutable_dynamic_float_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Test Coverage:
src/lib.rs#L2
unknown feature `stdarch_aarch64_prefetch`
|
Test Coverage:
src/immutable_dynamic/float/kdtree.rs#L354
the trait bound `AVec<A, ConstAlign<128>>: Archive` is not satisfied
|
Test Coverage:
src/immutable_dynamic/float/kdtree.rs#L358
the trait bound `AVec<A, ConstAlign<128>>: Archive` is not satisfied
|
Test Coverage:
src/immutable_dynamic/float/query/approx_nearest_one.rs#L57
the trait bound `AVec<A, ConstAlign<128>>: Archive` is not satisfied
|
Test Coverage:
src/immutable_dynamic/common/generate_immutable_dynamic_approx_nearest_one.rs#L8
the trait bound `AVec<A, ConstAlign<128>>: Archive` is not satisfied
|
Test Coverage:
src/immutable_dynamic/float/query/best_n_within.rs#L68
the trait bound `AVec<A, ConstAlign<128>>: Archive` is not satisfied
|
Test Coverage:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L9
the trait bound `AVec<A, ConstAlign<128>>: Archive` is not satisfied
|
Test Coverage:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L40
the trait bound `AVec<A, ConstAlign<128>>: Archive` is not satisfied
|
Test Coverage:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L120
the trait bound `AVec<A, ConstAlign<128>>: Archive` is not satisfied
|
Test Coverage:
src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs#L22
the trait bound `AVec<A, ConstAlign<128>>: Archive` is not satisfied
|