[INFO] fetching crate vineyard 0.18.1... [INFO] checking vineyard-0.18.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate vineyard 0.18.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate vineyard 0.18.1 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 vineyard 0.18.1 [INFO] finished tweaking crates.io crate vineyard 0.18.1 [INFO] tweaked toml for crates.io crate vineyard 0.18.1 written to /workspace/builds/worker-1-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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.2.6 [INFO] [stderr] Downloaded arrow-array v46.0.0 [INFO] [stderr] Downloaded arrow-select v46.0.0 [INFO] [stderr] Downloaded downcast-rs v1.2.0 [INFO] [stderr] Downloaded sendfd v0.4.3 [INFO] [stderr] Downloaded gensym v0.1.1 [INFO] [stderr] Downloaded memmap2 v0.7.1 [INFO] [stderr] Downloaded arrow-cast v46.0.0 [INFO] [stderr] Downloaded arrow-buffer v46.0.0 [INFO] [stderr] Downloaded arrow-data v46.0.0 [INFO] [stderr] Downloaded arrow-schema v46.0.0 [INFO] [stderr] Downloaded arrow-ipc v46.0.0 [INFO] [stderr] Downloaded spectral v0.6.0 [INFO] [stderr] Downloaded static_str_ops v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 043edae471439f2a9a83c8741b72a2fcc5ee9934bc7309b0f81854830b45ffbe [INFO] running `Command { std: "docker" "start" "-a" "043edae471439f2a9a83c8741b72a2fcc5ee9934bc7309b0f81854830b45ffbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "043edae471439f2a9a83c8741b72a2fcc5ee9934bc7309b0f81854830b45ffbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "043edae471439f2a9a83c8741b72a2fcc5ee9934bc7309b0f81854830b45ffbe", kill_on_drop: false }` [INFO] [stdout] 043edae471439f2a9a83c8741b72a2fcc5ee9934bc7309b0f81854830b45ffbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e2b89e13d7f8e6528c2a1ff3c61afda5e459be8634605daacf1fc3d3812e93d5 [INFO] running `Command { std: "docker" "start" "-a" "e2b89e13d7f8e6528c2a1ff3c61afda5e459be8634605daacf1fc3d3812e93d5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking arrow-schema v46.0.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking sendfd v0.4.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking spectral v0.6.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking arrow-buffer v46.0.0 [INFO] [stderr] Checking arrow-data v46.0.0 [INFO] [stderr] Compiling gensym v0.1.1 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking arrow-array v46.0.0 [INFO] [stderr] Checking static_str_ops v0.1.2 [INFO] [stderr] Checking arrow-select v46.0.0 [INFO] [stderr] Checking arrow-cast v46.0.0 [INFO] [stderr] Checking arrow-ipc v46.0.0 [INFO] [stderr] Checking vineyard v0.18.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.37s [INFO] running `Command { std: "docker" "inspect" "e2b89e13d7f8e6528c2a1ff3c61afda5e459be8634605daacf1fc3d3812e93d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b89e13d7f8e6528c2a1ff3c61afda5e459be8634605daacf1fc3d3812e93d5", kill_on_drop: false }` [INFO] [stdout] e2b89e13d7f8e6528c2a1ff3c61afda5e459be8634605daacf1fc3d3812e93d5 [INFO] checking vineyard-0.18.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate vineyard 0.18.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate vineyard 0.18.1 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 vineyard 0.18.1 [INFO] finished tweaking crates.io crate vineyard 0.18.1 [INFO] tweaked toml for crates.io crate vineyard 0.18.1 written to /workspace/builds/worker-1-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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d909a0b37d5c015d89105bb5328f60680a4a3c255c198d4d0b881fb4833a9537 [INFO] running `Command { std: "docker" "start" "-a" "d909a0b37d5c015d89105bb5328f60680a4a3c255c198d4d0b881fb4833a9537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d909a0b37d5c015d89105bb5328f60680a4a3c255c198d4d0b881fb4833a9537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d909a0b37d5c015d89105bb5328f60680a4a3c255c198d4d0b881fb4833a9537", kill_on_drop: false }` [INFO] [stdout] d909a0b37d5c015d89105bb5328f60680a4a3c255c198d4d0b881fb4833a9537 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a94b907d9de5544e8af5328783a82ec4afec9bc223cb3afe12107346c10e94c7 [INFO] running `Command { std: "docker" "start" "-a" "a94b907d9de5544e8af5328783a82ec4afec9bc223cb3afe12107346c10e94c7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking arrow-schema v46.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking sendfd v0.4.3 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking spectral v0.6.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking arrow-buffer v46.0.0 [INFO] [stderr] Checking arrow-data v46.0.0 [INFO] [stderr] Compiling gensym v0.1.1 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Checking arrow-array v46.0.0 [INFO] [stderr] Checking static_str_ops v0.1.2 [INFO] [stderr] Checking arrow-select v46.0.0 [INFO] [stderr] Checking arrow-cast v46.0.0 [INFO] [stderr] Checking arrow-ipc v46.0.0 [INFO] [stderr] Checking vineyard v0.18.1 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/common/util/status.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, Default, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_StatusCode` [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 derive macro `FromPrimitive` (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] --> src/common/util/status.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, Default, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_StatusCode` [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 derive macro `ToPrimitive` (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] [stderr] error: could not compile `vineyard` (lib) 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] --> src/common/util/status.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, Default, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_StatusCode` [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 derive macro `FromPrimitive` (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] --> src/common/util/status.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, Default, PartialEq, Eq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_StatusCode` [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 derive macro `ToPrimitive` (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] [stderr] error: could not compile `vineyard` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "a94b907d9de5544e8af5328783a82ec4afec9bc223cb3afe12107346c10e94c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a94b907d9de5544e8af5328783a82ec4afec9bc223cb3afe12107346c10e94c7", kill_on_drop: false }` [INFO] [stdout] a94b907d9de5544e8af5328783a82ec4afec9bc223cb3afe12107346c10e94c7