[INFO] fetching crate reflect 0.0.13... [INFO] checking reflect-0.0.13 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate reflect 0.0.13 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate reflect 0.0.13 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 reflect 0.0.13 [INFO] finished tweaking crates.io crate reflect 0.0.13 [INFO] tweaked toml for crates.io crate reflect 0.0.13 written to /workspace/builds/worker-4-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 ref-cast v1.0.22 [INFO] [stderr] Downloaded ref-cast-impl v1.0.22 [INFO] [stderr] Downloaded reflect-internal v0.0.13 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4274d585842b6b41d76575418d6ed972b97965378803243633f5f85347cacaee [INFO] running `Command { std: "docker" "start" "-a" "4274d585842b6b41d76575418d6ed972b97965378803243633f5f85347cacaee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4274d585842b6b41d76575418d6ed972b97965378803243633f5f85347cacaee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4274d585842b6b41d76575418d6ed972b97965378803243633f5f85347cacaee", kill_on_drop: false }` [INFO] [stdout] 4274d585842b6b41d76575418d6ed972b97965378803243633f5f85347cacaee [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba7367c1c23b35164d4919f9bf648b1cc43173efb70feee4e7cf97fb0507dc81 [INFO] running `Command { std: "docker" "start" "-a" "ba7367c1c23b35164d4919f9bf648b1cc43173efb70feee4e7cf97fb0507dc81", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.48 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling reflect-internal v0.0.13 [INFO] [stderr] Checking reflect v0.0.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "ba7367c1c23b35164d4919f9bf648b1cc43173efb70feee4e7cf97fb0507dc81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba7367c1c23b35164d4919f9bf648b1cc43173efb70feee4e7cf97fb0507dc81", kill_on_drop: false }` [INFO] [stdout] ba7367c1c23b35164d4919f9bf648b1cc43173efb70feee4e7cf97fb0507dc81 [INFO] checking reflect-0.0.13 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate reflect 0.0.13 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate reflect 0.0.13 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 reflect 0.0.13 [INFO] finished tweaking crates.io crate reflect 0.0.13 [INFO] tweaked toml for crates.io crate reflect 0.0.13 written to /workspace/builds/worker-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2e103f76d5f7824b3125c93c432c73237b74b32bfa30c5be9d36bebbbe36139f [INFO] running `Command { std: "docker" "start" "-a" "2e103f76d5f7824b3125c93c432c73237b74b32bfa30c5be9d36bebbbe36139f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e103f76d5f7824b3125c93c432c73237b74b32bfa30c5be9d36bebbbe36139f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e103f76d5f7824b3125c93c432c73237b74b32bfa30c5be9d36bebbbe36139f", kill_on_drop: false }` [INFO] [stdout] 2e103f76d5f7824b3125c93c432c73237b74b32bfa30c5be9d36bebbbe36139f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 265d04222d22d009aa6a57386b2035a0e0f7b008cd1d234fe74cffc054b9b09a [INFO] running `Command { std: "docker" "start" "-a" "265d04222d22d009aa6a57386b2035a0e0f7b008cd1d234fe74cffc054b9b09a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.48 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling reflect-internal v0.0.13 [INFO] [stderr] Checking reflect v0.0.13 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_parse_trait_objects.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / library! { [INFO] [stdout] 7 | | use Mod { [INFO] [stdout] 8 | | type Struct; [INFO] [stdout] 9 | | trait Trait {} [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `single_dyn` [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] = note: this error originates in the macro `library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_parse_trait_objects.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / library! { [INFO] [stdout] 7 | | use Mod { [INFO] [stdout] 8 | | type Struct; [INFO] [stdout] 9 | | trait Trait {} [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `double_dyn` [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: this error originates in the macro `library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_zero_args.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / library! { [INFO] [stdout] 8 | | use zero { [INFO] [stdout] 9 | | trait Zero { [INFO] [stdout] 10 | | fn zero(); [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `zero` [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] = note: this error originates in the macro `library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reflect` (test "test_parse_trait_objects") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_displaydoc.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / reflect::library! { [INFO] [stdout] 17 | | extern crate std { [INFO] [stdout] 18 | | mod fmt { [INFO] [stdout] 19 | | type Formatter; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `fmt` [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] = note: this error originates in the macro `reflect::library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reflect` (test "test_zero_args") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / library! { [INFO] [stdout] 8 | | use simple { [INFO] [stdout] 9 | | trait Simple { [INFO] [stdout] 10 | | fn simple(); [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `simple` [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] = note: this error originates in the macro `library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_tuple.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / library! { [INFO] [stdout] 8 | | use tuple { [INFO] [stdout] 9 | | type One; [INFO] [stdout] 10 | | type Two; [INFO] [stdout] ... | [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `swap` [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] = note: this error originates in the macro `library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reflect` (test "test_displaydoc") due to 2 previous errors [INFO] [stderr] error: could not compile `reflect` (test "test_tuple") due to 2 previous errors [INFO] [stderr] error: could not compile `reflect` (test "test_generics") due to 2 previous errors [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_field_access.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / library! { [INFO] [stdout] 37 | | use base { [INFO] [stdout] 38 | | type FieldAccessor; [INFO] [stdout] 39 | | impl FieldAccessor { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `access_field` [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] = note: this error originates in the macro `library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_field_access.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / library! { [INFO] [stdout] 37 | | use base { [INFO] [stdout] 38 | | type FieldAccessor; [INFO] [stdout] 39 | | impl FieldAccessor { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `trivial` [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: this error originates in the macro `library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/debug/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / reflect::library! { [INFO] [stdout] 11 | | extern crate std { [INFO] [stdout] 12 | | mod fmt { [INFO] [stdout] 13 | | type Formatter; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `fmt` [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] = note: this error originates in the macro `reflect::library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/debug/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / reflect::library! { [INFO] [stdout] 11 | | extern crate std { [INFO] [stdout] 12 | | mod fmt { [INFO] [stdout] 13 | | type Formatter; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `debug_struct` [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: this error originates in the macro `reflect::library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/debug/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / reflect::library! { [INFO] [stdout] 11 | | extern crate std { [INFO] [stdout] 12 | | mod fmt { [INFO] [stdout] 13 | | type Formatter; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `field` [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: this error originates in the macro `reflect::library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/debug/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / reflect::library! { [INFO] [stdout] 11 | | extern crate std { [INFO] [stdout] 12 | | mod fmt { [INFO] [stdout] 13 | | type Formatter; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated function `finish` [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: this error originates in the macro `reflect::library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reflect` (test "test_field_access") due to 3 previous errors [INFO] [stderr] error: could not compile `reflect` (test "test_debug") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "265d04222d22d009aa6a57386b2035a0e0f7b008cd1d234fe74cffc054b9b09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "265d04222d22d009aa6a57386b2035a0e0f7b008cd1d234fe74cffc054b9b09a", kill_on_drop: false }` [INFO] [stdout] 265d04222d22d009aa6a57386b2035a0e0f7b008cd1d234fe74cffc054b9b09a