[INFO] cloning repository https://github.com/Iamdavidonuh/sim_functions_for_ahnlich [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Iamdavidonuh/sim_functions_for_ahnlich" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIamdavidonuh%2Fsim_functions_for_ahnlich", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIamdavidonuh%2Fsim_functions_for_ahnlich'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9864083fa0e9a9165edd3cb4a5f492c0bb1306f2 [INFO] checking Iamdavidonuh/sim_functions_for_ahnlich/9864083fa0e9a9165edd3cb4a5f492c0bb1306f2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIamdavidonuh%2Fsim_functions_for_ahnlich" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Iamdavidonuh/sim_functions_for_ahnlich on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Iamdavidonuh/sim_functions_for_ahnlich [INFO] finished tweaking git repo https://github.com/Iamdavidonuh/sim_functions_for_ahnlich [INFO] tweaked toml for git repo https://github.com/Iamdavidonuh/sim_functions_for_ahnlich written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Iamdavidonuh/sim_functions_for_ahnlich 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c78fba34e2090740811c3f1fdac20927355653fa897ecbe8533ae2bf763f452 [INFO] running `Command { std: "docker" "start" "-a" "9c78fba34e2090740811c3f1fdac20927355653fa897ecbe8533ae2bf763f452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c78fba34e2090740811c3f1fdac20927355653fa897ecbe8533ae2bf763f452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c78fba34e2090740811c3f1fdac20927355653fa897ecbe8533ae2bf763f452", kill_on_drop: false }` [INFO] [stdout] 9c78fba34e2090740811c3f1fdac20927355653fa897ecbe8533ae2bf763f452 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a23f83326a8667dae50c3efc0d59ad4aac08c05b17e2c29bf7edc4737cd99da [INFO] running `Command { std: "docker" "start" "-a" "0a23f83326a8667dae50c3efc0d59ad4aac08c05b17e2c29bf7edc4737cd99da", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Checking sim_functions_for_ahnlich v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::types::NonNanF64` [INFO] [stdout] --> src/lib.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::types::NonNanF64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `word_to_vector` is never used [INFO] [stdout] --> src/generator.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) fn word_to_vector() -> HashMap, Ix1>> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `KNearestN` is never used [INFO] [stdout] --> src/generator.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait KNearestN { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinHeap` is never constructed [INFO] [stdout] --> src/types.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) struct MinHeap<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `push`, `pop`, and `output` are never used [INFO] [stdout] --> src/types.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a> MinHeap<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 62 | pub(crate) fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub(crate) fn push(&mut self, item: NonNanF64<'a>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub(crate) fn pop(&mut self) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub(crate) fn output( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxHeap` is never constructed [INFO] [stdout] --> src/types.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) struct MaxHeap<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `len`, and `output` are never used [INFO] [stdout] --> src/types.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 101 | impl<'a> MaxHeap<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 102 | pub(crate) fn new(n: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn push(&mut self, item: NonNanF64<'a>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn pop(&mut self) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn output(&mut self) -> Vec<(&'a ndarray::ArrayBase, Ix1>, f64)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AlgorithmHeapType` is never used [INFO] [stdout] --> src/types.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) enum AlgorithmHeapType<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, and `output` are never used [INFO] [stdout] --> src/types.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 139 | impl<'a> AlgorithmHeapType<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 140 | pub(crate) fn push(&mut self, item: NonNanF64<'a>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub(crate) fn pop(&mut self) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub(crate) fn output( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DotProduct`, `Euclidean`, and `Cosine` are never constructed [INFO] [stdout] --> src/types.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) enum Algorithm { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 164 | DotProduct, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 165 | Euclidean, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 166 | Cosine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init_heap` is never used [INFO] [stdout] --> src/types.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 169 | impl Algorithm { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 170 | pub(crate) fn init_heap(&self, capacity: usize) -> AlgorithmHeapType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/types.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'a> MinHeap<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/types.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 101 | impl<'a> MaxHeap<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/types.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 139 | impl<'a> AlgorithmHeapType<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub(crate) fn pop(&mut self) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DotProduct` and `Euclidean` are never constructed [INFO] [stdout] --> src/types.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) enum Algorithm { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 164 | DotProduct, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 165 | Euclidean, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.51s [INFO] running `Command { std: "docker" "inspect" "0a23f83326a8667dae50c3efc0d59ad4aac08c05b17e2c29bf7edc4737cd99da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a23f83326a8667dae50c3efc0d59ad4aac08c05b17e2c29bf7edc4737cd99da", kill_on_drop: false }` [INFO] [stdout] 0a23f83326a8667dae50c3efc0d59ad4aac08c05b17e2c29bf7edc4737cd99da