[INFO] fetching crate reflect 0.0.13... [INFO] checking reflect-0.0.13 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate reflect 0.0.13 into /workspace/builds/worker-0-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-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 reflect-internal v0.0.13 [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] 08e4ae1c3a2d43326f89f65871c8bc3ae1779d0b4ae044b9fe340c342a33add7 [INFO] running `Command { std: "docker" "start" "-a" "08e4ae1c3a2d43326f89f65871c8bc3ae1779d0b4ae044b9fe340c342a33add7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08e4ae1c3a2d43326f89f65871c8bc3ae1779d0b4ae044b9fe340c342a33add7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e4ae1c3a2d43326f89f65871c8bc3ae1779d0b4ae044b9fe340c342a33add7", kill_on_drop: false }` [INFO] [stdout] 08e4ae1c3a2d43326f89f65871c8bc3ae1779d0b4ae044b9fe340c342a33add7 [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] b07dcbe2cddc3339f05bb7e36f0c50cab52ab21470b87bab19fdaf1463f3983f [INFO] running `Command { std: "docker" "start" "-a" "b07dcbe2cddc3339f05bb7e36f0c50cab52ab21470b87bab19fdaf1463f3983f", kill_on_drop: false }` [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling 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.01s [INFO] running `Command { std: "docker" "inspect" "b07dcbe2cddc3339f05bb7e36f0c50cab52ab21470b87bab19fdaf1463f3983f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b07dcbe2cddc3339f05bb7e36f0c50cab52ab21470b87bab19fdaf1463f3983f", kill_on_drop: false }` [INFO] [stdout] b07dcbe2cddc3339f05bb7e36f0c50cab52ab21470b87bab19fdaf1463f3983f [INFO] checking reflect-0.0.13 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate reflect 0.0.13 into /workspace/builds/worker-0-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-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] 70f5489ec06ba60729ec28a0de97a1c547431347153883b4fa248c6df871e09c [INFO] running `Command { std: "docker" "start" "-a" "70f5489ec06ba60729ec28a0de97a1c547431347153883b4fa248c6df871e09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70f5489ec06ba60729ec28a0de97a1c547431347153883b4fa248c6df871e09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70f5489ec06ba60729ec28a0de97a1c547431347153883b4fa248c6df871e09c", kill_on_drop: false }` [INFO] [stdout] 70f5489ec06ba60729ec28a0de97a1c547431347153883b4fa248c6df871e09c [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] 9f72bbf9a82564cf8adcf62142cac6b5a4289dc56f79d4e3d895a226b65056db [INFO] running `Command { std: "docker" "start" "-a" "9f72bbf9a82564cf8adcf62142cac6b5a4289dc56f79d4e3d895a226b65056db", kill_on_drop: false }` [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling 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] [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] [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_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: 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_zero_args") 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: 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 `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: 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: 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] [stdout] error: aborting due to 4 previous errors [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_field_access") due to 3 previous errors [INFO] [stderr] error: could not compile `reflect` (test "test_debug") due to 5 previous errors [INFO] [stderr] error: could not compile `reflect` (test "test_displaydoc") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9f72bbf9a82564cf8adcf62142cac6b5a4289dc56f79d4e3d895a226b65056db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f72bbf9a82564cf8adcf62142cac6b5a4289dc56f79d4e3d895a226b65056db", kill_on_drop: false }` [INFO] [stdout] 9f72bbf9a82564cf8adcf62142cac6b5a4289dc56f79d4e3d895a226b65056db