[INFO] cloning repository https://github.com/CodingInGreen/algorithms
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CodingInGreen/algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodingInGreen%2Falgorithms", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodingInGreen%2Falgorithms'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 564c150ffa60f9af7cc7d5e43a3e3403ac96480d
[INFO] checking CodingInGreen/algorithms against master#da2544bfbe84df7b24d83c029c74299ebf6112c6 for pr-149681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodingInGreen%2Falgorithms" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CodingInGreen/algorithms
[INFO] finished tweaking git repo https://github.com/CodingInGreen/algorithms
[INFO] tweaked toml for git repo https://github.com/CodingInGreen/algorithms written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CodingInGreen/algorithms on toolchain da2544bfbe84df7b24d83c029c74299ebf6112c6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CodingInGreen/algorithms 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" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a35266c6cd5609494fa9d6c0c250d77b32a219025ea41e96994a72f8e39dd473
[INFO] running `Command { std: "docker" "start" "-a" "a35266c6cd5609494fa9d6c0c250d77b32a219025ea41e96994a72f8e39dd473", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a35266c6cd5609494fa9d6c0c250d77b32a219025ea41e96994a72f8e39dd473", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a35266c6cd5609494fa9d6c0c250d77b32a219025ea41e96994a72f8e39dd473", kill_on_drop: false }`
[INFO] [stdout] a35266c6cd5609494fa9d6c0c250d77b32a219025ea41e96994a72f8e39dd473
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05c01852c5a5b516985f3c49fa53cf625e1ec3c70624f78320c5f24d76bd4618
[INFO] running `Command { std: "docker" "start" "-a" "05c01852c5a5b516985f3c49fa53cf625e1ec3c70624f78320c5f24d76bd4618", kill_on_drop: false }`
[INFO] [stderr]     Checking algorithms v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `build_tree_from_vec` is never used
[INFO] [stdout]   --> bin/105_construct_binary_tree_from_preorder_and_inorder_traversal.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn build_tree_from_vec(values: Vec<Option<i32>>) -> Option<Rc<RefCell<TreeNode>>> {
[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 `are_trees_equal` is never used
[INFO] [stdout]   --> bin/105_construct_binary_tree_from_preorder_and_inorder_traversal.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn are_trees_equal(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> bin/15_3sum.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]   --> bin/100_same_tree.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::VecDeque;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinStack` is never constructed
[INFO] [stdout]   --> bin/155_min_stack.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct MinStack {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `get_min` are never used
[INFO] [stdout]   --> bin/155_min_stack.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl MinStack {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 26 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn push(&mut self, val: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn pop(&mut self) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn top(&self) -> Option<i32> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn get_min(&self) -> Option<i32> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `100_same_tree`
[INFO] [stdout]    --> bin/100_same_tree.rs:104:2
[INFO] [stdout]     |
[INFO] [stdout] 104 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `bin/100_same_tree.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `three_sum` is never used
[INFO] [stdout]   --> bin/15_3sum.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> bin/20_valid_parentheses.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid` is never used
[INFO] [stdout]   --> bin/20_valid_parentheses.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn is_valid(s: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `algorithms` (bin "100_same_tree") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0601]: `main` function not found in crate `141_linked_list_cycles`
[INFO] [stdout]   --> bin/141_linked_list_cycles.rs:87:2
[INFO] [stdout]    |
[INFO] [stdout] 87 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `bin/141_linked_list_cycles.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> bin/121_best_time_to_buy_and_sell_stock.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]   --> bin/121_best_time_to_buy_and_sell_stock.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `algorithms` (bin "141_linked_list_cycles") due to 1 previous error
[INFO] [stdout] warning: function `contains_duplicate` is never used
[INFO] [stdout]  --> bin/217_contains_duplicate.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn contains_duplicate(nums: Vec<i32>) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `269_alien_dictionary`
[INFO] [stdout]    --> bin/269_alien_dictionary.rs:116:2
[INFO] [stdout]     |
[INFO] [stdout] 116 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `bin/269_alien_dictionary.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `algorithms` (bin "269_alien_dictionary") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "05c01852c5a5b516985f3c49fa53cf625e1ec3c70624f78320c5f24d76bd4618", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05c01852c5a5b516985f3c49fa53cf625e1ec3c70624f78320c5f24d76bd4618", kill_on_drop: false }`
[INFO] [stdout] 05c01852c5a5b516985f3c49fa53cf625e1ec3c70624f78320c5f24d76bd4618
