[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/49f603fe8b5782c9e222e1242dacf8b3b05cc0de against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLej77%2Fcast_trait_object" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lej77/cast_trait_object on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "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-4-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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0c7f96607a3e60acca57a4761e9a0d81d713c976f8c4b5eba2e3aa537a8f8b2 [INFO] running `Command { std: "docker" "start" "-a" "e0c7f96607a3e60acca57a4761e9a0d81d713c976f8c4b5eba2e3aa537a8f8b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0c7f96607a3e60acca57a4761e9a0d81d713c976f8c4b5eba2e3aa537a8f8b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c7f96607a3e60acca57a4761e9a0d81d713c976f8c4b5eba2e3aa537a8f8b2", kill_on_drop: false }` [INFO] [stdout] e0c7f96607a3e60acca57a4761e9a0d81d713c976f8c4b5eba2e3aa537a8f8b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1c8e074415a06b7ea0db13e97ba7f812ae445ea3050984f20e355053d4263f7 [INFO] running `Command { std: "docker" "start" "-a" "c1c8e074415a06b7ea0db13e97ba7f812ae445ea3050984f20e355053d4263f7", 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 syn v1.0.58 [INFO] [stderr] Checking unicode-xid v0.2.1 [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] Compiling 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] 1641 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1642 | | $crate::DynCastConfig [INFO] [stdout] | | --------------------- `DynCastConfig` is not local [INFO] [stdout] 1643 | | for [INFO] [stdout] 1644 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1673 | $crate::impl_dyn_cast_config!(for<> __ConfigType = $source_trait => $target_trait); [INFO] [stdout] | ------------ `__ConfigType` is not local [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] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1651:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1651 | / impl< $($lifetime,)* $($generics,)* __T> [INFO] [stdout] 1652 | | $crate::DynCastConfigTargetTest<__T> [INFO] [stdout] | | ------------------------------- `DynCastConfigTargetTest` is not local [INFO] [stdout] 1653 | | for [INFO] [stdout] 1654 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1673 | $crate::impl_dyn_cast_config!(for<> __ConfigType = $source_trait => $target_trait); [INFO] [stdout] | ------------ `__ConfigType` is not local [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] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1660 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1661 | | $crate::GetDynCastConfig [INFO] [stdout] | | ------------------------ `GetDynCastConfig` is not local [INFO] [stdout] 1662 | | for [INFO] [stdout] 1663 | | dyn $source_trait [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] | | ----- ----- `Super` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `Super` is not local [INFO] [stdout] 1684 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] 1641 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1642 | | $crate::DynCastConfig [INFO] [stdout] | | --------------------- `DynCastConfig` is not local [INFO] [stdout] 1643 | | for [INFO] [stdout] 1644 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1673 | $crate::impl_dyn_cast_config!(for<> __ConfigType = $source_trait => $target_trait); [INFO] [stdout] | ------------ `__ConfigType` is not local [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] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1651:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1651 | / impl< $($lifetime,)* $($generics,)* __T> [INFO] [stdout] 1652 | | $crate::DynCastConfigTargetTest<__T> [INFO] [stdout] | | ------------------------------- `DynCastConfigTargetTest` is not local [INFO] [stdout] 1653 | | for [INFO] [stdout] 1654 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1673 | $crate::impl_dyn_cast_config!(for<> __ConfigType = $source_trait => $target_trait); [INFO] [stdout] | ------------ `__ConfigType` is not local [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] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1660 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1661 | | $crate::GetDynCastConfig [INFO] [stdout] | | ------------------------ `GetDynCastConfig` is not local [INFO] [stdout] 1662 | | for [INFO] [stdout] 1663 | | dyn $source_trait [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] | | ----- --- `Sub` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `Super` is not local [INFO] [stdout] 1689 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1695 | impl_dyn_cast!(TestSuper => SuperConfig, UpcastConfig); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1695 | impl_dyn_cast!(TestSuper => SuperConfig, UpcastConfig); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1700 | impl_dyn_cast! {TestSub as Super => Sub, Super} [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1700 | impl_dyn_cast! {TestSub as Super => Sub, Super} [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1706 | impl_dyn_cast! {TestSubMixed as Super => Sub} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1707 | impl_dyn_cast! {TestSubMixed => UpcastConfig} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1725 | impl_dyn_cast!(for TestGeneric as Super where {T: 'static} => Sub); [INFO] [stdout] | ------------------------------------------------------------------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Sub` is not local [INFO] [stdout] | | | | `Sub` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | `TestGeneric` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1726 | impl_dyn_cast!(for TestGeneric as Super where {T: 'static} => Super); [INFO] [stdout] | -------------------------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Super` is not local [INFO] [stdout] | | | | `Super` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | `TestGeneric` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1732 | impl_dyn_cast!(for TestGenericMixed as Super where {T: 'static} => Sub); [INFO] [stdout] | ----------------------------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Sub` is not local [INFO] [stdout] | | | | `Sub` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | `TestGenericMixed` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1733 | impl_dyn_cast!(for TestGenericMixed where {T: 'static} => UpcastConfig); [INFO] [stdout] | ----------------------------------------------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `UpcastConfig` is not local [INFO] [stdout] | | `TestGenericMixed` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1740 | impl_dyn_cast!(for OnlyDisplayGeneric as Super where {T: 'static} => Sub); [INFO] [stdout] | ------------------------------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Sub` is not local [INFO] [stdout] | | | | `Sub` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | `OnlyDisplayGeneric` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1741 | impl_dyn_cast!(for OnlyDisplayGeneric as Super where {T: 'static} => Super); [INFO] [stdout] | --------------------------------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Super` is not local [INFO] [stdout] | | | | `Super` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | `OnlyDisplayGeneric` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `SuperConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 1641 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1642 | | $crate::DynCastConfig [INFO] [stdout] | | --------------------- `DynCastConfig` is not local [INFO] [stdout] 1643 | | for [INFO] [stdout] 1644 | | $config_type [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 = Super => Sub [INFO] [stdout] 1773 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1651:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `SuperConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1651 | / impl< $($lifetime,)* $($generics,)* __T> [INFO] [stdout] 1652 | | $crate::DynCastConfigTargetTest<__T> [INFO] [stdout] | | ------------------------------- `DynCastConfigTargetTest` is not local [INFO] [stdout] 1653 | | for [INFO] [stdout] 1654 | | $config_type [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 = Super => Sub [INFO] [stdout] 1773 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1660 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1661 | | $crate::GetDynCastConfig [INFO] [stdout] | | ------------------------ `GetDynCastConfig` is not local [INFO] [stdout] 1662 | | for [INFO] [stdout] 1663 | | dyn $source_trait [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 = Super => Sub [INFO] [stdout] | | ----- --- `Sub` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `Super` is not local [INFO] [stdout] 1773 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1776 | impl_dyn_cast!(for () => SuperConfig); [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `SuperConfig` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1780 | impl_dyn_cast!(for TestSuper => SuperConfig); [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | `SuperConfig` is not local [INFO] [stdout] | | `TestSuper` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1785 | impl_dyn_cast! {for TestSub as Super where {T: core::fmt::Display} => Sub} [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Sub` is not local [INFO] [stdout] | | | | `Sub` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | | `Super` is not local [INFO] [stdout] | | `TestSub` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the macro `impl_dyn_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `__SuperToSubDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 1641 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1642 | | $crate::DynCastConfig [INFO] [stdout] | | --------------------- `DynCastConfig` is not local [INFO] [stdout] 1643 | | for [INFO] [stdout] 1644 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1815 | #[dyn_cast(Sub)] [INFO] [stdout] | ---------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1651:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `__SuperToSubDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1651 | / impl< $($lifetime,)* $($generics,)* __T> [INFO] [stdout] 1652 | | $crate::DynCastConfigTargetTest<__T> [INFO] [stdout] | | ------------------------------- `DynCastConfigTargetTest` is not local [INFO] [stdout] 1653 | | for [INFO] [stdout] 1654 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1815 | #[dyn_cast(Sub)] [INFO] [stdout] | ---------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1660 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1661 | | $crate::GetDynCastConfig [INFO] [stdout] | | ------------------------ `GetDynCastConfig` is not local [INFO] [stdout] 1662 | | for [INFO] [stdout] 1663 | | dyn $source_trait [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 1815 | #[dyn_cast(Sub)] [INFO] [stdout] | ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `__SuperToSuperDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 1641 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1642 | | $crate::DynCastConfig [INFO] [stdout] | | --------------------- `DynCastConfig` is not local [INFO] [stdout] 1643 | | for [INFO] [stdout] 1644 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1816 | #[dyn_upcast] [INFO] [stdout] | ------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1651:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `__SuperToSuperDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1651 | / impl< $($lifetime,)* $($generics,)* __T> [INFO] [stdout] 1652 | | $crate::DynCastConfigTargetTest<__T> [INFO] [stdout] | | ------------------------------- `DynCastConfigTargetTest` is not local [INFO] [stdout] 1653 | | for [INFO] [stdout] 1654 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1816 | #[dyn_upcast] [INFO] [stdout] | ------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1660 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1661 | | $crate::GetDynCastConfig [INFO] [stdout] | | ------------------------ `GetDynCastConfig` is not local [INFO] [stdout] 1662 | | for [INFO] [stdout] 1663 | | dyn $source_trait [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 1816 | #[dyn_upcast] [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | in this procedural macro expansion [INFO] [stdout] 1817 | trait Super {} [INFO] [stdout] | ----- `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1821 | #[dyn_upcast(Super)] [INFO] [stdout] | -------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1820 | #[dyn_cast(Super => Sub)] [INFO] [stdout] | ------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1826 | #[dyn_upcast(Super)] [INFO] [stdout] | -------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1458:13 [INFO] [stdout] | [INFO] [stdout] 1454 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] ... [INFO] [stdout] 1458 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1459 | $crate::DynCast< $config_type > [INFO] [stdout] | --------------- `DynCast` is not local [INFO] [stdout] ... [INFO] [stdout] 1573 | $crate::impl_dyn_cast!(for<> __SelfType => __ConfigType); [INFO] [stdout] | ---------- ------------ `__ConfigType` is not local [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] ... [INFO] [stdout] 1825 | #[dyn_cast(Super => Sub)] [INFO] [stdout] | ------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `__SuperToSuper_853e9f102bbb9075_DynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 1641 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1642 | | $crate::DynCastConfig [INFO] [stdout] | | --------------------- `DynCastConfig` is not local [INFO] [stdout] 1643 | | for [INFO] [stdout] 1644 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1834 | #[dyn_upcast] [INFO] [stdout] | ------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1651:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `__SuperToSuper_853e9f102bbb9075_DynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1651 | / impl< $($lifetime,)* $($generics,)* __T> [INFO] [stdout] 1652 | | $crate::DynCastConfigTargetTest<__T> [INFO] [stdout] | | ------------------------------- `DynCastConfigTargetTest` is not local [INFO] [stdout] 1653 | | for [INFO] [stdout] 1654 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1834 | #[dyn_upcast] [INFO] [stdout] | ------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1660 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1661 | | $crate::GetDynCastConfig [INFO] [stdout] | | ------------------------ `GetDynCastConfig` is not local [INFO] [stdout] 1662 | | for [INFO] [stdout] 1663 | | dyn $source_trait [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 1834 | #[dyn_upcast] [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | in this procedural macro expansion [INFO] [stdout] 1835 | #[dyn_cast(Sub)] [INFO] [stdout] 1836 | trait Super {} [INFO] [stdout] | ----- `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `__SuperToSub_1d08e4229f0c4a3_DynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 1641 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1642 | | $crate::DynCastConfig [INFO] [stdout] | | --------------------- `DynCastConfig` is not local [INFO] [stdout] 1643 | | for [INFO] [stdout] 1644 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1835 | #[dyn_cast(Sub)] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1651:13 [INFO] [stdout] | [INFO] [stdout] 1607 | $config_name<$($lifetime,)* $($generics,)*> [INFO] [stdout] | ------------ `__SuperToSub_1d08e4229f0c4a3_DynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1651 | / impl< $($lifetime,)* $($generics,)* __T> [INFO] [stdout] 1652 | | $crate::DynCastConfigTargetTest<__T> [INFO] [stdout] | | ------------------------------- `DynCastConfigTargetTest` is not local [INFO] [stdout] 1653 | | for [INFO] [stdout] 1654 | | $config_type [INFO] [stdout] | |________________________^ [INFO] [stdout] ... [INFO] [stdout] 1835 | #[dyn_cast(Sub)] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1640 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1660 | / impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] 1661 | | $crate::GetDynCastConfig [INFO] [stdout] | | ------------------------ `GetDynCastConfig` is not local [INFO] [stdout] 1662 | | for [INFO] [stdout] 1663 | | dyn $source_trait [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 1835 | #[dyn_cast(Sub)] [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1840 | #[dyn_upcast] [INFO] [stdout] | ------------- in this procedural macro expansion [INFO] [stdout] 1841 | impl Super for (i32,) {} [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1839 | #[dyn_cast(Sub)] [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | in this procedural macro expansion [INFO] [stdout] 1840 | #[dyn_upcast] [INFO] [stdout] 1841 | impl Super for (i32,) {} [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1846 | #[dyn_cast(Sub)] [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | in this procedural macro expansion [INFO] [stdout] 1847 | impl Super for TestSuper where T: core::fmt::Display {} [INFO] [stdout] | ----- --------- `TestSuper` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1845 | #[dyn_upcast] [INFO] [stdout] | ------------- in this procedural macro expansion [INFO] [stdout] 1846 | #[dyn_cast(Sub)] [INFO] [stdout] 1847 | impl Super for TestSuper where T: core::fmt::Display {} [INFO] [stdout] | ----- --------- `TestSuper` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1851 | #[dyn_cast(Sub)] [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | in this procedural macro expansion [INFO] [stdout] 1852 | impl Super for TestSub {} [INFO] [stdout] | ----- ------- `TestSub` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> cast_trait_object/src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1331 | const _: fn() = || { [INFO] [stdout] | -- move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 1335 | impl< $($lifetime,)* $($generics,)* > [INFO] [stdout] | ^ [INFO] [stdout] 1336 | $crate::DerivedDynCast< [INFO] [stdout] | ---------------------- `DerivedDynCast` is not local [INFO] [stdout] 1337 | $crate::ConcreteDynCastConfig< [INFO] [stdout] | ----------------------------- `ConcreteDynCastConfig` is not local [INFO] [stdout] ... [INFO] [stdout] 1341 | >::Config [INFO] [stdout] | -------------------------------------------------------------------------- `Config` is not local [INFO] [stdout] ... [INFO] [stdout] 1850 | #[dyn_upcast] [INFO] [stdout] | ------------- in this procedural macro expansion [INFO] [stdout] 1851 | #[dyn_cast(Sub)] [INFO] [stdout] 1852 | impl Super for TestSub {} [INFO] [stdout] | ----- ------- `TestSub` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[dyn_cast(Sub, Sub2, SubSub)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | | `Sub2` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | | `Sub2` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | | `SubSub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `Config` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | | `SubSub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 27 | pub trait Super {} [INFO] [stdout] | ----- `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 27 | pub trait Super {} [INFO] [stdout] | ----- `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSubDynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSubDynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSubDynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSubDynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | #[dyn_cast(Sub)] [INFO] [stdout] | -^^^^^^^^^^---^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | #[dyn_cast(Sub)] [INFO] [stdout] | -^^^^^^^^^^---^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSuperDynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSuperDynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSuperDynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSuperDynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 85 | trait Super {} [INFO] [stdout] | ----- `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 85 | trait Super {} [INFO] [stdout] | ----- `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | #[dyn_upcast(Super)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | #[dyn_upcast(Super)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | #[dyn_cast(Super => Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | #[dyn_cast(Super => Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | #[dyn_upcast(Super)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | #[dyn_upcast(Super)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | #[dyn_cast(Super => Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | #[dyn_cast(Super => Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSuper_853e9f102bbb9075_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSuper_853e9f102bbb9075_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSuper_853e9f102bbb9075_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSuper_853e9f102bbb9075_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 111 | #[dyn_cast(Sub)] [INFO] [stdout] 112 | trait Super {} [INFO] [stdout] | ----- `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[dyn_upcast] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 111 | #[dyn_cast(Sub)] [INFO] [stdout] 112 | trait Super {} [INFO] [stdout] | ----- `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_1d08e4229f0c4a3_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_1d08e4229f0c4a3_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_1d08e4229f0c4a3_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_1d08e4229f0c4a3_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | #[dyn_cast(Sub)] [INFO] [stdout] | -^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | #[dyn_cast(Sub)] [INFO] [stdout] | -^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `DerivedDynCast` is not local [INFO] [stdout] | `ConcreteDynCastConfig` is not local [INFO] [stdout] | `Config` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 126 | impl Super for TestSuper where T: core::fmt::Display {} [INFO] [stdout] | ----- --------- `TestSuper` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `DerivedDynCast` is not local [INFO] [stdout] | `ConcreteDynCastConfig` is not local [INFO] [stdout] | `Config` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 126 | impl Super for TestSuper where T: core::fmt::Display {} [INFO] [stdout] | ----- --------- `TestSuper` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DerivedDynCast` is not local [INFO] [stdout] | `ConcreteDynCastConfig` is not local [INFO] [stdout] | `Config` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 125 | #[dyn_cast(Sub)] [INFO] [stdout] 126 | impl Super for TestSuper where T: core::fmt::Display {} [INFO] [stdout] | ----- --------- `TestSuper` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DerivedDynCast` is not local [INFO] [stdout] | `ConcreteDynCastConfig` is not local [INFO] [stdout] | `Config` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 125 | #[dyn_cast(Sub)] [INFO] [stdout] 126 | impl Super for TestSuper where T: core::fmt::Display {} [INFO] [stdout] | ----- --------- `TestSuper` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `DerivedDynCast` is not local [INFO] [stdout] | `ConcreteDynCastConfig` is not local [INFO] [stdout] | `Config` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 131 | impl Super for TestSub {} [INFO] [stdout] | ----- ------- `TestSub` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `DerivedDynCast` is not local [INFO] [stdout] | `ConcreteDynCastConfig` is not local [INFO] [stdout] | `Config` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 131 | impl Super for TestSub {} [INFO] [stdout] | ----- ------- `TestSub` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DerivedDynCast` is not local [INFO] [stdout] | `ConcreteDynCastConfig` is not local [INFO] [stdout] | `Config` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 130 | #[dyn_cast(Sub)] [INFO] [stdout] 131 | impl Super for TestSub {} [INFO] [stdout] | ----- ------- `TestSub` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | #[dyn_upcast] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DerivedDynCast` is not local [INFO] [stdout] | `ConcreteDynCastConfig` is not local [INFO] [stdout] | `Config` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] 130 | #[dyn_cast(Sub)] [INFO] [stdout] 131 | impl Super for TestSub {} [INFO] [stdout] | ----- ------- `TestSub` is not local [INFO] [stdout] | | [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `::cast_trait_object::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_b44d5e6e48c20758_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_b44d5e6e48c20758_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_b44d5e6e48c20758_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_b44d5e6e48c20758_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | #[dyn_cast(Sub)] [INFO] [stdout] | -^^^^^^^^^^---^^^^^^^^----^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Test` is not local [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | #[dyn_cast(Sub)] [INFO] [stdout] | -^^^^^^^^^^---^^^^^^^^----^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Test` is not local [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_b55641dd2f27bd22_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_b55641dd2f27bd22_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_b55641dd2f27bd22_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SuperToSub_b55641dd2f27bd22_DynCastConfig` is not local [INFO] [stdout] | `DynCastConfigTargetTest` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | #[dyn_cast(Sub)] [INFO] [stdout] | -^^^^^^^^^^---^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | #[dyn_cast(Sub)] [INFO] [stdout] | -^^^^^^^^^^---^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Sub` is not local [INFO] [stdout] | `Super` is not local [INFO] [stdout] | `GetDynCastConfig` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast_config` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> external_tests/src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | #[dyn_cast(Sub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `__SelfType` is not local [INFO] [stdout] | `DynCast` is not local [INFO] [stdout] | `__ConfigType` is not local [INFO] [stdout] | move the `impl` block outside of this closure `` and up 4 bodies [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_dyn_cast` may come from an old version of the `cast_trait_object` crate, try updating your dependency with `cargo update -p cast_trait_object` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning 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] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.33s [INFO] running `Command { std: "docker" "inspect" "c1c8e074415a06b7ea0db13e97ba7f812ae445ea3050984f20e355053d4263f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c8e074415a06b7ea0db13e97ba7f812ae445ea3050984f20e355053d4263f7", kill_on_drop: false }` [INFO] [stdout] c1c8e074415a06b7ea0db13e97ba7f812ae445ea3050984f20e355053d4263f7