Skip to content

feat(wip): implement remaining immutable_dynamic query methds #445

feat(wip): implement remaining immutable_dynamic query methds

feat(wip): implement remaining immutable_dynamic query methds #445

GitHub Actions / Clippy (stable) failed Nov 16, 2024 in 1s

Clippy (stable)

61 errors

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)

  • cargo 1.82.0 (8f40fc59f 2024-08-21)

  • cargo 1.82.0 (8f40fc59f 2024-08-21)

Annotations

Check failure on line 13 in src/immutable_dynamic/common/generate_immutable_dynamic_within_unsorted.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_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)

Check failure on line 13 in src/immutable_dynamic/common/generate_immutable_dynamic_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_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)

Check failure on line 116 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs

See this annotation in the file changed.

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

no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope

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)

Check failure on line 92 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:92:26
   |
92 |                       self.nearest_one_recurse::<D>(
   |                            ^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
   |
  ::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
   |
64 | /     generate_immutable_dynamic_float_nearest_one!(
65 | |         "use std::fs::File;
66 | |     use memmap::MmapOptions;
...  |
69 | |     let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | |     );
   | |_____- in this macro invocation
   |
   = help: the following other types implement trait `rkyv::Archive`:
             ()
             (T0,)
             (T1, T0)
             (T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T2, T1, T0)
             (T3, T2, T1, T0)
             (T4, T3, T2, T1, T0)
           and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
  --> src/immutable_dynamic/float/kdtree.rs:45:12
   |
45 |     derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
   |            ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
   |            ---------------------- required by a bound in this struct
   = note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 76 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:76:22
   |
76 |                   self.nearest_one_recurse::<D>(
   |                        ^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
   |
  ::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
   |
64 | /     generate_immutable_dynamic_float_nearest_one!(
65 | |         "use std::fs::File;
66 | |     use memmap::MmapOptions;
...  |
69 | |     let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | |     );
   | |_____- in this macro invocation
   |
   = help: the following other types implement trait `rkyv::Archive`:
             ()
             (T0,)
             (T1, T0)
             (T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T2, T1, T0)
             (T3, T2, T1, T0)
             (T4, T3, T2, T1, T0)
           and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
  --> src/immutable_dynamic/float/kdtree.rs:45:12
   |
45 |     derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
   |            ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
   |            ---------------------- required by a bound in this struct
   = note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 57 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:57:37
   |
57 |                   let val = *unsafe { self.stems.get_unchecked(stem_idx as usize) };
   |                                       ^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
   |
  ::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
   |
64 | /     generate_immutable_dynamic_float_nearest_one!(
65 | |         "use std::fs::File;
66 | |     use memmap::MmapOptions;
...  |
69 | |     let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | |     );
   | |_____- in this macro invocation
   |
   = help: the following other types implement trait `rkyv::Archive`:
             ()
             (T0,)
             (T1, T0)
             (T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T2, T1, T0)
             (T3, T2, T1, T0)
             (T4, T3, T2, T1, T0)
           and 81 others
   = note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the macro `generate_immutable_dynamic_float_nearest_one` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 53 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:53:26
   |
53 |                       self.search_leaf_for_nearest_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)

Check failure on line 18 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_one.rs:18:22
   |
18 |                   self.nearest_one_recurse::<D>(
   |                        ^^^^^^^^^^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
   |
  ::: src/immutable_dynamic/float/query/nearest_one.rs:64:5
   |
64 | /     generate_immutable_dynamic_float_nearest_one!(
65 | |         "use std::fs::File;
66 | |     use memmap::MmapOptions;
...  |
69 | |     let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
70 | |     );
   | |_____- in this macro invocation
   |
   = help: the following other types implement trait `rkyv::Archive`:
             ()
             (T0,)
             (T1, T0)
             (T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T2, T1, T0)
             (T3, T2, T1, T0)
             (T4, T3, T2, T1, T0)
           and 81 others
note: required by a bound in `immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree`
  --> src/immutable_dynamic/float/kdtree.rs:45:12
   |
45 |     derive(rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)
   |            ^^^^^^^^^^^^^ required by this bound in `ArchivedImmutableDynamicKdTree`
...
48 | pub struct ImmutableDynamicKdTree<
   |            ---------------------- required by a bound in this struct
   = note: this error originates in the macro `generate_immutable_dynamic_nearest_one` which comes from the expansion of the derive macro `rkyv::Archive` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 132 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs

See this annotation in the file changed.

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

no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope

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)

Check failure on line 106 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
   --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_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)

Check failure on line 90 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_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)

Check failure on line 71 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_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)

Check failure on line 67 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_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)

Check failure on line 29 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_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)

Check failure on line 19 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_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)

Check failure on line 16 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_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)

Check failure on line 14 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_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)

Check failure on line 14 in src/immutable_dynamic/common/generate_immutable_dynamic_nearest_n.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_nearest_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)

Check failure on line 129 in src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs

See this annotation in the file changed.

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

no method named `get_leaf_slice` found for reference `&immutable_dynamic::float::kdtree::ArchivedImmutableDynamicKdTree<A, T, K, B>` in the current scope

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)

Check failure on line 102 in src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
   --> src/immutable_dynamic/common/generate_immutable_dynamic_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)

Check failure on line 85 in src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_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)

Check failure on line 66 in src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_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)

Check failure on line 59 in src/immutable_dynamic/common/generate_immutable_dynamic_best_n_within.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_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)

Check failure on line 24 in src/immutable_dynamic/common/generate_immutable_dynamic_approx_nearest_one.rs

See this annotation in the file changed.

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

the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied

error[E0277]: the trait bound `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>: rkyv::Archive` is not satisfied
  --> src/immutable_dynamic/common/generate_immutable_dynamic_approx_nearest_one.rs:24:41
   |
24 |                       let val = *unsafe { self.stems.get_unchecked(curr_idx) };
   |                                           ^^^^^^^^^^ the trait `rkyv::Archive` is not implemented for `aligned_vec::AVec<A, aligned_vec::ConstAlign<128>>`
   |
  ::: src/immutable_dynamic/float/query/approx_nearest_one.rs:59:5
   |
59 | /     generate_immutable_dynamic_approx_float_nearest_one!(
60 | |         "use std::fs::File;
61 | |     use memmap::MmapOptions;
...  |
64 | |     let tree = unsafe { rkyv::archived_root::<ImmutableDynamicKdTree<f64, 3>>(&mmap) };"
65 | |     );
   | |_____- in this macro invocation
   |
   = help: the following other types implement trait `rkyv::Archive`:
             ()
             (T0,)
             (T1, T0)
             (T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)
             (T2, T1, T0)
             (T3, T2, T1, T0)
             (T4, T3, T2, T1, T0)
           and 81 others
   = note: this error originates in the macro `generate_immutable_dynamic_approx_nearest_one` which comes from the expansion of the macro `generate_immutable_dynamic_approx_float_nearest_one` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 42 in src/immutable_dynamic/float/kdtree.rs

See this annotation in the file changed.

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

the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied

error[E0277]: the trait bound `[std::vec::Vec<A>; K]: fixed::kdtree::_::_serde::Deserialize<'_>` is not satisfied
  --> src/immutable_dynamic/float/kdtree.rs:42:49
   |
42 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
   |                                                 ^^^^^^^^^^^ the trait `fixed::kdtree::_::_serde::Deserialize<'_>` is not implemented for `[std::vec::Vec<A>; K]`
   |
   = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `[std::vec::Vec<A>; K]` type
   = note: for types from other crates check whether the crate offers a `serde` feature flag
   = help: the following other types implement trait `fixed::kdtree::_::_serde::Deserialize<'de>`:
             &'a [u8]
             [T; 0]
             [T; 10]
             [T; 11]
             [T; 12]
             [T; 13]
             [T; 14]
             [T; 15]
           and 26 others
note: required by a bound in `fixed::kdtree::_::_serde::__private::de::missing_field`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.215/src/private/de.rs:25:8
   |
23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
   |        ------------- required by a bound in this function
24 | where
25 |     V: Deserialize<'de>,
   |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)