[INFO] fetching crate kdvtree 0.8.0... [INFO] testing kdvtree-0.8.0 against try#024495a232636f1f9407d7695b2be51edc2c51bd for pr-130285 [INFO] extracting crate kdvtree 0.8.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate kdvtree 0.8.0 on toolchain 024495a232636f1f9407d7695b2be51edc2c51bd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kdvtree 0.8.0 [INFO] finished tweaking crates.io crate kdvtree 0.8.0 [INFO] tweaked toml for crates.io crate kdvtree 0.8.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 682544dc3c6c1bb4a66227c2b1b5fc0dc90d11bb928154e082c61f0acaf91e89 [INFO] running `Command { std: "docker" "start" "-a" "682544dc3c6c1bb4a66227c2b1b5fc0dc90d11bb928154e082c61f0acaf91e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "682544dc3c6c1bb4a66227c2b1b5fc0dc90d11bb928154e082c61f0acaf91e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "682544dc3c6c1bb4a66227c2b1b5fc0dc90d11bb928154e082c61f0acaf91e89", kill_on_drop: false }` [INFO] [stdout] 682544dc3c6c1bb4a66227c2b1b5fc0dc90d11bb928154e082c61f0acaf91e89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c80c0884f53397b70763d1f3d3cad4c57a6119eeaa35136c74fac9be92bddf19 [INFO] running `Command { std: "docker" "start" "-a" "c80c0884f53397b70763d1f3d3cad4c57a6119eeaa35136c74fac9be92bddf19", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling kdvtree v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:492:25 [INFO] [stdout] | [INFO] [stdout] 492 | (self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater || [INFO] [stdout] | ^ [INFO] [stdout] 493 | self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 492 ~ self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater || [INFO] [stdout] 493 ~ self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl GetCutPoint for F where F: FnMut(&A, &mut Iterator) -> Option

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | impl GetCutPoint for F where F: FnMut(&A, &mut dyn Iterator) -> Option

{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:511:71 [INFO] [stdout] | [INFO] [stdout] 511 | ... shape_fragment: shape_fragment.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ShapeFragment` does not implement `Clone`, so calling `clone` on `&ShapeFragment` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 511 - shape_fragment: shape_fragment.clone(), [INFO] [stdout] 511 + shape_fragment: shape_fragment, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ShapeFragment`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 334 + #[derive(Clone)] [INFO] [stdout] 335 | struct ShapeFragment { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "c80c0884f53397b70763d1f3d3cad4c57a6119eeaa35136c74fac9be92bddf19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80c0884f53397b70763d1f3d3cad4c57a6119eeaa35136c74fac9be92bddf19", kill_on_drop: false }` [INFO] [stdout] c80c0884f53397b70763d1f3d3cad4c57a6119eeaa35136c74fac9be92bddf19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17e0cd3c13277a1950f537bcf4750fc834e1c65043fad45025173e91a84607b1 [INFO] running `Command { std: "docker" "start" "-a" "17e0cd3c13277a1950f537bcf4750fc834e1c65043fad45025173e91a84607b1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:492:25 [INFO] [stdout] | [INFO] [stdout] 492 | (self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater || [INFO] [stdout] | ^ [INFO] [stdout] 493 | self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 492 ~ self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater || [INFO] [stdout] 493 ~ self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl GetCutPoint for F where F: FnMut(&A, &mut Iterator) -> Option

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | impl GetCutPoint for F where F: FnMut(&A, &mut dyn Iterator) -> Option

{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:511:71 [INFO] [stdout] | [INFO] [stdout] 511 | ... shape_fragment: shape_fragment.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ShapeFragment` does not implement `Clone`, so calling `clone` on `&ShapeFragment` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 511 - shape_fragment: shape_fragment.clone(), [INFO] [stdout] 511 + shape_fragment: shape_fragment, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ShapeFragment`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 334 + #[derive(Clone)] [INFO] [stdout] 335 | struct ShapeFragment { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kdvtree v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:492:25 [INFO] [stdout] | [INFO] [stdout] 492 | (self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater || [INFO] [stdout] | ^ [INFO] [stdout] 493 | self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 492 ~ self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater || [INFO] [stdout] 493 ~ self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl GetCutPoint for F where F: FnMut(&A, &mut Iterator) -> Option

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | impl GetCutPoint for F where F: FnMut(&A, &mut dyn Iterator) -> Option

{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_cut_point(cut_axis: &Axis, points: &mut Iterator) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn get_cut_point(cut_axis: &Axis, points: &mut dyn Iterator) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:511:71 [INFO] [stdout] | [INFO] [stdout] 511 | ... shape_fragment: shape_fragment.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ShapeFragment` does not implement `Clone`, so calling `clone` on `&ShapeFragment` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 511 - shape_fragment: shape_fragment.clone(), [INFO] [stdout] 511 + shape_fragment: shape_fragment, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ShapeFragment`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 334 + #[derive(Clone)] [INFO] [stdout] 335 | struct ShapeFragment { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.62s [INFO] running `Command { std: "docker" "inspect" "17e0cd3c13277a1950f537bcf4750fc834e1c65043fad45025173e91a84607b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e0cd3c13277a1950f537bcf4750fc834e1c65043fad45025173e91a84607b1", kill_on_drop: false }` [INFO] [stdout] 17e0cd3c13277a1950f537bcf4750fc834e1c65043fad45025173e91a84607b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+024495a232636f1f9407d7695b2be51edc2c51bd" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 60f1b6447f337597a84922487e493016f005e0b911cf49fea983aaaa64ea5f23 [INFO] running `Command { std: "docker" "start" "-a" "60f1b6447f337597a84922487e493016f005e0b911cf49fea983aaaa64ea5f23", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:492:25 [INFO] [stderr] | [INFO] [stderr] 492 | (self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater || [INFO] [stderr] | ^ [INFO] [stderr] 493 | self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 492 ~ self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater || [INFO] [stderr] 493 ~ self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:40:63 [INFO] [stderr] | [INFO] [stderr] 40 | impl GetCutPoint for F where F: FnMut(&A, &mut Iterator) -> Option

{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 | impl GetCutPoint for F where F: FnMut(&A, &mut dyn Iterator) -> Option

{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:511:71 [INFO] [stderr] | [INFO] [stderr] 511 | ... shape_fragment: shape_fragment.clone(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `ShapeFragment` does not implement `Clone`, so calling `clone` on `&ShapeFragment` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 511 - shape_fragment: shape_fragment.clone(), [INFO] [stderr] 511 + shape_fragment: shape_fragment, [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `ShapeFragment`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 334 + #[derive(Clone)] [INFO] [stderr] 335 | struct ShapeFragment { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `kdvtree` (lib) generated 3 warnings (run `cargo fix --lib -p kdvtree` to apply 3 suggestions) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests.rs:36:48 [INFO] [stderr] | [INFO] [stderr] 36 | fn get_cut_point(cut_axis: &Axis, points: &mut Iterator) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 | fn get_cut_point(cut_axis: &Axis, points: &mut dyn Iterator) -> Option { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `kdvtree` (lib test) generated 4 warnings (3 duplicates) (run `cargo fix --lib -p kdvtree --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kdvtree-0392c205bc6fd98c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::kdv_tree_basic ... ok [INFO] [stdout] test tests::kdv_tree_triangle ... ok [INFO] [stdout] test tests::kdv_tree_nearest ... ok [INFO] [stdout] test tests::kdv_tree_nearest_check ... ok [INFO] [stdout] test tests::kdv_tree_nearest_big_o ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::kdv_tree_nearest_big_o stdout ---- [INFO] [stdout] thread 'tests::kdv_tree_nearest_big_o' panicked at src/tests.rs:736:5: [INFO] [stdout] assertion failed: stats_10k.0 * 10000 < stats_10k.2 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58f0a61e93da - std::backtrace_rs::backtrace::libunwind::trace::h0b70b9423e9d16d3 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x58f0a61e93da - std::backtrace_rs::backtrace::trace_unsynchronized::h41a6d6747b7a8eec [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x58f0a61e93da - std::sys::backtrace::_print_fmt::hc7c5a78d80682aba [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58f0a61e93da - ::fmt::hd4fdfca2994da546 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58f0a620f6db - core::fmt::rt::Argument::fmt::hf99fefc5c46831d6 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x58f0a620f6db - core::fmt::write::h98fc8fc0872eb800 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x58f0a61e5f93 - std::io::Write::write_fmt::h6f2e89dc4ecb15bf [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x58f0a61e9222 - std::sys::backtrace::BacktraceLock::print::h8d5848a17a7460af [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x58f0a61eab55 - std::panicking::default_hook::{{closure}}::hc1055ce5a16caaaf [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x58f0a61ea948 - std::panicking::default_hook::h18285eee104702ef [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x58f0a61a95b9 - as core::ops::function::Fn>::call::hfb424389a6080334 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 11: 0x58f0a61a95b9 - test::test_main::{{closure}}::h4a11467e31076c86 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x58f0a61eb268 - as core::ops::function::Fn>::call::heeb27b65ef50abbb [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 13: 0x58f0a61eb268 - std::panicking::rust_panic_with_hook::h6b7d3dd5857887cd [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x58f0a61eb003 - std::panicking::begin_panic_handler::{{closure}}::he5e8e895688cd622 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:667:13 [INFO] [stdout] 15: 0x58f0a61e98b9 - std::sys::backtrace::__rust_end_short_backtrace::h7ac5700345d0de4e [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x58f0a61eacc4 - rust_begin_unwind [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x58f0a620e0e3 - core::panicking::panic_fmt::h685c6841386827a1 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x58f0a620e16c - core::panicking::panic::hbbb333e604111b9b [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panicking.rs:148:5 [INFO] [stdout] 19: 0x58f0a6162767 - kdvtree::tests::kdv_tree_nearest_big_o::h335caf70b8e0f086 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:736:5 [INFO] [stdout] 20: 0x58f0a61625b7 - kdvtree::tests::kdv_tree_nearest_big_o::{{closure}}::h01a27d927c83a2d3 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:690:28 [INFO] [stdout] 21: 0x58f0a616d4d6 - core::ops::function::FnOnce::call_once::h8bf43b991e735b42 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x58f0a61adf2b - core::ops::function::FnOnce::call_once::hfb2803ce7bc0c431 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x58f0a61adf2b - test::__rust_begin_short_backtrace::h6fe405d067d4edf1 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:620:18 [INFO] [stdout] 24: 0x58f0a61ad7a8 - test::run_test_in_process::{{closure}}::h3031d20e0ab28154 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:643:60 [INFO] [stdout] 25: 0x58f0a61ad7a8 - as core::ops::function::FnOnce<()>>::call_once::h40629b6e43a85677 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x58f0a61ad7a8 - std::panicking::try::do_call::h08ed2f92617b0647 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:557:40 [INFO] [stdout] 27: 0x58f0a61ad7a8 - std::panicking::try::h54f860637680ac50 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:520:19 [INFO] [stdout] 28: 0x58f0a61ad7a8 - std::panic::catch_unwind::ha8daaf3a1c05af1f [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panic.rs:345:14 [INFO] [stdout] 29: 0x58f0a61ad7a8 - test::run_test_in_process::h22aa530a672126a5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:643:27 [INFO] [stdout] 30: 0x58f0a61ad7a8 - test::run_test::{{closure}}::h519bf3f40870ddb4 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:564:43 [INFO] [stdout] 31: 0x58f0a6171aa4 - test::run_test::{{closure}}::h9609024f0d351f83 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/test/src/lib.rs:594:41 [INFO] [stdout] 32: 0x58f0a6171aa4 - std::sys::backtrace::__rust_begin_short_backtrace::hbf2cc61ff203adf2 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 33: 0x58f0a6175152 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h370d502b279abcf5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 34: 0x58f0a6175152 - as core::ops::function::FnOnce<()>>::call_once::h2959a1c77493a6d5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x58f0a6175152 - std::panicking::try::do_call::hbc9357b5a89852bf [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:557:40 [INFO] [stdout] 36: 0x58f0a6175152 - std::panicking::try::h7e1573ffa8a7d0e5 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panicking.rs:520:19 [INFO] [stdout] 37: 0x58f0a6175152 - std::panic::catch_unwind::h570f5a4451fc728e [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/panic.rs:345:14 [INFO] [stdout] 38: 0x58f0a6175152 - std::thread::Builder::spawn_unchecked_::{{closure}}::hfe446f1f520b4b7b [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 39: 0x58f0a6175152 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hac66e3d930a4cb63 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x58f0a61ef28b - as core::ops::function::FnOnce>::call_once::h454061bce884428d [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 41: 0x58f0a61ef28b - as core::ops::function::FnOnce>::call_once::h93b1743250f897c2 [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 42: 0x58f0a61ef28b - std::sys::pal::unix::thread::Thread::new::thread_start::hb6bf89038caa002c [INFO] [stdout] at /rustc/024495a232636f1f9407d7695b2be51edc2c51bd/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 43: 0x78915e42dac3 - [INFO] [stdout] 44: 0x78915e4bea04 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::kdv_tree_nearest_big_o [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "60f1b6447f337597a84922487e493016f005e0b911cf49fea983aaaa64ea5f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f1b6447f337597a84922487e493016f005e0b911cf49fea983aaaa64ea5f23", kill_on_drop: false }` [INFO] [stdout] 60f1b6447f337597a84922487e493016f005e0b911cf49fea983aaaa64ea5f23