[INFO] fetching crate chd 0.2.3...
[INFO] checking chd-0.2.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate chd 0.2.3 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate chd 0.2.3 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 chd 0.2.3
[INFO] finished tweaking crates.io crate chd 0.2.3
[INFO] tweaked toml for crates.io crate chd 0.2.3 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 crc v3.0.1
[INFO] [stderr]   Downloaded never-say-never v6.6.666
[INFO] [stderr]   Downloaded extension-traits v1.0.1
[INFO] [stderr]   Downloaded macro_rules_attribute v0.1.3
[INFO] [stderr]   Downloaded ext-trait v1.0.1
[INFO] [stderr]   Downloaded macro_rules_attribute-proc_macro v0.1.3
[INFO] [stderr]   Downloaded text_io v0.1.12
[INFO] [stderr]   Downloaded crc-catalog v2.4.0
[INFO] [stderr]   Downloaded nougat-proc_macros v0.2.4
[INFO] [stderr]   Downloaded bencher v0.1.5
[INFO] [stderr]   Downloaded nougat v0.2.4
[INFO] [stderr]   Downloaded ext-trait-proc_macros v1.0.1
[INFO] [stderr]   Downloaded lending-iterator-proc_macros v0.1.7
[INFO] [stderr]   Downloaded lending-iterator v0.1.7
[INFO] [stderr]   Downloaded claxon v0.4.3
[INFO] [stderr]   Downloaded libz-ng-sys v1.1.15
[INFO] [stderr]   Downloaded polonius-the-crab v0.2.1
[INFO] [stderr]   Downloaded lzma-rs-perf-exp v0.2.1
[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] 29ed2c443fb893e86e8a9f5e2e67950e7189a1ac3944d3db5b8572d5ae8b375c
[INFO] running `Command { std: "docker" "start" "-a" "29ed2c443fb893e86e8a9f5e2e67950e7189a1ac3944d3db5b8572d5ae8b375c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29ed2c443fb893e86e8a9f5e2e67950e7189a1ac3944d3db5b8572d5ae8b375c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29ed2c443fb893e86e8a9f5e2e67950e7189a1ac3944d3db5b8572d5ae8b375c", kill_on_drop: false }`
[INFO] [stdout] 29ed2c443fb893e86e8a9f5e2e67950e7189a1ac3944d3db5b8572d5ae8b375c
[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] 80c1ef9c4f44bb57e7f0e1dc0c2d86733c745d0957b0bbbc3048e055ff1e3b7f
[INFO] running `Command { std: "docker" "start" "-a" "80c1ef9c4f44bb57e7f0e1dc0c2d86733c745d0957b0bbbc3048e055ff1e3b7f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking crc-catalog v2.4.0
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking claxon v0.4.3
[INFO] [stderr]     Checking text_io v0.1.12
[INFO] [stderr]     Checking bencher v0.1.5
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking bitreader v0.3.8
[INFO] [stderr]     Checking crc v3.0.1
[INFO] [stderr]     Checking lzma-rs-perf-exp v0.2.1
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking chd v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `chd`
[INFO] [stdout]    --> src/lib.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let chd = Chd::open(f, Some(Box::new(pchd))).expect("child");
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_chd`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut p = BufReader::new(File::open(".testimages/TombRaider.chd").expect(""));
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:224:13
[INFO] [stdout]     |
[INFO] [stdout] 224 |         let mut f = BufReader::new(File::open(".testimages/TombRaiderR1.chd").expect(""));
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chd::read::HunkBufReader`
[INFO] [stdout]  --> benches/bench.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chd::read::HunkBufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::args`
[INFO] [stdout]  --> benches/bench.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::env::args;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.30s
[INFO] running `Command { std: "docker" "inspect" "80c1ef9c4f44bb57e7f0e1dc0c2d86733c745d0957b0bbbc3048e055ff1e3b7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80c1ef9c4f44bb57e7f0e1dc0c2d86733c745d0957b0bbbc3048e055ff1e3b7f", kill_on_drop: false }`
[INFO] [stdout] 80c1ef9c4f44bb57e7f0e1dc0c2d86733c745d0957b0bbbc3048e055ff1e3b7f
[INFO] checking chd-0.2.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate chd 0.2.3 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate chd 0.2.3 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 chd 0.2.3
[INFO] finished tweaking crates.io crate chd 0.2.3
[INFO] tweaked toml for crates.io crate chd 0.2.3 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] 38acacafb30092a10c4e53035c77e8580533764997cee6fc31c70f46d92fc2ab
[INFO] running `Command { std: "docker" "start" "-a" "38acacafb30092a10c4e53035c77e8580533764997cee6fc31c70f46d92fc2ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38acacafb30092a10c4e53035c77e8580533764997cee6fc31c70f46d92fc2ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38acacafb30092a10c4e53035c77e8580533764997cee6fc31c70f46d92fc2ab", kill_on_drop: false }`
[INFO] [stdout] 38acacafb30092a10c4e53035c77e8580533764997cee6fc31c70f46d92fc2ab
[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] 15112affa8ec873155d72e7e38ab09578ce9c1b3e1839c80cfb103fd08dcbe64
[INFO] running `Command { std: "docker" "start" "-a" "15112affa8ec873155d72e7e38ab09578ce9c1b3e1839c80cfb103fd08dcbe64", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking crc-catalog v2.4.0
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking text_io v0.1.12
[INFO] [stderr]     Checking claxon v0.4.3
[INFO] [stderr]     Checking bencher v0.1.5
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking bitreader v0.3.8
[INFO] [stderr]     Checking crc v3.0.1
[INFO] [stderr]     Checking lzma-rs-perf-exp v0.2.1
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking chd v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `chd`
[INFO] [stdout]    --> src/lib.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let chd = Chd::open(f, Some(Box::new(pchd))).expect("child");
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_chd`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut p = BufReader::new(File::open(".testimages/TombRaider.chd").expect(""));
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:224:13
[INFO] [stdout]     |
[INFO] [stdout] 224 |         let mut f = BufReader::new(File::open(".testimages/TombRaiderR1.chd").expect(""));
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/header.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(FromPrimitive, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CodecType`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/map.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CompressionTypeV5`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/map.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_CompressionTypeV5`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/map.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CompressionTypeLegacy`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/map.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_CompressionTypeLegacy`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/metadata.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(FromPrimitive, Copy, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_KnownMetadata`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/header.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(FromPrimitive, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CodecType`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/map.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CompressionTypeV5`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/map.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_CompressionTypeV5`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/map.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CompressionTypeLegacy`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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/map.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_CompressionTypeLegacy`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/metadata.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(FromPrimitive, Copy, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_KnownMetadata`
[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 <https://github.com/rust-lang/rust/issues/120363>
[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: aborting due to 6 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chd` (lib test) due to 7 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `chd` (lib) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "15112affa8ec873155d72e7e38ab09578ce9c1b3e1839c80cfb103fd08dcbe64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15112affa8ec873155d72e7e38ab09578ce9c1b3e1839c80cfb103fd08dcbe64", kill_on_drop: false }`
[INFO] [stdout] 15112affa8ec873155d72e7e38ab09578ce9c1b3e1839c80cfb103fd08dcbe64
