[INFO] fetching crate bart 0.1.6... [INFO] checking bart-0.1.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate bart 0.1.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate bart 0.1.6 [INFO] finished tweaking crates.io crate bart 0.1.6 [INFO] tweaked toml for crates.io crate bart 0.1.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bart 0.1.6 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 bart 0.1.6 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a2616cdd2f3f31780018411b057ad5786f58a2d8c6d6df88d946df2d37ff6241 [INFO] running `Command { std: "docker" "start" "-a" "a2616cdd2f3f31780018411b057ad5786f58a2d8c6d6df88d946df2d37ff6241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2616cdd2f3f31780018411b057ad5786f58a2d8c6d6df88d946df2d37ff6241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2616cdd2f3f31780018411b057ad5786f58a2d8c6d6df88d946df2d37ff6241", kill_on_drop: false }` [INFO] [stdout] a2616cdd2f3f31780018411b057ad5786f58a2d8c6d6df88d946df2d37ff6241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7937d82a2af43593424dde3769c4bb8796033a3cf675ff0d154b9a8a18808322 [INFO] running `Command { std: "docker" "start" "-a" "7937d82a2af43593424dde3769c4bb8796033a3cf675ff0d154b9a8a18808322", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking bart v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling bart_derive v0.1.6 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/hello_world.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(bart_derive::BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HelloWorld` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_HelloWorld` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `bart_derive::BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `bart_derive::BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `bart_derive::BartDisplay` (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/negative_iteration.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/negative_iteration.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/negative_iteration.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/negative_iteration.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/negative_iteration.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/negative_iteration.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/iteration.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/iteration.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/iteration.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/iteration.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/partials.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/partials.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/partials.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/partials.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/partials.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/basic.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/scoping.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/scoping.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/scoping.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/conditional_scope.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/conditional_scope.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/conditional_scope.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/conditional_scope.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/conditional_scope.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/conditional_scope.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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/conditional_scope.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_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 `BartDisplay` (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 4.41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7937d82a2af43593424dde3769c4bb8796033a3cf675ff0d154b9a8a18808322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7937d82a2af43593424dde3769c4bb8796033a3cf675ff0d154b9a8a18808322", kill_on_drop: false }` [INFO] [stdout] 7937d82a2af43593424dde3769c4bb8796033a3cf675ff0d154b9a8a18808322