[INFO] cloning repository https://github.com/ayush-1-2-0-5/rust_learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayush-1-2-0-5/rust_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayush-1-2-0-5%2Frust_learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayush-1-2-0-5%2Frust_learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 408463c36822e9bd42b54faab659a24e2a00d8b9
[INFO] checking ayush-1-2-0-5/rust_learning against try#ae258e1fcbee4a062f5f3d869f06004d7cea088e for pr-135272
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayush-1-2-0-5%2Frust_learning" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ayush-1-2-0-5/rust_learning on toolchain ae258e1fcbee4a062f5f3d869f06004d7cea088e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ayush-1-2-0-5/rust_learning
[INFO] finished tweaking git repo https://github.com/ayush-1-2-0-5/rust_learning
[INFO] tweaked toml for git repo https://github.com/ayush-1-2-0-5/rust_learning written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ayush-1-2-0-5/rust_learning 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" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 88501da40f411a8eb38477e065021747faaeda16ea0aa5fc3c245361eeb4a848
[INFO] running `Command { std: "docker" "start" "-a" "88501da40f411a8eb38477e065021747faaeda16ea0aa5fc3c245361eeb4a848", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "88501da40f411a8eb38477e065021747faaeda16ea0aa5fc3c245361eeb4a848", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88501da40f411a8eb38477e065021747faaeda16ea0aa5fc3c245361eeb4a848", kill_on_drop: false }`
[INFO] [stdout] 88501da40f411a8eb38477e065021747faaeda16ea0aa5fc3c245361eeb4a848
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c65dcfc263ab7b9b573c704860fcf9072c7be59d57aa63ef3671172297f417f
[INFO] running `Command { std: "docker" "start" "-a" "6c65dcfc263ab7b9b573c704860fcf9072c7be59d57aa63ef3671172297f417f", kill_on_drop: false }`
[INFO] [stderr]     Checking Rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/references_mutrefrences.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let s2=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/references_mutrefrences.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let s3=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s4`
[INFO] [stdout]   --> src/references_mutrefrences.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let s4=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s5`
[INFO] [stdout]   --> src/references_mutrefrences.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let s5=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s6`
[INFO] [stdout]   --> src/references_mutrefrences.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let s6=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/references_mutrefrences.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let s2=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/references_mutrefrences.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let s3=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s4`
[INFO] [stdout]   --> src/references_mutrefrences.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let s4=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s5`
[INFO] [stdout]   --> src/references_mutrefrences.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let s5=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s6`
[INFO] [stdout]   --> src/references_mutrefrences.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let s6=refrencetest(&str1);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Shape` is more private than the item `calculate_area`
[INFO] [stdout]   --> src/implementations.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn calculate_area(shape:Shape)->f64{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `calculate_area` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Shape` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/implementations.rs:9:2
[INFO] [stdout]    |
[INFO] [stdout] 9  |  enum Shape {
[INFO] [stdout]    |  ^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `South`, `East`, and `West` are never constructed
[INFO] [stdout]  --> src/implementations.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Direction {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 4 |     North,
[INFO] [stdout] 5 |     South,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 6 |     East,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 7 |     West,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Shape` is never used
[INFO] [stdout]  --> src/implementations.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |  enum Shape {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_area` is never used
[INFO] [stdout]   --> src/implementations.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn calculate_area(shape:Shape)->f64{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Shape` is more private than the item `calculate_area`
[INFO] [stdout]   --> src/implementations.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn calculate_area(shape:Shape)->f64{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `calculate_area` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Shape` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/implementations.rs:9:2
[INFO] [stdout]    |
[INFO] [stdout] 9  |  enum Shape {
[INFO] [stdout]    |  ^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `South`, `East`, and `West` are never constructed
[INFO] [stdout]  --> src/implementations.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Direction {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 4 |     North,
[INFO] [stdout] 5 |     South,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 6 |     East,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 7 |     West,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Shape` is never used
[INFO] [stdout]  --> src/implementations.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |  enum Shape {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_area` is never used
[INFO] [stdout]   --> src/implementations.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn calculate_area(shape:Shape)->f64{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "6c65dcfc263ab7b9b573c704860fcf9072c7be59d57aa63ef3671172297f417f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c65dcfc263ab7b9b573c704860fcf9072c7be59d57aa63ef3671172297f417f", kill_on_drop: false }`
[INFO] [stdout] 6c65dcfc263ab7b9b573c704860fcf9072c7be59d57aa63ef3671172297f417f
