[INFO] cloning repository https://github.com/zicotjia/nanofrann
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zicotjia/nanofrann" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzicotjia%2Fnanofrann", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzicotjia%2Fnanofrann'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9bc96b9266c801c0b1da54fe3e58fa653dff56e4
[INFO] building zicotjia/nanofrann against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzicotjia%2Fnanofrann" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zicotjia/nanofrann
[INFO] finished tweaking git repo https://github.com/zicotjia/nanofrann
[INFO] tweaked toml for git repo https://github.com/zicotjia/nanofrann written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zicotjia/nanofrann on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zicotjia/nanofrann already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eeddc7ecc622363d88a7a97c2885d793a73764d0419e4528a96e23896bf37aab
[INFO] running `Command { std: "docker" "start" "-a" "eeddc7ecc622363d88a7a97c2885d793a73764d0419e4528a96e23896bf37aab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eeddc7ecc622363d88a7a97c2885d793a73764d0419e4528a96e23896bf37aab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eeddc7ecc622363d88a7a97c2885d793a73764d0419e4528a96e23896bf37aab", kill_on_drop: false }`
[INFO] [stdout] eeddc7ecc622363d88a7a97c2885d793a73764d0419e4528a96e23896bf37aab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 739bfc30ae893e3ded631ec3ef603d96084c5f77fae9743f18de7ffb89197859
[INFO] running `Command { std: "docker" "start" "-a" "739bfc30ae893e3ded631ec3ef603d96084c5f77fae9743f18de7ffb89197859", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.88
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling rustix v0.38.40
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling camino v1.1.9
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling pulldown-cmark v0.9.6
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling syn v2.0.82
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling bytecount v0.6.8
[INFO] [stderr]    Compiling generator v0.8.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling peg-runtime v0.6.3
[INFO] [stderr]    Compiling fixed v1.28.0
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling clap_lex v0.7.3
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling peg-macros v0.6.3
[INFO] [stderr]    Compiling clap_builder v4.5.21
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling ordered-float v4.4.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling bytemuck v1.19.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling clap v4.5.21
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling peg v0.6.3
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling sorted-vec v0.8.4
[INFO] [stderr]    Compiling init_with v1.1.0
[INFO] [stderr]    Compiling elapsed v0.1.2
[INFO] [stderr]    Compiling oorandom v11.1.4
[INFO] [stderr]    Compiling divrem v1.0.0
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling kd-tree v0.6.0
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_core v0.9.0-alpha.2
[INFO] [stderr]    Compiling rand_chacha v0.9.0-alpha.2
[INFO] [stderr]    Compiling rand v0.9.0-alpha.2
[INFO] [stderr]    Compiling kiddo v4.2.1
[INFO] [stderr]    Compiling cargo-platform v0.1.8
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling cargo_metadata v0.14.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling skeptic v0.13.7
[INFO] [stderr]    Compiling ply-rs v0.1.3
[INFO] [stderr]    Compiling nanofrann v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/tree/nanofrann_float.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/tree/nanofrann_flat.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tree/nanofrann_float.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut tree = Self {
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indices`
[INFO] [stdout]    --> src/common/common.rs:161:24
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn init(&mut self, indices: &mut Vec<usize>, dists: &mut Vec<T>) {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dists`
[INFO] [stdout]    --> src/common/common.rs:161:50
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn init(&mut self, indices: &mut Vec<usize>, dists: &mut Vec<T>) {
[INFO] [stdout]     |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_dists`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut tree = Self {
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_closest`
[INFO] [stdout]    --> src/tree/nanofrann_flat.rs:349:63
[INFO] [stdout]     |
[INFO] [stdout] 349 |     pub(crate) fn knn_search(&self, point: &Point<FloatType>, num_closest: usize, result: &mut dyn ResultSet<FloatType>)  {
[INFO] [stdout]     |                                                               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_closest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchParams` is never constructed
[INFO] [stdout]    --> src/common/common.rs:197:19
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub(crate) struct SearchParams<DistType> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/common/common.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 203 | / impl<T> SearchParams<T>
[INFO] [stdout] 204 | | where T : MinMax {
[INFO] [stdout]     | |________________- associated function in this implementation
[INFO] [stdout] 205 |       pub fn new() -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size_at_index_build` is never read
[INFO] [stdout]   --> src/tree/nanofrann_float.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct KDTreeSingleIndex<'a, DistType> {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub(crate) size_at_index_build: usize,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KDTreeSingleIndex` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dataset_get` is never used
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:351:8
[INFO] [stdout]     |
[INFO] [stdout]  45 | / impl<'a, FloatType> KDTreeSingleIndex<'a, FloatType>
[INFO] [stdout]  46 | | where FloatType: Float + MinMax + AddAssign + Copy {
[INFO] [stdout]     | |__________________________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 351 |       fn dataset_get(&self, index: usize, dim: usize) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LeafNode` is never constructed
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct LeafNode {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SplitNode` is never constructed
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct SplitNode<DistType> {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KDTreeSingleIndexFlat` is never constructed
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) struct KDTreeSingleIndexFlat<'a, DistType> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/tree/nanofrann_flat.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  46 | / impl<'a, FloatType> KDTreeSingleIndexFlat<'a, FloatType>
[INFO] [stdout]  47 | | where FloatType: Float + MinMax + AddAssign + Copy {
[INFO] [stdout]     | |__________________________________________________- associated items in this implementation
[INFO] [stdout]  48 |       #[inline]
[INFO] [stdout]  49 |       pub fn new(dataset: &'a DataSource<FloatType>, params: KDTreeSingleIndexParams) -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  78 |       pub fn build_index(&mut self) {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |       pub fn compute_bounding_box(&mut self) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |       pub fn divide_tree(&mut self, left: usize, right: usize, bounding_box: &mut BoundingBox<FloatType>) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |       fn middle_split(&mut self, ind: usize, count: usize, index: &mut usize,
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |       fn compute_min_max(&self, ind: usize, count: usize, cut_feat: usize, min_element: &mut FloatType, max_element: &mut FloatType) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |       fn plane_split(&mut self, ind: usize, count: usize, cut_feat: usize, cut_val: &mut FloatType, lim1: &mut usize, lim2: &mut usize) {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |       fn accum_dist(a: FloatType, b: FloatType) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |       fn compute_initial_distance(&self, point: &Point<FloatType>, dists: &mut Vec<FloatType>) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |       fn search_level(&self, result: &mut dyn ResultSet<FloatType>, point: &Point<FloatType>,
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 349 |       pub(crate) fn knn_search(&self, point: &Point<FloatType>, num_closest: usize, result: &mut dyn ResultSet<FloatType>)  {
[INFO] [stdout]     |                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |       fn dataset_get(&self, index: usize, dim: usize) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `common::common::BoundingBox<FloatType>` is more private than the item `KDTreeSingleIndex::<'a, FloatType>::divide_tree`
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn divide_tree(&mut self, left: usize, right: usize, bounding_box: &mut BoundingBox<FloatType>) -> Node<FloatType> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `KDTreeSingleIndex::<'a, FloatType>::divide_tree` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `common::common::BoundingBox<FloatType>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/common/common.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub(crate) struct BoundingBox<DistType> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Node<FloatType>` is more private than the item `KDTreeSingleIndex::<'a, FloatType>::divide_tree`
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn divide_tree(&mut self, left: usize, right: usize, bounding_box: &mut BoundingBox<FloatType>) -> Node<FloatType> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `KDTreeSingleIndex::<'a, FloatType>::divide_tree` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Node<FloatType>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub(crate) struct Node<DistType> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s
[INFO] running `Command { std: "docker" "inspect" "739bfc30ae893e3ded631ec3ef603d96084c5f77fae9743f18de7ffb89197859", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "739bfc30ae893e3ded631ec3ef603d96084c5f77fae9743f18de7ffb89197859", kill_on_drop: false }`
[INFO] [stdout] 739bfc30ae893e3ded631ec3ef603d96084c5f77fae9743f18de7ffb89197859
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9cf814a744e7d40936819f6f3e7a6c5e428536cfc028f07f69e4c56692a8fc76
[INFO] running `Command { std: "docker" "start" "-a" "9cf814a744e7d40936819f6f3e7a6c5e428536cfc028f07f69e4c56692a8fc76", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/tree/nanofrann_float.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/tree/nanofrann_flat.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tree/nanofrann_float.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut tree = Self {
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling nanofrann v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `indices`
[INFO] [stdout]    --> src/common/common.rs:161:24
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn init(&mut self, indices: &mut Vec<usize>, dists: &mut Vec<T>) {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dists`
[INFO] [stdout]    --> src/common/common.rs:161:50
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn init(&mut self, indices: &mut Vec<usize>, dists: &mut Vec<T>) {
[INFO] [stdout]     |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_dists`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut tree = Self {
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_closest`
[INFO] [stdout]    --> src/tree/nanofrann_flat.rs:349:63
[INFO] [stdout]     |
[INFO] [stdout] 349 |     pub(crate) fn knn_search(&self, point: &Point<FloatType>, num_closest: usize, result: &mut dyn ResultSet<FloatType>)  {
[INFO] [stdout]     |                                                               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_closest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchParams` is never constructed
[INFO] [stdout]    --> src/common/common.rs:197:19
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub(crate) struct SearchParams<DistType> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/common/common.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 203 | / impl<T> SearchParams<T>
[INFO] [stdout] 204 | | where T : MinMax {
[INFO] [stdout]     | |________________- associated function in this implementation
[INFO] [stdout] 205 |       pub fn new() -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size_at_index_build` is never read
[INFO] [stdout]   --> src/tree/nanofrann_float.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct KDTreeSingleIndex<'a, DistType> {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub(crate) size_at_index_build: usize,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KDTreeSingleIndex` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dataset_get` is never used
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:351:8
[INFO] [stdout]     |
[INFO] [stdout]  45 | / impl<'a, FloatType> KDTreeSingleIndex<'a, FloatType>
[INFO] [stdout]  46 | | where FloatType: Float + MinMax + AddAssign + Copy {
[INFO] [stdout]     | |__________________________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 351 |       fn dataset_get(&self, index: usize, dim: usize) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LeafNode` is never constructed
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct LeafNode {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SplitNode` is never constructed
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct SplitNode<DistType> {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KDTreeSingleIndexFlat` is never constructed
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) struct KDTreeSingleIndexFlat<'a, DistType> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/tree/nanofrann_flat.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  46 | / impl<'a, FloatType> KDTreeSingleIndexFlat<'a, FloatType>
[INFO] [stdout]  47 | | where FloatType: Float + MinMax + AddAssign + Copy {
[INFO] [stdout]     | |__________________________________________________- associated items in this implementation
[INFO] [stdout]  48 |       #[inline]
[INFO] [stdout]  49 |       pub fn new(dataset: &'a DataSource<FloatType>, params: KDTreeSingleIndexParams) -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  78 |       pub fn build_index(&mut self) {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |       pub fn compute_bounding_box(&mut self) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |       pub fn divide_tree(&mut self, left: usize, right: usize, bounding_box: &mut BoundingBox<FloatType>) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |       fn middle_split(&mut self, ind: usize, count: usize, index: &mut usize,
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |       fn compute_min_max(&self, ind: usize, count: usize, cut_feat: usize, min_element: &mut FloatType, max_element: &mut FloatType) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |       fn plane_split(&mut self, ind: usize, count: usize, cut_feat: usize, cut_val: &mut FloatType, lim1: &mut usize, lim2: &mut usize) {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |       fn accum_dist(a: FloatType, b: FloatType) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |       fn compute_initial_distance(&self, point: &Point<FloatType>, dists: &mut Vec<FloatType>) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |       fn search_level(&self, result: &mut dyn ResultSet<FloatType>, point: &Point<FloatType>,
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 349 |       pub(crate) fn knn_search(&self, point: &Point<FloatType>, num_closest: usize, result: &mut dyn ResultSet<FloatType>)  {
[INFO] [stdout]     |                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |       fn dataset_get(&self, index: usize, dim: usize) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `common::common::BoundingBox<FloatType>` is more private than the item `KDTreeSingleIndex::<'a, FloatType>::divide_tree`
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn divide_tree(&mut self, left: usize, right: usize, bounding_box: &mut BoundingBox<FloatType>) -> Node<FloatType> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `KDTreeSingleIndex::<'a, FloatType>::divide_tree` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `common::common::BoundingBox<FloatType>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/common/common.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub(crate) struct BoundingBox<DistType> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Node<FloatType>` is more private than the item `KDTreeSingleIndex::<'a, FloatType>::divide_tree`
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn divide_tree(&mut self, left: usize, right: usize, bounding_box: &mut BoundingBox<FloatType>) -> Node<FloatType> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `KDTreeSingleIndex::<'a, FloatType>::divide_tree` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Node<FloatType>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub(crate) struct Node<DistType> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/tree/nanofrann_float.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/tree/nanofrann_flat.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tree/nanofrann_float.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut tree = Self {
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indices`
[INFO] [stdout]    --> src/common/common.rs:161:24
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn init(&mut self, indices: &mut Vec<usize>, dists: &mut Vec<T>) {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dists`
[INFO] [stdout]    --> src/common/common.rs:161:50
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn init(&mut self, indices: &mut Vec<usize>, dists: &mut Vec<T>) {
[INFO] [stdout]     |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_dists`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_closest`
[INFO] [stdout]    --> src/tree/nanofrann_flat.rs:349:63
[INFO] [stdout]     |
[INFO] [stdout] 349 |     pub(crate) fn knn_search(&self, point: &Point<FloatType>, num_closest: usize, result: &mut dyn ResultSet<FloatType>)  {
[INFO] [stdout]     |                                                               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_closest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut tree = Self {
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SearchParams` is never constructed
[INFO] [stdout]    --> src/common/common.rs:197:19
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub(crate) struct SearchParams<DistType> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size_at_index_build` is never read
[INFO] [stdout]   --> src/tree/nanofrann_float.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct KDTreeSingleIndex<'a, DistType> {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub(crate) size_at_index_build: usize,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KDTreeSingleIndex` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dataset_get` is never used
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:351:8
[INFO] [stdout]     |
[INFO] [stdout]  45 | / impl<'a, FloatType> KDTreeSingleIndex<'a, FloatType>
[INFO] [stdout]  46 | | where FloatType: Float + MinMax + AddAssign + Copy {
[INFO] [stdout]     | |__________________________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 351 |       fn dataset_get(&self, index: usize, dim: usize) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LeafNode` is never constructed
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) struct LeafNode {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SplitNode` is never constructed
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub(crate) struct SplitNode<DistType> {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KDTreeSingleIndexFlat` is never constructed
[INFO] [stdout]   --> src/tree/nanofrann_flat.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) struct KDTreeSingleIndexFlat<'a, DistType> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/tree/nanofrann_flat.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  46 | / impl<'a, FloatType> KDTreeSingleIndexFlat<'a, FloatType>
[INFO] [stdout]  47 | | where FloatType: Float + MinMax + AddAssign + Copy {
[INFO] [stdout]     | |__________________________________________________- associated items in this implementation
[INFO] [stdout]  48 |       #[inline]
[INFO] [stdout]  49 |       pub fn new(dataset: &'a DataSource<FloatType>, params: KDTreeSingleIndexParams) -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  78 |       pub fn build_index(&mut self) {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |       pub fn compute_bounding_box(&mut self) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |       pub fn divide_tree(&mut self, left: usize, right: usize, bounding_box: &mut BoundingBox<FloatType>) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |       fn middle_split(&mut self, ind: usize, count: usize, index: &mut usize,
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |       fn compute_min_max(&self, ind: usize, count: usize, cut_feat: usize, min_element: &mut FloatType, max_element: &mut FloatType) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |       fn plane_split(&mut self, ind: usize, count: usize, cut_feat: usize, cut_val: &mut FloatType, lim1: &mut usize, lim2: &mut usize) {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |       fn accum_dist(a: FloatType, b: FloatType) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |       fn compute_initial_distance(&self, point: &Point<FloatType>, dists: &mut Vec<FloatType>) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |       fn search_level(&self, result: &mut dyn ResultSet<FloatType>, point: &Point<FloatType>,
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 349 |       pub(crate) fn knn_search(&self, point: &Point<FloatType>, num_closest: usize, result: &mut dyn ResultSet<FloatType>)  {
[INFO] [stdout]     |                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |       fn dataset_get(&self, index: usize, dim: usize) -> FloatType {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/common/common.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 203 | / impl<T> SearchParams<T>
[INFO] [stdout] 204 | | where T : MinMax {
[INFO] [stdout]     | |________________- associated function in this implementation
[INFO] [stdout] 205 |       pub fn new() -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `common::common::BoundingBox<FloatType>` is more private than the item `KDTreeSingleIndex::<'a, FloatType>::divide_tree`
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn divide_tree(&mut self, left: usize, right: usize, bounding_box: &mut BoundingBox<FloatType>) -> Node<FloatType> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `KDTreeSingleIndex::<'a, FloatType>::divide_tree` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `common::common::BoundingBox<FloatType>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/common/common.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub(crate) struct BoundingBox<DistType> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Node<FloatType>` is more private than the item `KDTreeSingleIndex::<'a, FloatType>::divide_tree`
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn divide_tree(&mut self, left: usize, right: usize, bounding_box: &mut BoundingBox<FloatType>) -> Node<FloatType> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `KDTreeSingleIndex::<'a, FloatType>::divide_tree` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Node<FloatType>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/tree/nanofrann_float.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub(crate) struct Node<DistType> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Relative::<A, B>::eq` that must be used
[INFO] [stdout]    --> src/common/common.rs:373:9
[INFO] [stdout]     |
[INFO] [stdout] 373 |         relative_eq!(sut.radius, 10.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 373 |         let _ = relative_eq!(sut.radius, 10.0);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Relative::<A, B>::eq` that must be used
[INFO] [stdout]    --> src/common/common.rs:385:9
[INFO] [stdout]     |
[INFO] [stdout] 385 |         relative_eq!(sut.indices_dists[0].1, 1.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 385 |         let _ = relative_eq!(sut.indices_dists[0].1, 1.0);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Relative::<A, B>::eq` that must be used
[INFO] [stdout]    --> src/common/common.rs:386:9
[INFO] [stdout]     |
[INFO] [stdout] 386 |         relative_eq!(sut.indices_dists[1].1, 2.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 386 |         let _ = relative_eq!(sut.indices_dists[1].1, 2.0);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Relative::<A, B>::eq` that must be used
[INFO] [stdout]    --> src/common/common.rs:387:9
[INFO] [stdout]     |
[INFO] [stdout] 387 |         relative_eq!(sut.indices_dists[2].1, 3.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 387 |         let _ = relative_eq!(sut.indices_dists[2].1, 3.0);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Relative::<A, B>::eq` that must be used
[INFO] [stdout]    --> src/common/common.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 388 |         relative_eq!(sut.indices_dists[3].1, 4.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 388 |         let _ = relative_eq!(sut.indices_dists[3].1, 4.0);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Relative::<A, B>::eq` that must be used
[INFO] [stdout]    --> src/common/common.rs:430:9
[INFO] [stdout]     |
[INFO] [stdout] 430 |         relative_eq!(sut.radius, 10.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 430 |         let _ = relative_eq!(sut.radius, 10.0);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Relative::<A, B>::eq` that must be used
[INFO] [stdout]    --> src/common/common.rs:442:9
[INFO] [stdout]     |
[INFO] [stdout] 442 |         relative_eq!(sut.worst_item().1, 10.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 442 |         let _ = relative_eq!(sut.worst_item().1, 10.0);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Relative::<A, B>::eq` that must be used
[INFO] [stdout]    --> src/common/common.rs:360:9
[INFO] [stdout]     |
[INFO] [stdout] 360 |         relative_eq!(sut.worst_dist(),  10.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 360 |         let _ = relative_eq!(sut.worst_dist(),  10.0);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s
[INFO] running `Command { std: "docker" "inspect" "9cf814a744e7d40936819f6f3e7a6c5e428536cfc028f07f69e4c56692a8fc76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cf814a744e7d40936819f6f3e7a6c5e428536cfc028f07f69e4c56692a8fc76", kill_on_drop: false }`
[INFO] [stdout] 9cf814a744e7d40936819f6f3e7a6c5e428536cfc028f07f69e4c56692a8fc76
