[INFO] fetching crate bart 0.1.6... [INFO] testing bart-0.1.6 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate bart 0.1.6 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate bart 0.1.6 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f87682ba0b6edb37151f0e53b86f95d8a5f7364172bd21e8f72caac560b9b094 [INFO] running `Command { std: "docker" "start" "-a" "f87682ba0b6edb37151f0e53b86f95d8a5f7364172bd21e8f72caac560b9b094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f87682ba0b6edb37151f0e53b86f95d8a5f7364172bd21e8f72caac560b9b094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87682ba0b6edb37151f0e53b86f95d8a5f7364172bd21e8f72caac560b9b094", kill_on_drop: false }` [INFO] [stdout] f87682ba0b6edb37151f0e53b86f95d8a5f7364172bd21e8f72caac560b9b094 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f101116090e1edfe14796a765a5bc29305a64afd6a7b934b2003457983f84e91 [INFO] running `Command { std: "docker" "start" "-a" "f101116090e1edfe14796a765a5bc29305a64afd6a7b934b2003457983f84e91", 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.95s [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" "f101116090e1edfe14796a765a5bc29305a64afd6a7b934b2003457983f84e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f101116090e1edfe14796a765a5bc29305a64afd6a7b934b2003457983f84e91", kill_on_drop: false }` [INFO] [stdout] f101116090e1edfe14796a765a5bc29305a64afd6a7b934b2003457983f84e91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1702b638adaf435d055cf1f2b7a1f97251bffc03a2f9ae6f5790afa8c1b1f753 [INFO] running `Command { std: "docker" "start" "-a" "1702b638adaf435d055cf1f2b7a1f97251bffc03a2f9ae6f5790afa8c1b1f753", kill_on_drop: false }` [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 unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling itertools v0.6.5 [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/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/iteration.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/iteration.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/iteration.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/iteration.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/partials.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/partials.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/partials.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/partials.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/partials.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/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/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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.85s [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" "1702b638adaf435d055cf1f2b7a1f97251bffc03a2f9ae6f5790afa8c1b1f753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1702b638adaf435d055cf1f2b7a1f97251bffc03a2f9ae6f5790afa8c1b1f753", kill_on_drop: false }` [INFO] [stdout] 1702b638adaf435d055cf1f2b7a1f97251bffc03a2f9ae6f5790afa8c1b1f753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 062b9b44c0b2a26fbeb68e23a074103162fca400f6e68f4ede4c0a2090d25436 [INFO] running `Command { std: "docker" "start" "-a" "062b9b44c0b2a26fbeb68e23a074103162fca400f6e68f4ede4c0a2090d25436", 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] --> 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/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] [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/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/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/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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/conditional_scope.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/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: `bart` (example "hello_world") generated 1 warning [INFO] [stderr] warning: `bart` (test "basic") generated 10 warnings [INFO] [stderr] warning: `bart` (test "iteration") generated 4 warnings [INFO] [stderr] warning: `bart` (test "partials") generated 5 warnings [INFO] [stderr] warning: `bart` (test "scoping") generated 3 warnings [INFO] [stderr] warning: `bart` (test "negative_iteration") generated 6 warnings [INFO] [stderr] warning: `bart` (test "conditional_scope") generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [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-2f0b378983e4aac0) [INFO] [stdout] [INFO] [stdout] running 6 tests [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.00s [INFO] [stdout] [INFO] [stderr] Running tests/basic.rs (/opt/rustwide/target/debug/deps/basic-bb8f4d15f364d12f) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test function_call ... ok [INFO] [stdout] test it_can_borrow ... ok [INFO] [stdout] test it_finds_template_files ... ok [INFO] [stdout] test it_handles_some_whitespace ... ok [INFO] [stdout] test it_handles_names_with_underscore ... ok [INFO] [stdout] test it_passes_through ... ok [INFO] [stdout] test it_performs_escaping ... ok [INFO] [stdout] test it_handles_tuple_struct_field_names ... ok [INFO] [stdout] test it_works ... ok [INFO] [stdout] test template_root_element ... 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-b78da77c19759e84) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test it_supports_conditional_scope_with_borrowed_vec ... ok [INFO] [stdout] test it_supports_conditional_scope_with_function ... ok [INFO] [stdout] test it_supports_conditional_scope_with_non_bool ... ok [INFO] [stdout] test it_supports_conditional_scope_with_boolean ... ok [INFO] [stdout] test it_supports_conditional_scope_with_vec ... ok [INFO] [stdout] test it_supports_negative_conditional_scope_with_boolean ... ok [INFO] [stdout] test it_supports_conditional_scope_with_slice ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/iteration.rs (/opt/rustwide/target/debug/deps/iteration-d4d21c646076b74f) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test it_can_iterate_borrowed_slice ... ok [INFO] [stdout] test it_can_iterate ... ok [INFO] [stdout] test it_can_iterate_option ... ok [INFO] [stdout] test it_can_iterate_function ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/negative_iteration.rs (/opt/rustwide/target/debug/deps/negative_iteration-7172c6a70c35cb78) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test it_includes_none_option ... ok [INFO] [stdout] test it_skips_some_option ... ok [INFO] [stdout] test it_skips_ok_result ... ok [INFO] [stdout] test it_supports_multiply_borrowed_option ... ok [INFO] [stdout] test it_supports_borrowed_option ... ok [INFO] [stdout] test it_yields_err_result ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/partials.rs (/opt/rustwide/target/debug/deps/partials-478c971fcbd0e9b4) [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_allows_named_root_scope ... ok [INFO] [stdout] test it_defaults_to_the_current_dynamic_scope ... ok [INFO] [stdout] test it_works ... 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-49f864ccdaa6e792) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test it_can_scope_into_function_values ... ok [INFO] [stdout] test it_can_access_nested_fields ... 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] [stderr] Doc-tests bart [INFO] [stderr] error: DefId(0:0 ~ bart[e269]) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name bart --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bart=/opt/rustwide/target/debug/deps/libbart-5068057437217301.rlib --extern bart_derive=/opt/rustwide/target/debug/deps/libbart_derive-abaef7357801927d.so --extern nom=/opt/rustwide/target/debug/deps/libnom-1f5cf6ea699b5c0a.rlib -C embed-bitcode=no --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "specialization"))' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "062b9b44c0b2a26fbeb68e23a074103162fca400f6e68f4ede4c0a2090d25436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "062b9b44c0b2a26fbeb68e23a074103162fca400f6e68f4ede4c0a2090d25436", kill_on_drop: false }` [INFO] [stdout] 062b9b44c0b2a26fbeb68e23a074103162fca400f6e68f4ede4c0a2090d25436