[INFO] cloning repository https://github.com/lolepop/vp-tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lolepop/vp-tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolepop%2Fvp-tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolepop%2Fvp-tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e6a9d6f52a19fd1ef670cb886393d7dabc1445f [INFO] checking lolepop/vp-tree against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolepop%2Fvp-tree" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lolepop/vp-tree on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lolepop/vp-tree [INFO] finished tweaking git repo https://github.com/lolepop/vp-tree [INFO] tweaked toml for git repo https://github.com/lolepop/vp-tree written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lolepop/vp-tree 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded min-max-heap v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c17a21a51f56b908bd3e4f862e1305e43574c3f29b9e99607fac47b32878cb5f [INFO] running `Command { std: "docker" "start" "-a" "c17a21a51f56b908bd3e4f862e1305e43574c3f29b9e99607fac47b32878cb5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c17a21a51f56b908bd3e4f862e1305e43574c3f29b9e99607fac47b32878cb5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c17a21a51f56b908bd3e4f862e1305e43574c3f29b9e99607fac47b32878cb5f", kill_on_drop: false }` [INFO] [stdout] c17a21a51f56b908bd3e4f862e1305e43574c3f29b9e99607fac47b32878cb5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b27198e35ab473d6b31c1ebd786d20b0b775c2e0aba53af35768c1388abcc06d [INFO] running `Command { std: "docker" "start" "-a" "b27198e35ab473d6b31c1ebd786d20b0b775c2e0aba53af35768c1388abcc06d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking min-max-heap v1.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking vptree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | for (k, i) in data.iter().enumerate() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let res = t.search(i, 5); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_data` is never used [INFO] [stdout] --> src/sample.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn generate_data(n: i32) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bf_knn` is never used [INFO] [stdout] --> src/sample.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn bf_knn(d: &Vec, p: &Point, k: usize) -> Vec<(Point, f64)> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | for (k, i) in data.iter().enumerate() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let res = t.search(i, 5); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b27198e35ab473d6b31c1ebd786d20b0b775c2e0aba53af35768c1388abcc06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b27198e35ab473d6b31c1ebd786d20b0b775c2e0aba53af35768c1388abcc06d", kill_on_drop: false }` [INFO] [stdout] b27198e35ab473d6b31c1ebd786d20b0b775c2e0aba53af35768c1388abcc06d [INFO] checking lolepop/vp-tree against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolepop%2Fvp-tree" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lolepop/vp-tree on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lolepop/vp-tree [INFO] finished tweaking git repo https://github.com/lolepop/vp-tree [INFO] tweaked toml for git repo https://github.com/lolepop/vp-tree written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lolepop/vp-tree 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 204d18a375b3e83f992772889e21df944d140fae40318b692253bd27251d5f02 [INFO] running `Command { std: "docker" "start" "-a" "204d18a375b3e83f992772889e21df944d140fae40318b692253bd27251d5f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "204d18a375b3e83f992772889e21df944d140fae40318b692253bd27251d5f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204d18a375b3e83f992772889e21df944d140fae40318b692253bd27251d5f02", kill_on_drop: false }` [INFO] [stdout] 204d18a375b3e83f992772889e21df944d140fae40318b692253bd27251d5f02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ef054bf3a82f049cb363c8b3ed0f629728ce129fe34a97b8fa1db0a6271b511 [INFO] running `Command { std: "docker" "start" "-a" "6ef054bf3a82f049cb363c8b3ed0f629728ce129fe34a97b8fa1db0a6271b511", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking min-max-heap v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking vptree v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | for (k, i) in data.iter().enumerate() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let res = t.search(i, 5); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_data` is never used [INFO] [stdout] --> src/sample.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn generate_data(n: i32) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bf_knn` is never used [INFO] [stdout] --> src/sample.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn bf_knn(d: &Vec, p: &Point, k: usize) -> Vec<(Point, f64)> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | for (k, i) in data.iter().enumerate() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let res = t.search(i, 5); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.98s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6ef054bf3a82f049cb363c8b3ed0f629728ce129fe34a97b8fa1db0a6271b511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ef054bf3a82f049cb363c8b3ed0f629728ce129fe34a97b8fa1db0a6271b511", kill_on_drop: false }` [INFO] [stdout] 6ef054bf3a82f049cb363c8b3ed0f629728ce129fe34a97b8fa1db0a6271b511