[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] building ayroblu/rust-playground-cli against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayroblu%2Frust-playground-cli" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayroblu/rust-playground-cli on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-4-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 127817ad97a890973d1c0f2b306ae29190b42c46fb9c44c47f6c8ed013509706 [INFO] running `Command { std: "docker" "start" "-a" "127817ad97a890973d1c0f2b306ae29190b42c46fb9c44c47f6c8ed013509706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "127817ad97a890973d1c0f2b306ae29190b42c46fb9c44c47f6c8ed013509706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "127817ad97a890973d1c0f2b306ae29190b42c46fb9c44c47f6c8ed013509706", kill_on_drop: false }` [INFO] [stdout] 127817ad97a890973d1c0f2b306ae29190b42c46fb9c44c47f6c8ed013509706 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f7a8d47a93e18c9263ce9de9bac213eda6cd57efe9ed28284efa91aa916d37c [INFO] running `Command { std: "docker" "start" "-a" "1f7a8d47a93e18c9263ce9de9bac213eda6cd57efe9ed28284efa91aa916d37c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling 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: 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 5.26s [INFO] running `Command { std: "docker" "inspect" "1f7a8d47a93e18c9263ce9de9bac213eda6cd57efe9ed28284efa91aa916d37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7a8d47a93e18c9263ce9de9bac213eda6cd57efe9ed28284efa91aa916d37c", kill_on_drop: false }` [INFO] [stdout] 1f7a8d47a93e18c9263ce9de9bac213eda6cd57efe9ed28284efa91aa916d37c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8839ead1fbb2fa381391c9d3a8497eb426d5d389f4fe96dff4b8733fba46b11f [INFO] running `Command { std: "docker" "start" "-a" "8839ead1fbb2fa381391c9d3a8497eb426d5d389f4fe96dff4b8733fba46b11f", kill_on_drop: false }` [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: 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] [stderr] Compiling rust-playground-cli v1.0.0 (/opt/rustwide/workdir) [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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "8839ead1fbb2fa381391c9d3a8497eb426d5d389f4fe96dff4b8733fba46b11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8839ead1fbb2fa381391c9d3a8497eb426d5d389f4fe96dff4b8733fba46b11f", kill_on_drop: false }` [INFO] [stdout] 8839ead1fbb2fa381391c9d3a8497eb426d5d389f4fe96dff4b8733fba46b11f