[INFO] cloning repository https://github.com/AirChen/Algorithm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AirChen/Algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirChen%2FAlgorithm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirChen%2FAlgorithm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 57eec5f930831aa30ae56cdac2495d50783c9d27
[INFO] checking AirChen/Algorithm against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirChen%2FAlgorithm" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AirChen/Algorithm
[INFO] finished tweaking git repo https://github.com/AirChen/Algorithm
[INFO] tweaked toml for git repo https://github.com/AirChen/Algorithm written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AirChen/Algorithm on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AirChen/Algorithm 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 746e6840966985d3aa86b84eeacc3c6a2316e948104e015f1712fd450bd2f9eb
[INFO] running `Command { std: "docker" "start" "-a" "746e6840966985d3aa86b84eeacc3c6a2316e948104e015f1712fd450bd2f9eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "746e6840966985d3aa86b84eeacc3c6a2316e948104e015f1712fd450bd2f9eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "746e6840966985d3aa86b84eeacc3c6a2316e948104e015f1712fd450bd2f9eb", kill_on_drop: false }`
[INFO] [stdout] 746e6840966985d3aa86b84eeacc3c6a2316e948104e015f1712fd450bd2f9eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51f65ea92ec0c93a77f245162382acbfa82d381e555fc256ec4aab6946501e91
[INFO] running `Command { std: "docker" "start" "-a" "51f65ea92ec0c93a77f245162382acbfa82d381e555fc256ec4aab6946501e91", kill_on_drop: false }`
[INFO] [stderr]     Checking algorithm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `math::sqrt_newton`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use math::sqrt_newton;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `math::sqrt_bisection`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use math::sqrt_bisection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `math::sqrt_newton`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use math::sqrt_newton;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `math::sqrt_bisection`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use math::sqrt_bisection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last` is never read
[INFO] [stdout]   --> src/math.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut last = 0.0;
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last` is never read
[INFO] [stdout]   --> src/math.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut last: f64 = 0.0;
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `selectionSort`, `insertionSort`, `shellSort`, and `mergeSort` are never used
[INFO] [stdout]    --> src/sort.rs:4:12
[INFO] [stdout]     |
[INFO] [stdout] 3   | impl Sort {
[INFO] [stdout]     | --------- associated functions in this implementation
[INFO] [stdout] 4   |     pub fn new() -> Sort {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14  |     pub fn selectionSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31  |     pub fn insertionSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48  |     pub fn shellSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn mergeSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abs` is never used
[INFO] [stdout]   --> src/math.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn abs(x: f64) -> f64 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt_newton` is never used
[INFO] [stdout]   --> src/math.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn sqrt_newton(x: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt_bisection` is never used
[INFO] [stdout]   --> src/math.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn sqrt_bisection(x: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `selectionSort` should have a snake case name
[INFO] [stdout]   --> src/sort.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn selectionSort(arr: &mut [i32]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `selection_sort`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `minIdx` should have a snake case name
[INFO] [stdout]   --> src/sort.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let mut minIdx = idx;
[INFO] [stdout]    |                     ^^^^^^ help: convert the identifier to snake case: `min_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `insertionSort` should have a snake case name
[INFO] [stdout]   --> src/sort.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn insertionSort(arr: &mut [i32]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `insertion_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `shellSort` should have a snake case name
[INFO] [stdout]   --> src/sort.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn shellSort(arr: &mut [i32]) {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `shell_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `_mergeSort` should have a snake case name
[INFO] [stdout]    --> src/sort.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn _mergeSort(arr: &mut [i32], lo: usize, hi: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^ help: convert the identifier to snake case: `_merge_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mergeSort` should have a snake case name
[INFO] [stdout]    --> src/sort.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn mergeSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `merge_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `_quickSort` should have a snake case name
[INFO] [stdout]    --> src/sort.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 128 |     fn _quickSort(arr: &mut [i32], lo: usize, hi: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^ help: convert the identifier to snake case: `_quick_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `quickSort` should have a snake case name
[INFO] [stdout]    --> src/sort.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn quickSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `quick_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isNeg` should have a snake case name
[INFO] [stdout]    --> src/math.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut isNeg: bool = false;
[INFO] [stdout]     |             ^^^^^ help: convert the identifier to snake case: `is_neg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last` is never read
[INFO] [stdout]   --> src/math.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut last = 0.0;
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `last` is never read
[INFO] [stdout]   --> src/math.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut last: f64 = 0.0;
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `selectionSort`, `insertionSort`, `shellSort`, and `mergeSort` are never used
[INFO] [stdout]    --> src/sort.rs:4:12
[INFO] [stdout]     |
[INFO] [stdout] 3   | impl Sort {
[INFO] [stdout]     | --------- associated functions in this implementation
[INFO] [stdout] 4   |     pub fn new() -> Sort {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14  |     pub fn selectionSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31  |     pub fn insertionSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48  |     pub fn shellSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn mergeSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abs` is never used
[INFO] [stdout]   --> src/math.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn abs(x: f64) -> f64 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt_newton` is never used
[INFO] [stdout]   --> src/math.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn sqrt_newton(x: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt_bisection` is never used
[INFO] [stdout]   --> src/math.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn sqrt_bisection(x: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `selectionSort` should have a snake case name
[INFO] [stdout]   --> src/sort.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn selectionSort(arr: &mut [i32]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `selection_sort`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `minIdx` should have a snake case name
[INFO] [stdout]   --> src/sort.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let mut minIdx = idx;
[INFO] [stdout]    |                     ^^^^^^ help: convert the identifier to snake case: `min_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `insertionSort` should have a snake case name
[INFO] [stdout]   --> src/sort.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn insertionSort(arr: &mut [i32]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `insertion_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `shellSort` should have a snake case name
[INFO] [stdout]   --> src/sort.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn shellSort(arr: &mut [i32]) {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `shell_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `_mergeSort` should have a snake case name
[INFO] [stdout]    --> src/sort.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn _mergeSort(arr: &mut [i32], lo: usize, hi: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^ help: convert the identifier to snake case: `_merge_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mergeSort` should have a snake case name
[INFO] [stdout]    --> src/sort.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn mergeSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `merge_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `_quickSort` should have a snake case name
[INFO] [stdout]    --> src/sort.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 128 |     fn _quickSort(arr: &mut [i32], lo: usize, hi: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^ help: convert the identifier to snake case: `_quick_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `quickSort` should have a snake case name
[INFO] [stdout]    --> src/sort.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn quickSort(arr: &mut [i32]) {
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `quick_sort`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isNeg` should have a snake case name
[INFO] [stdout]    --> src/math.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut isNeg: bool = false;
[INFO] [stdout]     |             ^^^^^ help: convert the identifier to snake case: `is_neg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "51f65ea92ec0c93a77f245162382acbfa82d381e555fc256ec4aab6946501e91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51f65ea92ec0c93a77f245162382acbfa82d381e555fc256ec4aab6946501e91", kill_on_drop: false }`
[INFO] [stdout] 51f65ea92ec0c93a77f245162382acbfa82d381e555fc256ec4aab6946501e91
