[INFO] fetching crate debug_stub_derive 0.3.0... [INFO] checking debug_stub_derive-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate debug_stub_derive 0.3.0 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate debug_stub_derive 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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.40) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9478fe704961c6c6ce3a30ffe17ba0601840814f62bc0267ec9dd9c184be6a9 [INFO] running `Command { std: "docker" "start" "-a" "e9478fe704961c6c6ce3a30ffe17ba0601840814f62bc0267ec9dd9c184be6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9478fe704961c6c6ce3a30ffe17ba0601840814f62bc0267ec9dd9c184be6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9478fe704961c6c6ce3a30ffe17ba0601840814f62bc0267ec9dd9c184be6a9", kill_on_drop: false }` [INFO] [stdout] e9478fe704961c6c6ce3a30ffe17ba0601840814f62bc0267ec9dd9c184be6a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dec061d3cdac0f0be7ef9c022271c580fecd81635f0db61c9b4a95559f6bd5ce [INFO] running `Command { std: "docker" "start" "-a" "dec061d3cdac0f0be7ef9c022271c580fecd81635f0db61c9b4a95559f6bd5ce", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Checking synom v0.11.3 [INFO] [stderr] Checking syn v0.11.11 [INFO] [stderr] Checking 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: 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 - StructWithoutDebug, [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(InternalStruct, bool, u64), [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(Option, Option), [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(Result, Result), [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 `dev` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "dec061d3cdac0f0be7ef9c022271c580fecd81635f0db61c9b4a95559f6bd5ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec061d3cdac0f0be7ef9c022271c580fecd81635f0db61c9b4a95559f6bd5ce", kill_on_drop: false }` [INFO] [stdout] dec061d3cdac0f0be7ef9c022271c580fecd81635f0db61c9b4a95559f6bd5ce