[INFO] fetching crate derive_more 0.99.20... [INFO] checking derive_more-0.99.20 against master#dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 for pr-133502-4 [INFO] extracting crate derive_more 0.99.20 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate derive_more 0.99.20 on toolchain dc8fe1f81c6cf13c0987944c525b2aa81625b5d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_version v0.4.0 [INFO] [stderr] Downloaded semver v1.0.4 [INFO] [stderr] Downloaded convert_case v0.4.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.85 [INFO] [stderr] Downloaded peg v0.5.7 [INFO] [stderr] Downloaded syn v2.0.66 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07fd79ba367fea4ea64741a6b9e53ec17a1b76d7fa00cb5e8759ee9604b860f4 [INFO] running `Command { std: "docker" "start" "-a" "07fd79ba367fea4ea64741a6b9e53ec17a1b76d7fa00cb5e8759ee9604b860f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07fd79ba367fea4ea64741a6b9e53ec17a1b76d7fa00cb5e8759ee9604b860f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07fd79ba367fea4ea64741a6b9e53ec17a1b76d7fa00cb5e8759ee9604b860f4", kill_on_drop: false }` [INFO] [stdout] 07fd79ba367fea4ea64741a6b9e53ec17a1b76d7fa00cb5e8759ee9604b860f4 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+dc8fe1f81c6cf13c0987944c525b2aa81625b5d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47793727eb236b6bd6266566ca487b96af3656803467b230dc1a3fc72258d0e2 [INFO] running `Command { std: "docker" "start" "-a" "47793727eb236b6bd6266566ca487b96af3656803467b230dc1a3fc72258d0e2", 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: 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: 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are 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 derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "47793727eb236b6bd6266566ca487b96af3656803467b230dc1a3fc72258d0e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47793727eb236b6bd6266566ca487b96af3656803467b230dc1a3fc72258d0e2", kill_on_drop: false }` [INFO] [stdout] 47793727eb236b6bd6266566ca487b96af3656803467b230dc1a3fc72258d0e2