[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0317250339ed21bcfd07b3216bf98a253275fe70 [INFO] checking ayroblu/rust-playground-cli/0317250339ed21bcfd07b3216bf98a253275fe70 against master#717f5df2c308dfb4b7b8e6c002c11fe8269c4011 for pr-133274 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayroblu%2Frust-playground-cli" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayroblu/rust-playground-cli on toolchain 717f5df2c308dfb4b7b8e6c002c11fe8269c4011 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 386137e4fabdf0f541991ec7964f499f7df82465d8ff4ffd51bd030662165ae3 [INFO] running `Command { std: "docker" "start" "-a" "386137e4fabdf0f541991ec7964f499f7df82465d8ff4ffd51bd030662165ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "386137e4fabdf0f541991ec7964f499f7df82465d8ff4ffd51bd030662165ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "386137e4fabdf0f541991ec7964f499f7df82465d8ff4ffd51bd030662165ae3", kill_on_drop: false }` [INFO] [stdout] 386137e4fabdf0f541991ec7964f499f7df82465d8ff4ffd51bd030662165ae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85d2a9c88008d7a4670ba50853b1f16e86cb4fbfc667e780d1976c1094440234 [INFO] running `Command { std: "docker" "start" "-a" "85d2a9c88008d7a4670ba50853b1f16e86cb4fbfc667e780d1976c1094440234", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [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)]` 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: 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)]` on by default [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: 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: 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: 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 1.48s [INFO] running `Command { std: "docker" "inspect" "85d2a9c88008d7a4670ba50853b1f16e86cb4fbfc667e780d1976c1094440234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d2a9c88008d7a4670ba50853b1f16e86cb4fbfc667e780d1976c1094440234", kill_on_drop: false }` [INFO] [stdout] 85d2a9c88008d7a4670ba50853b1f16e86cb4fbfc667e780d1976c1094440234