[INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 36db3f04aab4c866fa906209af7b433b80376b18
[INFO] checking rajeshkumarrobert/rust-problems/36db3f04aab4c866fa906209af7b433b80376b18 against master#c756124775121dea0e640652c5ee3c89e3dd0eb4 for pr-154971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rajeshkumarrobert/rust-problems
[INFO] finished tweaking git repo https://github.com/rajeshkumarrobert/rust-problems
[INFO] tweaked toml for git repo https://github.com/rajeshkumarrobert/rust-problems written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rajeshkumarrobert/rust-problems on toolchain c756124775121dea0e640652c5ee3c89e3dd0eb4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rajeshkumarrobert/rust-problems 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" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3148a315a01b05dc8ed978d8d35e73fe3a15b2dcff5c3903ec02b4deaab0210e
[INFO] running `Command { std: "docker" "start" "-a" "3148a315a01b05dc8ed978d8d35e73fe3a15b2dcff5c3903ec02b4deaab0210e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3148a315a01b05dc8ed978d8d35e73fe3a15b2dcff5c3903ec02b4deaab0210e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3148a315a01b05dc8ed978d8d35e73fe3a15b2dcff5c3903ec02b4deaab0210e", kill_on_drop: false }`
[INFO] [stdout] 3148a315a01b05dc8ed978d8d35e73fe3a15b2dcff5c3903ec02b4deaab0210e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8f5b4e696a44dbeed835c76ae1a14a50be05d046b5e8cce015fda9ffbf617a4
[INFO] running `Command { std: "docker" "start" "-a" "c8f5b4e696a44dbeed835c76ae1a14a50be05d046b5e8cce015fda9ffbf617a4", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-problems v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |          let mut result_listnode : Option<Box<ListNode>> = None;     
[INFO] [stdout]    |              ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result_listnode`
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |          let mut result_listnode : Option<Box<ListNode>> = None;     
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_listnode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `final_res` is never read
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:44:30
[INFO] [stdout]    |
[INFO] [stdout] 44 |            let mut final_res = ListNode{
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 45 | |             val:0,
[INFO] [stdout] 46 | |             next:None,
[INFO] [stdout] 47 | |
[INFO] [stdout] 48 | |          };
[INFO] [stdout]    | |__________^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 70 |         final_res = ListNode{
[INFO] [stdout]    |         --------- `final_res` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |          let mut result_listnode : Option<Box<ListNode>> = None;     
[INFO] [stdout]    |              ----^^^^^^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result_listnode`
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |          let mut result_listnode : Option<Box<ListNode>> = None;     
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_listnode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `final_res` is never read
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:44:30
[INFO] [stdout]    |
[INFO] [stdout] 44 |            let mut final_res = ListNode{
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 45 | |             val:0,
[INFO] [stdout] 46 | |             next:None,
[INFO] [stdout] 47 | |
[INFO] [stdout] 48 | |          };
[INFO] [stdout]    | |__________^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 70 |         final_res = ListNode{
[INFO] [stdout]    |         --------- `final_res` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/leetcode/add_two_numbers.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[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 `new` is never used
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |   #[inline]
[INFO] [stdout] 10 |   pub fn new(val: i32) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Solution{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_two_numbers` is never used
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn add_two_numbers(l1: Option<Box<ListNode>>, l2: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `three_sum` is never used
[INFO] [stdout]  --> src/leetcode/three_sum.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Venus` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct Venus;
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mars` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Mars;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Jupiter` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Jupiter;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Saturn` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct Saturn;
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Uranus` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Uranus;
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Neptune` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Neptune;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/leetcode/add_two_numbers.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ListNode {
[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 `new` is never used
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout]  9 |   #[inline]
[INFO] [stdout] 10 |   pub fn new(val: i32) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Solution{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_two_numbers` is never used
[INFO] [stdout]   --> src/leetcode/add_two_numbers.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn add_two_numbers(l1: Option<Box<ListNode>>, l2: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `three_sum` is never used
[INFO] [stdout]  --> src/leetcode/three_sum.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Venus` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct Venus;
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mars` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Mars;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Jupiter` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Jupiter;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Saturn` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct Saturn;
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Uranus` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Uranus;
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Neptune` is never constructed
[INFO] [stdout]   --> src/exercism/medium.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Neptune;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "c8f5b4e696a44dbeed835c76ae1a14a50be05d046b5e8cce015fda9ffbf617a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8f5b4e696a44dbeed835c76ae1a14a50be05d046b5e8cce015fda9ffbf617a4", kill_on_drop: false }`
[INFO] [stdout] c8f5b4e696a44dbeed835c76ae1a14a50be05d046b5e8cce015fda9ffbf617a4
