[INFO] fetching crate chd 0.2.3... [INFO] checking chd-0.2.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate chd 0.2.3 into /workspace/builds/worker-1-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-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] Blocking waiting for file lock on package cache [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 cmake v0.1.50 [INFO] [stderr] Downloaded nougat v0.2.4 [INFO] [stderr] Downloaded extension-traits v1.0.1 [INFO] [stderr] Downloaded text_io v0.1.12 [INFO] [stderr] Downloaded polonius-the-crab v0.2.1 [INFO] [stderr] Downloaded lending-iterator-proc_macros v0.1.7 [INFO] [stderr] Downloaded nougat-proc_macros v0.2.4 [INFO] [stderr] Downloaded ext-trait-proc_macros v1.0.1 [INFO] [stderr] Downloaded never-say-never v6.6.666 [INFO] [stderr] Downloaded lending-iterator v0.1.7 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Downloaded ext-trait v1.0.1 [INFO] [stderr] Downloaded num-traits v0.2.17 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded crc-catalog v2.4.0 [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded macro_rules_attribute v0.1.3 [INFO] [stderr] Downloaded crc v3.0.1 [INFO] [stderr] Downloaded arrayvec v0.7.4 [INFO] [stderr] Downloaded bencher v0.1.5 [INFO] [stderr] Downloaded bitreader v0.3.8 [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded libz-ng-sys v1.1.15 [INFO] [stderr] Downloaded lzma-rs-perf-exp v0.2.1 [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] 54475aa0ac04013797d020c63687cd1386833a513992daabefaf8054a5b438f1 [INFO] running `Command { std: "docker" "start" "-a" "54475aa0ac04013797d020c63687cd1386833a513992daabefaf8054a5b438f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54475aa0ac04013797d020c63687cd1386833a513992daabefaf8054a5b438f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54475aa0ac04013797d020c63687cd1386833a513992daabefaf8054a5b438f1", kill_on_drop: false }` [INFO] [stdout] 54475aa0ac04013797d020c63687cd1386833a513992daabefaf8054a5b438f1 [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] e703461322e9ea2a772f6964f60858b26f1142fbb107c756c712b357c83339b2 [INFO] running `Command { std: "docker" "start" "-a" "e703461322e9ea2a772f6964f60858b26f1142fbb107c756c712b357c83339b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking byteorder v1.5.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 crc v3.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking bitreader v0.3.8 [INFO] [stderr] Checking lzma-rs-perf-exp v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.35 [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 5.53s [INFO] running `Command { std: "docker" "inspect" "e703461322e9ea2a772f6964f60858b26f1142fbb107c756c712b357c83339b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e703461322e9ea2a772f6964f60858b26f1142fbb107c756c712b357c83339b2", kill_on_drop: false }` [INFO] [stdout] e703461322e9ea2a772f6964f60858b26f1142fbb107c756c712b357c83339b2 [INFO] checking chd-0.2.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate chd 0.2.3 into /workspace/builds/worker-1-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-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] 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] ade06c41d46cdca78bd4af86ddc56e162574dc436d2bd1871bd16bdc4d6da8d8 [INFO] running `Command { std: "docker" "start" "-a" "ade06c41d46cdca78bd4af86ddc56e162574dc436d2bd1871bd16bdc4d6da8d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ade06c41d46cdca78bd4af86ddc56e162574dc436d2bd1871bd16bdc4d6da8d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade06c41d46cdca78bd4af86ddc56e162574dc436d2bd1871bd16bdc4d6da8d8", kill_on_drop: false }` [INFO] [stdout] ade06c41d46cdca78bd4af86ddc56e162574dc436d2bd1871bd16bdc4d6da8d8 [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] 1b8aaaffb054a463a7faea98fac802b106b24b31528e1c25511badaeeeee0202 [INFO] running `Command { std: "docker" "start" "-a" "1b8aaaffb054a463a7faea98fac802b106b24b31528e1c25511badaeeeee0202", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking text_io v0.1.12 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking bitreader v0.3.8 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking lzma-rs-perf-exp v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.35 [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 [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 [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 [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 [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 [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 [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] [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] [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 [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 [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 [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 [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 [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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chd` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "1b8aaaffb054a463a7faea98fac802b106b24b31528e1c25511badaeeeee0202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b8aaaffb054a463a7faea98fac802b106b24b31528e1c25511badaeeeee0202", kill_on_drop: false }` [INFO] [stdout] 1b8aaaffb054a463a7faea98fac802b106b24b31528e1c25511badaeeeee0202