[INFO] fetching crate derive_more 0.99.20... [INFO] checking derive_more-0.99.20 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate derive_more 0.99.20 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate derive_more 0.99.20 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate derive_more 0.99.20 [INFO] tweaked toml for crates.io crate derive_more 0.99.20 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate derive_more 0.99.20 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate derive_more 0.99.20 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 peg v0.5.7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03c584e5bf4f81d3db72f30e31516637fee165257ed05e7a7a7505ce46d9bca8 [INFO] running `Command { std: "docker" "start" "-a" "03c584e5bf4f81d3db72f30e31516637fee165257ed05e7a7a7505ce46d9bca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03c584e5bf4f81d3db72f30e31516637fee165257ed05e7a7a7505ce46d9bca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03c584e5bf4f81d3db72f30e31516637fee165257ed05e7a7a7505ce46d9bca8", kill_on_drop: false }` [INFO] [stdout] 03c584e5bf4f81d3db72f30e31516637fee165257ed05e7a7a7505ce46d9bca8 [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" "-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74331a6b4dba8e39de11354c591e4ae28eea513aa45eafbcf7b1fd4115f0b195 [INFO] running `Command { std: "docker" "start" "-a" "74331a6b4dba8e39de11354c591e4ae28eea513aa45eafbcf7b1fd4115f0b195", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking syn v2.0.66 [INFO] [stderr] Checking derive_more v0.99.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MyInts` is never constructed [INFO] [stdout] --> tests/sum.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct MyInts(i32, i64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point2D` is never constructed [INFO] [stdout] --> tests/sum.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Point2D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/display.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Display)] [INFO] [stdout] | -^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `_derive_more_DisplayAs` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_derive_more_DisplayAs_impl` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `derive_more` crate, try updating your dependency with `cargo update -p derive_more` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NestedInt` is never constructed [INFO] [stdout] --> tests/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct NestedInt(MyInt); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoubleUIntStruct` is never constructed [INFO] [stdout] --> tests/lib.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | struct DoubleUIntStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> tests/lib.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | struct Foo; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | use_dollar_crate!(); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `use_dollar_crate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Bar` is never used [INFO] [stdout] --> tests/lib.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | enum Bar { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | use_dollar_crate!(); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `use_dollar_crate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | NamedImplicitNoSource { [INFO] [stdout] | --------------------- field in this variant [INFO] [stdout] 8 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | NamedImplicitSource { [INFO] [stdout] | ------------------- field in this variant [INFO] [stdout] 11 | source: SimpleErr, [INFO] [stdout] 12 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | NamedExplicitNoSource { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 15 | #[error(not(source))] [INFO] [stdout] 16 | source: SimpleErr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | NamedExplicitSource { [INFO] [stdout] | ------------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 22 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | NamedExplicitNoSourceRedundant { [INFO] [stdout] | ------------------------------ field in this variant [INFO] [stdout] 25 | #[error(not(source))] [INFO] [stdout] 26 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | NamedExplicitSourceRedundant { [INFO] [stdout] | ---------------------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 31 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` is never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | NamedExplicitSuppressesImplicit { [INFO] [stdout] | ------------------------------- field in this variant [INFO] [stdout] 34 | source: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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/error/derives_for_enums_with_source.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | UnnamedImplicitNoSource(i32, i32), [INFO] [stdout] | ----------------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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] 38 - UnnamedImplicitNoSource(i32, i32), [INFO] [stdout] 38 + UnnamedImplicitNoSource((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:41:55 [INFO] [stdout] | [INFO] [stdout] 41 | UnnamedExplicitSource(#[error(source)] SimpleErr, i32), [INFO] [stdout] | --------------------- field in this variant ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 41 - UnnamedExplicitSource(#[error(source)] SimpleErr, i32), [INFO] [stdout] 41 + UnnamedExplicitSource(#[error(source)] SimpleErr, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 42 | UnnamedExplicitNoSourceRedundant( [INFO] [stdout] | -------------------------------- fields in this variant [INFO] [stdout] 43 | #[error(not(source))] i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | #[error(not(source))] i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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] 43 ~ #[error(not(source))] (), [INFO] [stdout] 44 ~ #[error(not(source))] (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | NamedIgnore { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 48 | #[error(ignore)] [INFO] [stdout] 49 | source: SimpleErr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | NamedIgnoreRedundant { [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 54 | #[error(ignore)] [INFO] [stdout] 55 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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/error/derives_for_enums_with_source.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | UnnamedIgnoreRedundant(#[error(ignore)] i32, #[error(ignore)] i32), [INFO] [stdout] | ---------------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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] 57 - UnnamedIgnoreRedundant(#[error(ignore)] i32, #[error(ignore)] i32), [INFO] [stdout] 57 + UnnamedIgnoreRedundant(#[error(ignore)] (), #[error(ignore)] ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | NamedVariantIgnore { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 60 | source: SimpleErr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_enums_with_source.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | NamedVariantIgnoreRedundant { [INFO] [stdout] | --------------------------- field in this variant [INFO] [stdout] 67 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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/error/derives_for_enums_with_source.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | UnnamedVariantIgnoreRedundant(i32, i32), [INFO] [stdout] | ----------------------------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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] 70 - UnnamedVariantIgnoreRedundant(i32, i32), [INFO] [stdout] 70 + UnnamedVariantIgnoreRedundant((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | NamedImplicitNoSource { [INFO] [stdout] | --------------------- field in this variant [INFO] [stdout] 8 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | NamedImplicitSource { [INFO] [stdout] | ------------------- field in this variant [INFO] [stdout] 11 | source: E, [INFO] [stdout] 12 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | NamedExplicitNoSource { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 15 | #[error(not(source))] [INFO] [stdout] 16 | source: E, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | NamedExplicitSource { [INFO] [stdout] | ------------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 22 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | NamedExplicitNoSourceRedundant { [INFO] [stdout] | ------------------------------ field in this variant [INFO] [stdout] 25 | #[error(not(source))] [INFO] [stdout] 26 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | NamedExplicitSourceRedundant { [INFO] [stdout] | ---------------------------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 31 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` is never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | NamedExplicitSuppressesImplicit { [INFO] [stdout] | ------------------------------- field in this variant [INFO] [stdout] 34 | source: T, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | NamedIgnore { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 45 | #[error(ignore)] [INFO] [stdout] 46 | source: E, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | NamedIgnoreRedundant { [INFO] [stdout] | -------------------- field in this variant [INFO] [stdout] 51 | #[error(ignore)] [INFO] [stdout] 52 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | NamedVariantIgnore { [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 57 | source: E, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_enums_with_source.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | NamedVariantIgnoreRedundant { [INFO] [stdout] | --------------------------- field in this variant [INFO] [stdout] 64 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 19 | source: E, [INFO] [stdout] 20 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | struct TestErr { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 33 | #[error(not(source))] [INFO] [stdout] 34 | source: E, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 46 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 61 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 62 | #[error(not(source))] [INFO] [stdout] 63 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 73 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` is never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 89 | source: E, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | struct TestErr { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 164 | #[error(ignore)] [INFO] [stdout] 165 | source: E, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 166 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 185 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 186 | #[error(ignore)] [INFO] [stdout] 187 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 207 | struct TestErr { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 208 | source: E, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_generic_structs_with_source.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 230 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 231 | field: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 13 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 24 | source: SimpleErr, [INFO] [stdout] 25 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | struct TestErr { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | #[error(not(source))] [INFO] [stdout] 39 | source: SimpleErr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 50 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 66 | #[error(not(source))] [INFO] [stdout] 67 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 77 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `source` is never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 93 | source: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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/error/derives_for_structs_with_source.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | struct TestErr(i32, i32); [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `TestErr` 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 `1` is never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:136:48 [INFO] [stdout] | [INFO] [stdout] 136 | struct TestErr(#[error(source)] SimpleErr, i32); [INFO] [stdout] | ------- field in this struct ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TestErr` 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/error/derives_for_structs_with_source.rs:147:42 [INFO] [stdout] | [INFO] [stdout] 147 | struct TestErr(#[error(not(source))] i32, #[error(not(source))] i32); [INFO] [stdout] | ------- fields in this struct ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 167 | struct TestErr { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 168 | #[error(ignore)] [INFO] [stdout] 169 | source: SimpleErr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 189 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 190 | #[error(ignore)] [INFO] [stdout] 191 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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/error/derives_for_structs_with_source.rs:201:37 [INFO] [stdout] | [INFO] [stdout] 201 | struct TestErr(#[error(ignore)] i32, #[error(ignore)] i32); [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `TestErr` 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 `source` and `field` are never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 211 | struct TestErr { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 212 | source: SimpleErr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 213 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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 `field` is never read [INFO] [stdout] --> tests/error/derives_for_structs_with_source.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 234 | struct TestErr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 235 | field: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestErr` 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/error/derives_for_structs_with_source.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | struct TestErr(i32, i32); [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `TestErr` 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 7.58s [INFO] running `Command { std: "docker" "inspect" "74331a6b4dba8e39de11354c591e4ae28eea513aa45eafbcf7b1fd4115f0b195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74331a6b4dba8e39de11354c591e4ae28eea513aa45eafbcf7b1fd4115f0b195", kill_on_drop: false }` [INFO] [stdout] 74331a6b4dba8e39de11354c591e4ae28eea513aa45eafbcf7b1fd4115f0b195