[INFO] cloning repository https://github.com/shakyShane/dsa
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shakyShane/dsa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshakyShane%2Fdsa", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshakyShane%2Fdsa'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 623e21cdc47c9ee74268456f1f4943a27b46065f
[INFO] checking shakyShane/dsa against c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshakyShane%2Fdsa" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shakyShane/dsa
[INFO] finished tweaking git repo https://github.com/shakyShane/dsa
[INFO] tweaked toml for git repo https://github.com/shakyShane/dsa written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shakyShane/dsa on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shakyShane/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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 45a0f1594ab94c16650b35e819bb7637e68123ea362f22997344bd4e7ab58932
[INFO] running `Command { std: "docker" "start" "45a0f1594ab94c16650b35e819bb7637e68123ea362f22997344bd4e7ab58932", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45a0f1594ab94c16650b35e819bb7637e68123ea362f22997344bd4e7ab58932", 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" "45a0f1594ab94c16650b35e819bb7637e68123ea362f22997344bd4e7ab58932" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45a0f1594ab94c16650b35e819bb7637e68123ea362f22997344bd4e7ab58932", 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" "45a0f1594ab94c16650b35e819bb7637e68123ea362f22997344bd4e7ab58932" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "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: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/coins.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `balanced_recursive` is never used
[INFO] [stdout]  --> src/balanced_recursive.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn balanced_recursive(input: &str) -> bool {
[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 `expect` is never used
[INFO] [stdout]  --> src/balanced_recursive.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn expect(end: Option<char>, input: &mut Chars) -> bool {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `balanced` is never used
[INFO] [stdout]  --> src/balanced_stack.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn balanced(input: &str) -> bool {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binary_search` is never used
[INFO] [stdout]   --> src/binary_search.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn binary_search(k: i32, items: &[i32]) -> Option<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_matrix` is never used
[INFO] [stdout]  --> src/coins.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn count_matrix(matrix: &[Vec<usize>]) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coins` is never used
[INFO] [stdout]  --> src/coins.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn coins(m: usize, n: usize, matrix: &[Vec<usize>]) -> usize {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quicksort` is never used
[INFO] [stdout]  --> src/quick_sort_1.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn quicksort(a: &mut [usize], lo: usize, hi: usize) {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partition` is never used
[INFO] [stdout]   --> src/quick_sort_1.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn partition(a: &mut [usize], lo: usize, hi: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `swap` is never used
[INFO] [stdout]   --> src/quick_sort_1.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn swap(a: &mut [usize], lo: usize, hi: usize) {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/serialize_tree.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `serialize` are never used
[INFO] [stdout]   --> src/serialize_tree.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Node {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout]  9 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn serialize(root: &Option<Box<Node>>) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tree` is never constructed
[INFO] [stdout]   --> src/serialize_tree.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct Tree {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `deserialize` and `from_str` are never used
[INFO] [stdout]   --> src/serialize_tree.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Tree {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn deserialize(&mut self) -> Option<Box<Node>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn from_str(input: impl Into<String>) -> Tree {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/unival_subtrees.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/unival_subtrees.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Node {
[INFO] [stdout]   | --------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn new(value: impl Into<String>, left: Option<Box<Node>>, right: Option<Box<Node>>) -> Node {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_unival_subtrees` is never used
[INFO] [stdout]   --> src/unival_subtrees.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn count_unival_subtrees(root: &Option<Box<Node>>) -> (usize, bool) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_of_two_bruteforce` is never used
[INFO] [stdout]  --> src/sum_of_two.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn sum_of_two_bruteforce(arr1: &[usize], arr2: &[usize], value: usize) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_of_two` is never used
[INFO] [stdout]   --> src/sum_of_two.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn sum_of_two(arr1: &[usize], arr2: &[usize], value: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_of_two_functional` is never used
[INFO] [stdout]   --> src/sum_of_two.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn sum_of_two_functional(arr1: &[usize], arr2: &[usize], value: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/coins.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_matrix` is never used
[INFO] [stdout]  --> src/coins.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn count_matrix(matrix: &[Vec<usize>]) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "45a0f1594ab94c16650b35e819bb7637e68123ea362f22997344bd4e7ab58932", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45a0f1594ab94c16650b35e819bb7637e68123ea362f22997344bd4e7ab58932", kill_on_drop: false }`
[INFO] [stdout] 45a0f1594ab94c16650b35e819bb7637e68123ea362f22997344bd4e7ab58932
