[INFO] cloning repository https://github.com/saurabhkaul/rust-leetcode-practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saurabhkaul/rust-leetcode-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaurabhkaul%2Frust-leetcode-practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaurabhkaul%2Frust-leetcode-practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1920b90d9b9546da209a4742c4f8723521051df1
[INFO] checking saurabhkaul/rust-leetcode-practice against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaurabhkaul%2Frust-leetcode-practice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/saurabhkaul/rust-leetcode-practice
[INFO] finished tweaking git repo https://github.com/saurabhkaul/rust-leetcode-practice
[INFO] tweaked toml for git repo https://github.com/saurabhkaul/rust-leetcode-practice written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/saurabhkaul/rust-leetcode-practice on toolchain bac5816c5f3d02cebd0599070af62d1782530294
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/saurabhkaul/rust-leetcode-practice 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking saurabhkaul/rust-leetcode-practice against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaurabhkaul%2Frust-leetcode-practice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/saurabhkaul/rust-leetcode-practice
[INFO] finished tweaking git repo https://github.com/saurabhkaul/rust-leetcode-practice
[INFO] tweaked toml for git repo https://github.com/saurabhkaul/rust-leetcode-practice written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/saurabhkaul/rust-leetcode-practice on toolchain bac5816c5f3d02cebd0599070af62d1782530294
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/saurabhkaul/rust-leetcode-practice 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a904ffe41945c65d1b05d9156d7e931c55e43f497b7f2afb02bf7db64d051c94
[INFO] running `Command { std: "docker" "start" "-a" "a904ffe41945c65d1b05d9156d7e931c55e43f497b7f2afb02bf7db64d051c94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a904ffe41945c65d1b05d9156d7e931c55e43f497b7f2afb02bf7db64d051c94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a904ffe41945c65d1b05d9156d7e931c55e43f497b7f2afb02bf7db64d051c94", kill_on_drop: false }`
[INFO] [stdout] a904ffe41945c65d1b05d9156d7e931c55e43f497b7f2afb02bf7db64d051c94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+bac5816c5f3d02cebd0599070af62d1782530294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43e75a2799aa78659f395e12a26eef867a0ebfb2b8cf94e1262770d7a45583d1
[INFO] running `Command { std: "docker" "start" "-a" "43e75a2799aa78659f395e12a26eef867a0ebfb2b8cf94e1262770d7a45583d1", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_leetcode_practice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/problems/invert_binary_tree.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 19 + use crate::problems::Solution;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TreeNode` in this scope
[INFO] [stdout]   --> src/problems/invert_binary_tree.rs:22:48
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<TreeNode> Solution {
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TreeNode` in this scope
[INFO] [stdout]   --> src/problems/invert_binary_tree.rs:22:82
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |                                                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<TreeNode> Solution {
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]  --> src/problems/rotate_string.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   |      ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use crate::problems::Solution;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `run` in module `remove_n_from_end_link_list`
[INFO] [stdout]   --> src/main.rs:12:51
[INFO] [stdout]    |
[INFO] [stdout] 12 |     println!("{:?}", remove_n_from_end_link_list::run(Some(new_list), 2))
[INFO] [stdout]    |                                                   ^^^ not found in `remove_n_from_end_link_list`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  2 + use crate::reverse_integer::run;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `run`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 -     println!("{:?}", remove_n_from_end_link_list::run(Some(new_list), 2))
[INFO] [stdout] 12 +     println!("{:?}", run(Some(new_list), 2))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/problems/invert_binary_tree.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 19 + use crate::problems::Solution;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TreeNode` in this scope
[INFO] [stdout]   --> src/problems/invert_binary_tree.rs:22:48
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<TreeNode> Solution {
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TreeNode` in this scope
[INFO] [stdout]   --> src/problems/invert_binary_tree.rs:22:82
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn invert_tree(root: Option<Rc<RefCell<TreeNode>>>) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |                                                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<TreeNode> Solution {
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]  --> src/problems/rotate_string.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   |      ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use crate::problems::Solution;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/problems/rotate_string.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |         if(s.len()!= goal.len()){
[INFO] [stdout]   |           ^                    ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 5 -         if(s.len()!= goal.len()){
[INFO] [stdout] 5 +         if s.len()!= goal.len() {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for x in (1..20) {
[INFO] [stdout]   |              ^     ^
[INFO] [stdout]   |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 -     for x in (1..20) {
[INFO] [stdout] 8 +     for x in 1..20  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `run` in module `remove_n_from_end_link_list`
[INFO] [stdout]   --> src/main.rs:12:51
[INFO] [stdout]    |
[INFO] [stdout] 12 |     println!("{:?}", remove_n_from_end_link_list::run(Some(new_list), 2))
[INFO] [stdout]    |                                                   ^^^ not found in `remove_n_from_end_link_list`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  2 + use crate::reverse_integer::run;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `run`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 -     println!("{:?}", remove_n_from_end_link_list::run(Some(new_list), 2))
[INFO] [stdout] 12 +     println!("{:?}", run(Some(new_list), 2))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/problems/rotate_string.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |         if(s.len()!= goal.len()){
[INFO] [stdout]   |           ^                    ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 5 -         if(s.len()!= goal.len()){
[INFO] [stdout] 5 +         if s.len()!= goal.len() {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for x in (1..20) {
[INFO] [stdout]   |              ^     ^
[INFO] [stdout]   |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 -     for x in (1..20) {
[INFO] [stdout] 8 +     for x in 1..20  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]   --> src/main.rs:9:34
[INFO] [stdout]    |
[INFO] [stdout]  9 |         let new_node = ListNode::new(x);
[INFO] [stdout]    |                                  ^^^ private associated function
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/problems/remove_n_from_end_link_list.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |   fn new(val: i32) -> Self {
[INFO] [stdout]    |   ------------------------ private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]   --> src/main.rs:9:34
[INFO] [stdout]    |
[INFO] [stdout]  9 |         let new_node = ListNode::new(x);
[INFO] [stdout]    |                                  ^^^ private associated function
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/problems/remove_n_from_end_link_list.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |   fn new(val: i32) -> Self {
[INFO] [stdout]    |   ------------------------ private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `next` exists for struct `Box<remove_n_from_end_link_list::ListNode>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         new_list.next(new_node)
[INFO] [stdout]    |                  ^^^^---------- help: remove the arguments
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  field, not a method
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/problems/remove_n_from_end_link_list.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ListNode {
[INFO] [stdout]    | ------------------- doesn't satisfy `remove_n_from_end_link_list::ListNode: Iterator`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `remove_n_from_end_link_list::ListNode: Iterator`
[INFO] [stdout]            which is required by `Box<remove_n_from_end_link_list::ListNode>: Iterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]   --> /rustc/bac5816c5f3d02cebd0599070af62d1782530294/library/core/src/iter/traits/iterator.rs:40:0
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the trait `Iterator` defines an item `next`, but is explicitly unimplemented
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `next` exists for struct `Box<remove_n_from_end_link_list::ListNode>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         new_list.next(new_node)
[INFO] [stdout]    |                  ^^^^---------- help: remove the arguments
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  field, not a method
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/problems/remove_n_from_end_link_list.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ListNode {
[INFO] [stdout]    | ------------------- doesn't satisfy `remove_n_from_end_link_list::ListNode: Iterator`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `remove_n_from_end_link_list::ListNode: Iterator`
[INFO] [stdout]            which is required by `Box<remove_n_from_end_link_list::ListNode>: Iterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]   --> /rustc/bac5816c5f3d02cebd0599070af62d1782530294/library/core/src/iter/traits/iterator.rs:40:0
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the trait `Iterator` defines an item `next`, but is explicitly unimplemented
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_leetcode_practice` (bin "rust_leetcode_practice" test) due to 7 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_leetcode_practice` (bin "rust_leetcode_practice") due to 7 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "43e75a2799aa78659f395e12a26eef867a0ebfb2b8cf94e1262770d7a45583d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43e75a2799aa78659f395e12a26eef867a0ebfb2b8cf94e1262770d7a45583d1", kill_on_drop: false }`
[INFO] [stdout] 43e75a2799aa78659f395e12a26eef867a0ebfb2b8cf94e1262770d7a45583d1
