[INFO] fetching crate algorithm_rust 0.6.0...
[INFO] testing algorithm_rust-0.6.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate algorithm_rust 0.6.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate algorithm_rust 0.6.0
[INFO] finished tweaking crates.io crate algorithm_rust 0.6.0
[INFO] tweaked toml for crates.io crate algorithm_rust 0.6.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate algorithm_rust 0.6.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate algorithm_rust 0.6.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ecac755275812db107f47af45b031ded904f7e2bba04cd6430473aab341875ac
[INFO] running `Command { std: "docker" "start" "-a" "ecac755275812db107f47af45b031ded904f7e2bba04cd6430473aab341875ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ecac755275812db107f47af45b031ded904f7e2bba04cd6430473aab341875ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecac755275812db107f47af45b031ded904f7e2bba04cd6430473aab341875ac", kill_on_drop: false }`
[INFO] [stdout] ecac755275812db107f47af45b031ded904f7e2bba04cd6430473aab341875ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dbcac0bbae05df9c562b3444b2075d6363ac4b0d5c6f07278d2cda748cf4f52c
[INFO] running `Command { std: "docker" "start" "-a" "dbcac0bbae05df9c562b3444b2075d6363ac4b0d5c6f07278d2cda748cf4f52c", kill_on_drop: false }`
[INFO] [stderr]    Compiling algorithm_rust v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/sort/binary.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |       ///当最后一个元素与前面相同时会出现问题,所以执行一次插入排序 损耗为n
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 | /     if (*array)[(*array).len() - 1] < (*array)[(*array).len() - 2] {
[INFO] [stdout] 25 | |     let mut i = (*array).len() - 1;
[INFO] [stdout] 26 | |     while i > 0 && (*array)[i - 1] >=(*array)[i] {
[INFO] [stdout] 27 | |         (*array).swap(i,i - 1);
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     }
[INFO] [stdout]    | |_____- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Div`
[INFO] [stdout]  --> src/matrix/matrix.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div};
[INFO] [stdout]   |                               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Eq`
[INFO] [stdout]  --> src/matrix/matrix.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::{PartialEq, Eq};
[INFO] [stdout]   |                           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Max_Priority_Queue` should have an upper camel case name
[INFO] [stdout]   --> src/structure/priority_queue.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Max_Priority_Queue<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MaxPriorityQueue`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_subarray` is never used
[INFO] [stdout]   --> src/subarray/merge_max.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn merge_subarray<T>(array: &[T]) -> (usize, usize, T)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]  --> src/matrix/square.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn add<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]   |                               ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]  --> src/matrix/square.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn add<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]   |                                                   ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]  --> src/matrix/square.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut C = (n, [T::default(); Q]);
[INFO] [stdout]   |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]   --> src/matrix/square.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn multiply<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]    |                                    ^ help: convert the identifier to snake case: `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/matrix/square.rs:23:56
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn multiply<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]    |                                                        ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]   --> src/matrix/square.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut C = (n, [T::default(); Q]);
[INFO] [stdout]    |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DFT` should have a snake case name
[INFO] [stdout]  --> src/math/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod DFT;
[INFO] [stdout]   |     ^^^ help: convert the identifier to snake case: `dft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `DFT` should have a snake case name
[INFO] [stdout]   --> src/math/DFT.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn DFT<T: Copy + Default + std::convert::From<f64>>(signal: &[T]) -> Vec<Complex<T>> 
[INFO] [stdout]    |        ^^^ help: convert the identifier to snake case: `dft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "dbcac0bbae05df9c562b3444b2075d6363ac4b0d5c6f07278d2cda748cf4f52c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbcac0bbae05df9c562b3444b2075d6363ac4b0d5c6f07278d2cda748cf4f52c", kill_on_drop: false }`
[INFO] [stdout] dbcac0bbae05df9c562b3444b2075d6363ac4b0d5c6f07278d2cda748cf4f52c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7c196188523f9a002604026fd13f38d8bfbc44383d2229e4a134c711834caff
[INFO] running `Command { std: "docker" "start" "-a" "c7c196188523f9a002604026fd13f38d8bfbc44383d2229e4a134c711834caff", kill_on_drop: false }`
[INFO] [stderr]    Compiling algorithm_rust v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/sort/binary.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |       ///当最后一个元素与前面相同时会出现问题,所以执行一次插入排序 损耗为n
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 | /     if (*array)[(*array).len() - 1] < (*array)[(*array).len() - 2] {
[INFO] [stdout] 25 | |     let mut i = (*array).len() - 1;
[INFO] [stdout] 26 | |     while i > 0 && (*array)[i - 1] >=(*array)[i] {
[INFO] [stdout] 27 | |         (*array).swap(i,i - 1);
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     }
[INFO] [stdout]    | |_____- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Div`
[INFO] [stdout]  --> src/matrix/matrix.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div};
[INFO] [stdout]   |                               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Eq`
[INFO] [stdout]  --> src/matrix/matrix.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::{PartialEq, Eq};
[INFO] [stdout]   |                           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Max_Priority_Queue` should have an upper camel case name
[INFO] [stdout]   --> src/structure/priority_queue.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Max_Priority_Queue<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MaxPriorityQueue`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_subarray` is never used
[INFO] [stdout]   --> src/subarray/merge_max.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn merge_subarray<T>(array: &[T]) -> (usize, usize, T)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]  --> src/matrix/square.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn add<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]   |                               ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]  --> src/matrix/square.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn add<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]   |                                                   ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]  --> src/matrix/square.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut C = (n, [T::default(); Q]);
[INFO] [stdout]   |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]   --> src/matrix/square.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn multiply<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]    |                                    ^ help: convert the identifier to snake case: `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/matrix/square.rs:23:56
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn multiply<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]    |                                                        ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]   --> src/matrix/square.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut C = (n, [T::default(); Q]);
[INFO] [stdout]    |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DFT` should have a snake case name
[INFO] [stdout]  --> src/math/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod DFT;
[INFO] [stdout]   |     ^^^ help: convert the identifier to snake case: `dft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `DFT` should have a snake case name
[INFO] [stdout]   --> src/math/DFT.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn DFT<T: Copy + Default + std::convert::From<f64>>(signal: &[T]) -> Vec<Complex<T>> 
[INFO] [stdout]    |        ^^^ help: convert the identifier to snake case: `dft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/sort/binary.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |       ///当最后一个元素与前面相同时会出现问题,所以执行一次插入排序 损耗为n
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 | /     if (*array)[(*array).len() - 1] < (*array)[(*array).len() - 2] {
[INFO] [stdout] 25 | |     let mut i = (*array).len() - 1;
[INFO] [stdout] 26 | |     while i > 0 && (*array)[i - 1] >=(*array)[i] {
[INFO] [stdout] 27 | |         (*array).swap(i,i - 1);
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     }
[INFO] [stdout]    | |_____- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Div`
[INFO] [stdout]  --> src/matrix/matrix.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div};
[INFO] [stdout]   |                               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Eq`
[INFO] [stdout]  --> src/matrix/matrix.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::{PartialEq, Eq};
[INFO] [stdout]   |                           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Max_Priority_Queue` should have an upper camel case name
[INFO] [stdout]   --> src/structure/priority_queue.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Max_Priority_Queue<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MaxPriorityQueue`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::structure::LinkedList`
[INFO] [stdout]   --> src/lib.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     use crate::structure::LinkedList;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::structure::LinkedListNode`
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     use crate::structure::LinkedListNode;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:112:10
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let mut planets = vec!["Mercury", "Venus", "Mars", "Jupiter", "Saturn", "Uranus"];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_subarray` is never used
[INFO] [stdout]   --> src/subarray/merge_max.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn merge_subarray<T>(array: &[T]) -> (usize, usize, T)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_add_method_1` is never used
[INFO] [stdout]    --> src/lib.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn test_add_method_1() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]  --> src/matrix/square.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn add<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]   |                               ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]  --> src/matrix/square.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn add<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]   |                                                   ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]  --> src/matrix/square.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut C = (n, [T::default(); Q]);
[INFO] [stdout]   |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]   --> src/matrix/square.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn multiply<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]    |                                    ^ help: convert the identifier to snake case: `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/matrix/square.rs:23:56
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn multiply<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stdout]    |                                                        ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]   --> src/matrix/square.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut C = (n, [T::default(); Q]);
[INFO] [stdout]    |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `DFT` should have a snake case name
[INFO] [stdout]  --> src/math/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod DFT;
[INFO] [stdout]   |     ^^^ help: convert the identifier to snake case: `dft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `DFT` should have a snake case name
[INFO] [stdout]   --> src/math/DFT.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn DFT<T: Copy + Default + std::convert::From<f64>>(signal: &[T]) -> Vec<Complex<T>> 
[INFO] [stdout]    |        ^^^ help: convert the identifier to snake case: `dft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s
[INFO] running `Command { std: "docker" "inspect" "c7c196188523f9a002604026fd13f38d8bfbc44383d2229e4a134c711834caff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7c196188523f9a002604026fd13f38d8bfbc44383d2229e4a134c711834caff", kill_on_drop: false }`
[INFO] [stdout] c7c196188523f9a002604026fd13f38d8bfbc44383d2229e4a134c711834caff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1ac43b5553ab219f40edc44842e9c98c990065a63dcfec4c0ddc10d538d0cd37
[INFO] running `Command { std: "docker" "start" "-a" "1ac43b5553ab219f40edc44842e9c98c990065a63dcfec4c0ddc10d538d0cd37", kill_on_drop: false }`
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/sort/binary.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |       ///当最后一个元素与前面相同时会出现问题,所以执行一次插入排序 损耗为n
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 24 | /     if (*array)[(*array).len() - 1] < (*array)[(*array).len() - 2] {
[INFO] [stderr] 25 | |     let mut i = (*array).len() - 1;
[INFO] [stderr] 26 | |     while i > 0 && (*array)[i - 1] >=(*array)[i] {
[INFO] [stderr] 27 | |         (*array).swap(i,i - 1);
[INFO] [stderr] ...  |
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____- rustdoc does not generate documentation for expressions
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Div`
[INFO] [stderr]  --> src/matrix/matrix.rs:1:31
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::{Add, Sub, Mul, Div};
[INFO] [stderr]   |                               ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Eq`
[INFO] [stderr]  --> src/matrix/matrix.rs:2:27
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::cmp::{PartialEq, Eq};
[INFO] [stderr]   |                           ^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `Max_Priority_Queue` should have an upper camel case name
[INFO] [stderr]   --> src/structure/priority_queue.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct Max_Priority_Queue<T> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MaxPriorityQueue`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `merge_subarray` is never used
[INFO] [stderr]   --> src/subarray/merge_max.rs:37:8
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn merge_subarray<T>(array: &[T]) -> (usize, usize, T)
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `A` should have a snake case name
[INFO] [stderr]  --> src/matrix/square.rs:4:31
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn add<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stderr]   |                               ^ help: convert the identifier to snake case: `a`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `B` should have a snake case name
[INFO] [stderr]  --> src/matrix/square.rs:4:51
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn add<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stderr]   |                                                   ^ help: convert the identifier to snake case: `b`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `C` should have a snake case name
[INFO] [stderr]  --> src/matrix/square.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 |     let mut C = (n, [T::default(); Q]);
[INFO] [stderr]   |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `A` should have a snake case name
[INFO] [stderr]   --> src/matrix/square.rs:23:36
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub fn multiply<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stderr]    |                                    ^ help: convert the identifier to snake case: `a`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `B` should have a snake case name
[INFO] [stderr]   --> src/matrix/square.rs:23:56
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub fn multiply<T, const Q: usize>(A: (usize, [T; Q]), B: (usize, [T; Q])) -> (usize, [T; Q])
[INFO] [stderr]    |                                                        ^ help: convert the identifier to snake case: `b`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `C` should have a snake case name
[INFO] [stderr]   --> src/matrix/square.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let mut C = (n, [T::default(); Q]);
[INFO] [stderr]    |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stderr] 
[INFO] [stderr] warning: module `DFT` should have a snake case name
[INFO] [stderr]  --> src/math/mod.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | mod DFT;
[INFO] [stderr]   |     ^^^ help: convert the identifier to snake case: `dft`
[INFO] [stderr] 
[INFO] [stderr] warning: function `DFT` should have a snake case name
[INFO] [stderr]   --> src/math/DFT.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn DFT<T: Copy + Default + std::convert::From<f64>>(signal: &[T]) -> Vec<Complex<T>> 
[INFO] [stderr]    |        ^^^ help: convert the identifier to snake case: `dft`
[INFO] [stderr] 
[INFO] [stderr] warning: `algorithm_rust` (lib) generated 13 warnings (run `cargo fix --lib -p algorithm_rust` to apply 2 suggestions)
[INFO] [stderr] warning: unused import: `crate::structure::LinkedList`
[INFO] [stderr]   --> src/lib.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     use crate::structure::LinkedList;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::structure::LinkedListNode`
[INFO] [stderr]   --> src/lib.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |     use crate::structure::LinkedListNode;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/lib.rs:112:10
[INFO] [stderr]     |
[INFO] [stderr] 112 |         let mut planets = vec!["Mercury", "Venus", "Mars", "Jupiter", "Saturn", "Uranus"];
[INFO] [stderr]     |             ----^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_add_method_1` is never used
[INFO] [stderr]    --> src/lib.rs:111:5
[INFO] [stderr]     |
[INFO] [stderr] 111 |     fn test_add_method_1() {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `algorithm_rust` (lib test) generated 17 warnings (13 duplicates) (run `cargo fix --lib -p algorithm_rust --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/algorithm_rust-4fc135228ac75cca)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/algorithm_rust-c48d9e0fb2f2cbab)
[INFO] [stdout] test tests::test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests algorithm_rust
[INFO] [stderr] warning: type `Max_Priority_Queue` should have an upper camel case name
[INFO] [stderr]   --> src/structure/priority_queue.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct Max_Priority_Queue<T> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MaxPriorityQueue`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 23 tests
[INFO] [stdout] test src/search/binary.rs - search::binary::search (line 5) ... FAILED
[INFO] [stdout] test src/search/min_and_max.rs - search::min_and_max::find_min_max (line 5) ... FAILED
[INFO] [stdout] test src/sort/quicksort.rs - sort::quicksort::quicksort (line 5) ... FAILED
[INFO] [stdout] test src/sort/bubble.rs - sort::bubble::sort (line 5) ... FAILED
[INFO] [stdout] test src/sort/merge.rs - sort::merge::sort (line 36) ... FAILED
[INFO] [stdout] test src/sort/selection.rs - sort::selection::sort (line 5) ... FAILED
[INFO] [stdout] test src/sort/binary.rs - sort::binary::sort (line 3) ... FAILED
[INFO] [stdout] test src/search/linearity.rs - search::linearity::search (line 4) ... FAILED
[INFO] [stdout] test src/search/max.rs - search::max::max (line 3) ... FAILED
[INFO] [stdout] test src/matrix/matrix.rs - matrix::matrix::Matrix (line 9) ... FAILED
[INFO] [stdout] test src/sort/heap.rs - sort::heap::max (line 4) ... FAILED
[INFO] [stdout] test src/structure/complex.rs - structure::complex::Complex<T> (line 61) ... FAILED
[INFO] [stdout] test src/sort/pattern.rs - sort::pattern::pattern_defeating_quicksort (line 18) ... FAILED
[INFO] [stdout] test src/sort/radix.rs - sort::radix::radix_sort (line 32) ... FAILED
[INFO] [stdout] test src/structure/binarytree.rs - structure::binarytree::BinaryTree (line 3) ... FAILED
[INFO] [stdout] test src/search/min.rs - search::min::min (line 3) ... FAILED
[INFO] [stdout] test src/structure/complex.rs - structure::complex::Complex (line 12) ... FAILED
[INFO] [stdout] test src/sort/insertion.rs - sort::insertion::sort (line 4) ... FAILED
[INFO] [stdout] test src/structure/priority_queue.rs - structure::priority_queue::Max_Priority_Queue (line 3) ... FAILED
[INFO] [stdout] test src/sort/count.rs - sort::count::count_sort (line 4) ... FAILED
[INFO] [stdout] test src/structure/linkedlist.rs - structure::linkedlist::LinkedList (line 10) ... FAILED
[INFO] [stdout] test src/math/DFT.rs - math::DFT::DFT (line 6) ... FAILED
[INFO] [stdout] test src/structure/stack.rs - structure::stack::Stack (line 3) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/search/binary.rs - search::binary::search (line 5) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/search/binary.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use algori::sort::pdqsort;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/search/binary.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use algori::search::binary_search;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/search/min_and_max.rs - search::min_and_max::find_min_max (line 5) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/search/min_and_max.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use algori::search::min_and_max;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/quicksort.rs - sort::quicksort::quicksort (line 5) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/sort/quicksort.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use algori::sort::quicksort;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/bubble.rs - sort::bubble::sort (line 5) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/sort/bubble.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use algori::sort::bubble_sort;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/merge.rs - sort::merge::sort (line 36) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   --> src/sort/merge.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use algori::sort::merge_sort;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/selection.rs - sort::selection::sort (line 5) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/sort/selection.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use algori::sort::selection_sort;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/binary.rs - sort::binary::sort (line 3) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/sort/binary.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use algori::sort::binary_sort;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/search/linearity.rs - search::linearity::search (line 4) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/search/linearity.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use algori::search::linearity_search;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/search/max.rs - search::max::max (line 3) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/search/max.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use algori::search::max_search;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/matrix/matrix.rs - matrix::matrix::Matrix (line 9) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   --> src/matrix/matrix.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use algori::matrix::Matrix;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/heap.rs - sort::heap::max (line 4) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/sort/heap.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use algori::sort::heap_max_sort;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure/complex.rs - structure::complex::Complex<T> (line 61) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   --> src/structure/complex.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | use algori::structure::Complex;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/pattern.rs - sort::pattern::pattern_defeating_quicksort (line 18) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   --> src/sort/pattern.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use algori::sort::pdqsort;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/radix.rs - sort::radix::radix_sort (line 32) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   --> src/sort/radix.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use algori::sort::radix_sort;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure/binarytree.rs - structure::binarytree::BinaryTree (line 3) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/structure/binarytree.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use algori::structure::BinaryTree;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/search/min.rs - search::min::min (line 3) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/search/min.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use algori::search::min_search;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure/complex.rs - structure::complex::Complex (line 12) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   --> src/structure/complex.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use algori::structure::Complex;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/insertion.rs - sort::insertion::sort (line 4) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/sort/insertion.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use algori::sort::insertion_sort;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure/priority_queue.rs - structure::priority_queue::Max_Priority_Queue (line 3) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/structure/priority_queue.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use algori::structure::MaxPriorityQueue;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sort/count.rs - sort::count::count_sort (line 4) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/sort/count.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use algori::sort::count_sort;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure/linkedlist.rs - structure::linkedlist::LinkedList (line 10) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   --> src/structure/linkedlist.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use algori::structure::LinkedList;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/DFT.rs - math::DFT::DFT (line 6) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/math/DFT.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |    let spectrum = algori::math::dft(&signal);
[INFO] [stdout]   |                   ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 6 + use algorithm_rust::math;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `math`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 8 -    let spectrum = algori::math::dft(&signal);
[INFO] [stdout] 8 +    let spectrum = math::dft(&signal);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure/stack.rs - structure::stack::Stack (line 3) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `algori`
[INFO] [stdout]  --> src/structure/stack.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use algori::structure::Stack;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `algori`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `algori`, use `cargo add algori` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/math/DFT.rs - math::DFT::DFT (line 6)
[INFO] [stdout]     src/matrix/matrix.rs - matrix::matrix::Matrix (line 9)
[INFO] [stdout]     src/search/binary.rs - search::binary::search (line 5)
[INFO] [stdout]     src/search/linearity.rs - search::linearity::search (line 4)
[INFO] [stdout]     src/search/max.rs - search::max::max (line 3)
[INFO] [stdout]     src/search/min.rs - search::min::min (line 3)
[INFO] [stdout]     src/search/min_and_max.rs - search::min_and_max::find_min_max (line 5)
[INFO] [stdout]     src/sort/binary.rs - sort::binary::sort (line 3)
[INFO] [stdout]     src/sort/bubble.rs - sort::bubble::sort (line 5)
[INFO] [stdout]     src/sort/count.rs - sort::count::count_sort (line 4)
[INFO] [stdout]     src/sort/heap.rs - sort::heap::max (line 4)
[INFO] [stdout]     src/sort/insertion.rs - sort::insertion::sort (line 4)
[INFO] [stdout]     src/sort/merge.rs - sort::merge::sort (line 36)
[INFO] [stdout]     src/sort/pattern.rs - sort::pattern::pattern_defeating_quicksort (line 18)
[INFO] [stdout]     src/sort/quicksort.rs - sort::quicksort::quicksort (line 5)
[INFO] [stdout]     src/sort/radix.rs - sort::radix::radix_sort (line 32)
[INFO] [stdout]     src/sort/selection.rs - sort::selection::sort (line 5)
[INFO] [stdout]     src/structure/binarytree.rs - structure::binarytree::BinaryTree (line 3)
[INFO] [stdout]     src/structure/complex.rs - structure::complex::Complex (line 12)
[INFO] [stdout]     src/structure/complex.rs - structure::complex::Complex<T> (line 61)
[INFO] [stdout]     src/structure/linkedlist.rs - structure::linkedlist::LinkedList (line 10)
[INFO] [stdout]     src/structure/priority_queue.rs - structure::priority_queue::Max_Priority_Queue (line 3)
[INFO] [stdout]     src/structure/stack.rs - structure::stack::Stack (line 3)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 23 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1ac43b5553ab219f40edc44842e9c98c990065a63dcfec4c0ddc10d538d0cd37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ac43b5553ab219f40edc44842e9c98c990065a63dcfec4c0ddc10d538d0cd37", kill_on_drop: false }`
[INFO] [stdout] 1ac43b5553ab219f40edc44842e9c98c990065a63dcfec4c0ddc10d538d0cd37
