[INFO] cloning repository https://github.com/darwinfont2022/rust-dsa
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darwinfont2022/rust-dsa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarwinfont2022%2Frust-dsa", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarwinfont2022%2Frust-dsa'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 215e5db37d413736c5487ea4a5a79584fb3dd301
[INFO] checking darwinfont2022/rust-dsa against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarwinfont2022%2Frust-dsa" "/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/darwinfont2022/rust-dsa
[INFO] finished tweaking git repo https://github.com/darwinfont2022/rust-dsa
[INFO] tweaked toml for git repo https://github.com/darwinfont2022/rust-dsa written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/darwinfont2022/rust-dsa on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/darwinfont2022/rust-dsa 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4ced8874332ee840fdcfb69b04a5c462c15f8733564158eb905d243937e6dd99
[INFO] running `Command { std: "docker" "start" "4ced8874332ee840fdcfb69b04a5c462c15f8733564158eb905d243937e6dd99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ced8874332ee840fdcfb69b04a5c462c15f8733564158eb905d243937e6dd99", 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" "4ced8874332ee840fdcfb69b04a5c462c15f8733564158eb905d243937e6dd99" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ced8874332ee840fdcfb69b04a5c462c15f8733564158eb905d243937e6dd99", 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" "4ced8874332ee840fdcfb69b04a5c462c15f8733564158eb905d243937e6dd99" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking DSA v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]  --> src/second_largest_in_array/solution.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::i64::MIN;
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/second_largest_in_array/solution.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut first = MIN;
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/second_largest_in_array/solution.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut second = MIN;
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]  --> src/largest_three_distinct_elements_in_an_array.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::i32::MIN;
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/largest_three_distinct_elements_in_an_array.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut largest = MIN;
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/largest_three_distinct_elements_in_an_array.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut second = MIN;
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/largest_three_distinct_elements_in_an_array.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut third = MIN;
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]  --> src/second_largest_in_array/solution.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::i64::MIN;
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/second_largest_in_array/solution.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut first = MIN;
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/second_largest_in_array/solution.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut second = MIN;
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]  --> src/largest_three_distinct_elements_in_an_array.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::i32::MIN;
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/largest_three_distinct_elements_in_an_array.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut largest = MIN;
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/largest_three_distinct_elements_in_an_array.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut second = MIN;
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]   --> src/largest_three_distinct_elements_in_an_array.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut third = MIN;
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]  --> src/largest_element_in_array/solution.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn largest(array: Vec<i32>) -> i32 {
[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 `largest_recursive` is never used
[INFO] [stdout]   --> src/largest_element_in_array/solution.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn largest_recursive(array: Vec<i32>, i: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `second_largest_in_array` is never used
[INFO] [stdout]  --> src/second_largest_in_array/solution.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn second_largest_in_array(data: Vec<i64>) -> i64 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `second_largest_in_array2` is never used
[INFO] [stdout]   --> src/second_largest_in_array/solution.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn second_largest_in_array2(data: Vec<i64>) -> i64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_three_distinct_elements_in_an_array` is never used
[INFO] [stdout]  --> src/largest_three_distinct_elements_in_an_array.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn largest_three_distinct_elements_in_an_array(arr: &[i32]) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_first_n_nums` is never used
[INFO] [stdout]   --> src/find_the_missing_number.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn sum_first_n_nums(n: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_the_missing_number` is never used
[INFO] [stdout]   --> src/find_the_missing_number.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn find_the_missing_number(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_the_missing_number_2` is never used
[INFO] [stdout]   --> src/find_the_missing_number.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn find_the_missing_number_2(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "4ced8874332ee840fdcfb69b04a5c462c15f8733564158eb905d243937e6dd99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ced8874332ee840fdcfb69b04a5c462c15f8733564158eb905d243937e6dd99", kill_on_drop: false }`
[INFO] [stdout] 4ced8874332ee840fdcfb69b04a5c462c15f8733564158eb905d243937e6dd99
