[INFO] fetching crate linfa-nn 0.7.2... [INFO] testing linfa-nn-0.7.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate linfa-nn 0.7.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate linfa-nn 0.7.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate linfa-nn 0.7.2 [INFO] tweaked toml for crates.io crate linfa-nn 0.7.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linfa-nn 0.7.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate linfa-nn 0.7.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bdb17d865712fca9d1bdd92ba4e2371c45a5acd6f5d5bd71607ad0acb1f048f [INFO] running `Command { std: "docker" "start" "-a" "2bdb17d865712fca9d1bdd92ba4e2371c45a5acd6f5d5bd71607ad0acb1f048f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bdb17d865712fca9d1bdd92ba4e2371c45a5acd6f5d5bd71607ad0acb1f048f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bdb17d865712fca9d1bdd92ba4e2371c45a5acd6f5d5bd71607ad0acb1f048f", kill_on_drop: false }` [INFO] [stdout] 2bdb17d865712fca9d1bdd92ba4e2371c45a5acd6f5d5bd71607ad0acb1f048f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bc6bbe439808e6f5701b727bf1c3c1bcb43639b4423a45d9e9b403f97be8d57 [INFO] running `Command { std: "docker" "start" "-a" "4bc6bbe439808e6f5701b727bf1c3c1bcb43639b4423a45d9e9b403f97be8d57", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling symbolic-demangle v10.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling pprof v0.11.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling linfa v0.7.1 [INFO] [stderr] Compiling order-stat v0.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling symbolic-common v10.2.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling tempfile v3.18.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sprs v0.11.1 [INFO] [stderr] Compiling ndarray-stats v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling kdtree v0.7.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling linfa-nn v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError>; [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 113 | ) -> Result, usize)>, NnError>; [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result, usize)>, NnError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/balltree.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 204 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/balltree.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/balltree.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 272 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/kdtree.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/kdtree.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 71 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linear.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linear.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 56 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.81s [INFO] running `Command { std: "docker" "inspect" "4bc6bbe439808e6f5701b727bf1c3c1bcb43639b4423a45d9e9b403f97be8d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc6bbe439808e6f5701b727bf1c3c1bcb43639b4423a45d9e9b403f97be8d57", kill_on_drop: false }` [INFO] [stdout] 4bc6bbe439808e6f5701b727bf1c3c1bcb43639b4423a45d9e9b403f97be8d57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72bfb037279b8b240554f4a176475405df3259ba38ebdb8ae644f3af5ea295ee [INFO] running `Command { std: "docker" "start" "-a" "72bfb037279b8b240554f4a176475405df3259ba38ebdb8ae644f3af5ea295ee", kill_on_drop: false }` [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError>; [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 113 | ) -> Result, usize)>, NnError>; [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result, usize)>, NnError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/balltree.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 204 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/balltree.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/balltree.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 272 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/kdtree.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/kdtree.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 71 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linear.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linear.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 56 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling linfa-nn v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError>; [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 113 | ) -> Result, usize)>, NnError>; [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result, usize)>, NnError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/balltree.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 204 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/balltree.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/balltree.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 272 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 272 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/kdtree.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/kdtree.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 71 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linear.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linear.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 56 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result, usize)>, NnError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "72bfb037279b8b240554f4a176475405df3259ba38ebdb8ae644f3af5ea295ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72bfb037279b8b240554f4a176475405df3259ba38ebdb8ae644f3af5ea295ee", kill_on_drop: false }` [INFO] [stdout] 72bfb037279b8b240554f4a176475405df3259ba38ebdb8ae644f3af5ea295ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e8224a6856c9d589f52a01fbbca9be0d7fc2760b3ddc414205373ff1bbb92b6 [INFO] running `Command { std: "docker" "start" "-a" "0e8224a6856c9d589f52a01fbbca9be0d7fc2760b3ddc414205373ff1bbb92b6", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:101:18 [INFO] [stderr] | [INFO] [stderr] 101 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError>; [INFO] [stderr] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 101 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 113 | ) -> Result, usize)>, NnError>; [INFO] [stderr] | -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 113 | ) -> Result, usize)>, NnError>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/balltree.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 204 | ) -> Result, usize)>, NnError> { [INFO] [stderr] | -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 204 | ) -> Result, usize)>, NnError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/balltree.rs:264:18 [INFO] [stderr] | [INFO] [stderr] 264 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 264 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/balltree.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 272 | ) -> Result, usize)>, NnError> { [INFO] [stderr] | -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 272 | ) -> Result, usize)>, NnError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/kdtree.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 54 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/kdtree.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 71 | ) -> Result, usize)>, NnError> { [INFO] [stderr] | -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | ) -> Result, usize)>, NnError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linear.rs:33:18 [INFO] [stderr] | [INFO] [stderr] 33 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 33 | fn k_nearest(&self, point: Point<'_, F>, k: usize) -> Result, usize)>, NnError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/linear.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 56 | ) -> Result, usize)>, NnError> { [INFO] [stderr] | -------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | ) -> Result, usize)>, NnError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `linfa-nn` (lib) generated 9 warnings (run `cargo fix --lib -p linfa-nn` to apply 9 suggestions) [INFO] [stderr] warning: `linfa-nn` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/linfa_nn-d1a279bb0ba55c38) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test distance::test::autotraits ... ok [INFO] [stdout] test balltree::test::partition_test ... ok [INFO] [stdout] test distance::test::linf_dist ... ok [INFO] [stdout] test distance::test::l1_dist ... ok [INFO] [stdout] test distance::test::lp_dist ... ok [INFO] [stdout] test tests::autotraits ... ok [INFO] [stdout] test balltree::test::autotraits ... ok [INFO] [stderr] Running tests/nn.rs (/opt/rustwide/target/debug/deps/nn-d5c9d64e355c53fe) [INFO] [stdout] test distance::test::l2_dist ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test balltree::empty ... ok [INFO] [stdout] test balltree::degenerate ... ok [INFO] [stdout] test kdtree::empty ... ok [INFO] [stdout] test balltree::normal ... ok [INFO] [stdout] test kdtree::degenerate ... ok [INFO] [stdout] test kdtree::error ... ok [INFO] [stdout] test kdtree::normal ... ok [INFO] [stdout] test balltree::error ... ok [INFO] [stdout] test linear_search::degenerate ... ok [INFO] [stdout] test linear_search::empty ... ok [INFO] [stdout] test linear_search::normal ... ok [INFO] [stdout] test linear_search::error ... ok [INFO] [stdout] test kdtree::random_l1 ... ok [INFO] [stdout] test kdtree::random_l2 ... ok [INFO] [stdout] test balltree::random_l2 ... ok [INFO] [stderr] Doc-tests linfa_nn [INFO] [stdout] test balltree::random_l1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.90s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - CommonNearestNeighbour (line 122) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e8224a6856c9d589f52a01fbbca9be0d7fc2760b3ddc414205373ff1bbb92b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8224a6856c9d589f52a01fbbca9be0d7fc2760b3ddc414205373ff1bbb92b6", kill_on_drop: false }` [INFO] [stdout] 0e8224a6856c9d589f52a01fbbca9be0d7fc2760b3ddc414205373ff1bbb92b6