[INFO] fetching crate linfa-nn 0.7.2... [INFO] testing linfa-nn-0.7.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate linfa-nn 0.7.2 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate linfa-nn 0.7.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded findshlibs v0.10.2 [INFO] [stderr] Downloaded symbolic-common v10.2.1 [INFO] [stderr] Downloaded debugid v0.8.0 [INFO] [stderr] Downloaded kdtree v0.7.0 [INFO] [stderr] Downloaded cpp_demangle v0.4.4 [INFO] [stderr] Downloaded tempfile v3.18.0 [INFO] [stderr] Downloaded pprof v0.11.1 [INFO] [stderr] Downloaded symbolic-demangle v10.2.1 [INFO] [stderr] Downloaded rustix v1.0.2 [INFO] [stderr] Downloaded linux-raw-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a42779f27c021f992796007648504e952a0a80f3ab5d3c3fc30412e4f4c39ac [INFO] running `Command { std: "docker" "start" "-a" "8a42779f27c021f992796007648504e952a0a80f3ab5d3c3fc30412e4f4c39ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a42779f27c021f992796007648504e952a0a80f3ab5d3c3fc30412e4f4c39ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a42779f27c021f992796007648504e952a0a80f3ab5d3c3fc30412e4f4c39ac", kill_on_drop: false }` [INFO] [stdout] 8a42779f27c021f992796007648504e952a0a80f3ab5d3c3fc30412e4f4c39ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eddcb7c5f530f127294767b3619e5d594a363ff78e05db52f78d77a831c9629f [INFO] running `Command { std: "docker" "start" "-a" "eddcb7c5f530f127294767b3619e5d594a363ff78e05db52f78d77a831c9629f", 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 os_str_bytes v6.6.1 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling symbolic-demangle v10.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling quick-xml v0.26.0 [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 syn v2.0.100 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling pprof v0.11.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling linfa v0.7.1 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling order-stat v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling symbolic-common v10.2.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.18.0 [INFO] [stderr] Compiling sprs v0.11.1 [INFO] [stderr] Compiling ndarray-stats v0.5.1 [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 backtrace v0.3.74 [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 36.14s [INFO] running `Command { std: "docker" "inspect" "eddcb7c5f530f127294767b3619e5d594a363ff78e05db52f78d77a831c9629f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eddcb7c5f530f127294767b3619e5d594a363ff78e05db52f78d77a831c9629f", kill_on_drop: false }` [INFO] [stdout] eddcb7c5f530f127294767b3619e5d594a363ff78e05db52f78d77a831c9629f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4231c7472b743e73063cf7d27fd6959b15c9626e1ef68b51c0e8817e6da5c6b [INFO] running `Command { std: "docker" "start" "-a" "c4231c7472b743e73063cf7d27fd6959b15c9626e1ef68b51c0e8817e6da5c6b", 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 2.70s [INFO] running `Command { std: "docker" "inspect" "c4231c7472b743e73063cf7d27fd6959b15c9626e1ef68b51c0e8817e6da5c6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4231c7472b743e73063cf7d27fd6959b15c9626e1ef68b51c0e8817e6da5c6b", kill_on_drop: false }` [INFO] [stdout] c4231c7472b743e73063cf7d27fd6959b15c9626e1ef68b51c0e8817e6da5c6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30a93c1d5d6f77eb8f929d833dd7e8796098eee15a6fcbed721a97b6b5e2223d [INFO] running `Command { std: "docker" "start" "-a" "30a93c1d5d6f77eb8f929d833dd7e8796098eee15a6fcbed721a97b6b5e2223d", 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.15s [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 balltree::test::autotraits ... ok [INFO] [stdout] test distance::test::autotraits ... ok [INFO] [stdout] test distance::test::linf_dist ... ok [INFO] [stdout] test tests::autotraits ... ok [INFO] [stdout] test distance::test::l2_dist ... ok [INFO] [stdout] test distance::test::lp_dist ... ok [INFO] [stdout] test distance::test::l1_dist ... ok [INFO] [stdout] test balltree::test::partition_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/nn.rs (/opt/rustwide/target/debug/deps/nn-d5c9d64e355c53fe) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test balltree::degenerate ... ok [INFO] [stdout] test balltree::error ... ok [INFO] [stdout] test balltree::empty ... ok [INFO] [stdout] test kdtree::empty ... ok [INFO] [stdout] test balltree::normal ... ok [INFO] [stdout] test kdtree::error ... ok [INFO] [stdout] test kdtree::degenerate ... ok [INFO] [stdout] test kdtree::normal ... ok [INFO] [stdout] test linear_search::degenerate ... ok [INFO] [stdout] test linear_search::error ... ok [INFO] [stdout] test linear_search::normal ... ok [INFO] [stdout] test linear_search::empty ... ok [INFO] [stdout] test kdtree::random_l1 ... ok [INFO] [stdout] test kdtree::random_l2 ... ok [INFO] [stdout] test balltree::random_l2 ... ok [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 2.97s [INFO] [stdout] [INFO] [stderr] Doc-tests linfa_nn [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.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "30a93c1d5d6f77eb8f929d833dd7e8796098eee15a6fcbed721a97b6b5e2223d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a93c1d5d6f77eb8f929d833dd7e8796098eee15a6fcbed721a97b6b5e2223d", kill_on_drop: false }` [INFO] [stdout] 30a93c1d5d6f77eb8f929d833dd7e8796098eee15a6fcbed721a97b6b5e2223d