[INFO] fetching crate bart 0.1.6... [INFO] checking bart-0.1.6 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bart 0.1.6 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bart 0.1.6 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bart_derive v0.1.6 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f662ade733f2bbcd01283ebfcdca84b39bea88bd7821e5f1e490065e2cd0cfb [INFO] running `Command { std: "docker" "start" "-a" "7f662ade733f2bbcd01283ebfcdca84b39bea88bd7821e5f1e490065e2cd0cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f662ade733f2bbcd01283ebfcdca84b39bea88bd7821e5f1e490065e2cd0cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f662ade733f2bbcd01283ebfcdca84b39bea88bd7821e5f1e490065e2cd0cfb", kill_on_drop: false }` [INFO] [stdout] 7f662ade733f2bbcd01283ebfcdca84b39bea88bd7821e5f1e490065e2cd0cfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1c5561a6fb5ad82a1515808e1147368e134fa5786ad7f913d666333adbb387d [INFO] running `Command { std: "docker" "start" "-a" "a1c5561a6fb5ad82a1515808e1147368e134fa5786ad7f913d666333adbb387d", 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 itertools v0.6.5 [INFO] [stderr] Compiling synom v0.11.3 [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/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/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/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/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] [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/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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.65s [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" "a1c5561a6fb5ad82a1515808e1147368e134fa5786ad7f913d666333adbb387d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1c5561a6fb5ad82a1515808e1147368e134fa5786ad7f913d666333adbb387d", kill_on_drop: false }` [INFO] [stdout] a1c5561a6fb5ad82a1515808e1147368e134fa5786ad7f913d666333adbb387d