[INFO] cloning repository https://github.com/suhailmuhammed157/testing-rust-lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suhailmuhammed157/testing-rust-lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhailmuhammed157%2Ftesting-rust-lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhailmuhammed157%2Ftesting-rust-lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 265e9174eb1a1f44f10a45a2135bbb211a3b4ba8 [INFO] checking suhailmuhammed157/testing-rust-lib against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhailmuhammed157%2Ftesting-rust-lib" "/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/suhailmuhammed157/testing-rust-lib [INFO] finished tweaking git repo https://github.com/suhailmuhammed157/testing-rust-lib [INFO] tweaked toml for git repo https://github.com/suhailmuhammed157/testing-rust-lib written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/suhailmuhammed157/testing-rust-lib on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/suhailmuhammed157/testing-rust-lib 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01a4f1b0c83f3e6b71533fb69859e5b35562fd8f461828c7d9893ba959507379 [INFO] running `Command { std: "docker" "start" "-a" "01a4f1b0c83f3e6b71533fb69859e5b35562fd8f461828c7d9893ba959507379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01a4f1b0c83f3e6b71533fb69859e5b35562fd8f461828c7d9893ba959507379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a4f1b0c83f3e6b71533fb69859e5b35562fd8f461828c7d9893ba959507379", kill_on_drop: false }` [INFO] [stdout] 01a4f1b0c83f3e6b71533fb69859e5b35562fd8f461828c7d9893ba959507379 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6fc5a9e41c3464263f0b77a2c749bea96828799162d845d5a19578845318ee6 [INFO] running `Command { std: "docker" "start" "-a" "e6fc5a9e41c3464263f0b77a2c749bea96828799162d845d5a19578845318ee6", kill_on_drop: false }` [INFO] [stderr] Checking testing_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::shapes::Circle` [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use self::shapes::Circle; // super keyword is used to bring in all the modules in the crate [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circle1` [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | ... let circle1 = shapes::Circle::new_1(-1)?; // ? in the end returns error if execution encounters and error else control flow is pass... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circle1` [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let circle1 = shapes::Circle::new_2_panic(-1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/lib.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `contains`, `new_1`, and `new_2_panic` are never used [INFO] [stdout] --> src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | impl Circle { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(radius: i32) -> Circle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn contains(&self, other: &Circle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new_1(radius: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_2_panic(radius: i32) -> Circle { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "e6fc5a9e41c3464263f0b77a2c749bea96828799162d845d5a19578845318ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6fc5a9e41c3464263f0b77a2c749bea96828799162d845d5a19578845318ee6", kill_on_drop: false }` [INFO] [stdout] e6fc5a9e41c3464263f0b77a2c749bea96828799162d845d5a19578845318ee6