[INFO] fetching crate algorithm_rust 0.6.0...
[INFO] checking algorithm_rust-0.6.0 against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289
[INFO] extracting crate algorithm_rust 0.6.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate algorithm_rust 0.6.0 on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-1-tc1/source/Cargo.toml
[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" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d38dc91ee4c6b47b711abedd099a3a8b493ce0e23cb94d438121b929255ba6a
[INFO] running `Command { std: "docker" "start" "-a" "7d38dc91ee4c6b47b711abedd099a3a8b493ce0e23cb94d438121b929255ba6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d38dc91ee4c6b47b711abedd099a3a8b493ce0e23cb94d438121b929255ba6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d38dc91ee4c6b47b711abedd099a3a8b493ce0e23cb94d438121b929255ba6a", kill_on_drop: false }`
[INFO] [stdout] 7d38dc91ee4c6b47b711abedd099a3a8b493ce0e23cb94d438121b929255ba6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ae6a4b60f52b29c90981f9654deca6aea6de03304a25c3902827edd4b229264
[INFO] running `Command { std: "docker" "start" "-a" "2ae6a4b60f52b29c90981f9654deca6aea6de03304a25c3902827edd4b229264", kill_on_drop: false }`
[INFO] [stderr]     Checking 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] 28 | |         i -= 1;
[INFO] [stdout] 29 | |     }
[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)]` 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)]` 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)]` on by default
[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] 28 | |         i -= 1;
[INFO] [stdout] 29 | |     }
[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)]` 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)]` 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)]` 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: 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)]` 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)]` 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: 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)]` 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)]` 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)]` 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.17s
[INFO] running `Command { std: "docker" "inspect" "2ae6a4b60f52b29c90981f9654deca6aea6de03304a25c3902827edd4b229264", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ae6a4b60f52b29c90981f9654deca6aea6de03304a25c3902827edd4b229264", kill_on_drop: false }`
[INFO] [stdout] 2ae6a4b60f52b29c90981f9654deca6aea6de03304a25c3902827edd4b229264
