[INFO] fetching crate mirror-mirror 0.1.16... [INFO] checking mirror-mirror-0.1.16 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate mirror-mirror 0.1.16 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate mirror-mirror 0.1.16 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mirror-mirror 0.1.16 [INFO] finished tweaking crates.io crate mirror-mirror 0.1.16 [INFO] tweaked toml for crates.io crate mirror-mirror 0.1.16 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoffset v0.9.0 [INFO] [stderr] Downloaded mirror-mirror-macros v0.1.4 [INFO] [stderr] Downloaded macaw v0.18.6 [INFO] [stderr] Downloaded ahash v0.8.7 [INFO] [stderr] Downloaded glam v0.22.0 [INFO] [stderr] Downloaded portable-atomic v1.6.0 [INFO] [stderr] Downloaded speedy v0.8.7 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded zerocopy v0.7.32 [INFO] [stderr] Downloaded zerocopy-derive v0.7.32 [INFO] [stderr] Downloaded speedy-derive v0.8.7 [INFO] [stderr] Downloaded ordered-float v3.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 522d133e4077feed6a039bd157577ae6d48715d48b277d30d82ca79697546c75 [INFO] running `Command { std: "docker" "start" "-a" "522d133e4077feed6a039bd157577ae6d48715d48b277d30d82ca79697546c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "522d133e4077feed6a039bd157577ae6d48715d48b277d30d82ca79697546c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "522d133e4077feed6a039bd157577ae6d48715d48b277d30d82ca79697546c75", kill_on_drop: false }` [INFO] [stdout] 522d133e4077feed6a039bd157577ae6d48715d48b277d30d82ca79697546c75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87d1b2bbd3ccc13a2cefe46c7c89c006d33121b90a382cdb45e5e299e7cb4a9c [INFO] running `Command { std: "docker" "start" "-a" "87d1b2bbd3ccc13a2cefe46c7c89c006d33121b90a382cdb45e5e299e7cb4a9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.48 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling speedy-derive v0.8.7 [INFO] [stderr] Compiling mirror-mirror-macros v0.1.4 [INFO] [stderr] Checking speedy v0.8.7 [INFO] [stderr] Checking mirror-mirror v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | #![deny(unreachable_pub, private_in_public)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | #![deny(unreachable_pub, private_in_public)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tests/simple_type_name.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | struct Foo<'a, const N: usize>(&'a ()); [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | struct Foo<'a, const N: usize>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.94s [INFO] running `Command { std: "docker" "inspect" "87d1b2bbd3ccc13a2cefe46c7c89c006d33121b90a382cdb45e5e299e7cb4a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d1b2bbd3ccc13a2cefe46c7c89c006d33121b90a382cdb45e5e299e7cb4a9c", kill_on_drop: false }` [INFO] [stdout] 87d1b2bbd3ccc13a2cefe46c7c89c006d33121b90a382cdb45e5e299e7cb4a9c [INFO] checking mirror-mirror-0.1.16 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate mirror-mirror 0.1.16 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate mirror-mirror 0.1.16 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mirror-mirror 0.1.16 [INFO] finished tweaking crates.io crate mirror-mirror 0.1.16 [INFO] tweaked toml for crates.io crate mirror-mirror 0.1.16 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b024ea932f71946bc7005797a6bd088ccc0b84832e2114719c6c980103923868 [INFO] running `Command { std: "docker" "start" "-a" "b024ea932f71946bc7005797a6bd088ccc0b84832e2114719c6c980103923868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b024ea932f71946bc7005797a6bd088ccc0b84832e2114719c6c980103923868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b024ea932f71946bc7005797a6bd088ccc0b84832e2114719c6c980103923868", kill_on_drop: false }` [INFO] [stdout] b024ea932f71946bc7005797a6bd088ccc0b84832e2114719c6c980103923868 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 727bd61ef61d7087a831a80ba5f72b10e0eed1cba94509739d595b4abddf2a4c [INFO] running `Command { std: "docker" "start" "-a" "727bd61ef61d7087a831a80ba5f72b10e0eed1cba94509739d595b4abddf2a4c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.48 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling speedy-derive v0.8.7 [INFO] [stderr] Compiling mirror-mirror-macros v0.1.4 [INFO] [stderr] Checking speedy v0.8.7 [INFO] [stderr] Checking mirror-mirror v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | #![deny(unreachable_pub, private_in_public)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | #![deny(unreachable_pub, private_in_public)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tests/simple_type_name.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | struct Foo<'a, const N: usize>(&'a ()); [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | struct Foo<'a, const N: usize>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/type_info/pretty_print.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | / #[reflect(crate_name(crate))] [INFO] [stdout] 258 | | struct Foo { [INFO] [stdout] 259 | | a: String, [INFO] [stdout] 260 | | b: Vec, [INFO] [stdout] 261 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/type_info/pretty_print.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | / #[reflect(crate_name(crate))] [INFO] [stdout] 279 | | struct Foo {} [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/type_info/pretty_print.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | / #[reflect(crate_name(crate))] [INFO] [stdout] 291 | | struct Foo(String, Vec); [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/type_info/pretty_print.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | / #[reflect(crate_name(crate))] [INFO] [stdout] 306 | | struct Foo(); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/type_info/pretty_print.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | / #[reflect(crate_name(crate))] [INFO] [stdout] 318 | | struct Foo; [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/type_info/pretty_print.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | / #[reflect(crate_name(crate))] [INFO] [stdout] 339 | | enum Foo { [INFO] [stdout] 340 | | A(String, i32), [INFO] [stdout] 341 | | A2(), [INFO] [stdout] ... | [INFO] [stdout] 344 | | C, [INFO] [stdout] 345 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/try_visit.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | / #[reflect(crate_name(crate))] [INFO] [stdout] 211 | | struct Recursive(i32, Vec); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/reflect_eq.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | / #[reflect(crate_name(crate))] [INFO] [stdout] 334 | | struct A { [INFO] [stdout] 335 | | foo: i32, [INFO] [stdout] 336 | | bar: bool, [INFO] [stdout] 337 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/reflect_eq.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | / #[reflect(crate_name(crate))] [INFO] [stdout] 391 | | struct A(i32, bool); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/reflect_eq.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | / #[reflect(crate_name(crate))] [INFO] [stdout] 445 | | enum A { [INFO] [stdout] 446 | | Struct { a: i32, b: bool }, [INFO] [stdout] 447 | | Tuple(i32, bool), [INFO] [stdout] 448 | | Unit, [INFO] [stdout] 449 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/array.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / #[reflect(crate_name(crate))] [INFO] [stdout] 9 | | struct Foo([i32; 5]); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/enum_.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / #[reflect(crate_name(crate))] [INFO] [stdout] 60 | | enum Foo { [INFO] [stdout] 61 | | Foo { foo: i32, bar: bool }, [INFO] [stdout] 62 | | Bar { baz: String }, [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/enum_.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / #[reflect(crate_name(crate))] [INFO] [stdout] 129 | | enum Foo { [INFO] [stdout] 130 | | A { a: i32 }, [INFO] [stdout] 131 | | B { b: bool }, [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/enum_.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / #[reflect(crate_name(crate))] [INFO] [stdout] 205 | | enum Foo { [INFO] [stdout] 206 | | A(i32, bool), [INFO] [stdout] 207 | | B(String), [INFO] [stdout] 208 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/enum_.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / #[reflect(crate_name(crate))] [INFO] [stdout] 276 | | enum Foo { [INFO] [stdout] 277 | | A, [INFO] [stdout] 278 | | B, [INFO] [stdout] 279 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/enum_.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | / #[reflect(crate_name(crate))] [INFO] [stdout] 401 | | pub enum Foo { [INFO] [stdout] 402 | | Struct { number: Number }, [INFO] [stdout] 403 | | Tuple(Number), [INFO] [stdout] 404 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/enum_.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | / #[reflect(crate_name(crate))] [INFO] [stdout] 408 | | pub enum Number { [INFO] [stdout] 409 | | One, [INFO] [stdout] 410 | | Two, [INFO] [stdout] 411 | | Three, [INFO] [stdout] 412 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/enum_.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 428 | / #[reflect(crate_name(crate))] [INFO] [stdout] 429 | | pub enum Foo { [INFO] [stdout] 430 | | A, [INFO] [stdout] 431 | | B(i32, String), [INFO] [stdout] 432 | | C { a: f32, b: Option }, [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/key_path.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / #[reflect(crate_name(crate))] [INFO] [stdout] 15 | | struct A { [INFO] [stdout] 16 | | a: i32, [INFO] [stdout] 17 | | b: B, [INFO] [stdout] ... | [INFO] [stdout] 20 | | e: Vec, [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/key_path.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / #[reflect(crate_name(crate))] [INFO] [stdout] 25 | | struct B { [INFO] [stdout] 26 | | c: bool, [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/key_path.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / #[reflect(crate_name(crate))] [INFO] [stdout] 31 | | enum C { [INFO] [stdout] 32 | | C { d: String }, [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/key_path.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / #[reflect(crate_name(crate))] [INFO] [stdout] 74 | | struct User { [INFO] [stdout] 75 | | employer: Company, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/key_path.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / #[reflect(crate_name(crate))] [INFO] [stdout] 80 | | struct Company { [INFO] [stdout] 81 | | countries: Vec, [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/key_path.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / #[reflect(crate_name(crate))] [INFO] [stdout] 86 | | struct Country { [INFO] [stdout] 87 | | name: String, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/key_path.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / #[reflect(crate_name(crate))] [INFO] [stdout] 114 | | enum Foo { [INFO] [stdout] 115 | | A { a: String }, [INFO] [stdout] 116 | | B(i32), [INFO] [stdout] 117 | | C, [INFO] [stdout] 118 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/key_path.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / #[reflect(crate_name(crate))] [INFO] [stdout] 148 | | struct Foo(i32, bool); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/map.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / #[reflect(crate_name(crate))] [INFO] [stdout] 36 | | struct Foo(i32); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/map.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / #[reflect(crate_name(crate))] [INFO] [stdout] 54 | | struct Foo { [INFO] [stdout] 55 | | array: [i32; 5], [INFO] [stdout] 56 | | tuple: (Vec, bool), [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/meta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / #[reflect(crate_name(crate), meta(foo = "bar", baz = 42))] [INFO] [stdout] 9 | | struct Foo; [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / #[reflect(crate_name(crate))] [INFO] [stdout] 140 | | struct Foo { [INFO] [stdout] 141 | | bar: Bar, [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / #[reflect(crate_name(crate))] [INFO] [stdout] 146 | | struct Bar { [INFO] [stdout] 147 | | baz: Baz, [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / #[reflect(crate_name(crate))] [INFO] [stdout] 152 | | struct Baz { [INFO] [stdout] 153 | | qux: i32, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | / #[reflect(crate_name(crate))] [INFO] [stdout] 176 | | pub struct Foo { [INFO] [stdout] 177 | | pub number: Number, [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / #[reflect(crate_name(crate))] [INFO] [stdout] 182 | | pub enum Number { [INFO] [stdout] 183 | | #[default] [INFO] [stdout] 184 | | One, [INFO] [stdout] 185 | | Two, [INFO] [stdout] 186 | | Three, [INFO] [stdout] 187 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Here are the docs. [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// Foo bar. [INFO] [stdout] 199 | | #[derive(Reflect, Clone, Debug)] [INFO] [stdout] ... | [INFO] [stdout] 202 | | inner: Vec>>>, [INFO] [stdout] 203 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | / #[reflect(crate_name(crate))] [INFO] [stdout] 207 | | enum Inner { [INFO] [stdout] 208 | | Variant { [INFO] [stdout] 209 | | /// Bingo! [INFO] [stdout] 210 | | field: String, [INFO] [stdout] 211 | | }, [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | / #[reflect(crate_name(crate))] [INFO] [stdout] 238 | | struct Outer { [INFO] [stdout] 239 | | inner: Inner, [INFO] [stdout] 240 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / #[reflect(crate_name(crate))] [INFO] [stdout] 244 | | struct Inner { [INFO] [stdout] 245 | | // the order the fields are declared in is important! [INFO] [stdout] 246 | | b: u32, [INFO] [stdout] 247 | | a: u32, [INFO] [stdout] 248 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | / #[reflect(crate_name(crate))] [INFO] [stdout] 280 | | struct Outer { [INFO] [stdout] 281 | | inner: Inner, [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/struct_.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | / #[reflect(crate_name(crate))] [INFO] [stdout] 286 | | enum Inner { [INFO] [stdout] 287 | | A { [INFO] [stdout] 288 | | // the order the fields are declared in is important! [INFO] [stdout] ... | [INFO] [stdout] 291 | | }, [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/tuple_struct.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / #[reflect(crate_name(crate))] [INFO] [stdout] 25 | | struct A(i32, bool); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/tuple_struct.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / #[reflect(crate_name(crate))] [INFO] [stdout] 52 | | pub struct Foo(Number); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/tuple_struct.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / #[reflect(crate_name(crate))] [INFO] [stdout] 56 | | pub enum Number { [INFO] [stdout] 57 | | #[default] [INFO] [stdout] 58 | | One, [INFO] [stdout] 59 | | Two, [INFO] [stdout] 60 | | Three, [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / #[reflect(crate_name(crate))] [INFO] [stdout] 19 | | struct Foo { [INFO] [stdout] 20 | | n: i32, [INFO] [stdout] 21 | | foos: Vec, [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / #[reflect(crate_name(crate))] [INFO] [stdout] 72 | | enum Foo { [INFO] [stdout] 73 | | A { a: String }, [INFO] [stdout] 74 | | B(Vec), [INFO] [stdout] 75 | | C, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / #[reflect(crate_name(crate), meta(a = Foo(1337)))] [INFO] [stdout] 83 | | struct Foo(i32); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / #[reflect(crate_name(crate), meta(a = Foo(1337)))] [INFO] [stdout] 95 | | struct Foo(i32); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / #[reflect(crate_name(crate))] [INFO] [stdout] 116 | | struct Foo(i32); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / #[reflect(crate_name(crate))] [INFO] [stdout] 120 | | struct Bar(bool); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / #[reflect(crate_name(crate), opt_out(Debug, Clone))] [INFO] [stdout] 151 | | struct Foo(T) [INFO] [stdout] 152 | | where [INFO] [stdout] 153 | | T: Reflect + FromReflect + DescribeType; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / impl From for Value { [INFO] [stdout] 193 | | fn from(opaque: Opaque) -> Self { [INFO] [stdout] 194 | | let Opaque(n) = opaque; [INFO] [stdout] 195 | | TupleStructValue::new().with_field(n).to_value() [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `opaque_default` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | / #[reflect(crate_name(crate))] [INFO] [stdout] 210 | | struct Foo(i32); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / #[reflect(crate_name(crate))] [INFO] [stdout] 214 | | struct Bar { [INFO] [stdout] 215 | | b: bool, [INFO] [stdout] 216 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / #[reflect(crate_name(crate))] [INFO] [stdout] 240 | | struct Foo { [INFO] [stdout] 241 | | a: i32, [INFO] [stdout] 242 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / #[reflect(crate_name(crate))] [INFO] [stdout] 246 | | struct Bar { [INFO] [stdout] 247 | | b: bool, [INFO] [stdout] 248 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / #[reflect(crate_name(crate))] [INFO] [stdout] 278 | | struct A { [INFO] [stdout] 279 | | a: String, [INFO] [stdout] 280 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | / #[reflect(crate_name(crate))] [INFO] [stdout] 284 | | struct B(String); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/type_info.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / #[reflect(crate_name(crate))] [INFO] [stdout] 288 | | enum C { [INFO] [stdout] 289 | | C(i32), [INFO] [stdout] 290 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/tests/value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / #[reflect(crate_name(crate))] [INFO] [stdout] 9 | | struct Foo { [INFO] [stdout] 10 | | x: Option, [INFO] [stdout] 11 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 59 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mirror-mirror` (lib test) due to 60 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "727bd61ef61d7087a831a80ba5f72b10e0eed1cba94509739d595b4abddf2a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "727bd61ef61d7087a831a80ba5f72b10e0eed1cba94509739d595b4abddf2a4c", kill_on_drop: false }` [INFO] [stdout] 727bd61ef61d7087a831a80ba5f72b10e0eed1cba94509739d595b4abddf2a4c