[INFO] fetching crate debug3 0.4.1... [INFO] checking debug3-0.4.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate debug3 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate debug3 0.4.1 [INFO] finished tweaking crates.io crate debug3 0.4.1 [INFO] tweaked toml for crates.io crate debug3 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate debug3 0.4.1 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] crate crates.io crate debug3 0.4.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7163d508dd937849ad9fcc309c37378ff35bf688a0c03acc65dc95d57cea8dde [INFO] running `Command { std: "docker" "start" "-a" "7163d508dd937849ad9fcc309c37378ff35bf688a0c03acc65dc95d57cea8dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7163d508dd937849ad9fcc309c37378ff35bf688a0c03acc65dc95d57cea8dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7163d508dd937849ad9fcc309c37378ff35bf688a0c03acc65dc95d57cea8dde", kill_on_drop: false }` [INFO] [stdout] 7163d508dd937849ad9fcc309c37378ff35bf688a0c03acc65dc95d57cea8dde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 51bd5e02c7a75dc57abdde6c36378f86c592623ac7ddd910becb19e655dcfa74 [INFO] running `Command { std: "docker" "start" "-a" "51bd5e02c7a75dc57abdde6c36378f86c592623ac7ddd910becb19e655dcfa74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling trybuild v1.0.83 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling debug3-derive v0.4.0 [INFO] [stderr] Checking debug3 v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug_indent` [INFO] [stdout] --> src/algorithm.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | if cfg!(prettyplease_debug_indent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug_indent)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug_indent)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders/set.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug_indent` [INFO] [stdout] --> src/algorithm.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | if cfg!(prettyplease_debug_indent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug_indent)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug_indent)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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] --> examples/derive.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(debug3::Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Foo` [INFO] [stdout] 2 | struct Foo { [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `debug3::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `debug3::Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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 `debug3::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders/set.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rustdoc_types` [INFO] [stdout] --> tests/it/rustdoc_types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(feature = "rustdoc_types")] [INFO] [stdout] | ^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rustdoc-types"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aws-sdk-ec2`, `aws-smithy-types`, `bytes`, `cid`, `dashmap`, `hashbrown`, `kdl`, `libipld-core`, `miette`, `proc-macro2`, `pulldown-cmark`, `rustdoc-types`, `serde_json`, `smallvec`, `syn`, and `ungrammar` [INFO] [stdout] = help: consider adding `rustdoc_types` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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/it/algo.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Basic` and up 2 bodies [INFO] [stdout] 6 | struct Basic { [INFO] [stdout] | ----- `Basic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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 `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/algo.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Empty` and up 2 bodies [INFO] [stdout] 35 | struct Empty {} [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/algo.rs:738:14 [INFO] [stdout] | [INFO] [stdout] 738 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Foo` and up 2 bodies [INFO] [stdout] 739 | enum Foo { [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Unit` [INFO] [stdout] 6 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Tuple` [INFO] [stdout] 9 | struct Tuple(isize, usize); [INFO] [stdout] | ----- `Tuple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Struct` [INFO] [stdout] 12 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Enum` [INFO] [stdout] 18 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Pointers` [INFO] [stdout] 25 | struct Pointers(*const dyn Send, *mut dyn Sync); [INFO] [stdout] | -------- `Pointers` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_A` [INFO] [stdout] 50 | enum A {} [INFO] [stdout] | - `A` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_B` [INFO] [stdout] 53 | enum B { [INFO] [stdout] | - `B` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_C` [INFO] [stdout] 59 | enum C { [INFO] [stdout] | - `C` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_D` [INFO] [stdout] 65 | enum D { [INFO] [stdout] | - `D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_E` [INFO] [stdout] 69 | struct E; [INFO] [stdout] | - `E` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_F` [INFO] [stdout] 71 | struct F(isize); [INFO] [stdout] | - `F` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_G` [INFO] [stdout] 73 | struct G(isize, isize); [INFO] [stdout] | - `G` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_H` [INFO] [stdout] 75 | struct H { [INFO] [stdout] | - `H` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_I` [INFO] [stdout] 79 | struct I { [INFO] [stdout] | - `I` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/derive.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_J` [INFO] [stdout] 84 | struct J(Custom); [INFO] [stdout] | - `J` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/motivating.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Instr` [INFO] [stdout] 78 | enum Instr { [INFO] [stdout] | ----- `Instr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/motivating.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_BinOp` [INFO] [stdout] 85 | enum BinOp { [INFO] [stdout] | ----- `BinOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/motivating.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_UnOp` [INFO] [stdout] 93 | enum UnOp { [INFO] [stdout] | ---- `UnOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/motivating.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_LinkedList` [INFO] [stdout] 143 | enum LinkedList { [INFO] [stdout] | ---------- `LinkedList` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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/it/std.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Ref` [INFO] [stdout] 55 | struct Ref<'a, T: ?Sized> { [INFO] [stdout] | --- `Ref` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [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: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.78s [INFO] running `Command { std: "docker" "inspect" "51bd5e02c7a75dc57abdde6c36378f86c592623ac7ddd910becb19e655dcfa74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51bd5e02c7a75dc57abdde6c36378f86c592623ac7ddd910becb19e655dcfa74", kill_on_drop: false }` [INFO] [stdout] 51bd5e02c7a75dc57abdde6c36378f86c592623ac7ddd910becb19e655dcfa74