[INFO] cloning repository https://github.com/ayroblu/rust-playground-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayroblu/rust-playground-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayroblu%2Frust-playground-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayroblu%2Frust-playground-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0317250339ed21bcfd07b3216bf98a253275fe70 [INFO] checking ayroblu/rust-playground-cli against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayroblu%2Frust-playground-cli" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ayroblu/rust-playground-cli [INFO] finished tweaking git repo https://github.com/ayroblu/rust-playground-cli [INFO] tweaked toml for git repo https://github.com/ayroblu/rust-playground-cli written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ayroblu/rust-playground-cli on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ayroblu/rust-playground-cli 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.33.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6d390d6aacb8de738549ba1fa0fec2c0ee0435094e8f49f840d8b484e30898e [INFO] running `Command { std: "docker" "start" "-a" "c6d390d6aacb8de738549ba1fa0fec2c0ee0435094e8f49f840d8b484e30898e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6d390d6aacb8de738549ba1fa0fec2c0ee0435094e8f49f840d8b484e30898e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6d390d6aacb8de738549ba1fa0fec2c0ee0435094e8f49f840d8b484e30898e", kill_on_drop: false }` [INFO] [stdout] c6d390d6aacb8de738549ba1fa0fec2c0ee0435094e8f49f840d8b484e30898e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d3b8680feec898dafff1b7a66ff3ed39522b7c3032d955b9bfca1022fb8861a [INFO] running `Command { std: "docker" "start" "-a" "7d3b8680feec898dafff1b7a66ff3ed39522b7c3032d955b9bfca1022fb8861a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking rust-playground-cli v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/modules/conversion_traits.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 18 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/modules/custom_types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 35 | // The 'a defines a lifetime [INFO] [stdout] 36 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | 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: fields `0` and `1` are never read [INFO] [stdout] --> src/modules/custom_types.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | struct Pair(i32, f32); [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Pair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/modules/custom_types.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 51 | x: f32, [INFO] [stdout] 52 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/modules/format_print.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | struct DebugPrintable(i32); [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DebugPrintable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/modules/functions.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 266 | trait Contains { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 272 | fn contains(&self, _: &Self::A, _: &Self::B) -> bool; // Explicitly requires `A` and `B`. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/modules/conversion_traits.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 18 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/modules/custom_types.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 35 | // The 'a defines a lifetime [INFO] [stdout] 36 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | 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: fields `0` and `1` are never read [INFO] [stdout] --> src/modules/custom_types.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | struct Pair(i32, f32); [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Pair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/modules/custom_types.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 51 | x: f32, [INFO] [stdout] 52 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/modules/format_print.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | struct DebugPrintable(i32); [INFO] [stdout] | -------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DebugPrintable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/modules/functions.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 266 | trait Contains { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 272 | fn contains(&self, _: &Self::A, _: &Self::B) -> bool; // Explicitly requires `A` and `B`. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "7d3b8680feec898dafff1b7a66ff3ed39522b7c3032d955b9bfca1022fb8861a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3b8680feec898dafff1b7a66ff3ed39522b7c3032d955b9bfca1022fb8861a", kill_on_drop: false }` [INFO] [stdout] 7d3b8680feec898dafff1b7a66ff3ed39522b7c3032d955b9bfca1022fb8861a