[INFO] fetching crate debug_stub_derive 0.3.0... [INFO] building debug_stub_derive-0.3.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate debug_stub_derive 0.3.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate debug_stub_derive 0.3.0 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 crates.io crate debug_stub_derive 0.3.0 [INFO] finished tweaking crates.io crate debug_stub_derive 0.3.0 [INFO] tweaked toml for crates.io crate debug_stub_derive 0.3.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding quote v0.3.15 (available: v1.0.38) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.93) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2776e4075dd7d2264fe222e934ae04480062b80a8bb9e6cf3171d3623c3b2ff7 [INFO] running `Command { std: "docker" "start" "-a" "2776e4075dd7d2264fe222e934ae04480062b80a8bb9e6cf3171d3623c3b2ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2776e4075dd7d2264fe222e934ae04480062b80a8bb9e6cf3171d3623c3b2ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2776e4075dd7d2264fe222e934ae04480062b80a8bb9e6cf3171d3623c3b2ff7", kill_on_drop: false }` [INFO] [stdout] 2776e4075dd7d2264fe222e934ae04480062b80a8bb9e6cf3171d3623c3b2ff7 [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 -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] d7738f80bbe3bc6eb2f2eae815cba81c120f4f41f0c101f86c7236699a2fb82f [INFO] running `Command { std: "docker" "start" "-a" "d7738f80bbe3bc6eb2f2eae815cba81c120f4f41f0c101f86c7236699a2fb82f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling debug_stub_derive v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | Err(msg) => panic!(msg), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 119 | Err(msg) => panic!("{}", msg), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "d7738f80bbe3bc6eb2f2eae815cba81c120f4f41f0c101f86c7236699a2fb82f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7738f80bbe3bc6eb2f2eae815cba81c120f4f41f0c101f86c7236699a2fb82f", kill_on_drop: false }` [INFO] [stdout] d7738f80bbe3bc6eb2f2eae815cba81c120f4f41f0c101f86c7236699a2fb82f [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 -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] 0c92f22c827187caed5284faa1f36b22bb194050f0d8d3303f44529984255b53 [INFO] running `Command { std: "docker" "start" "-a" "0c92f22c827187caed5284faa1f36b22bb194050f0d8d3303f44529984255b53", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling debug_stub_derive v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | Err(msg) => panic!(msg), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 119 | Err(msg) => panic!("{}", msg), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | Err(msg) => panic!(msg), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 119 | Err(msg) => panic!("{}", msg), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> tests/lib.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | let f = { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> tests/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | struct StructWithDebug { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 50 | number: u64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructWithDebug` 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: field `string` is never read [INFO] [stdout] --> tests/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | struct StructWithoutDebug { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 54 | string: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `b` is never read [INFO] [stdout] --> tests/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 58 | struct TestStruct { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | b: StructWithoutDebug [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> tests/lib.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 553 | struct StructWithDebug { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 554 | number: u64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructWithDebug` 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 `string` is never read [INFO] [stdout] --> tests/lib.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 557 | struct StructWithoutDebug { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 558 | string: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/lib.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 563 | VariantA( [INFO] [stdout] | -------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 566 | StructWithoutDebug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 566 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `b` is never read [INFO] [stdout] --> tests/lib.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 569 | VariantB { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 572 | b: StructWithoutDebug, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> tests/lib.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct InternalStruct { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 92 | pub a: bool [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalStruct` 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 `a` is never read [INFO] [stdout] --> tests/lib.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct InternalStruct { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 105 | pub a: bool [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalStruct` 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 `a` and `b` are never read [INFO] [stdout] --> tests/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct TestStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 110 | pub a: InternalStruct, [INFO] [stdout] | ^ [INFO] [stdout] 111 | pub b: u64 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TestStruct` 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 `a`, `b`, and `c` are never read [INFO] [stdout] --> tests/lib.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 378 | pub struct TestStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 379 | pub a: Option, [INFO] [stdout] | ^ [INFO] [stdout] 380 | pub b: Option, [INFO] [stdout] | ^ [INFO] [stdout] 381 | pub c: Option [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TestStruct` 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 `a`, `b`, `c`, and `d` are never read [INFO] [stdout] --> tests/lib.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct TestStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 440 | pub a: Result, [INFO] [stdout] | ^ [INFO] [stdout] 441 | pub b: Result, [INFO] [stdout] | ^ [INFO] [stdout] 442 | pub c: Result, [INFO] [stdout] | ^ [INFO] [stdout] 443 | pub d: Result<(), Internal> [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TestStruct` 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 `a` is never read [INFO] [stdout] --> tests/lib.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 610 | pub struct InternalStruct { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 611 | pub a: bool [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalStruct` 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 `a` is never read [INFO] [stdout] --> tests/lib.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 628 | pub struct InternalStruct { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 629 | pub a: bool [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalStruct` 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`, `1`, and `2` are never read [INFO] [stdout] --> tests/lib.rs:634:22 [INFO] [stdout] | [INFO] [stdout] 634 | VariantA(InternalStruct, bool, u64), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ ^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestEnum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 634 | VariantA((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> tests/lib.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 635 | VariantB { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 636 | a: InternalStruct, [INFO] [stdout] | ^ [INFO] [stdout] 637 | b: bool, [INFO] [stdout] | ^ [INFO] [stdout] 638 | c: u64 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TestEnum` 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] --> tests/lib.rs:929:22 [INFO] [stdout] | [INFO] [stdout] 929 | VariantA(Option, Option), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestEnum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 929 | VariantA((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> tests/lib.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 930 | VariantB { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 931 | a: Option, [INFO] [stdout] | ^ [INFO] [stdout] 932 | b: Option [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TestEnum` 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] --> tests/lib.rs:988:22 [INFO] [stdout] | [INFO] [stdout] 988 | VariantA(Result, Result), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestEnum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 988 | VariantA((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> tests/lib.rs:990:17 [INFO] [stdout] | [INFO] [stdout] 989 | VariantB { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 990 | a: Result, [INFO] [stdout] | ^ [INFO] [stdout] 991 | b: Result [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TestEnum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "0c92f22c827187caed5284faa1f36b22bb194050f0d8d3303f44529984255b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c92f22c827187caed5284faa1f36b22bb194050f0d8d3303f44529984255b53", kill_on_drop: false }` [INFO] [stdout] 0c92f22c827187caed5284faa1f36b22bb194050f0d8d3303f44529984255b53