[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 against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIamdavidonuh%2Fsim_functions_for_ahnlich" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Iamdavidonuh/sim_functions_for_ahnlich on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.200
[INFO] [stderr]   Downloaded serde v1.0.200
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 02aef54afe836a84cffb725578e1eb1b5abb5e18561bf685f9c27a224ab09b9c
[INFO] running `Command { std: "docker" "start" "02aef54afe836a84cffb725578e1eb1b5abb5e18561bf685f9c27a224ab09b9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02aef54afe836a84cffb725578e1eb1b5abb5e18561bf685f9c27a224ab09b9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "02aef54afe836a84cffb725578e1eb1b5abb5e18561bf685f9c27a224ab09b9c" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02aef54afe836a84cffb725578e1eb1b5abb5e18561bf685f9c27a224ab09b9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "02aef54afe836a84cffb725578e1eb1b5abb5e18561bf685f9c27a224ab09b9c" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking num-complex v0.4.5
[INFO] [stderr]     Checking num-integer v0.1.46
[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)]` (part of `#[warn(unused)]`) 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<String, ndarray::ArrayBase<ndarray::OwnedRepr<f64>, Ix1>>
[INFO] [stdout]   |               ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<NonNanF64<'a>> {
[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<NonNanF64<'a>> {
[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<ndarray::OwnedRepr<f64>, 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<NonNanF64<'a>> {
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/types.rs:170:29
[INFO] [stdout]     |
[INFO] [stdout] 170 |     pub(crate) fn init_heap(&self, capacity: usize) -> AlgorithmHeapType {
[INFO] [stdout]     |                             ^^^^^                      ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided 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] 170 |     pub(crate) fn init_heap(&self, capacity: usize) -> AlgorithmHeapType<'_> {
[INFO] [stdout]     |                                                                         ++++
[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)]` (part of `#[warn(unused)]`) 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<NonNanF64<'a>> {
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/types.rs:170:29
[INFO] [stdout]     |
[INFO] [stdout] 170 |     pub(crate) fn init_heap(&self, capacity: usize) -> AlgorithmHeapType {
[INFO] [stdout]     |                             ^^^^^                      ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided 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] 170 |     pub(crate) fn init_heap(&self, capacity: usize) -> AlgorithmHeapType<'_> {
[INFO] [stdout]     |                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.06s
[INFO] running `Command { std: "docker" "inspect" "02aef54afe836a84cffb725578e1eb1b5abb5e18561bf685f9c27a224ab09b9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02aef54afe836a84cffb725578e1eb1b5abb5e18561bf685f9c27a224ab09b9c", kill_on_drop: false }`
[INFO] [stdout] 02aef54afe836a84cffb725578e1eb1b5abb5e18561bf685f9c27a224ab09b9c
