[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 try#9053a8ad740a9e131b53ea98acecf68cf79134fe for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrajesh1979%2Flearn-rust-examples" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rrajesh1979/learn-rust-examples on toolchain 9053a8ad740a9e131b53ea98acecf68cf79134fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [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" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32fb3312f3eb46cc959a1095a5ddd27ab1e64624ac77fad820fe23f74222309a [INFO] running `Command { std: "docker" "start" "-a" "32fb3312f3eb46cc959a1095a5ddd27ab1e64624ac77fad820fe23f74222309a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32fb3312f3eb46cc959a1095a5ddd27ab1e64624ac77fad820fe23f74222309a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32fb3312f3eb46cc959a1095a5ddd27ab1e64624ac77fad820fe23f74222309a", kill_on_drop: false }` [INFO] [stdout] 32fb3312f3eb46cc959a1095a5ddd27ab1e64624ac77fad820fe23f74222309a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01e35a50fcf767f0d86032f1540ecc78bea7420185e57536a554c9deea408084 [INFO] running `Command { std: "docker" "start" "-a" "01e35a50fcf767f0d86032f1540ecc78bea7420185e57536a554c9deea408084", 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.08s [INFO] running `Command { std: "docker" "inspect" "01e35a50fcf767f0d86032f1540ecc78bea7420185e57536a554c9deea408084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e35a50fcf767f0d86032f1540ecc78bea7420185e57536a554c9deea408084", kill_on_drop: false }` [INFO] [stdout] 01e35a50fcf767f0d86032f1540ecc78bea7420185e57536a554c9deea408084