[INFO] cloning repository https://github.com/RaasAhsan/elf
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RaasAhsan/elf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaasAhsan%2Felf", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaasAhsan%2Felf'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 023fd1f5203752733e35a7f9127d6fed87be1396
[INFO] checking RaasAhsan/elf against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaasAhsan%2Felf" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RaasAhsan/elf
[INFO] finished tweaking git repo https://github.com/RaasAhsan/elf
[INFO] tweaked toml for git repo https://github.com/RaasAhsan/elf written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RaasAhsan/elf on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RaasAhsan/elf already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anstyle-wincon v1.0.1
[INFO] [stderr]   Downloaded memmap2 v0.6.1
[INFO] [stderr]   Downloaded anstream v0.3.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.57
[INFO] [stderr]   Downloaded clap v4.2.7
[INFO] [stderr]   Downloaded clap_builder v4.2.7
[INFO] [stderr]   Downloaded linux-raw-sys v0.3.7
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 25af089f6cb8e8130ddfdb8a6b30c9272fd32b4525e89b7efa5458b1502d2a8d
[INFO] running `Command { std: "docker" "start" "-a" "25af089f6cb8e8130ddfdb8a6b30c9272fd32b4525e89b7efa5458b1502d2a8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25af089f6cb8e8130ddfdb8a6b30c9272fd32b4525e89b7efa5458b1502d2a8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25af089f6cb8e8130ddfdb8a6b30c9272fd32b4525e89b7efa5458b1502d2a8d", kill_on_drop: false }`
[INFO] [stdout] 25af089f6cb8e8130ddfdb8a6b30c9272fd32b4525e89b7efa5458b1502d2a8d
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] adff35f66017a860c7147996763bad575ab8ed26730f8171e0dbd6ee5e194d88
[INFO] running `Command { std: "docker" "start" "-a" "adff35f66017a860c7147996763bad575ab8ed26730f8171e0dbd6ee5e194d88", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.57
[INFO] [stderr]    Compiling libc v0.2.144
[INFO] [stderr]    Compiling io-lifetimes v1.0.10
[INFO] [stderr]    Compiling rustix v0.37.19
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking linux-raw-sys v0.3.7
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking anstyle-parse v0.2.0
[INFO] [stderr]     Checking anstyle v1.0.0
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]     Checking clap_lex v0.4.1
[INFO] [stderr]    Compiling quote v1.0.27
[INFO] [stderr]    Compiling syn v2.0.16
[INFO] [stderr]     Checking memmap2 v0.6.1
[INFO] [stderr]     Checking is-terminal v0.4.7
[INFO] [stderr]     Checking anstream v0.3.2
[INFO] [stderr]     Checking clap_builder v4.2.7
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling enumflags2_derive v0.7.7
[INFO] [stderr]    Compiling clap_derive v4.2.0
[INFO] [stderr]     Checking enumflags2 v0.7.7
[INFO] [stderr]     Checking thiserror v1.0.40
[INFO] [stderr]     Checking elf v0.1.0 (/opt/rustwide/workdir/elf)
[INFO] [stdout] warning: unused import: `DT_REL`
[INFO] [stdout]  --> elf/src/raw/dynamic.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Error, DT_REL, DT_RELA, PT_DYNAMIC,
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DT_REL`
[INFO] [stdout]  --> elf/src/raw/dynamic.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Error, DT_REL, DT_RELA, PT_DYNAMIC,
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/dynamic.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                        ^----------
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        `ToPrimitive` is not local
[INFO] [stdout]   |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DynamicTag`
[INFO] [stdout] 4 | pub enum DynamicTag {
[INFO] [stdout]   |          ---------- `DynamicTag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/dynamic.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                                     ^------------
[INFO] [stdout]   |                                     |
[INFO] [stdout]   |                                     `FromPrimitive` is not local
[INFO] [stdout]   |                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DynamicTag`
[INFO] [stdout] 4 | pub enum DynamicTag {
[INFO] [stdout]   |          ---------- `DynamicTag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/relocation.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                        ^----------
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        `ToPrimitive` is not local
[INFO] [stdout]   |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RelocationType`
[INFO] [stdout] 4 | #[repr(u32)]
[INFO] [stdout] 5 | pub enum RelocationType {
[INFO] [stdout]   |          -------------- `RelocationType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/relocation.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                                     ^------------
[INFO] [stdout]   |                                     |
[INFO] [stdout]   |                                     `FromPrimitive` is not local
[INFO] [stdout]   |                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RelocationType`
[INFO] [stdout] 4 | #[repr(u32)]
[INFO] [stdout] 5 | pub enum RelocationType {
[INFO] [stdout]   |          -------------- `RelocationType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> elf/src/parsed/segment.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                        ^----------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `ToPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SegmentType`
[INFO] [stdout] 20 | pub enum SegmentType {
[INFO] [stdout]    |          ----------- `SegmentType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> elf/src/parsed/segment.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                     ^------------
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     `FromPrimitive` is not local
[INFO] [stdout]    |                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SegmentType`
[INFO] [stdout] 20 | pub enum SegmentType {
[INFO] [stdout]    |          ----------- `SegmentType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/symbol.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                        ^----------
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        `ToPrimitive` is not local
[INFO] [stdout]   |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SymbolType`
[INFO] [stdout] 4 | #[repr(u8)]
[INFO] [stdout] 5 | pub enum SymbolType {
[INFO] [stdout]   |          ---------- `SymbolType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/symbol.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                                     ^------------
[INFO] [stdout]   |                                     |
[INFO] [stdout]   |                                     `FromPrimitive` is not local
[INFO] [stdout]   |                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SymbolType`
[INFO] [stdout] 4 | #[repr(u8)]
[INFO] [stdout] 5 | pub enum SymbolType {
[INFO] [stdout]   |          ---------- `SymbolType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/dynamic.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                        ^----------
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        `ToPrimitive` is not local
[INFO] [stdout]   |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_DynamicTag`
[INFO] [stdout] 4 | pub enum DynamicTag {
[INFO] [stdout]   |          ---------- `DynamicTag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/dynamic.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                                     ^------------
[INFO] [stdout]   |                                     |
[INFO] [stdout]   |                                     `FromPrimitive` is not local
[INFO] [stdout]   |                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DynamicTag`
[INFO] [stdout] 4 | pub enum DynamicTag {
[INFO] [stdout]   |          ---------- `DynamicTag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/relocation.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                        ^----------
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        `ToPrimitive` is not local
[INFO] [stdout]   |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RelocationType`
[INFO] [stdout] 4 | #[repr(u32)]
[INFO] [stdout] 5 | pub enum RelocationType {
[INFO] [stdout]   |          -------------- `RelocationType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/relocation.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                                     ^------------
[INFO] [stdout]   |                                     |
[INFO] [stdout]   |                                     `FromPrimitive` is not local
[INFO] [stdout]   |                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RelocationType`
[INFO] [stdout] 4 | #[repr(u32)]
[INFO] [stdout] 5 | pub enum RelocationType {
[INFO] [stdout]   |          -------------- `RelocationType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> elf/src/parsed/segment.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                        ^----------
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        `ToPrimitive` is not local
[INFO] [stdout]    |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SegmentType`
[INFO] [stdout] 20 | pub enum SegmentType {
[INFO] [stdout]    |          ----------- `SegmentType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> elf/src/parsed/segment.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]    |                                     ^------------
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     `FromPrimitive` is not local
[INFO] [stdout]    |                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SegmentType`
[INFO] [stdout] 20 | pub enum SegmentType {
[INFO] [stdout]    |          ----------- `SegmentType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/symbol.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                        ^----------
[INFO] [stdout]   |                        |
[INFO] [stdout]   |                        `ToPrimitive` is not local
[INFO] [stdout]   |                        move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SymbolType`
[INFO] [stdout] 4 | #[repr(u8)]
[INFO] [stdout] 5 | pub enum SymbolType {
[INFO] [stdout]   |          ---------- `SymbolType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> elf/src/parsed/symbol.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, ToPrimitive, FromPrimitive)]
[INFO] [stdout]   |                                     ^------------
[INFO] [stdout]   |                                     |
[INFO] [stdout]   |                                     `FromPrimitive` is not local
[INFO] [stdout]   |                                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SymbolType`
[INFO] [stdout] 4 | #[repr(u8)]
[INFO] [stdout] 5 | pub enum SymbolType {
[INFO] [stdout]   |          ---------- `SymbolType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking clap v4.2.7
[INFO] [stderr]     Checking elfinfo v0.1.0 (/opt/rustwide/workdir/elfinfo)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s
[INFO] running `Command { std: "docker" "inspect" "adff35f66017a860c7147996763bad575ab8ed26730f8171e0dbd6ee5e194d88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adff35f66017a860c7147996763bad575ab8ed26730f8171e0dbd6ee5e194d88", kill_on_drop: false }`
[INFO] [stdout] adff35f66017a860c7147996763bad575ab8ed26730f8171e0dbd6ee5e194d88
