[INFO] cloning repository https://github.com/rrajesh1979/learn-rust-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rrajesh1979/learn-rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrajesh1979%2Flearn-rust-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrajesh1979%2Flearn-rust-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c85d6132c6bd869d971b1eea1a9673541b14cbd [INFO] checking rrajesh1979/learn-rust-examples against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrajesh1979%2Flearn-rust-examples" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rrajesh1979/learn-rust-examples [INFO] finished tweaking git repo https://github.com/rrajesh1979/learn-rust-examples [INFO] tweaked toml for git repo https://github.com/rrajesh1979/learn-rust-examples written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rrajesh1979/learn-rust-examples on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rrajesh1979/learn-rust-examples 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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e05b3fccc7116bd2584a403e5a4042f56ce7239d1317ffba197a378f8e27927 [INFO] running `Command { std: "docker" "start" "-a" "9e05b3fccc7116bd2584a403e5a4042f56ce7239d1317ffba197a378f8e27927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e05b3fccc7116bd2584a403e5a4042f56ce7239d1317ffba197a378f8e27927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e05b3fccc7116bd2584a403e5a4042f56ce7239d1317ffba197a378f8e27927", kill_on_drop: false }` [INFO] [stdout] 9e05b3fccc7116bd2584a403e5a4042f56ce7239d1317ffba197a378f8e27927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2464f8261d3c6df66324402999476e7fd8266f6b65eb5260cabaf94a1ae02738 [INFO] running `Command { std: "docker" "start" "-a" "2464f8261d3c6df66324402999476e7fd8266f6b65eb5260cabaf94a1ae02738", kill_on_drop: false }` [INFO] [stderr] Checking learn-rust-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/myformat.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn print() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/myformat.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | age: u8 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_one` is never used [INFO] [stdout] --> src/comment.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn add_one(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/myformat.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn print() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/myformat.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | age: u8 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_one` is never used [INFO] [stdout] --> src/comment.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn add_one(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "2464f8261d3c6df66324402999476e7fd8266f6b65eb5260cabaf94a1ae02738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2464f8261d3c6df66324402999476e7fd8266f6b65eb5260cabaf94a1ae02738", kill_on_drop: false }` [INFO] [stdout] 2464f8261d3c6df66324402999476e7fd8266f6b65eb5260cabaf94a1ae02738