[INFO] cloning repository https://github.com/Lej77/cast_trait_object
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lej77/cast_trait_object" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLej77%2Fcast_trait_object", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLej77%2Fcast_trait_object'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 49f603fe8b5782c9e222e1242dacf8b3b05cc0de
[INFO] checking Lej77/cast_trait_object against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLej77%2Fcast_trait_object" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Lej77/cast_trait_object on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Lej77/cast_trait_object
[INFO] finished tweaking git repo https://github.com/Lej77/cast_trait_object
[INFO] tweaked toml for git repo https://github.com/Lej77/cast_trait_object written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Lej77/cast_trait_object 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f85724ebda63a378dc377649f6ba62f6cd939c397877eb71b7b7f7ce46275346
[INFO] running `Command { std: "docker" "start" "-a" "f85724ebda63a378dc377649f6ba62f6cd939c397877eb71b7b7f7ce46275346", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f85724ebda63a378dc377649f6ba62f6cd939c397877eb71b7b7f7ce46275346", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f85724ebda63a378dc377649f6ba62f6cd939c397877eb71b7b7f7ce46275346", kill_on_drop: false }`
[INFO] [stdout] f85724ebda63a378dc377649f6ba62f6cd939c397877eb71b7b7f7ce46275346
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db6f8b761a81a3ee3759837b37c9fc3927c25f2decf498ae571258d3eed16ada
[INFO] running `Command { std: "docker" "start" "-a" "db6f8b761a81a3ee3759837b37c9fc3927c25f2decf498ae571258d3eed16ada", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling serde v1.0.119
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.58
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking quote v1.0.8
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking proc-macro-crate v0.1.5
[INFO] [stderr]     Checking cast_trait_object_macros v0.1.3 (/opt/rustwide/workdir/cast_trait_object_macros)
[INFO] [stderr]     Checking cast_trait_object v0.1.3 (/opt/rustwide/workdir/cast_trait_object)
[INFO] [stderr]     Checking external_tests v0.1.0 (/opt/rustwide/workdir/external_tests)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.52s
[INFO] running `Command { std: "docker" "inspect" "db6f8b761a81a3ee3759837b37c9fc3927c25f2decf498ae571258d3eed16ada", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db6f8b761a81a3ee3759837b37c9fc3927c25f2decf498ae571258d3eed16ada", kill_on_drop: false }`
[INFO] [stdout] db6f8b761a81a3ee3759837b37c9fc3927c25f2decf498ae571258d3eed16ada
[INFO] checking Lej77/cast_trait_object against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLej77%2Fcast_trait_object" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Lej77/cast_trait_object on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Lej77/cast_trait_object
[INFO] finished tweaking git repo https://github.com/Lej77/cast_trait_object
[INFO] tweaked toml for git repo https://github.com/Lej77/cast_trait_object written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Lej77/cast_trait_object 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5cb33d12eb86225df7b7fa0e7662523802f4f799ee09e6ccd4b36511eddb4279
[INFO] running `Command { std: "docker" "start" "-a" "5cb33d12eb86225df7b7fa0e7662523802f4f799ee09e6ccd4b36511eddb4279", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5cb33d12eb86225df7b7fa0e7662523802f4f799ee09e6ccd4b36511eddb4279", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cb33d12eb86225df7b7fa0e7662523802f4f799ee09e6ccd4b36511eddb4279", kill_on_drop: false }`
[INFO] [stdout] 5cb33d12eb86225df7b7fa0e7662523802f4f799ee09e6ccd4b36511eddb4279
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30ca0989abcff05758a12d3276a1c28bd2dc0a1d9a09467194d76f0ab75f8aa7
[INFO] running `Command { std: "docker" "start" "-a" "30ca0989abcff05758a12d3276a1c28bd2dc0a1d9a09467194d76f0ab75f8aa7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling serde v1.0.119
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.58
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking quote v1.0.8
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking proc-macro-crate v0.1.5
[INFO] [stderr]     Checking cast_trait_object_macros v0.1.3 (/opt/rustwide/workdir/cast_trait_object_macros)
[INFO] [stderr]     Checking cast_trait_object v0.1.3 (/opt/rustwide/workdir/cast_trait_object)
[INFO] [stderr]     Checking external_tests v0.1.0 (/opt/rustwide/workdir/external_tests)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1641:13
[INFO] [stdout]      |
[INFO] [stdout] 1641 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1642 | |             $crate::DynCastConfig
[INFO] [stdout] 1643 | |             for
[INFO] [stdout] 1644 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1648 | |                 type Source = dyn $source_trait;
[INFO] [stdout] 1649 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1680 | /     create_dyn_cast_config!(
[INFO] [stdout] 1681 | |         /// Can have attributes on the generated config struct.
[INFO] [stdout] 1682 | |         #[derive(Clone)]
[INFO] [stdout] 1683 | |         UpcastConfig = Super => Super
[INFO] [stdout] 1684 | |     );
[INFO] [stdout]      | |_____- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the macro `create_dyn_cast_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1651:13
[INFO] [stdout]      |
[INFO] [stdout] 1651 | /             impl< $($lifetime,)* $($generics,)*  __T>
[INFO] [stdout] 1652 | |             $crate::DynCastConfigTargetTest<__T>
[INFO] [stdout] 1653 | |             for
[INFO] [stdout] 1654 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1657 | |                 $($($where)*)?
[INFO] [stdout] 1658 | |             {}
[INFO] [stdout]      | |______________^
[INFO] [stdout] ...
[INFO] [stdout] 1680 | /     create_dyn_cast_config!(
[INFO] [stdout] 1681 | |         /// Can have attributes on the generated config struct.
[INFO] [stdout] 1682 | |         #[derive(Clone)]
[INFO] [stdout] 1683 | |         UpcastConfig = Super => Super
[INFO] [stdout] 1684 | |     );
[INFO] [stdout]      | |_____- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the macro `create_dyn_cast_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1660:13
[INFO] [stdout]      |
[INFO] [stdout] 1660 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1661 | |             $crate::GetDynCastConfig<dyn $target_trait>
[INFO] [stdout] 1662 | |             for
[INFO] [stdout] 1663 | |             dyn $source_trait
[INFO] [stdout] ...    |
[INFO] [stdout] 1666 | |                 type Config = $config_type;
[INFO] [stdout] 1667 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1680 | /     create_dyn_cast_config!(
[INFO] [stdout] 1681 | |         /// Can have attributes on the generated config struct.
[INFO] [stdout] 1682 | |         #[derive(Clone)]
[INFO] [stdout] 1683 | |         UpcastConfig = Super => Super
[INFO] [stdout] 1684 | |     );
[INFO] [stdout]      | |_____- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the macro `create_dyn_cast_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1641:13
[INFO] [stdout]      |
[INFO] [stdout] 1641 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1642 | |             $crate::DynCastConfig
[INFO] [stdout] 1643 | |             for
[INFO] [stdout] 1644 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1648 | |                 type Source = dyn $source_trait;
[INFO] [stdout] 1649 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1685 | /     create_dyn_cast_config!(
[INFO] [stdout] 1686 | |         /// Can have attributes on the generated config struct.
[INFO] [stdout] 1687 | |         #[derive(Clone)]
[INFO] [stdout] 1688 | |         SuperConfig = Super => Sub
[INFO] [stdout] 1689 | |     );
[INFO] [stdout]      | |_____- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the macro `create_dyn_cast_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1651:13
[INFO] [stdout]      |
[INFO] [stdout] 1651 | /             impl< $($lifetime,)* $($generics,)*  __T>
[INFO] [stdout] 1652 | |             $crate::DynCastConfigTargetTest<__T>
[INFO] [stdout] 1653 | |             for
[INFO] [stdout] 1654 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1657 | |                 $($($where)*)?
[INFO] [stdout] 1658 | |             {}
[INFO] [stdout]      | |______________^
[INFO] [stdout] ...
[INFO] [stdout] 1685 | /     create_dyn_cast_config!(
[INFO] [stdout] 1686 | |         /// Can have attributes on the generated config struct.
[INFO] [stdout] 1687 | |         #[derive(Clone)]
[INFO] [stdout] 1688 | |         SuperConfig = Super => Sub
[INFO] [stdout] 1689 | |     );
[INFO] [stdout]      | |_____- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the macro `create_dyn_cast_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1660:13
[INFO] [stdout]      |
[INFO] [stdout] 1660 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1661 | |             $crate::GetDynCastConfig<dyn $target_trait>
[INFO] [stdout] 1662 | |             for
[INFO] [stdout] 1663 | |             dyn $source_trait
[INFO] [stdout] ...    |
[INFO] [stdout] 1666 | |                 type Config = $config_type;
[INFO] [stdout] 1667 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1685 | /     create_dyn_cast_config!(
[INFO] [stdout] 1686 | |         /// Can have attributes on the generated config struct.
[INFO] [stdout] 1687 | |         #[derive(Clone)]
[INFO] [stdout] 1688 | |         SuperConfig = Super => Sub
[INFO] [stdout] 1689 | |     );
[INFO] [stdout]      | |_____- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the macro `create_dyn_cast_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1695 |       impl_dyn_cast!(TestSuper => SuperConfig, UpcastConfig);
[INFO] [stdout]      |       ------------------------------------------------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1695 |       impl_dyn_cast!(TestSuper => SuperConfig, UpcastConfig);
[INFO] [stdout]      |       ------------------------------------------------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1700 |       impl_dyn_cast! {TestSub as Super => Sub, Super}
[INFO] [stdout]      |       ----------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1700 |       impl_dyn_cast! {TestSub as Super => Sub, Super}
[INFO] [stdout]      |       ----------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1706 |       impl_dyn_cast! {TestSubMixed as Super => Sub}
[INFO] [stdout]      |       --------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1707 |       impl_dyn_cast! {TestSubMixed => UpcastConfig}
[INFO] [stdout]      |       --------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1725 |       impl_dyn_cast!(for<T> TestGeneric<T> as Super where {T: 'static} => Sub);
[INFO] [stdout]      |       ------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1726 |       impl_dyn_cast!(for<T> TestGeneric<T> as Super where {T: 'static} => Super);
[INFO] [stdout]      |       -------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1732 |       impl_dyn_cast!(for<T> TestGenericMixed<T> as Super where {T: 'static} => Sub);
[INFO] [stdout]      |       ----------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1733 |       impl_dyn_cast!(for<T> TestGenericMixed<T> where {T: 'static} => UpcastConfig);
[INFO] [stdout]      |       ----------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1740 |       impl_dyn_cast!(for<T> OnlyDisplayGeneric<T> as Super where {T: 'static} => Sub);
[INFO] [stdout]      |       ------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1741 |       impl_dyn_cast!(for<T> OnlyDisplayGeneric<T> as Super where {T: 'static} => Super);
[INFO] [stdout]      |       --------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1641:13
[INFO] [stdout]      |
[INFO] [stdout] 1641 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1642 | |             $crate::DynCastConfig
[INFO] [stdout] 1643 | |             for
[INFO] [stdout] 1644 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1648 | |                 type Source = dyn $source_trait;
[INFO] [stdout] 1649 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1769 | /         create_dyn_cast_config!(
[INFO] [stdout] 1770 | |             /// Can have attributes on the generated config struct.
[INFO] [stdout] 1771 | |             #[derive(Clone)]
[INFO] [stdout] 1772 | |             SuperConfig<T, U> = Super<T> => Sub<U>
[INFO] [stdout] 1773 | |         );
[INFO] [stdout]      | |_________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the macro `create_dyn_cast_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1651:13
[INFO] [stdout]      |
[INFO] [stdout] 1651 | /             impl< $($lifetime,)* $($generics,)*  __T>
[INFO] [stdout] 1652 | |             $crate::DynCastConfigTargetTest<__T>
[INFO] [stdout] 1653 | |             for
[INFO] [stdout] 1654 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1657 | |                 $($($where)*)?
[INFO] [stdout] 1658 | |             {}
[INFO] [stdout]      | |______________^
[INFO] [stdout] ...
[INFO] [stdout] 1769 | /         create_dyn_cast_config!(
[INFO] [stdout] 1770 | |             /// Can have attributes on the generated config struct.
[INFO] [stdout] 1771 | |             #[derive(Clone)]
[INFO] [stdout] 1772 | |             SuperConfig<T, U> = Super<T> => Sub<U>
[INFO] [stdout] 1773 | |         );
[INFO] [stdout]      | |_________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the macro `create_dyn_cast_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1660:13
[INFO] [stdout]      |
[INFO] [stdout] 1660 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1661 | |             $crate::GetDynCastConfig<dyn $target_trait>
[INFO] [stdout] 1662 | |             for
[INFO] [stdout] 1663 | |             dyn $source_trait
[INFO] [stdout] ...    |
[INFO] [stdout] 1666 | |                 type Config = $config_type;
[INFO] [stdout] 1667 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1769 | /         create_dyn_cast_config!(
[INFO] [stdout] 1770 | |             /// Can have attributes on the generated config struct.
[INFO] [stdout] 1771 | |             #[derive(Clone)]
[INFO] [stdout] 1772 | |             SuperConfig<T, U> = Super<T> => Sub<U>
[INFO] [stdout] 1773 | |         );
[INFO] [stdout]      | |_________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the macro `create_dyn_cast_config` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1776 |           impl_dyn_cast!(for<T> () => SuperConfig<T, T>);
[INFO] [stdout]      |           ---------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1780 |           impl_dyn_cast!(for<T> TestSuper => SuperConfig<T, T>);
[INFO] [stdout]      |           ----------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1785 |           impl_dyn_cast! {for<T> TestSub as Super<T> where {T: core::fmt::Display} => Sub<T>}
[INFO] [stdout]      |           ----------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1641:13
[INFO] [stdout]      |
[INFO] [stdout] 1641 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1642 | |             $crate::DynCastConfig
[INFO] [stdout] 1643 | |             for
[INFO] [stdout] 1644 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1648 | |                 type Source = dyn $source_trait;
[INFO] [stdout] 1649 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1815 |           #[dyn_cast(Sub)]
[INFO] [stdout]      |           ---------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1651:13
[INFO] [stdout]      |
[INFO] [stdout] 1651 | /             impl< $($lifetime,)* $($generics,)*  __T>
[INFO] [stdout] 1652 | |             $crate::DynCastConfigTargetTest<__T>
[INFO] [stdout] 1653 | |             for
[INFO] [stdout] 1654 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1657 | |                 $($($where)*)?
[INFO] [stdout] 1658 | |             {}
[INFO] [stdout]      | |______________^
[INFO] [stdout] ...
[INFO] [stdout] 1815 |           #[dyn_cast(Sub)]
[INFO] [stdout]      |           ---------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1660:13
[INFO] [stdout]      |
[INFO] [stdout] 1660 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1661 | |             $crate::GetDynCastConfig<dyn $target_trait>
[INFO] [stdout] 1662 | |             for
[INFO] [stdout] 1663 | |             dyn $source_trait
[INFO] [stdout] ...    |
[INFO] [stdout] 1666 | |                 type Config = $config_type;
[INFO] [stdout] 1667 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1815 |           #[dyn_cast(Sub)]
[INFO] [stdout]      |           ---------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1641:13
[INFO] [stdout]      |
[INFO] [stdout] 1641 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1642 | |             $crate::DynCastConfig
[INFO] [stdout] 1643 | |             for
[INFO] [stdout] 1644 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1648 | |                 type Source = dyn $source_trait;
[INFO] [stdout] 1649 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1816 |           #[dyn_upcast]
[INFO] [stdout]      |           ------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1651:13
[INFO] [stdout]      |
[INFO] [stdout] 1651 | /             impl< $($lifetime,)* $($generics,)*  __T>
[INFO] [stdout] 1652 | |             $crate::DynCastConfigTargetTest<__T>
[INFO] [stdout] 1653 | |             for
[INFO] [stdout] 1654 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1657 | |                 $($($where)*)?
[INFO] [stdout] 1658 | |             {}
[INFO] [stdout]      | |______________^
[INFO] [stdout] ...
[INFO] [stdout] 1816 |           #[dyn_upcast]
[INFO] [stdout]      |           ------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1660:13
[INFO] [stdout]      |
[INFO] [stdout] 1660 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1661 | |             $crate::GetDynCastConfig<dyn $target_trait>
[INFO] [stdout] 1662 | |             for
[INFO] [stdout] 1663 | |             dyn $source_trait
[INFO] [stdout] ...    |
[INFO] [stdout] 1666 | |                 type Config = $config_type;
[INFO] [stdout] 1667 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1816 |           #[dyn_upcast]
[INFO] [stdout]      |           ------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1821 |           #[dyn_upcast(Super)]
[INFO] [stdout]      |           -------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1820 |           #[dyn_cast(Super => Sub)]
[INFO] [stdout]      |           ------------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1826 |           #[dyn_upcast(Super)]
[INFO] [stdout]      |           -------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1458:13
[INFO] [stdout]      |
[INFO] [stdout] 1458 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1459 | |             $crate::DynCast<  $config_type  >
[INFO] [stdout] 1460 | |             for
[INFO] [stdout] 1461 | |             $self_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1555 | |                 }
[INFO] [stdout] 1556 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1825 |           #[dyn_cast(Super => Sub)]
[INFO] [stdout]      |           ------------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1641:13
[INFO] [stdout]      |
[INFO] [stdout] 1641 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1642 | |             $crate::DynCastConfig
[INFO] [stdout] 1643 | |             for
[INFO] [stdout] 1644 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1648 | |                 type Source = dyn $source_trait;
[INFO] [stdout] 1649 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1834 |               #[dyn_upcast]
[INFO] [stdout]      |               ------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1651:13
[INFO] [stdout]      |
[INFO] [stdout] 1651 | /             impl< $($lifetime,)* $($generics,)*  __T>
[INFO] [stdout] 1652 | |             $crate::DynCastConfigTargetTest<__T>
[INFO] [stdout] 1653 | |             for
[INFO] [stdout] 1654 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1657 | |                 $($($where)*)?
[INFO] [stdout] 1658 | |             {}
[INFO] [stdout]      | |______________^
[INFO] [stdout] ...
[INFO] [stdout] 1834 |               #[dyn_upcast]
[INFO] [stdout]      |               ------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1660:13
[INFO] [stdout]      |
[INFO] [stdout] 1660 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1661 | |             $crate::GetDynCastConfig<dyn $target_trait>
[INFO] [stdout] 1662 | |             for
[INFO] [stdout] 1663 | |             dyn $source_trait
[INFO] [stdout] ...    |
[INFO] [stdout] 1666 | |                 type Config = $config_type;
[INFO] [stdout] 1667 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1834 |               #[dyn_upcast]
[INFO] [stdout]      |               ------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1641:13
[INFO] [stdout]      |
[INFO] [stdout] 1641 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1642 | |             $crate::DynCastConfig
[INFO] [stdout] 1643 | |             for
[INFO] [stdout] 1644 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1648 | |                 type Source = dyn $source_trait;
[INFO] [stdout] 1649 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1835 |               #[dyn_cast(Sub<T>)]
[INFO] [stdout]      |               ------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1651:13
[INFO] [stdout]      |
[INFO] [stdout] 1651 | /             impl< $($lifetime,)* $($generics,)*  __T>
[INFO] [stdout] 1652 | |             $crate::DynCastConfigTargetTest<__T>
[INFO] [stdout] 1653 | |             for
[INFO] [stdout] 1654 | |             $config_type
[INFO] [stdout] ...    |
[INFO] [stdout] 1657 | |                 $($($where)*)?
[INFO] [stdout] 1658 | |             {}
[INFO] [stdout]      | |______________^
[INFO] [stdout] ...
[INFO] [stdout] 1835 |               #[dyn_cast(Sub<T>)]
[INFO] [stdout]      |               ------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1660:13
[INFO] [stdout]      |
[INFO] [stdout] 1660 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1661 | |             $crate::GetDynCastConfig<dyn $target_trait>
[INFO] [stdout] 1662 | |             for
[INFO] [stdout] 1663 | |             dyn $source_trait
[INFO] [stdout] ...    |
[INFO] [stdout] 1666 | |                 type Config = $config_type;
[INFO] [stdout] 1667 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1835 |               #[dyn_cast(Sub<T>)]
[INFO] [stdout]      |               ------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1840 |               #[dyn_upcast]
[INFO] [stdout]      |               ------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1839 |               #[dyn_cast(Sub<T>)]
[INFO] [stdout]      |               ------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1846 |               #[dyn_cast(Sub<T>)]
[INFO] [stdout]      |               ------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1845 |               #[dyn_upcast]
[INFO] [stdout]      |               ------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1851 |               #[dyn_cast(Sub<T>)]
[INFO] [stdout]      |               ------------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]     --> cast_trait_object/src/lib.rs:1335:13
[INFO] [stdout]      |
[INFO] [stdout] 1335 | /             impl< $($lifetime,)* $($generics,)* >
[INFO] [stdout] 1336 | |             $crate::DerivedDynCast<
[INFO] [stdout] 1337 | |                 $crate::ConcreteDynCastConfig<
[INFO] [stdout] 1338 | |                     dyn $source_trait,
[INFO] [stdout] ...    |
[INFO] [stdout] 1438 | |                 }
[INFO] [stdout] 1439 | |             }
[INFO] [stdout]      | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 1850 |               #[dyn_upcast]
[INFO] [stdout]      |               ------------- in this procedural macro expansion
[INFO] [stdout]      |
[INFO] [stdout]      = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]      = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]      = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]      = note: this error originates in the macro `crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cast_trait_object` (lib test) due to 47 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     #[cfg_attr(feature = "proc-macros", dyn_upcast)]
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:47:41
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:47:41
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:47:41
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[dyn_cast(Sub, Sub2, SubSub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     #[cfg_attr(feature = "proc-macros", dyn_upcast(Super))]
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     #[cfg_attr(feature = "proc-macros", dyn_upcast)]
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:47:41
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:47:41
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:69:41
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:47:41
[INFO] [stdout]    |
[INFO] [stdout] 47 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:69:41
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:69:41
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:69:41
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[dyn_cast(Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[dyn_cast(Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[dyn_cast(Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     #[cfg_attr(feature = "proc-macros", dyn_upcast(Super))]
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 89 |     #[dyn_upcast(Super)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 |     #[dyn_cast(Super => Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 60 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     #[dyn_upcast(Super)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:69:41
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     #[dyn_cast(Super => Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:69:41
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:69:41
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:69:41
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg_attr(feature = "proc-macros", dyn_cast(Super => Sub, Sub2, SubSub, Super))]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[dyn_cast(Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[dyn_cast(Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[dyn_cast(Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     #[dyn_upcast]
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         #[dyn_cast(Sub<Item = Test>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 89 |     #[dyn_upcast(Super)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         #[dyn_cast(Sub<Item = Test>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         #[dyn_cast(Sub<Item = Test>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         #[dyn_cast(Sub<Item = ()>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 |     #[dyn_cast(Super => Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         #[dyn_cast(Sub<Item = ()>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         #[dyn_cast(Sub<Item = ()>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     #[dyn_upcast(Super)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         #[dyn_cast(Sub<Item = ()>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> external_tests/src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     #[dyn_cast(Super => Sub)]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         #[dyn_cast(Sub<Item = Test>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         #[dyn_cast(Sub<T>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         #[dyn_upcast]
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `::cast_trait_object::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_upcast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         #[dyn_cast(Sub<Item = Test>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         #[dyn_cast(Sub<Item = Test>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         #[dyn_cast(Sub<Item = Test>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         #[dyn_cast(Sub<Item = ()>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         #[dyn_cast(Sub<Item = ()>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         #[dyn_cast(Sub<Item = ()>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 2 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast_config` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         #[dyn_cast(Sub<Item = ()>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> external_tests/src/lib.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         #[dyn_cast(Sub<Item = Test>)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current closure `<unnameable>` and up 4 bodies
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the macro `$crate::impl_dyn_cast` which comes from the expansion of the attribute macro `dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 56 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 56 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `external_tests` (lib) due to 57 previous errors
[INFO] [stderr] error: could not compile `external_tests` (lib test) due to 57 previous errors
[INFO] running `Command { std: "docker" "inspect" "30ca0989abcff05758a12d3276a1c28bd2dc0a1d9a09467194d76f0ab75f8aa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30ca0989abcff05758a12d3276a1c28bd2dc0a1d9a09467194d76f0ab75f8aa7", kill_on_drop: false }`
[INFO] [stdout] 30ca0989abcff05758a12d3276a1c28bd2dc0a1d9a09467194d76f0ab75f8aa7
