[INFO] fetching crate bart 0.1.6... [INFO] testing bart-0.1.6 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bart 0.1.6 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate bart 0.1.6 [INFO] finished tweaking crates.io crate bart 0.1.6 [INFO] tweaked toml for crates.io crate bart 0.1.6 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bart 0.1.6 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bart 0.1.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bart_derive v0.1.6 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded nom v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3489e73077899ba20d4f39b618fb43fce909993da4450b3ce41a3910a6e0c5a5 [INFO] running `Command { std: "docker" "start" "-a" "3489e73077899ba20d4f39b618fb43fce909993da4450b3ce41a3910a6e0c5a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3489e73077899ba20d4f39b618fb43fce909993da4450b3ce41a3910a6e0c5a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3489e73077899ba20d4f39b618fb43fce909993da4450b3ce41a3910a6e0c5a5", kill_on_drop: false }` [INFO] [stdout] 3489e73077899ba20d4f39b618fb43fce909993da4450b3ce41a3910a6e0c5a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3edf18dc12284436a25c930f2d6902ec44128c3e18e36f9d28c9964c879ce152 [INFO] running `Command { std: "docker" "start" "-a" "3edf18dc12284436a25c930f2d6902ec44128c3e18e36f9d28c9964c879ce152", 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 1.33s [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 2` [INFO] running `Command { std: "docker" "inspect" "3edf18dc12284436a25c930f2d6902ec44128c3e18e36f9d28c9964c879ce152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3edf18dc12284436a25c930f2d6902ec44128c3e18e36f9d28c9964c879ce152", kill_on_drop: false }` [INFO] [stdout] 3edf18dc12284436a25c930f2d6902ec44128c3e18e36f9d28c9964c879ce152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4af6211747d2e2fe20e14eb5aa65f5661add148dee4ade805c021bcff633849f [INFO] running `Command { std: "docker" "start" "-a" "4af6211747d2e2fe20e14eb5aa65f5661add148dee4ade805c021bcff633849f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling bart_derive v0.1.6 [INFO] [stderr] Compiling bart v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/hello_world.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(bart_derive::BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HelloWorld` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_HelloWorld` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `bart_derive::BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `bart_derive::BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `bart_derive::BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/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/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/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/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: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/conditional_scope.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/conditional_scope.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/conditional_scope.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/conditional_scope.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/conditional_scope.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/conditional_scope.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(BartDisplay)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/conditional_scope.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(BartDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Test` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_BART_DISPLAY_FOR_Test` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `BartDisplay` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `BartDisplay` may come from an old version of the `bart_derive` crate, try updating your dependency with `cargo update -p bart_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `BartDisplay` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/basic.rs: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 8.96s [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 2` [INFO] running `Command { std: "docker" "inspect" "4af6211747d2e2fe20e14eb5aa65f5661add148dee4ade805c021bcff633849f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4af6211747d2e2fe20e14eb5aa65f5661add148dee4ade805c021bcff633849f", kill_on_drop: false }` [INFO] [stdout] 4af6211747d2e2fe20e14eb5aa65f5661add148dee4ade805c021bcff633849f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a6945b07e63511c16be41de7f3ce9133fe110e16a8544a270b9e46cd6d80d17c [INFO] running `Command { std: "docker" "start" "-a" "a6945b07e63511c16be41de7f3ce9133fe110e16a8544a270b9e46cd6d80d17c", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/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: 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] --> 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/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] [stdout] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] running 6 tests [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/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: `bart` (test "conditional_scope") generated 7 warnings [INFO] [stderr] warning: `bart` (test "basic") generated 10 warnings [INFO] [stderr] warning: `bart` (test "iteration") generated 4 warnings [INFO] [stderr] warning: `bart` (example "hello_world") generated 1 warning [INFO] [stderr] warning: `bart` (test "negative_iteration") generated 6 warnings [INFO] [stderr] warning: `bart` (test "scoping") generated 3 warnings [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: `bart` (test "partials") generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bart-15d04a08aaa33564) [INFO] [stdout] test display_html_safe::test::it_handles_tight_packed_string ... ok [INFO] [stdout] test negative_iterator::test::result_ok ... ok [INFO] [stdout] test negative_iterator::test::option_none ... ok [INFO] [stdout] test negative_iterator::test::option_some ... ok [INFO] [stdout] test negative_iterator::test::result_err ... ok [INFO] [stdout] test display_html_safe::test::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/basic.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/basic-677d507413fdb1b0) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test it_can_borrow ... ok [INFO] [stdout] test function_call ... 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 it_handles_names_with_underscore ... ok [INFO] [stdout] test it_handles_some_whitespace ... ok [INFO] [stdout] test template_root_element ... ok [INFO] [stdout] test it_finds_template_files ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/conditional_scope.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/conditional_scope-377389c4fe9d07ae) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test it_supports_conditional_scope_with_boolean ... ok [INFO] [stdout] test it_supports_conditional_scope_with_borrowed_vec ... ok [INFO] [stdout] test it_supports_conditional_scope_with_non_bool ... ok [INFO] [stdout] test it_supports_conditional_scope_with_slice ... ok [INFO] [stdout] test it_supports_negative_conditional_scope_with_boolean ... ok [INFO] [stdout] test it_supports_conditional_scope_with_vec ... ok [INFO] [stdout] test it_supports_conditional_scope_with_function ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/iteration.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/iteration-df23fd96789eb81b) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test it_can_iterate_option ... ok [INFO] [stdout] test it_can_iterate_borrowed_slice ... ok [INFO] [stdout] test it_can_iterate_function ... ok [INFO] [stdout] test it_can_iterate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/negative_iteration.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/negative_iteration-007aae2ad73f707a) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stderr] Running tests/partials.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/partials-3c86c4fb8899a571) [INFO] [stdout] test it_skips_ok_result ... ok [INFO] [stdout] test it_includes_none_option ... ok [INFO] [stdout] test it_skips_some_option ... ok [INFO] [stdout] test it_supports_borrowed_option ... ok [INFO] [stdout] test it_supports_multiply_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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test it_defaults_to_the_current_dynamic_scope ... ok [INFO] [stdout] test it_can_nest_within_iterator ... ok [INFO] [stdout] test it_works ... ok [INFO] [stdout] test it_finds_partials_relative_to_crate_root ... ok [INFO] [stdout] test it_allows_named_root_scope ... ok [INFO] [stdout] [INFO] [stderr] Running tests/scoping.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scoping-1a7fa8c3a096ddf2) [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test it_can_access_nested_fields ... ok [INFO] [stdout] test it_can_scope_into_nested_values ... ok [INFO] [stdout] test it_can_scope_into_function_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] running `Command { std: "docker" "inspect" "a6945b07e63511c16be41de7f3ce9133fe110e16a8544a270b9e46cd6d80d17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6945b07e63511c16be41de7f3ce9133fe110e16a8544a270b9e46cd6d80d17c", kill_on_drop: false }` [INFO] [stdout] a6945b07e63511c16be41de7f3ce9133fe110e16a8544a270b9e46cd6d80d17c