[INFO] cloning repository https://github.com/ANKITPRAMANIK/rust_part1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ANKITPRAMANIK/rust_part1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANKITPRAMANIK%2Frust_part1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANKITPRAMANIK%2Frust_part1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44869fc9b8365c911895e52dd4f8304844fff3f4
[INFO] checking ANKITPRAMANIK/rust_part1 against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANKITPRAMANIK%2Frust_part1" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ANKITPRAMANIK/rust_part1
[INFO] finished tweaking git repo https://github.com/ANKITPRAMANIK/rust_part1
[INFO] tweaked toml for git repo https://github.com/ANKITPRAMANIK/rust_part1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ANKITPRAMANIK/rust_part1 on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ANKITPRAMANIK/rust_part1 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5955240e50481b6fa21fc9e1379b951f4716d34d4f199aefada008dabd9b9e75
[INFO] running `Command { std: "docker" "start" "-a" "5955240e50481b6fa21fc9e1379b951f4716d34d4f199aefada008dabd9b9e75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5955240e50481b6fa21fc9e1379b951f4716d34d4f199aefada008dabd9b9e75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5955240e50481b6fa21fc9e1379b951f4716d34d4f199aefada008dabd9b9e75", kill_on_drop: false }`
[INFO] [stdout] 5955240e50481b6fa21fc9e1379b951f4716d34d4f199aefada008dabd9b9e75
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0656a4c19cf85246c2f3bb78cc7ed4fc6822ed1f6590b18a55c043aaf84588a8
[INFO] running `Command { std: "docker" "start" "-a" "0656a4c19cf85246c2f3bb78cc7ed4fc6822ed1f6590b18a55c043aaf84588a8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]  --> src/main.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{Rng,thread_rng};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/main.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut random= thread_rng();
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]   --> src/main.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let randomnumber:u32=random.gen();
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rect` is never constructed
[INFO] [stdout]  --> src/main.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Rect{
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `area` is never used
[INFO] [stdout]   --> src/main.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Rect{
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 11 |     fn area(&self)->u32{
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Shape` is never used
[INFO] [stdout]   --> src/main.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum Shape{
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_area` is never used
[INFO] [stdout]   --> src/main.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn calculate_area(shape:Shape)->f64{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]  --> src/main.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{Rng,thread_rng};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/main.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut random= thread_rng();
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
[INFO] [stdout]   --> src/main.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let randomnumber:u32=random.gen();
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rect` is never constructed
[INFO] [stdout]  --> src/main.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Rect{
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `area` is never used
[INFO] [stdout]   --> src/main.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Rect{
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 11 |     fn area(&self)->u32{
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Shape` is never used
[INFO] [stdout]   --> src/main.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum Shape{
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_area` is never used
[INFO] [stdout]   --> src/main.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn calculate_area(shape:Shape)->f64{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.01s
[INFO] running `Command { std: "docker" "inspect" "0656a4c19cf85246c2f3bb78cc7ed4fc6822ed1f6590b18a55c043aaf84588a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0656a4c19cf85246c2f3bb78cc7ed4fc6822ed1f6590b18a55c043aaf84588a8", kill_on_drop: false }`
[INFO] [stdout] 0656a4c19cf85246c2f3bb78cc7ed4fc6822ed1f6590b18a55c043aaf84588a8
