[INFO] cloning repository https://github.com/uvamsi76/Learn_RUST
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uvamsi76/Learn_RUST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuvamsi76%2FLearn_RUST", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuvamsi76%2FLearn_RUST'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 80df0bb06ce09110417c3db2cb8141cd1c08a914
[INFO] checking uvamsi76/Learn_RUST against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuvamsi76%2FLearn_RUST" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/uvamsi76/Learn_RUST
[INFO] finished tweaking git repo https://github.com/uvamsi76/Learn_RUST
[INFO] tweaked toml for git repo https://github.com/uvamsi76/Learn_RUST written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/uvamsi76/Learn_RUST on toolchain 4e55a504843955c97eb06907c71f6f3e99208021
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/uvamsi76/Learn_RUST 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" "+4e55a504843955c97eb06907c71f6f3e99208021" "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 uvamsi76/Learn_RUST against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuvamsi76%2FLearn_RUST" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/uvamsi76/Learn_RUST
[INFO] finished tweaking git repo https://github.com/uvamsi76/Learn_RUST
[INFO] tweaked toml for git repo https://github.com/uvamsi76/Learn_RUST written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/uvamsi76/Learn_RUST on toolchain 4e55a504843955c97eb06907c71f6f3e99208021
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/uvamsi76/Learn_RUST 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" "+4e55a504843955c97eb06907c71f6f3e99208021" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b3663e0b2d8a7b51a9bb6e3b1a75639e38a629ac3e975e2cab238a9e6e711cc
[INFO] running `Command { std: "docker" "start" "-a" "3b3663e0b2d8a7b51a9bb6e3b1a75639e38a629ac3e975e2cab238a9e6e711cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b3663e0b2d8a7b51a9bb6e3b1a75639e38a629ac3e975e2cab238a9e6e711cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b3663e0b2d8a7b51a9bb6e3b1a75639e38a629ac3e975e2cab238a9e6e711cc", kill_on_drop: false }`
[INFO] [stdout] 3b3663e0b2d8a7b51a9bb6e3b1a75639e38a629ac3e975e2cab238a9e6e711cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ccb278d089a662c5fbee4d7d8b42fa86f16a22a94fcfb30a0d0eadda4acdfb3
[INFO] running `Command { std: "docker" "start" "-a" "5ccb278d089a662c5fbee4d7d8b42fa86f16a22a94fcfb30a0d0eadda4acdfb3", kill_on_drop: false }`
[INFO] [stderr]     Checking RUST v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `print_enum` and `shape`
[INFO] [stdout]  --> src/main.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use enums::{print_enum, shape};
[INFO] [stdout]   |             ^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `print_enum` and `shape`
[INFO] [stdout]  --> src/main.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use enums::{print_enum, shape};
[INFO] [stdout]   |             ^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `shape` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum shape{
[INFO] [stdout]    |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Shape`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `circle` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     circle(f32),
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Circle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `shape` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum shape{
[INFO] [stdout]    |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Shape`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `square` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     square(f32),
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `circle` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     circle(f32),
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Circle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `rectangle` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     rectangle(f32,f32)
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `Rectangle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `square` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     square(f32),
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `rectangle` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     rectangle(f32,f32)
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to upper camel case: `Rectangle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind`
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let ind=find_first_a(String::from("Preet"));
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ind`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind`
[INFO] [stdout]   --> src/main.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let ind=find_first_a(String::from("Preet"));
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ind`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testing_stuff_from_diff_file` is never used
[INFO] [stdout]  --> src/util1.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn testing_stuff_from_diff_file() -> 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 `get_len_str` is never used
[INFO] [stdout]  --> src/util1.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn get_len_str(sa:String) -> usize{
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/util1.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct User{
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rect` is never constructed
[INFO] [stdout]   --> src/util1.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Rect{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testing_stuff_from_diff_file` is never used
[INFO] [stdout]  --> src/util1.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn testing_stuff_from_diff_file() -> 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: associated items `area` and `print_static_value` are never used
[INFO] [stdout]   --> src/util1.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Rect{
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 24 |     //implementing a method inside a particular class in rust
[INFO] [stdout] 25 |     pub fn area(&self) ->i32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn print_static_value() -> i32{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_len_str` is never used
[INFO] [stdout]  --> src/util1.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn get_len_str(sa:String) -> usize{
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]  --> src/enums.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Direction{
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/util1.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct User{
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `shape` is never used
[INFO] [stdout]   --> src/enums.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum shape{
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rect` is never constructed
[INFO] [stdout]   --> src/util1.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Rect{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_enum` is never used
[INFO] [stdout]   --> src/enums.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn print_enum(shape:shape) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `area` and `print_static_value` are never used
[INFO] [stdout]   --> src/util1.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Rect{
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 24 |     //implementing a method inside a particular class in rust
[INFO] [stdout] 25 |     pub fn area(&self) ->i32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn print_static_value() -> i32{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]  --> src/enums.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Direction{
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `shape` is never used
[INFO] [stdout]   --> src/enums.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum shape{
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_enum` is never used
[INFO] [stdout]   --> src/enums.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn print_enum(shape:shape) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] running `Command { std: "docker" "inspect" "5ccb278d089a662c5fbee4d7d8b42fa86f16a22a94fcfb30a0d0eadda4acdfb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ccb278d089a662c5fbee4d7d8b42fa86f16a22a94fcfb30a0d0eadda4acdfb3", kill_on_drop: false }`
[INFO] [stdout] 5ccb278d089a662c5fbee4d7d8b42fa86f16a22a94fcfb30a0d0eadda4acdfb3
