[INFO] fetching crate bart 0.1.6... [INFO] testing bart-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bart 0.1.6 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bart 0.1.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v2.2.1 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded bart_derive v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 806fe58f6b5026f2326b020faca7d89ce46d6bf9b2f14a181efbb57493d49c01 [INFO] running `Command { std: "docker" "start" "-a" "806fe58f6b5026f2326b020faca7d89ce46d6bf9b2f14a181efbb57493d49c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "806fe58f6b5026f2326b020faca7d89ce46d6bf9b2f14a181efbb57493d49c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806fe58f6b5026f2326b020faca7d89ce46d6bf9b2f14a181efbb57493d49c01", kill_on_drop: false }` [INFO] [stdout] 806fe58f6b5026f2326b020faca7d89ce46d6bf9b2f14a181efbb57493d49c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f7d2ba1ce1a43e33ba14325ebbd23824bce293ab459563ffa2631c5ca4a6351 [INFO] running `Command { std: "docker" "start" "-a" "6f7d2ba1ce1a43e33ba14325ebbd23824bce293ab459563ffa2631c5ca4a6351", kill_on_drop: false }` [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling bart v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s [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" "6f7d2ba1ce1a43e33ba14325ebbd23824bce293ab459563ffa2631c5ca4a6351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f7d2ba1ce1a43e33ba14325ebbd23824bce293ab459563ffa2631c5ca4a6351", kill_on_drop: false }` [INFO] [stdout] 6f7d2ba1ce1a43e33ba14325ebbd23824bce293ab459563ffa2631c5ca4a6351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8637876c57cdba5706bf27527c6501854e9f781c9407d63cf153396b1927613c [INFO] running `Command { std: "docker" "start" "-a" "8637876c57cdba5706bf27527c6501854e9f781c9407d63cf153396b1927613c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling either v1.8.0 [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 num v0.1.42 [INFO] [stderr] Compiling bart_derive v0.1.6 [INFO] [stderr] Compiling bart v0.1.6 (/opt/rustwide/workdir) [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/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] [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/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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.82s [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" "8637876c57cdba5706bf27527c6501854e9f781c9407d63cf153396b1927613c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8637876c57cdba5706bf27527c6501854e9f781c9407d63cf153396b1927613c", kill_on_drop: false }` [INFO] [stdout] 8637876c57cdba5706bf27527c6501854e9f781c9407d63cf153396b1927613c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b84d84803411442bddf0fa2ae08abdedfff1425e7c603639858fbc6e3f2e2966 [INFO] running `Command { std: "docker" "start" "-a" "b84d84803411442bddf0fa2ae08abdedfff1425e7c603639858fbc6e3f2e2966", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/scoping.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/scoping.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/scoping.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/partials.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/partials.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/partials.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/partials.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/partials.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:82:14 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:104:14 [INFO] [stderr] | [INFO] [stderr] 104 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:119:14 [INFO] [stderr] | [INFO] [stderr] 119 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/basic.rs:129:14 [INFO] [stderr] | [INFO] [stderr] 129 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] [INFO] [stderr] --> tests/conditional_scope.rs:5:14 [INFO] [stdout] running 6 tests [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/conditional_scope.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/conditional_scope.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/conditional_scope.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/conditional_scope.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/conditional_scope.rs:92:14 [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/conditional_scope.rs:105:14 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/hello_world.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(bart_derive::BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `HelloWorld` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_HelloWorld` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `bart_derive::BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `bart_derive::BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/iteration.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/iteration.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/iteration.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/iteration.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/negative_iteration.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/negative_iteration.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(BartDisplay)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/negative_iteration.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/negative_iteration.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/negative_iteration.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/negative_iteration.rs:60:14 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(BartDisplay)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Test` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `bart` (test "scoping") generated 3 warnings [INFO] [stderr] warning: `bart` (test "partials") generated 5 warnings [INFO] [stderr] warning: `bart` (test "basic") generated 10 warnings [INFO] [stderr] warning: `bart` (test "conditional_scope") generated 7 warnings [INFO] [stderr] warning: `bart` (example "hello_world") generated 1 warning [INFO] [stderr] warning: `bart` (test "iteration") generated 4 warnings [INFO] [stderr] warning: `bart` (test "negative_iteration") generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bart-fdb8774ae99e96c6) [INFO] [stderr] Running tests/basic.rs (/opt/rustwide/target/debug/deps/basic-55d253072844d2ce) [INFO] [stdout] test display_html_safe::test::it_handles_tight_packed_string ... ok [INFO] [stdout] test display_html_safe::test::it_works ... ok [INFO] [stdout] test negative_iterator::test::option_some ... ok [INFO] [stdout] test negative_iterator::test::option_none ... ok [INFO] [stdout] test negative_iterator::test::result_err ... ok [INFO] [stdout] test negative_iterator::test::result_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test it_can_borrow ... ok [INFO] [stdout] test it_finds_template_files ... ok [INFO] [stdout] test function_call ... ok [INFO] [stdout] test it_handles_some_whitespace ... ok [INFO] [stdout] test it_handles_names_with_underscore ... ok [INFO] [stdout] test it_handles_tuple_struct_field_names ... ok [INFO] [stdout] test it_performs_escaping ... ok [INFO] [stdout] test it_works ... ok [INFO] [stdout] test template_root_element ... ok [INFO] [stdout] test it_passes_through ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/conditional_scope.rs (/opt/rustwide/target/debug/deps/conditional_scope-90dfc0f3bc9b205c) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test it_supports_conditional_scope_with_boolean ... ok [INFO] [stdout] test it_supports_conditional_scope_with_non_bool ... ok [INFO] [stdout] test it_supports_conditional_scope_with_function ... ok [INFO] [stdout] test it_supports_conditional_scope_with_vec ... ok [INFO] [stdout] test it_supports_conditional_scope_with_slice ... ok [INFO] [stdout] test it_supports_conditional_scope_with_borrowed_vec ... ok [INFO] [stdout] test it_supports_negative_conditional_scope_with_boolean ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/iteration.rs (/opt/rustwide/target/debug/deps/iteration-1b95a62d74b45a40) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test it_can_iterate_borrowed_slice ... ok [INFO] [stdout] test it_can_iterate_function ... ok [INFO] [stdout] test it_can_iterate_option ... ok [INFO] [stderr] Running tests/negative_iteration.rs (/opt/rustwide/target/debug/deps/negative_iteration-b78f321a6e67023b) [INFO] [stdout] test it_can_iterate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test it_skips_ok_result ... ok [INFO] [stdout] test it_includes_none_option ... ok [INFO] [stdout] test it_supports_multiply_borrowed_option ... ok [INFO] [stdout] test it_yields_err_result ... ok [INFO] [stdout] test it_supports_borrowed_option ... ok [INFO] [stdout] test it_skips_some_option ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/partials.rs (/opt/rustwide/target/debug/deps/partials-1ccdfdd7b7f9db89) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test it_can_nest_within_iterator ... ok [INFO] [stdout] test it_finds_partials_relative_to_crate_root ... ok [INFO] [stdout] test it_defaults_to_the_current_dynamic_scope ... ok [INFO] [stdout] test it_works ... ok [INFO] [stdout] test it_allows_named_root_scope ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/scoping.rs (/opt/rustwide/target/debug/deps/scoping-0bf0d335ce393cfa) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] Doc-tests bart [INFO] [stdout] test it_can_access_nested_fields ... ok [INFO] [stdout] test it_can_scope_into_function_values ... ok [INFO] [stdout] test it_can_scope_into_nested_values ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 55) ... ignored [INFO] [stdout] test src/lib.rs - (line 63) ... ignored [INFO] [stdout] test src/lib.rs - (line 71) ... ignored [INFO] [stdout] test src/lib.rs - (line 79) ... ignored [INFO] [stdout] test src/lib.rs - (line 96) ... ok [INFO] [stdout] test src/lib.rs - (line 118) ... ok [INFO] [stdout] test src/lib.rs - (line 32) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b84d84803411442bddf0fa2ae08abdedfff1425e7c603639858fbc6e3f2e2966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b84d84803411442bddf0fa2ae08abdedfff1425e7c603639858fbc6e3f2e2966", kill_on_drop: false }` [INFO] [stdout] b84d84803411442bddf0fa2ae08abdedfff1425e7c603639858fbc6e3f2e2966