[INFO] cloning repository https://github.com/Atul-Bhatt/Rust_Code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Atul-Bhatt/Rust_Code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtul-Bhatt%2FRust_Code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtul-Bhatt%2FRust_Code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 19228e48c85cf67a8fe7159c319f17b998717acc
[INFO] checking Atul-Bhatt/Rust_Code against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtul-Bhatt%2FRust_Code" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Atul-Bhatt/Rust_Code on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Atul-Bhatt/Rust_Code
[INFO] finished tweaking git repo https://github.com/Atul-Bhatt/Rust_Code
[INFO] tweaked toml for git repo https://github.com/Atul-Bhatt/Rust_Code written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Atul-Bhatt/Rust_Code 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7f10c0a8fa3ce8a7fdbbdcddf56c7b06d774be0d97ae385488b797210b7af857
[INFO] running `Command { std: "docker" "start" "-a" "7f10c0a8fa3ce8a7fdbbdcddf56c7b06d774be0d97ae385488b797210b7af857", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f10c0a8fa3ce8a7fdbbdcddf56c7b06d774be0d97ae385488b797210b7af857", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f10c0a8fa3ce8a7fdbbdcddf56c7b06d774be0d97ae385488b797210b7af857", kill_on_drop: false }`
[INFO] [stdout] 7f10c0a8fa3ce8a7fdbbdcddf56c7b06d774be0d97ae385488b797210b7af857
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf454a9b0eb91e45acfa8a9dd7a5c02205ba3b312050016d0dbdd2a7d5d79c9f
[INFO] running `Command { std: "docker" "start" "-a" "bf454a9b0eb91e45acfa8a9dd7a5c02205ba3b312050016d0dbdd2a7d5d79c9f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking practice_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `multithreading::run_multithreading`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use multithreading::run_multithreading;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `practice_project::Config`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use practice_project::Config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `multithreading::run_multithreading`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use multithreading::run_multithreading;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `practice_project::Config`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use practice_project::Config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red` and `Blue` are never constructed
[INFO] [stdout]  --> src/inventory.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum ShirtColor {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] 4 |     Red,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 5 |     Blue,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ShirtColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Red` and `Blue` are never constructed
[INFO] [stdout]  --> src/inventory.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum ShirtColor {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] 4 |     Red,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 5 |     Blue,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ShirtColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Inventory` is never constructed
[INFO] [stdout]  --> src/inventory.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Inventory {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Inventory` is never constructed
[INFO] [stdout]  --> src/inventory.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Inventory {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `giveaway` and `most_stocked` are never used
[INFO] [stdout]   --> src/inventory.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Inventory {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 13 |     pub fn giveaway(&self, user_preference: Option<ShirtColor>) -> ShirtColor {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn most_stocked(&self) -> ShirtColor {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_inventory` is never used
[INFO] [stdout]   --> src/inventory.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn run_inventory() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_multithreading` is never used
[INFO] [stdout]  --> src/multithreading.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run_multithreading() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `giveaway` and `most_stocked` are never used
[INFO] [stdout]   --> src/inventory.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Inventory {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 13 |     pub fn giveaway(&self, user_preference: Option<ShirtColor>) -> ShirtColor {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn most_stocked(&self) -> ShirtColor {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_inventory` is never used
[INFO] [stdout]   --> src/inventory.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn run_inventory() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_multithreading` is never used
[INFO] [stdout]  --> src/multithreading.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run_multithreading() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.52s
[INFO] running `Command { std: "docker" "inspect" "bf454a9b0eb91e45acfa8a9dd7a5c02205ba3b312050016d0dbdd2a7d5d79c9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf454a9b0eb91e45acfa8a9dd7a5c02205ba3b312050016d0dbdd2a7d5d79c9f", kill_on_drop: false }`
[INFO] [stdout] bf454a9b0eb91e45acfa8a9dd7a5c02205ba3b312050016d0dbdd2a7d5d79c9f
